Posts

Showing posts from August, 2014

zfs commands

Pool Related Commands # zpool create datapool c0t0d0 Create a basic pool named datapool # zpool create -f datapool c0t0d0 Force the creation of a pool # zpool create -m /data datapool c0t0d0 Create a pool with a different mount point than the default. # zpool create datapool raidz c3t0d0 c3t1d0 c3t2d0 Create RAID-Z vdev pool # zpool add datapool raidz c4t0d0 c4t1d0 c4t2d0 Add RAID-Z vdev to pool datapool # zpool create datapool raidz1 c0t0d0 c0t1d0 c0t2d0 c0t3d0 c0t4d0 c0t5d0 Create RAID-Z1 pool # zpool create datapool raidz2 c0t0d0 c0t1d0 c0t2d0 c0t3d0 c0t4d0 c0t5d0 Create RAID-Z2 pool # zpool create datapool mirror c0t0d0 c0t5d0 Mirror c0t0d0 to c0t5d0 # zpool create datapool mirror c0t0d0 c0t5d0 mirror c0t2d0 c0t4d0 disk c0t0d0 is mirrored with c0t5d0 and disk c0t2d0 is mirrored withc0t4d0 # zpool add datapool mirror c3t0d0 c3t1d0 Add new mirrored vdev to datapool # zpool add datapool spare c1t3d0 Add spare device c1t3d0 to the datapool ## zpool create -n geekpool c1t3...

What is the meaning of the "jeopardy" status of a cluster node and when will the Service Group get into an autodisabled state?

Issue There are times when a cluster node is reported in a jeopardy membership and we also see messages of service groups getting into autodisabled state. This article will explain as what is the special jeopardy membership in a VCS Cluster and under what scenarios will a service group get into an autodisabled state. Solution From Veritas Cluster Server (VCS) point of view, when a system in the cluster loses all but the last link of the LLT interconnect links, then that system is placed in a special cluster membership called "jeopardy" membership status. The Service Groups running on the system continue to be online or offline and the state of the Service Groups are not changed, however the cluster node is now in a special 'jeopardy' state but can continue running in this state until any one of the following three things that could occur: 1.) The loss of the last available interconnect link In this case, the cluster cannot reliably identify and discriminate if the la...

VCS questions and answers

1.What are the different service group types ? Service groups can be one of the 3 type : 1. Failover – Service group runs on one system at a time. 2. Parallel – Service group runs on multiple systems simultaneously. 3. Hybrid – Used in replicated data clusters (disaster recovery setups). SG behaves as Failover within the local cluster and Parallel for the remote cluster.   2.Where is the VCS main configuration file located ? The main.cf file contains the configuration of the entire cluster and is located in the directory /etc/VRTSvcs/conf/config. 3.How to set VCS configuration file (main.cf) ro/rw ? To set the configuration file in read-only/read-write : # haconf -dump -makero     (Dumps in memory configuration to main.cf and makes it read-only) # haconf -makerw           (Makes configuration writable)Where is the VCS engine log file located ? The VCS cluster engine logs is located at /var/VRTSvcs/log/engine_A.l...