I am trying to build Sun Solaris cluster 3.3 (2 nodes) using two VM solaris 10 x86_64 with virtual box. I was able to install cluster software on one node but I couldn't join the 2nd to the cluster. The problem is I can't configure the 2nd to add it.
Each machine has 3 network adapter one of them is bridged and the 2 others are connected to internal virtual network.
Thanks for sharing with me some information about how to configure a Sun Cluster 3.3 in such environment ?
When you ran the scinstall process, did you choose a two node cluster, or did you build a single node cluster to which you are adding a node? If you built a single node cluster, then you'll need to remember to permit a second node to join the cluster via scsetup. If you are building a two node cluster from the start, then you might be better off configuring the private networks as VBox internal networks rather than bridged ones. Unfortunately, I don't have a PC with enough memory on to try this out just now.
What errors messages you recive? Please clear what step of configuration cause problem.
For cluster environment every node required min. 3 NIC:
1. 1 - For Public Network
2. 2 - For cluster interconnect.
All tree network must be phisicaly isolated.
Correct for public network, but wrong for cluster interconnect.
You should create one additional internal virtaul network and configure one NIC from VM to separate network.
No error messages,
Well, I couldn't make the cluster interconnect... what kind of adapter I should use to make it and how I should configure it ?
I am running vbox on Ubuntu 12.04, and I couldn't find a way to create a vNIC.
You do not configure the interconnect networks in advance. There just need to be adapters Solaris Cluster can configure with IP addresses. So as long as you configure two interfaces as internal networks for each virtual machine, I think that should be OK.
Is that what you are missing?
1. Read Docs :)
You should configuration like Figure 3-2 Typical Four-Node Cluster
1. Add net0 to VM ( bridge ) ( e1000g0 at solaris)
2. Add net1 to VM ( int0 ) ( e1000g1 at solaris) private link-0
3. Add net1 to VM ( int1) (e1000g2 at solaris) private link-0
( When you specify new name for name for internal network - VBox automaticaly create new internal network).
Boot both nodes and temporary assign IP to e1000g1 ; e1000g2 ;
Check that e1000g1 node1 can ping e1000g1 node2;
Check same for e1000g2.
Unconfigure e1000g1 ; e1000g2.
Try configure cluster. Say that you have dedicated NIC for interconnect, connected via switch.
In case problem - say more detail what you do and what problem.
Sorry Guys for the late, I was not able do the modification.
I did the needed configuration on the network and so on, but installation failed when the cluster try to configure the 2nd node (named paris).
check this log output: The cluster check command failed on both of the nodes.
scrcmd -N paris test isinstalling
"" is not running.
scrcmd -N paris test isconfigured
Oracle Solaris Cluster is not configured.
Configuring "paris" ...
scrcmd -N paris install -logfile /var/cluster/logs/install/scinstall.log.2004 -k -C cluster -F -T node=london,node=paris,authtype=sys -w netaddr=172.16.0.0,netmask=255.255.240.0,maxnodes=64,maxprivatenets=10,numvirtualclusters=12 -A trtype=dlpi,name=e1000g1 -A trtype=dlpi,name=e1000g2 -B type=switch,name=switch1 -B type=switch,name=switch1 -m endpoint=:e1000g1,endpoint=switch1 -m endpoint=:e1000g2,endpoint=switch1 -P task=quorum,state=INIT
scrconf: Failed to add connection point - already exists.
scinstall: Failed to initialize cluster configuration ("-B type=switch,name=switch1")
scinstall: scinstall did NOT complete successfully!
Checking device to use for global devices file system ... done
Initializing cluster name to "cluster" ... done
Initializing authentication options ... done
Initializing configuration for adapter "e1000g1" ... done
Initializing configuration for adapter "e1000g2" ... done
Initializing configuration for switch "switch1" ... done
Initializing configuration for switch "switch1" ... failed
Log file - /var/cluster/logs/install/scinstall.log.2004
Failed to configure "paris".
Thank you in advnace, guys.