Hafm_C.bat; Forcing The Server And Client To Export A Port Number - HP 316095-B21 - StorageWorks Edge Switch 2/24 User Manual

Hafm sw 08.08.00 hp storageworks ha-fabric manager user guide (aa-rs2ch-te, august 2006)
Hide thumbs Also See for 316095-B21 - StorageWorks Edge Switch 2/24:
Table of Contents

Advertisement

-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).
HA-Fabric Manager user guide 203

Advertisement

Table of Contents
loading

Table of Contents