Become superuser or assume a role that provides solaris.cluster.modify and solaris.cluster.admin RBAC authorizations.
Disable and remove the resource that is used by the Sun Cluster HA for MySQL data service.
# clresource disable resource # clresource delete resource |
Log in as superuser to the HA container's console.
Unregister Sun Cluster HA for MySQL from the Solaris Service Management Facility (SMF) service.
# /opt/SUNWscmys/util/ha_mysql_smf_remove -f filename |
Specifies the configuration file name.
The name of the configuration file that you used to register Sun Cluster HA for MySQL with the SMF service.
If you no longer have the configuration file that you used to register Sun Cluster HA for MySQL with the SMF service, create a replacement configuration file:
Make a copy of the default file, /opt/SUNWscmys/util/ha_mysql_config.
Set the ZONE and RS parameters with the values that are used by the data service.
Run the ha_mysql_smf_remove command and use the -f option to specify this configuration file.
Disconnect from the HA container's console.