Shutdown()
You can use the Shutdown() method
to shut down an IBMTS2145_Node instance or an IBMTS2145_Cluster instance.
The Shutdown() method belongs to the IBMTS2145_ClusteringService class.
Parameters
Table 279 shows the parameters you can specify for the
Shutdown() method:
Table 279. Shutdown() parameters
|
Parameter |
Type |
Description |
| System |
COP |
Specifies the IBMTS2145_Cluster or IBMTS2145_Node to
be shut down |
| [Force] |
Boolean |
If set to True, shuts down the remaining online node
of an IBMTS2145_RedundancyGroup |
Return values
The Shutdown() method returns one of the following error codes:
- 0: The shutdown for the node or cluster was successfully initiated.
- 2: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 0x8000: The submitted computer system was not of type IBMTS2145_Node or
IBMTS2145_Cluster.
- 0x8100: One of the parameters was out of the cluster scope.
- 0x9000 to 0x9FFF: SAN Volume Controller return codes and messages.