# cfscluster status
NODE serverA server serverC serverD CLUSTER MANAGER STATE running running running running CVM STATE not-running not-running not-running not-running
# v)&ctl -c *o&e
*o&e! ena+le&! cluster inactive
# ,etc,v),+in,v)clusta&* ni&*a(
Out of cluster! No *a((ing infor*ation availa+le
# ,etc,v),+in,v)clusta&* -v no&estate
state! out of cluster
# 'astatus -su*
-- S-STEM STATE -- S.ste* A A A A serverA server serverC serverD State RUNN1NG RUNN1NG RUNN1NG RUNN1NG 2 2 2 2 /ro0en
1uri!$ co!fi$uratio!, &eritas will "ic) u" all i!formatio! that is set o! your cluster co!fi$uratio!# (!d will acti&ate C-M o! all the !odes#
# cfscluster config
T'e cluster configuration infor*ation as rea& fro* cluster configuration file is as follo3s4 Cluster ! M.Cluster No&es ! serverA server serverC serverD -ou 3ill no3 +e (ro*(te& to enter t'e infor*ation (ertaining to t'e cluster an& t'e in&ivi&ual no&es4 S(ecif. 3'et'er .ou 3oul& li5e to use GA *essaging or TC6,UD6 *essaging4 1f .ou c'oose ga+ *essaging t'en .ou 3ill not 'ave to configure 16 a&&resses4 Ot'er3ise .ou 3ill 'ave to (rovi&e 16 a&&resses for all t'e no&es in t'e cluster4 ------- /ollo3ing is t'e su**ar. of t'e infor*ation! -----Cluster ! M.Cluster No&es ! serverA server serverC serverD Trans(ort ! ga+ ----------------------------------------------------------7aiting for t'e ne3 configuration to +e a&&e&4 88888888888888888888888888888888888888888888888888888888 Cluster /ile S.ste* Configuration is in (rogress444 cfscluster! C/S Cluster Configure& Successfull.
# cfscluster status
No&e ! serverA Cluster Manager ! running CVM state ! running No *ount (oint registere& 3it' cluster configuration No&e ! server Cluster Manager ! running CVM state ! running No *ount (oint registere& 3it' cluster configuration No&e ! serverC Cluster Manager ! running CVM state ! running No *ount (oint registere& 3it' cluster configuration No&e ! serverD Cluster Manager ! running CVM state ! running No *ount (oint registere& 3it' cluster configuration
# v)&ctl -c *o&e
*o&e! ena+le&! cluster active - MASTER *aster! serverA
# ,etc,v),+in,v)clusta&* ni&*a(
Na*e serverA server serverC serverD state! cluster *e*+er no&e1&82 *aster1&8% neig'+or1&8% *e*+ers82)f ;oiners82)2 leavers82)2 reconfig<se=nu*82)f2a>%2 v)fen8off CVM Ni& 2 % : " 2 % : " CM Ni& State 9oine&! 9oine&! 9oine&! 9oine&! Master Slave Slave Slave
# ,etc,v),+in,v)clusta&* -v no&estate
# 'astatus -su*
-- S-STEM STATE -- S.ste* A A A A serverA server serverC serverD State RUNN1NG RUNN1NG RUNN1NG RUNN1NG S.ste* serverA server serverC serverD 2 2 2 2 6ro+e& N N N N AutoDisa+le& State ONL1NE ONL1NE ONL1NE ONL1NE /ro0en
<!itiali'e the dis)s you wa!t to use# Ma)e sure they are attached to all the cluster !odes# >ou may o"tio!ally s"ecify the dis) format#
serverA # v)&is5setu( -if EMC2<% for*at8c&s&is5 serverA # v)&is5setu( -if EMC2<: for*at8c&s&is5
Create a shared dis) $rou" with the dis)s you ?ust i!itiali'ed#
8ow let9s add that !ew dis) $rou" i! our cluster co!fi$uratio!# *i&i!$ all !odes i! the cluster a! o"tio! for Shared ;rite 5sw6#
;e ca! !ow create &olumes a!d filesystems withi! the shared dis)$rou"#
serverA # v)assist -g *.s'are&g *a5e *.s'arevol% %22g serverA # v)assist -g *.s'are&g *a5e *.s'arevol: %22g serverA # *5fs -/ v)fs ,&ev,v),r&s5,*.s'are&g,*.s'arevol% serverA # *5fs -/ v)fs ,&ev,v),r&s5,*.s'are&g,*.s'arevol:
The! add these &olumes%filesystems to the cluster co!fi$uratio! so they ca! e mou!ted o! a!y or all !odes# Mou!t"oi!ts will e automatically created#
That9s it# Chec) you cluster co!fi$uratio! a!d try to 38+<8@ the filesystems o! your !odes#
cv* serverA cv* server cv* serverC cv* serverD vrts<vea<cfs<int<cfs*ount% vrts<vea<cfs<int<cfs*ount% vrts<vea<cfs<int<cfs*ount% vrts<vea<cfs<int<cfs*ount% vrts<vea<cfs<int<cfs*ount: vrts<vea<cfs<int<cfs*ount: vrts<vea<cfs<int<cfs*ount: vrts<vea<cfs<int<cfs*ount:
@ach &olume will ha&e its ow! Ser&ice $rou" a!d loo)s really u$ly, so you may wa!t to modify your mai!#cf file a!d $rou" them# ,e creati&eA