Option |
Secondary Name |
Parameter |
Description |
-class
|
-cl
|
Java class name |
Specifies the Java class name of the DirXML application shim that is to be hosted. The class
option and the module option are mutually exclusive.
Example:
|
-commandport
|
-cp
|
port number |
Specify the TCP/IP port that the remote loader instance will use for control purposes.
If the remote loader instance is hosting an application shim the command port is the port on which another
remote loader instance will communicate with the instance hosting the shim.
If the remote loader instance is sending a command to an instance that is hosting an
application shim the command port is the port on which the hosting instance is listening.
If not specified the default command port is 8000.
Multiple instances of the remote loader can be run on the same server hosting
different driver instances by specifying different connection ports and command
ports.
Example:
|
-config
|
filename |
Specifies a configuration file. The configuration file can contain
any command line options except config. Options specified on the
command line override options specified in the configuration file.
Example:
|
|
-connection
|
-conn
|
connection configuration string |
The connection configuration string specifies the connection
parameters for the connection to the DirXML server running the
DirXML remote interface shim.
The default connection method for the remote loader is TCP/IP using
SSL. The default TCP/IP port for this connection is 8090.
Multiple instances of the remote loader can be run on the same server hosting
different driver instances by specifying different connection ports and command
ports.
Example:
|
-datadir
|
-dd
|
data directory |
Sets the directory for data files used by the Remote Loader. This option causes the rdxml
process to change its current directory to the specified directory. This means trace files and
other files that do not have an explicit path specified will be created in the specified data
directory.
Example:
|
-description
|
-desc
|
short description |
Specify a short description string that will be used for Nsure Audit logging.
Example:
|
-help
|
-?
|
None |
Display this help.
Example:
|
-java
|
-j
|
None |
Specify that the passwords are to be set for a Java shim instance. This option is
only useful in conjunction with the setpasswords option. If -class is
specified with -setpasswords this option is not necessary.
Example:
|
-javadebugport
|
-jdp
|
port number |
Specify that the remote loader instance is to enable Java debugging on the specified port.
This is useful for developers of DirXML application shims.
Example:
|
-module
|
-m
|
modulename |
Specifies the module containing the DirXML application shim that is to be hosted. The module
option and the class option are mutually exclusive.
Example:
|
-password
|
-p
|
password |
Specify the password for command authentication. This password must be the same
as the first password specified with setpasswords for the loader instance being commanded.
If a command option (unload, tracechange, etc.) is specified and the password option
is not specified the user will be prompted to enter the password for the loader that is the target of
the command.
Example:
|
-piddir
|
-pd
|
pidfile directory |
Sets the directory for the process id file (pidfile) used by the Remote Loader process. The
pidfile exists primarily for use by SysV-style init scripts. If not specified, the pidfile
directory defaults to /var/run, or, if the Remote Loader is run by a user without sufficient
rights to open the pidfile for reading and writing in /var/run, then the current directory is
used. (See also -datadir).
Example:
|
-setpasswords
|
-sp
|
None, or password password |
Specify the password for the remote loader instance and the password
of the DirXML-Driver object of the remote interface shim with which the
remote loader will communicate.
The first password in the optional arguments is the password for the remote loader.
The second password in the optional arguments is the password for the DirXML-Driver
object associated with the remote interface shim on the DirXML server.
Either no password or both passwords must be specified. If no password is specified
the remote loader will prompt for the passwords.
This is a configuration option. Using this option configures the remote loader
instance with the passwords specified but does not load a DirXML application shim
or communicate with another loader instance.
Example:
|
-trace
|
-t
|
integer |
Specify the trace level. This is only used when hosting an application shim.
Trace levels correspond to those used on the DirXML server.
Example:
|
-tracechange
|
-tc
|
integer |
Command a remote loader instance that is hosting an application shim to
change its trace level.
Trace levels correspond to those used on the DirXML server.
Example:
|
-tracefile
|
-tf
|
filename |
Specify a file to which to write trace messages. Trace messages
will be written to the file if the trace level is greater than zero.
Trace messages will be written to the file even if the trace window
is not open.
Example:
|
-tracefilechange
|
-tfc
|
None, or filename |
Command a remote loader instance that is hosting an application shim to
start using a trace file, or to close one already in use and use a new one.
Using the no-argument version of this option will cause the hosting instance
to close any trace file being used.
Example:
|
-tracefilemax
|
-tfm
|
size |
Specify the approximate maximum size that trace file data may occupy on disk. If this option is
specified there will be a trace file with the name specified using the tracefile option and
up to 9 additional "roll-over" files. The roll-over files are named using the base of the main
trace filename plus "_n" where n is 1 through 9.
The size parameter is the number of bytes, and may be specified using the suffixes 'K', 'M', or 'G' for
kilobytes, megabytes, or gigabytes, respectively.
Note that if the trace file data is larger than the specified maximum when the remote loader is started
then the trace file data will remain larger than the specified maximum until roll-over is completed
through all 10 files.
Example:
|
-unload
|
-u
|
None |
Unload the remote loader instance. If the remote loader is running
as a Win32 Service this will stop the service.
Example:
|
Option |
Parameter |
Description |
address
|
IP address |
Specifies that the remote loader will listen on a particular local IP address. This is useful
if the server hosting the remote loader has multiple IP addresses and the remote loader must
listen on only one of the addresses. If address is not specified the remote loader will
listen on all local IP addresses.
Example:
|
keystore
|
keystore |
Used only for DirXML application shims contained in .jar files.
Specifies the filename of the Java keystore that contains the trusted root certificate of the issuer
of the certificate used by the remote interface shim. This will typically be the Certificate Authority
of the eDirectory tree that is hosting the remote interface shim.
Example:
|
port
|
decimal port number |
Specifies the TCP/IP port on which the remote loader will listen for connections from the
remote interface shim.
Example:
|
rootfile
|
filename |
Used only for DirXML application shims contained in .so files.
Specifies the file containing the trusted root certificate of the issuer of the certificate used
by the remote interface shim. This will typically be the Certificate Authority of the eDirectory tree
that is hosting the remote interface shim. The certificate file must be in Base 64 format (PEM).
Example:
|
storepass
|
storepass |
Used only for DirXML application shims contained in .jar files.
Specifies the password for the Java keystore specified by the keystore parameter.
Example:
|
Option |
Parameter |
Description |
hostname
|
host name or ip address |
Specifies the address or name of the machine on which the remote loader will run.
Example:
|
kmo
|
Key Name |
Specifies the Key Name of the Key Material Object containing the keys and certificate used for SSL.
Example:
|
port
|
TCP port number |
Specifies the port on which the remote loader will accept connections from the remote interface shim.
Example:
|
-commandport 8000
-connection "port=8090 rootfile=/dirxmlremote/root.pem"
-module $DXML_HOME/dirxmlremote/libcskeldrv.so.0.0.0
-trace 3
dirxml_remote -config config.txt -setpasswords rumple1 stiltskin2
dirxml_remote -config config.txt
dirxml_remote -config config.txt -u
dirxml_remote -config config.txt -service install