Posts

Showing posts from 2020

rhel_5_6_7_cheatsheet_RHEL 5_6_7_Differences

rhel_5_6_7_cheatsheet_RHEL 5_6_7_Differences https://access.redhat.com/sites/default/files/attachments/rhel_5_6_7_cheatsheet_27x36_1014_jcs_web.pdf

Add new Node into Veritas Cluster and Cluster Service Group Procedure

Here are the steps involved in adding the Node into Veritas Cluster: Here we are adding the hanode03 Server into 3 Node Veritas Cluster, the  Step 1:  Run a health check before proceeding the Node addition activity Step 2: Create /etc/llthosts file on hanode03. Copy the llthosts file from already existing server and append with new node( hanode03) Entry. # vi /etc/llthosts 0 hanode01 1 hanode02 2 hanode04 3 hanode03 Step 3: On hanode03, update sysname in cluster configuration Create sysname file in new node. # /usr/bin/uname -n > /etc/VRTSvcs/conf/sysname # cat /etc/VRTSvcs/conf/systname hanode03 Step 4: On hanode03,create /etc/llttab file # vi /etc/llttab(staging file already placed as /etc/lltab.staging on hanode03) set-node hanode03 set-cluster 3 link igb2 /dev/igb:2 - ether - - link igb6 /dev/igb:6 - ether - - link-lowpri igb0 /dev/igb:0 - ether 0xcaf3 - link-lowpri igb4 /dev/igb:4 - ether 0xcaf4 - set-timer peertrouble:400 Step 5: Backup ...

Solaris LDOM's Back-up and Restoration Procedure

How to add vdisk to Guest LDOM: #ldm ls -e -l -o disk|grep san|sed 's/primary-vds0//'|awk '{print "ldm add-vdsdev",$2, $1"@primary-vds0"}' > Virtualdisk.out_`date +%d%m%y` LDOM Migration from One node to another Node: #for i in `ldm ls |awk '{print $1}' | egrep -vi "name|primary"`;do ldm migrate -p pswd $i ldmadmin@targetserver How to set the Host ID for Guest LDOM: #ldm set-dom hostid=82a85641 ldom1 How to restore the Guest LDOMs from XML Files: #for i in `ls -l |grep xml|awk '{print $9}'|egrep -iv primary`; do ldm add-domain -i $i ;done How to Bind the Guest LDOM: #for i in `ldm ls |awk '{print $1}' | egrep -vi "name|primary"`;do ldm bind $i ; done How to start the Guest LDOM #for i in `ldm ls |awk '{print $1}' | egrep -vi "name|primary"`;do ldm start $i;done Single  Guest LDOM Restoration steps: #ldm add-domain -i domainname.xml #ldm bind domainname #ldm start domainname N...