A.6 jslmursetup (sets up SLM - UR)
Function
This command creates an execution environment for SLM - UR. It can also be used to reconfigure the execution environment for an existing SLM - UR.
Before you execute this command, install SLM - UR, and then execute the jslmurnals command to check the network adapter and IP address for which HTTP packets are to be collected.
The command execution results are output to the standard output and displayed in the console window.
The command performs one of the following processes, depending on the status of the execution environment at the time of command execution:
- Creates an execution environment (when there is no existing execution environment):
This command creates an execution environment when it is executed immediately after SLM - UR has been newly installed or after the execution environment for SLM - UR was discarded by unsetup processing.
- Reconfigures the existing execution environment (when an execution environment already exists):
If this command is executed when the execution environment for a configured SLM - UR already exists, the command reconfigures the existing execution environment for SLM - UR.
You reconfigure the execution environment in the following cases:
The host name, IP address, or port number settings in the execution environment for a configured SLM - UR are to be changed.
The execution environment for a configured SLM - UR is to be reconfigured after an upgrade installation was performed.
Format
jslmursetup absolute-path-of-options-file
Execution permission
User account that belongs to the OS's Administrators group
Storage folder
SLM-UR-installation-folder\ur\bin\
Arguments
absolute-path-of-options-file
Specifies the absolute path for an options file that is to be created in text format. This file can be stored at any desired location. The absolute path of the options file storage location must be a maximum of 255 bytes of characters, including the file name (any name).
An options file template is stored at the following location:
SLM-UR-installation-folder\ur\template\ur\conf\jp1itslm_setup.opt
The following shows the definitions in the options file:
manager_host=host-name-or-IP-address-of-SLM-Manager manager_port=port-number-of-SLM-Manager ur_host=host-name-or-IP-address-of-SLM-UR ur_port=port-number-of-SLM-UR ur_na_address=network-adapter-address
The following table provides the details of definition items.
No. |
Definition item |
Specification |
Description |
Default value |
---|---|---|---|---|
1 |
manager_host |
R |
Specifies the host name or IP address of the host on which SLM - Manager is installed, as the information for identifying SLM - Manager's execution environment. If SLM is running in a cluster system, specify the logical host name or logical IP address. |
-- |
2 |
manager_port |
O |
Specifies the port number used by SLM - Manager, as a number in the range from 1 through 65535.# |
20904 |
3 |
ur_host |
R |
Specifies the host name or IP address of the host on which SLM - UR is installed, as the information for identifying SLM - UR's execution environment. If SLM is running in a cluster system, specify the logical host name or logical IP address. |
-- |
4 |
ur_port |
O |
Specifies the port number used by SLM - Manager, as a number in the range from 1 through 65535.# |
20910 |
5 |
ur_na_address |
R |
Specifies the network adapter address that SLM - UR connects to, by using half-width alphanumeric characters (hexadecimal) up to 12 digits. You can use the jslmurnals command to check the connected network device. For details about the jslmurnals command, see A.5 jslmurnals(displays the network adapter address and IP address) in A. Commands. |
-- |
- Legend:
R: Specification is required
O: Specification is optional
--: Not applicable
- #
If the specified value is not within the permitted range, setup is completed, but an error occurs when the SLM - UR service SLM - User Response Service (service name: JP1_ITSLM_UR_Service) starts.
Notes
If an error occurs during setup, eliminate the cause of the error and re-execute the command.
The options file used during setup is renamed jp1itslm_setup.opt after command execution and stored at the following location:
SLM-UR-installation-folder\ur\conf\jp1itslm_setup.opt
-
Do not execute commands other than the jslmurnals command while this command is being executed.
Do not execute another command while this command is executing, except for the jslmurnals command.
If the folder shown below contains the options file, the command renames that options file by adding .bk, saves it in the same folder, and then creates a new options file:
SLM-Manager-installation-folder\ur\conf\
If a file with the same name already exists when the options file is saved, the existing file is overwritten. If the file save processing fails, setup fails. The values of definition items contained in the saved options file are inherited to the new options file. However, for the definition items that were specified in the options file when the command was executed, the specified values are set. Comments are not inherited.
Do not terminate setup processing by pressing Ctrl+C or closing the window. Also, in the event of an error, wait until setup is completed before proceeding.
-
Before you start the setup processing, terminate all other resident software programs, including other installers and applications (other applications include the jslmursetup command).
Return value
Return value |
Description |
---|---|
0 |
Setup processing terminated normally. |
1 |
Setup processing failed. |
Example
C:\Program Files\HITACHI\JP1ITSLM\ur\bin\jslmursetup C:\Users\Administrator\Desktop\jp1itslm_setup.opt