Forcing all clients to polling mode – HP StorageWorks 2.140 Director Switch User Manual

Page 192

Advertising
background image

Configuring HAFM through a firewall

196

NOTE:

This example illustrates the

HAFM_c.bat

file. The portion of this file starting with

rem

HAFM Client

is also included in the

HAFM_sc.bat

file. Both files must be modified if they are

installed on your computer.

setlocal

pushd %~dp0\..

call bin\set_cp.bat

rem HAFM Client

start %JAVA_HOME%\bin\HAFMClient.exe -Xmx256m -Xminf.15 -Xmaxf.35 -classpath
%CLASSPATH%-Dsun.java2d.noddraw=true -Dsmp.fabricPersistenceEnabled=true
-Dsmp.Mp.max=256 -Dsmp.deployment.prefix=Client/ -Dsmp.callback.passive
-Dsmp.flavor=%APP_FLAVOR% Client

rem HAFM Client Debug Mode

rem start %JAVA_HOME%\bin\HAFMClientD.exe -Xmx256m -Xminf.15 -Xmaxf.35
-classpath %CLASSPATH% -Dsun.java2d.noddraw=true
-Dsmp.fabricPersistenceEnabled=true -Dsmp.Mp.max=256
-Dsun.java2d.noddraw=true -Dsmp.fabricPersistenceEnabled=true
-Dsmp.deployment.prefix=Client/ -Dsmp.debug -Dsmp.callback.passive
?Dsmp.flavor=%APP_FLAVOR% Client

popd

endlocal

Forcing all clients to polling mode

To force all clients communicating with a server to be treated as polling clients (regardless of the

parameters the clients launch with), add the

-Dsmp.callback.passive

parameter to the HAFM

server section of the

HAFM_sc.bat

file located in the

HAFM 8.x\bin

directory (typically in

c:\Program Files\HAFM 8.x\bin

).

The following example shows the edited files with the added parameter in bold:

setlocal

pushd %~dp0\..

call bin\set_cp.bat

...............

rem HAFM Server

start %JAVA_HOME%\bin\HAFMServer.exe -server -Xm512m
-Xminf.15 -Xmaxf.35 -classpath %CLASSPATH%
-Dsmp.Mp.max=512 -Dsmp.autodiscovery=false
-Dsmp.mpi.test -Dsmp.deployment.prefix=Server/
-Dsmp.zoning=legacy
-Dsmp.zoning.wait.timeout=180000 -Dsmp.webServer -Dsmp.callback.passive
-Dsmp.flavor=%APP_FLAVOR% Server

rem HAFM Server Debug Mode

rem start %JAVA_HOME%\bin\HAFMServerD.exe -server
-Xmx512m -Xminf.15 -Xmaxf.35 -classpath
%CLASSPATH% -Dsun.java2d.noddraw=true -Dsmp.Mp.max=512
-Dsmp.autodiscovery=false
-Dsmp.mpi.test -Dsmp.deployment.prefix=Server/
-Dsmp.zoning=legacy

Advertising