Hafm_sc.bat file – HP StorageWorks 2.32 Edge Switch User Manual

Page 217

Advertising
background image

Configuring HAFM Through a Firewall

217

HA-Fabric Manager User Guide

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

, where

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
-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 -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

Advertising