Encrypting the agent password

To encrypt the agent password, perform the following steps on any cluster node:

  1. Make the VCS configuration writable.
    # haconf -makerw
  2. Encrypt the agent password.
    # vcsencrypt -agent -secinfo
  3. When prompted, enter the existing password and press Enter.

    The utility encrypts the entered password and displays the encrypted password.

    For example, 7c:a7:4d:75:78:86:07:5a:de:9d:7a:9a:8c:6e:53:c6

  4. Modify the required agent attribute to assign the encrypted password.
    c:\>hares -modify <ResourceName>
    					<password_attribute _name> <AES Password>