Problem
To support changing web service user accounts, use the utility script wmcUtils. This utility script does not validate if a web service user and group exist. Before you use this utility, you must ensure that the web service user and the group exist and the user is part of the group.
Further, be aware that wmcUtils.bat may not work properly in NetBackup 8.1 and 8.1.1.
Cause
There are known issues with the handling of spaces and options in wmcUtils.bat and setupWmcPermissions.bat.
Issue 1:
wmcUtils.bat does not handle spaces in group name or user name.
>wmcUtils.bat -changeUser "test user" "group1"
user] was unexpected at this time.
Note: If the settings are manually or forcibly changed, the following problems will occur.
Resolution: This issue is resolved in NetBackup 8.1.2.
Issue 2:
wmcUtils.bat cannot correctly determine the small differences in options.
(This issue applies to both Unix and Windows.)
>wmcUtils.bat -changeuser user1 group1
HELP: wmcUtils.bat -changeUser <username> <groupname>
HELP: In case of domain users, wmcSupport.bat -changeUser <domain\username> <groupname>
-changeUser:
Use this option to change user account to run "NetBackup Web Management Console" with.
Please note that this change requires "NetBackup Web Management Console" service to be restarted.
If "Veritas Private Branch Exchange" is running in secure mode, this change also requires "Veritas Private Branch Exchange" service to be restarted.
Important Note: The web services user should be an account with limited privileges.
The user running this script is required to have admin privileges.
Resolution:
Specify "-changeUser" instead of "-changeuser".
This issue is also resolved in NetBackup 8.1.2.
Issue 3:
Even if you enter the correct user name and password on cluster environment, it may not be correctly reflected in SCM.
>wmcUtils.bat -changeUser user1 group1
Updating bp.conf with new user and group name values...
Updating bp.conf with domain name...
Updating bp.conf with user account type...
Calling configureEnv to update the new user, group, domain values...
Calling setupWmc to set the required permissions for the new user, group, domain...
Please enter service user password:
Now restarting "NetBackup Web Management Console" as "user1" user.
The NetBackup Web Management Console service is stopping.
The NetBackup Web Management Console service was stopped successfully.
Starting NetBackup Web Management Console service could take a couple of minutes...
The NetBackup Web Management Console service is starting........
The NetBackup Web Management Console service could not be started.
The service did not report an error.
More help is available by typing NET HELPMSG 3534.
The requested operation completed successfully.
Resolution:
1. Open Windows Services and right-click on "NetBackup Web Management Console".
2. Click Properties and then click Logon.
3. Enter the new user name and the password for this account and click Apply.
This step grants the logon as service right to this new user.
Refer to the following article for additional information:
How to change the account for the NetBackup web server on Windows.
Note: This procedure cannot be used if the user/group name contains a space.