Synopsis
mjdjdel [-sys subsystem-number](*1) hostgroup-name host-name
[-sys subsystem-number] is an option of Systemwalker Operation Manager EE.
Description
The mjdjdel command deletes a configuration host from the destination host group 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 host group from which you want to delete a host.
host-name
Specifies the name of host that you want to delete. A local host should not be specified for this operand.
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.
You can use this command if there are more than one host in the host group. Because at least one host must be defined in the host group.
If you attempt to delete the host where a job is left running, the host is deleted by definition. And the running job continues processing, but jobs are no longer submitted to this host from that point.
When you delete the local host that was defined as the configuration host, do it from the [Define Operating Information] window, not by using this command. Otherwise, the distributed execution job may terminate abnormally with completion code 0x40000999, 1, or others.
Example
In the following example, the host "djhost1" is deleted from the host group "djgroup".
C:\>mjdjdel djgroup djhost1 hostgroup = djgroup hostname = djhost0 maxexec = 20 state = ACT run = 2 hostname = djhost2 maxexec = 5 state = ACT run = 0