Sun Cluster Data Service for MySQL Guide for Solaris OS

Upgrade to MySQL 4.0.x from 3.23.54 when using Sun Cluster HA for MySQL

Use the information in this section to understand how to upgrade to 4.0.12 when using Sun Cluster HA for MySQL.


Note –

The procedure will not describe how to upgrade to 4.0.x. It includes only the steps to upgrade Sun Cluster HA for MySQL to 4.0.x. These steps assume that the new MySQL binaries is installed in the same place. If the new binaries is installed in a new directory, you must re-register the MySQL resource with new MySQL Basedir.


Procedure to upgrade to MySQL 4.0.x from 3.23.54

  1. Shutdown the Sun Cluster HA for MySQL with scswitch —n —j MySQL- resouce


    # scswitch -n -j MySQL- resouce
    
  2. Install the new MySQL binaries, follow Step 3 and 4 in Section How to Install and Configure MySQL.

  3. Startup Sun Cluster HA for MySQL with scswitch —e —j MySQL- resouce.


    # scswitch -e -j MySQL- resouce
    
  4. Shutdown Sun Cluster HA for MySQL faultmonitor with scswitch —n –M —j MySQL- resouce.


    # scswitch -n -M -j MySQL- resouce
    
  5. Follow the MySQL Documentation to upgrade MySQL Database.

  6. Startup Sun Cluster HA for MySQL faultmonitor with scswitch —e –M —j MySQL- resouce.


    # scswitch -e -M -j MySQL- resouce