Synopsis
calregpath -add {-sys subsystem-number | -all} [-pm] -p shared disk directory calregpath -del {-sys subsystem-number | -all} calregpath -ref
Description
Use this command to register the directory path information located on the shared disk to the calendar service and to delete the registered information from the calendar service at cluster operation. Information to be registered varies depending on the cluster operation style.
This command needs to be executed on each node that has cluster configuration.
Options
-add
Used to register the directory located on the shard disk.
If this option is specified, either the -sys option or the -all option and the -p option need to be specified.
The -all option and the -sys option cannot be specified together.
If the cluster system type is either 1:1 active node/standby node operation (with subsystems and partial cluster operations) or one of the following mutual standby operations, specify the subsystem number that is being treated as a cluster by the Jobscheduler. The path information of the subsystem number is edited.
Two-node mutual standby
Failovering
Random
This option needs to be executed corresponding to the number of subsystems.
If specifying it at specifying the -del option, the specified subsystem number returns to the initial status.
Specify this option when the cluster style is any of the following standby operations:
1:1 Active/Standby (without subsystems) and 1:1 Active/Standby (with subsystems)
N:1 Active/Standby
Cascade
If specifying it at specifying the -del option, the path information of all the subsystems registered returns to the initial status.
Use this option when specifying the -add option.
When specifying this option, data stored in the directory before change is moved to the directory specified with the -p option.
Specify this option when migrating data to the shared disk etc. at cluster environment setup. If omitted, only the information of the destination to which the directory refers to is updated.
When specifying this option, you must confirm that both the reference destination directory currently set and the one specified with the -p option can be referred to.
Specify the directory on the shared disk created at cluster installation. Specify the path name of the directory within 255 bytes. This option must be specified when the -add option is specified.
-del
Specify to return the path information currently registered to the initial status.
Specify this option in combination with the -sys option or the -all option.
-ref
Specify to display the path information of directories currently registered to standard output in list format.
In the initial status, the following initial information is displayed by each subsystem:
Systemwalker installation directory\MPWALKER.JM\mpjmcal\post\sys(n)
(n): Subsystem number
Return Values
Return value | Meaning |
---|---|
0 | Normal termination |
1 | Abnormal termination |
Command Location
Windows | Systemwalker Operation Manager installation directory\MpWalker.JM\bin |
Cautions
System administrator (user belonging to the Administrators group) privileges are required.
When registering or deleting directories, execute this command after stopping the calendar service.