Oracle Solaris Clusteroracle-solaris
Its been a while since I wrote an article. In the previous tutorial, I configured IPMP, which is basically NIC bonding in Linux terms. Today, its about installing and configuring Oracle Solaris Cluster. This is a two-node cluster built on SPARC servers, couple of NIC interfaces on each server and a bunch of hard disks.
We have two servers each with following hardware and software.
SPARC S7-2. 254 GB RAM. 5 Ethernet Interfaces (net0, net1, net2, net3 & net4). 4 Disks, each of around 500 GB. Oracle Solaris 11. OSC repository ISO image.
I am logged in both the nodes as root user. If you have DNS configured, see to it that the nodes are able to resolve each other. In my case, since I do not have DNS, I have placed entries in “/etc/hosts” on both of them. In order to configure a cluster, we first need to configure repository and install necessary packages.
The next series of steps should be configured on one node only. I picked node 1 for this cluster setup. You are free to do your own “eeni meeni myni mo“and pick your node.
At the time of the write-up, I downloaded “osc-4.3-repo-iso.zip” from Oracle, unzip ISO image inside it and mounted on “/mnt“. I have included the procedure to create a device and mount ISO image on it, in this Clustering video.
Now that the image is in place, we build the cluster repository using the following commands.
pkg set-publisher -g file:///mnt/repo ha-cluster
Once the repository is loaded, we can verify like so.
oracle-cluster-repoAs it can be seen, the default Solaris repository and cluster repository are online and ready for next phase that is, installing the cluster.
pkg install –accept ha-cluster-full
#”–accept” is for accepting license terms and conditions.
A successful installation should give the following output.
Get more tutorials on http://www.nixfury.com