Windows version of the lsreghost command registers Windows LSF host names and IP addresses with LSF servers so that LSF servers can internally resolve these hosts without requiring a DNS server.
Directly registers Windows LSF host names and IP addresses with LSF servers so that LSF servers can internally resolve these hosts without requiring a DNS server. The lsreghost command resolves the host name and IP address for LSF hosts with non-static IP addresses in environments where DNS is not able to properly resolve these hosts after their IP addresses change.
To use this command, the LSF_REG_FLOAT_HOSTS=Y parameter must be defined in the lsf.conf file.
- Stops the lsreghost Windows service.
- Uninstalls and removes the lsreghost Windows service.
- Manually starts the lsreghost Windows service. The lsreghost.exe file must be in the LSF_BINDIR directory for the service to start.
- -i file_path\hostregsetup
- Installs lsreghost as a Windows service that registers the local LSF host
to list of LSF
servers as listed in the specified hostregsetup file. This file must be
accessible every time the service starts up and must remain accessible while the service is running.
The lsreghost service's startup type is set to automatic, which means that the
service automatically starts up every time the local host starts up.The hostregsetup file is a text file with the names of the LSF servers to which the local host must register itself. Each line in the file contains the host name of one LSF server. Empty lines and
#commenttext are ignored.Tip: If the LSB_SHAREDIR directory (the location of the reghostcache file) is a shared directory that is accessible to all hosts in the cluster, you need to define only the management host in the hostregsetup file.
- Prints command usage to stderr and exits.
- Prints LSF release version to stderr and exits.