Okay after long time back, anyway I’m here and let’s get started with clustering 😀 We are going to implement two (2) node Active/Passive cluster for provide continues web service to the end users. I’n my scenario I’m using two virtual servers as a cluster nodes and network attach storage (NAS) as a shared storage for both servers. also there are three (3) virtual networks for public network, private network(cluster heartbeat network) and for the storage network. here all of this virtual servers, network and storage are deployed on a CentOS 6 environment using KVM based hypervisor. anyway all virtual resources work as a actual physical resources.
above figure show the initial architecture for our high availability web service deployment, In each virtual server has three (3) network interface cards (NIC) for connect to the public, private and storage networks. In addition to the servers, network attached storage has two(2) ip address. we use both this address to configure multi-path for provide efficient and reliable storage infrastructure to our cluster deployment. here the configuration details of servers and storage.
##Server 01 2.6 GHZ 2 vCPU’s with 1 GB RAM Hostname : web1.hasitha.org NIC 01 : 192.168.0.11 (Public Network) NIC 02 : 192.168.1.11 (Private Network) NIC 03 : 192.168.2.11 (Storage Network)
##Server 02 2.6 GHZ 2 vCPU’s with 1 GB RAM Hostname : web2.hasitha.org NIC 01 : 192.168.0.12 (Public Network) NIC 02 : 192.168.1.12 (Private Network) NIC 03 : 192.168.2.12 (Storage Network)
##Network Attach Storage (NAS) NIC 01 : 192.168.2.1 (Storage Network) NIC 02 : 192.168.2.2 (Storage Network) LUN 01 : 10GB (iqn.2013-08-10.storage.hasitha.org:web)
Now we are ready to go and next part is all about configuring servers, wait till the next then.