HP StorageWorks 64 HAFM SW 08.08.00 HP StorageWorks HA-Fabric Manager Transiti - Page 36

HAFM_sc.bat file

Page 36 highlights

NOTE: If the firewall prevents the server from connecting to arbitrary ports on the client, force only the export port of the client (-Dsmp.client.export.port=XXXX). The HAFM_c.bat file starts both the client and server and is installed on 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, this 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_c.bat file in the HAFM server area to include the parameter -Dsmp.server.export.port=XXXX and the HAFM Client area to include the parameter -Dsmp.client.export.port=YYYY, where XXXX and YYYY are any TCP port numbers not being used by another application. Although the server port number XXXX could match the client port number YYYY, this is not necessary. If the HAFM_c.bat file is installed on your computer, add the -Dsmp.client.export.port=YYYY parameter to that file. Add these parameters 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.server.export.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.server.export.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.client.export.port=YYYY ?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.client.export.port=YYYY ?Dsmp.flavor=%APP_FLAVOR% Client :end popd endlocal 36 Configuring HAFM through a firewall

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40

Configuring HAFM through a firewall
36
NOTE:
If the firewall prevents the server from connecting to arbitrary ports on the client, force only
the export port of the client (
-Dsmp.client.export.port=
XXXX
).
The
HAFM_c.bat
file starts both the client and server and is installed on 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, this 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_c.bat
file in the HAFM server area to include the parameter
-Dsmp.server.export.port
=
XXXX
and the HAFM Client area to include the parameter
-Dsmp.client.export.port=
YYYY,
where
XXXX
and
YYYY
are any TCP port numbers not
being used by another application. Although the server port number
XXXX
could match the client
port number
YYYY
, this is not necessary. If the
HAFM_c.bat
file is installed on your computer, add
the
-Dsmp.client.export.port=
YYYY
parameter to that file. Add these parameters 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.server.export.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.server.export.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.client.export.port=
YYYY
?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.client.export.port=
YYYY
?Dsmp.flavor=%APP_FLAVOR% Client
:end
popd
endlocal