Generating a security key

Use the vcsencrypt utility to generate a security key.

Note:

You must be a root user or must have administrative privileges to generate the security keys.

To generate a security key, perform the following steps on any cluster node:

  1. Make the VCS configuration writable.
    # haconf -makerw
  2. Run the vcsencrypt utility.
    # vcsencrypt -gensecinfo
  3. When prompted enter any pass phrase, having at least eight characters.

    The utility generates the security key and displays the following message:

    Generating SecInfo...please wait...
    SecInfo generated successfully.
    Trying to update its value in config file...
    SecInfo updated successfully.
  4. Save the VCS configuration and make it read only.
    # haconf -dump  - makero