HAFM SW 08.08.00 HP StorageWorks HA-Fabric Manager Transition Guide (AA-RV1MD-TE, January 2006)

Table Of Contents
Configuring HAFM through a firewall34
To work around this problem, administrators can “predict” which ports are used by the client and
server and use the following procedures to configure these port numbers into the appropriate batch
files. If the firewall prevents the client from connecting to arbitrary ports on the server, then perform
both of these procedures:
•”Forcing the RMI registry to use a TCP port” on page 34
•”Forcing the server and client to export a port number” on page 35
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, configure the
export port of the client as described in ”Forcing the server and client to export a port number
on page 35.
NOTE: If the firewall prevents the server from connecting to arbitrary ports on the client, configure
only the export port of the client (-Dsmp.client.export.port=XXXX).
After you configure TCP port numbers using the following procedures, the firewall must be
configured to unblock the configured port numbers.
Forcing the RMI registry to use a TCP port
To force the RMI registry to use a particular TCP port for an RMI server, configure the
Dsmp.registry.port=XXXX parameter in the HAFM_sc.bat file. This file starts both the client
and server and is installed on a computers with the HAFM appliance software. The file is typically
located in c:\Program Files\HAFM 8.x\bin. Both the client and server areas of the
HAFM_sc.bat file must have matching parameters. Add a matching parameter to the
HAFM_c.bat file if the file is installed on your computer. This file starts the client only and is
installed with the client software.
HAFM_sc.bat file
Edit the HAFM_sc.bat file in the HAFM server and HAFM client area to include the parameter
-Dsmp.registry.port=XXXX. The XXXX is any TCP port number not being used by another
application. You must place this parameter after the %CLASSPATH% parameter, as in the following
example.
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