Synopsis
mjdjalt [-sys subsystem-number](*1) hostgroup-name host-name parameter
[-sys subsystem-number] is an option of Systemwalker Operation Manager EE.
Description
The mjdjalt command alters the settings with the distributed job execution during its operation.
Option
-sys subsystem-number
In the system with multiple subsystems, this option is used to specify the subsystem that you want to operate. Specify the target subsystem number using a range of 0 to 9. If omitted, the default is subsystem 0.
Operands
hostgroup-name
Specifies the name of the host group whose settings you want to alter.
host-name
Specifies the name of the destination host whose settings you want to alter.
parameter
Specifies the attribute and its values of the host to be altered.
The attribute and its values that can be specified are:
Max execution jobs (number of simultaneously executable jobs)
The range of possible values for Windows: 1-99
The range of possible values for UNIX: 1-999
If the value of the modified multiplicity is smaller than that of the number of running jobs, the number of running jobs temporarily exceeds the multiplicity. However, it can be finally limited to the new multiplicity to which you altered as the running jobs are complete.
The following gives an example to set the max execution jobs to three.
maxexec=3
Return Values
Return Value | Meaning |
---|---|
0 | The command processing has terminated normally. |
Other than 0 | The command processing has failed. An error message is output. |
Command Location
Windows | <Systemwalker Operation Manager installation directory>\MpWalker.JM\bin |
Solaris | /usr/lib/mjes |
Privilege Required
System administrator (user belonging to the Administrator group or superuser) privileges are required.
Cautions
This command is executable only on the Systemwalker Operation Manager server (source server of the distributed job execution).
The option of "Enable distributed execution" cannot be changed during its operation.
The definition can be changed only when:
The queue is working as the distributed execution queue (that is, when the [Enable distributed execution] is selected in the [Create Queue] or [Edit Queue] window).
The Job Execution Control service/daemon is running.
The changes made on the definition are retained until the Job Execution Control is activated in the initialization mode. Activating the Job Execution Control in the initialization mode resets the settings for the distributed job execution to what is defined in the initialization file.
Example
In the following example, the multiplicity of jobs set to the host "djhost1" in the host group "djgroup" is altered to three.
C:\>mjdjalt djgroup djhost1 maxexec=3 hostgroup = djgroup hostname = djhost0 maxexec = 20 state = ACT run = 2 hostname = djhost1 maxexec = 3 state = ACT run = 0 hostname = djhost2 maxexec = 5 state = ACT run = 0