beautypg.com

Hafm_co.bat file, Forcing server and client export port number, Ient in – HP StorageWorks 2.32 Edge Switch User Manual

Page 218: Forcing server and, Client export port number

background image

Configuring HAFM Through a Firewall

218

HA-Fabric Manager User Guide

HAFM_co.bat File

setlocal

pushd %~dp0\..

call bin\set_cp.bat

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

rem HAFM Client

start %JAVA_HOME%\bin\HAFMClient.exe -Xmx256m -Xminf.15
-Xmaxf.35 -classpath %CLASSPATH% -Dsun.java2d.noddraw=true
-Dsmp.fabricPersistenceEnabled=true -Dsmp.Mp.max=256
-Dsmp.deployment.prefix=Client/ -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

Forcing Server and Client Export Port Number

To force the Server and Client to export a specific TCP port number for an RMI
server, configure the

-Dsmp.server.export.port=XXXX

and

-Dsmp.client.export.port=XXXX

parameters in HAFM_sc.bat and the

-Dsmp.client.export.port=XXXX

in the

HAFM_co.bat

file. These

files are typically located in

c:\Program Files\HAFM 8.x\bin

.

Note:

If the firewall prevents the server from connecting to arbitrary ports on the

client, then just force the export port of the client

(

-Dsmp.client.export.port=XXXX

).

The

HAFM_co.bat

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_co.bat

file if, this is installed on your computer. This file starts the

Client only and is installed with the Client software.