Wednesday, December 4, 2019
Redhat Cluster Suite free essay sample
RedHat Cluster Suite For creation of GFS file system . # ccs_tool create testcluster # System-config-cluster First we need to add nodes as given below . [pic] We need to add the fencing device for the as given below . [pic] Save the setup [pic] Move the configuration to the other node . # scp /etc/cluster/cluster. conf 192. 168. 1. 5:/etc/cluster/cluster. conf /etc/cluster/cluster. conf cluster conf file looks like this . [[emailprotected] ~]# cat /etc/cluster/cluster. conf [[emailprotected] ~]# Execute # CCS_tool lsnode For seeing the number nodes . [pic] # ccs_tool lsfence [pic] You are ready to proceed with starting up the following daemons on all the nodes in the cluster, once you either copied over the configs or re ran the same commands above on the other 2 nodes /etc/init. d/cman start /etc/init. d/rgmanager start You can now check the status of your cluster by running the commands below clustat cman_tool status Before we start to create the LVM2 volumes and Proceed to GFS2, we will need to enable clustering in LVM2. We will write a custom essay sample on Redhat Cluster Suite or any similar topic specifically for you Do Not WasteYour Time HIRE WRITER Only 13.90 / page lvmconf enable-cluster Now it is time to create the LVM2 Volumes pvcreate /dev/dm-6 this is show an error force them with ff option . vgcreate -c y /dev/sdb t will create clustered volume group but it will say clustered volume group isnââ¬â¢t supported . igmore the error . lvcreate -n testvglvm01 -L 5G testvg we need to create start the lv and start the clvmd daemon on both server . /etc/init. d/clvmd start [pic] mkfs -t -p -t ClusterName: -j # mkfs -t gfs2 -p lock_dlm -t testcluster:testpv -j 2 /dev/testvg/testvglvm01 # mount /dev/testvg/testvglvm01 /opt/testmount On both server # echo ââ¬Å"/dev/testvg/testvglvm01 / opt/testmount gfs2 defaults,noatime,nodiratime 0 0 /etc/fstab Server Application users should have same UID which are accessing the Storage LUN.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.