Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1
If you have set the environment settings parameter incorrectly, use the following recovery procedure:
The following shows an example of an environment settings parameter that has been set incorrectly, and then shows a correct environment settings parameter:
- Incorrect environment settings parameter
[JP1_DEFAULT\JP1NBQAGENT\Variable] "USSER-ENVIRONMENT1"="ENVIRONMENT-VALUE1"
- Correct environment settings parameter
[JP1_DEFAULT\JP1NBQAGENT\Variable] "USER-ENVIRONMENT1"="ENVIRONMENT-VALUE1"To delete an environment settings parameter that has been set incorrectly, as indicated above, and to set a correct environment settings parameter:
- Execute the following commands to save the definition information:
- For a physical host
jbsgetcnf > backup-file-name
- For a logical host
The path of the jbsgetcnf command is JP1/Base-installation-folder\bin\jbsgetcnf. For details on this command, see the Job Management Partner 1/Base User's Guide.
jbsgetcnf -h logical-host-name > backup-file-name
- Execute the following command to delete the Variable subkey:
- For a physical host:
jbsunsetcnf -h JP1_DEFAULT -c JP1NBQAGENT -n Variable
- For a logical host:
The path of the jbsunsetcnf command is JP1/Base-installation-folder\bin\jbsunsetcnf. For details on this command, see the Job Management Partner 1/Base User's Guide.
jbsunsetcnf -h logical-host-name -c JP1NBQAGENT -n Variable
- Edit the backup file saved in step 1:
Before the change
After the change
[JP1_DEFAULT\JP1NBQAGENT\Variable] "JP1AJS2_JPOEXEPATH"="C:\Program Files\HITACHI\JP1AJS2\bin" "JP1AJS2_JPQNOP"="C:\Program Files\HITACHI\JP1AJS2\bin\jpqnop.exe" "JP1AJS2_JPWDEXEPATH"="C:\Program Files\Hitachi\JP1PowerMonitor\bin" "USSER-ENVIRONMENT1"="ENVIRONMENT-VALUE1"
[JP1_DEFAULT\JP1NBQAGENT\Variable] "JP1AJS2_JPOEXEPATH"="C:\Program Files\HITACHI\JP1AJS2\bin" "JP1AJS2_JPQNOP"="C:\Program Files\HITACHI\JP1AJS2\bin\jpqnop.exe" "JP1AJS2_JPWDEXEPATH"="C:\Program Files\Hitachi\JP1PowerMonitor\bin"
- Note:
- Delete the incorrectly added portions, taking care not to delete any existing environment setting parameters.
- To change the logical host environment, specify JP1_DEFAULT in the logical host name.
- Save the file and execute the following command to recover the definition:
The path of the jbssetcnf command is JP1/Base-installation-folder\bin\jbssetcnf. For details on this command, see the Job Management Partner 1/Base User's Guide.
jbssetcnf name-of-the-backup-file-created-in-step-1
This returns you to the state in which the environment settings parameter was added.
- Use a text editor such as Windows Notepad to create a configuration file that contains the following definition:
[JP1_DEFAULT\JP1NBQAGENT\Variable] "USER-ENVIRONMENT1"="ENVIRONMENT-VALUE1"- Save the file and execute the following command:
jbssetcnf configuration-file-name- Restart JP1/AJS3.
The contents of the configuration file are applied to the system.
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.