How do I change an NFM-P main database password in a redundant system?
Purpose
Perform this procedure to change the password of a user associated with the main database in a redundant NFM-P system.
CAUTION Service Disruption |
The procedure requires a restart of each main server, which is service-affecting.
Perform the procedure only during a scheduled maintenance period.
Note: Before you perform the procedure, you must ensure that each main server, auxiliary server, and database is running and operational.
You can use the procedure to change only one user password at a time. To change multiple user passwords, you must perform the procedure multiple times.
When you change a password on one station, the NFM-P automatically updates the password on all other NFM-P stations.
Note: The samuser password expires after 180 days.
Steps
1 |
Log in to the primary main server station as the nsp user. | ||
2 |
Open a console window. | ||
3 |
Contact technical support before you attempt to modify the nms-server.xml file. Modifying the nms-server.xml file can have serious consequences that can include service disruption. If you are changing the Oracle SYS user or Oracle database user password, disable the automatic database failover function.
Note: Leave the console window open; it is required later in the procedure. | ||
4 |
Navigate to the /opt/nsp/nfmp/server/nms/bin directory. | ||
5 |
Enter the following: bash$ ./nmsserver.bash passwd ↵ The script prompts you for the current Oracle SYS user password. | ||
6 |
Enter the password. The script validates the password, and then displays a list of user names like the following SAM Database Users: - sys - database_user (installation default is samuser) Other Database Users: - sqltxplain - appqossys - outln - dip - system - exit | ||
7 |
Enter a user name. The script prompts you for a password. | ||
8 |
Enter the new password, which must:
If the password is valid, the script prompts you to retype the password. | ||
9 |
Enter the new password again. The following prompt is displayed: WARNING: Changing passwords may cause instability to the NFM-P server as well as the Oracle proxy on the database server. Do you want to proceed (yes/no)?: | ||
10 |
Enter yes ↵. The script displays status messages and then exits. If the status indicates a password change failure, contact technical support. | ||
11 |
Record the password in a secure location. | ||
12 |
If you are changing a password other than the SYS or Oracle database user password, go to Step 18. | ||
13 |
Stop each main database; stop the standby first, and then the primary.
Note: For convenience, leave the console window open; it is required later in the procedure. | ||
14 |
Stop the standby main server.
Note: For convenience, leave the console window open; it is required later in the procedure. | ||
15 |
Start each main database; start the primary first, and then the standby.
| ||
16 |
Restart the primary main server.
Note: For convenience, leave the console window open; it may be required later in the procedure. | ||
17 |
Start the standby main server.
| ||
18 |
Modifying the nms-server.xml file can have serious consequences that can include service disruption. Contact technical support before you attempt to modify the file. If the dbAutoFailOver value recorded in Step 3 is yes, re-enable the automatic database failover function.
| ||
19 |
Close the open console windows. | ||
20 |
Log out of the primary main server station. End of steps |