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 or the auxiliary 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 NFM-P synchronizes the samauxdb password of an auxiliary database with the SYS password of the main database . When you change the SYS password, the samauxdb password is set to the same value.
Note: The NFM-P synchronizes the samuser password of an auxiliary database with the samuser password of the main database . When you change the samuser password of the main database, the samuser password of the auxiliary database is set to the same value.
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 19. | ||
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 |
If the NFM-P is in a shared-mode NSP system, perform the following steps on the NSP cluster in each data center. Note: You must perform the steps on the cluster in the standby data center first.
| ||
19 |
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.
| ||
20 |
Close the open console windows. | ||
21 |
Log out of the primary main server station. End of steps |