Hafm_c.bat – HP StorageWorks 2.32 Edge Switch User Manual

Page 203

Advertising
background image

HA-Fabric Manager user guide 203

-Dsmp.Mp.max=256 -Dsmp.deployment.prefix=Client/ -Dsmp.registry.port=XXXX
?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
-Dsmp.deployment.prefix=Client/ -Dsmp.debug -Dsmp.registry.port=XXXX
?Dsmp.flavor=%APP_FLAVOR% Client

:end

popd

endlocal

HAFM_c.bat

The HAFM_c.bat file starts the client only. Edit file to include the parameter
-Dsmp.registry.port=XXXX

, where XXXX is any TCP port number not being used by another

application. You must place this parameter after the %CLASSPATH% parameter.
The following example shows the edited file with the added parameters in bold:

setlocal

pushd %~dp0\..

call bin\set_cp.bat

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

rem HAFM Client

start %JAVA_HOME%\bin\HAFMClient.exe -Xmx256m -Xminf.15 -Xmaxf.35 -Xincgc
-classpath %CLASSPATH% -Dsmp.Mp.max=256 -Dsmp.deployment.prefix=Client/
-Dsmp.flavor=HAFM Client

rem HAFM Client Debug Mode

rem start %JAVA_HOME%\bin\HAFMClientD.exe -Xmx256m -Xminf.15 -Xmaxf.35
-Xincgc -classpath %CLASSPATH% -Dsmp.Mp.max=256
-Dsmp.deployment.prefix=Client/-Dsmp.debug -Dsmp.registry.port=XXXX
-Dsmp.flavor=HAFM Client

popd

endlocal

Forcing the server and client to export a port number

To force the server and client to export a specific TCP port number for an RMI server:

1.

Configure the following parameters in the HAFM_sc.bat file:
-Dsmp.server.export.port=XXXX
-Dsmp.client.export.port=YYYY

2.

Configure the -Dsmp.client.export.port=YYYY parameter in the HAFM_c.bat file.

These files are located in the HAFM 8.x\bin directory (typically in c:\Program Files\HAFM
8.x\bin

).

Advertising