Encrypting Passwords
VCS provides a utility to encrypt database user passwords and listener passwords. Encrypt the Pword attribute in the Oracle agent and the LsnrPwd attribute in the Netlsnr agent before configuring these attributes.
Oracle provides the option of storing the listener password in the listener.ora file, in both clear text and encrypted formats. Irrespective of the format in which the password is stored in Oracle, you must encrypt the password using the vcsencrypt utility before configuring the LsnrPwd attribute. This password, when decrypted should be of the same format as stored in the listener.ora file.
Note
You need not encrypt passwords when using the configuration wizard or the VCS Cluster Manager (Java Console) to configure attributes.
-
From the path $VCS_HOME/bin/, run the vcsencrypt utility.
- Type the following command:
# vcsencrypt -agent
- The utility prompts you to enter the password twice. Enter the password and press Return.
# Enter New Password:
# Enter Again:
-
The utility encrypts the password and displays the encrypted password.
-
Enter this encrypted password as the value for the attribute.
Copy the encrypted password for future reference.
|