SetPasswords()
You can use the SetPasswords()
method to set the passwords for the administrators and service personnel to
access an IBMTS2145_Cluster. The SetPasswords() method belongs to the IBMTS2145_ClusteringService
class.
Parameters
Table 274 shows the parameters you can specify for the
SetPasswords() method:
Table 274. SetPasswords() parameters
|
Parameter |
Type |
Description |
| [AdminPW] |
String |
Changes the administer's password to the cluster |
| [ServicePW] |
String |
Changes the service personnel's password to the cluster |
Return values
The SetPasswords() method returns one of the following error codes:
- 0: The passwords were changed.
- 2: An unexpected error occurred.
- 5: The number or type of parameters that have been passed is incorrect.
- 0x9000 to 0x9FFF: SAN Volume Controller return codes and messages.