Ensure that you have edited the rolechg_config file to specify configuration parameters for the Sun Cluster HA for PostgreSQL Rolechanger data service. For more information, see http://www.postgresql.org.
Become superuser on one of the nodes in the cluster that hosts PostgreSQL.
Go to the directory that contains the script for creating the Sun Cluster HA for PostgreSQL Rolechanger resource.
# cd /opt/SUNWscPostgreSQL/util |
Run the script that creates the PostgreSQL resource.
# ksh ./rolechg_register -f /myplace/rolechg_config |
If you omit the -f option, the file /opt/SUNWscPostgreSQL/rolechg_util/rolechg_config is used.
Bring the PostgreSQL Rolechanger resource online.
# clresource enable rolechg-rs |