Hp XP Array Manager Software Manuale Utente Pagina 92

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 91
Batch le for Windows computers (runWin.bat)
java -classpat
h "./lib/JSanExport.jar;./lib/JSanRmiServer.jar" -Dmd.command=command.txt
-Dmd.logpath=log sanproject.getmondat.RJMdMain
pause
Batch le for UNIX computers (runUnix.bat)
#! /bin/sh
java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServer.jar" -Dmd.command=command.txt
-Dmd.logpath=log sanproject.getmondat.RJMdMain
Note:
The symbol indicates the end of a command line.
Figure 39 Scripts in Batch Files
If the
computer that runs the Export Tool communicates directly with the SVP, you usually do not need to
change scripts in runWin.bat and runUnix.bat. However, you might need to edit the java command script
in your text editor in some occasions, for example:
if thenameofyourcommand le is not command.txt
if yo
u moved your command le to a different directory
if you do not want to save log les in the log directory
if youwantto namelog les as you like
If the computer that runs the Export Tool communicates with the SVP via a proxy host, you need to edit the
jav
a command script in your text editor. When editing the java command script, you need to specify the
ho
st name (or the IP address) and the port number of the proxy host. For example, if the host name is
Jupiter and the port number is 8080, the resulting command script as shown in Figure 40 on page 92:
Ba
tch le for Windows computers (runWin.bat)
java -classpath "./lib/JSanExport.jar;./lib/JSanRmiServer.jar" -Dhttp.proxyHost=Jupiter
-Dhttp.proxyPort=8080 -Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
pause
Ba
tch le for UNIX computers (runUnix.bat)
#! /bin
/sh
java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServer.jar" -Dhttp.proxyHost=Jupiter
-Dhttp.proxyPort=8080 -Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
Note:
The symbol indicates the end of a command line.
Fi
gure 40 ScriptsinBatch Files(When Specifying theHostName of a ProxyHost)
If the IP address of the proxy host is 158 . 211.122.124 and the port number is 8080,the resulting
command script is as follows:
Batch le for Windows computers (runWin.bat)
java
-classpath "./lib/JSanExport.jar;./lib/JSanRmiServer.jar" -Dhttp.proxyHost=158.211.122.124
-Dhttp.proxyPort=8080 -Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
paus
e
Batch le for UNIX computers (runUnix.bat)
#! /bin/sh
java -classpath "./lib/JSanExport.jar:./lib/JSanRmiServer.jar" -Dhttp.proxyHost=158.211.122.124
-Dh
ttp.proxyPort=8080 -Dmd.command=command.txt -Dmd.logpath=log sanproject.getmondat.RJMdMain
Note:
The symbol indicates the end of a command line.
Figure 41 Scripts in Batch Files (When Specifying the IP Address of a Proxy Host)
For detailed information about syntax of the java command, see
Java Command for Exporting Data In Fileson page 119.
92
Using the Export Tool
Vedere la pagina 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97 ... 128 129

Commenti su questo manuale

Nessun commento