Forcing The Rmi Registry To Use A Specific Port; Hafm_Sc.bat - 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

"Forcing the server and client to export a port
NOTE:
You must configure both the server and client export port numbers.
If the firewall prevents the server from connecting to arbitrary ports on the client, then configure
the export port of the client in
page 203.

Forcing the RMI registry to use a specific port

To force the RMI registry to use a specific TCP port for an RMI server, configure the
Dsmp.registry.port=XXXX parameter in the following files in the HAFM 8.x\bin directory
(typically in c:\Program Files\HAFM 8.x\bin):
The client and server portion of the HAFM_sc.bat file
HAFM_c.bat file (if installed)
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.

HAFM_sc.bat

Place the parameter -Dsmp.registry.port=XXXX, where XXXX is any TCP port number not
being used by another application after the %CLASSPATH% parameter.
The following example shows the edited file with the added parameter in bold:
setlocal
pushd %~dp0\..
call bin\set_cp.bat
...............
rem HAFM Server
start %JAVA_HOME%\bin\HAFMServer.exe -server -Xmx512m -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.registry.port=XXXX
-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%
-Dsmp.Mp.max=512 -Dsmp.autodiscovery=false -Dsmp.mpi.test
-Dsmp.deployment.prefix=Server/ -Dsmp.zoning=legacy
-Dsmp.zoning.wait.timeout=180000 -Dsmp.debug -Dsmp.webServer
-Dsmp.registry.port=XXXX
-Dsmp.flavor=%APP_FLAVOR% Server
:client
rem HAFM Client
start %JAVA_HOME%\bin\HAFMClient.exe -Xmx256m -Xminf.15 -Xmaxf.35 -classpath
%CLASSPATH% -Dsun.java2d.noddraw=true -Dsmp.fabricPersistenceEnabled=true
202
Configuring HAFM through a firewall
number" on page 203
"Forcing the server and client to export a port
number" on

Advertisement

Table of Contents
loading

Table of Contents