Hafm_c.bat file, Forcing server and client to export port number, Nt in – HP StorageWorks 2.32 Edge Switch User Manual
Page 173

HA-Fabric Manager user guide 173
-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 File
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 server and client to export 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
):
The
HAFM_sc.bat
file starts both the client and server and is installed on a computers with the
HAFM appliance software. The
HAFM_c.bat
file starts the client only and is installed with the
client software.