Go to main content

Oracle® Solaris Cluster Data Service for MySQL Guide

Exit Print View

Updated: June 2017
 
 

Installing the HA for MySQL Package

If you did not install the HA for MySQL package during your initial Oracle Solaris Cluster installation, perform this procedure to install the package.

How to Install the HA for MySQL Package

Perform this procedure on each cluster node where you want the HA for MySQL software to run.

  1. On the cluster node where you are installing the data service package, assume the root role.
  2. Ensure that the data service package is available from the configured publisher and that the solaris and ha-cluster publishers are valid.
    # pkg list -a ha-cluster/data-service/mysql
    # pkg publisher
    PUBLISHER                           TYPE     STATUS   P  LOCATION
    solaris                             origin   online   F  solaris-repository
    ha-cluster                          origin   online   F  ha-cluster-repository

    For information about setting the solaris publisher, see Adding, Modifying, or Removing Package Publishers in Adding and Updating Software in Oracle Solaris 11.3.


    Tip  -  Use the –nv options whenever you install or update to see what changes will be made, such as which versions of which packages will be installed or updated and whether a new BE will be created.

    If you do not get any error messages when you use the –nv options, run the command again without the –n option to actually perform the installation or update. If you do get error messages, run the command again with more –v options (for example, –nvv) or more of the package FMRI pattern to get more information to help you diagnose and fix the problem. For troubleshooting information, see Appendix A, Troubleshooting Package Installation and Update, in Adding and Updating Software in Oracle Solaris 11.3.

  3. Install the HA for MySQL software package.
    # pkg install ha-cluster/data-service/mysql
  4. Verify that the package installed successfully.
    $ pkg info ha-cluster/data-service/mysql

    Installation is successful if output shows that State is Installed.

  5. Perform any necessary updates to the Oracle Solaris Cluster software.

    For instructions on updating your software, see Chapter 11, Updating Your Software in Oracle Solaris Cluster 4.3 System Administration Guide.