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

Forcing all clients to be polling clients

Page 32 highlights

NOTE: The following example illustrates the HAFM_c.bat file. The portion of this file starting with rem HAFM Client is also included in the HAFM_sc.bat file. Both files must be modified if they are installed on your computer. 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.callback.passive -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 -Dsun.java2d.noddraw=true -Dsmp.fabricPersistenceEnabled=true -Dsmp.deployment.prefix=Client/ -Dsmp.debug -Dsmp.callback.passive?Dsmp.flavor=%APP_FLAVOR% Client popd endlocal Forcing all clients to be polling clients To force all clients communicating with a server to be treated as polling clients (regardless of the parameters the clients launch with), edit the HAFM_sc.bat file located in the HAFM 8.x\bin directory (typically in c:\Program Files\HAFM 8.x\bin) on the client. Add the -Dsmp.callback.passive parameter to the HAFM server section of the file, as in the following example. setlocal pushd %~dp0\.. call bin\set_cp.bat rem HAFM Server start %JAVA_HOME%\bin\HAFMServer.exe -server -Xm512m -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.callback.passive -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% -Dsun.java2d.noddraw=true -Dsmp.Mp.max=512 -Dsmp.autodiscovery=false -Dsmp.mpi.test -Dsmp.deployment.prefix=Server/ -Dsmp.zoning=legacy -Dsmp.zoning.wait.timeout=180000 -Dsmp.debug 32 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
32
NOTE:
The following example illustrates the
HAFM_c.bat
file. The portion of this file starting with
rem HAFM Client
is also included in the
HAFM_sc.bat
file. Both files must be modified if they
are installed on your computer.
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.callback.passive
-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
-Dsun.java2d.noddraw=true -Dsmp.fabricPersistenceEnabled=true
-Dsmp.deployment.prefix=Client/ -Dsmp.debug
-Dsmp.callback.passive
?Dsmp.flavor=%APP_FLAVOR% Client
popd
endlocal
Forcing all clients to be polling clients
To force all clients communicating with a server to be treated as polling clients (regardless of the
parameters the clients launch with), edit the
HAFM_sc.bat
file located in the
HAFM 8.x\bin
directory (typically in
c:\Program Files\HAFM 8.x\bin
) on the client. Add the
-Dsmp.callback.passive
parameter to the HAFM server section of the file, as in the following
example.
setlocal
pushd %~dp0\..
call bin\set_cp.bat
...............
rem HAFM Server
start %JAVA_HOME%\bin\HAFMServer.exe -server -Xm512m
-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.callback.passive
-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% -Dsun.java2d.noddraw=true -Dsmp.Mp.max=512
-Dsmp.autodiscovery=false
-Dsmp.mpi.test -Dsmp.deployment.prefix=Server/
-Dsmp.zoning=legacy
-Dsmp.zoning.wait.timeout=180000 -Dsmp.debug