Synopsis
mpsetupolmode -u {clear|keep}
Description
This command specifies whether to delete or overwrite the user information registered in the destination server when distributing the Operation Manager user information as a policy. This command is used in the policy extraction source server when policies are extracted.
Options
-u clear
Specify when deleting the Operation Manager user information registered to the policy distribution destination server, and then distribution a policy.
-u keep
Specify when performing policy distribution without deleting the Operation Manager user information registered to the policy distribution destination server. When the same Operation Manager user name exists, user information is overwritten to the existing one.
Return Values
Return value | Meaning |
---|---|
0 | Normal termination |
Value other than 0 | Abnormal termination |
Reference
mpusermode, mpadduser, mpdeluser, mpmoduser, mpusers
Command Location
Solaris | Systemwalker installation directory/FJSVfwseo/bin |
Privilege Required
System administrator (superuser) privileges are required.
Cautions
This setting must be performed in the policy source server before policies are extracted. Even if this command is executed, the setting is not available when:
the setting was performed in the policy source server after policies were extracted, and
the setting was performed in the policy destination server.
"keep" (not to delete) is set just after installation.
Examples
The following example deletes the Operation Manager user information in the destination before extracting policies of Operation Manager user information. If policies are extracted or distributed after this setting, the Operation Manager user information in the destination will be deleted.
mpsetupolmode -u clear
The following example retains the Operation Manager user information in the destination before extracting policies of Operation Manager user information. If policies are extracted or distributed after this setting, the Operation Manager user information in the destination will not be deleted. When the same Operation Manager user exists, user information is overwritten to the existing one.
mpsetupolmode -u keep
Execution Results/Output Format
Normal termination | No message is output. |
Abnormal termination | An error message is output. |