service guard upgrade HP-UX

How to upgrade service guard version from 11.18 to 11.19

1. Take the backup of all the configuration files in /etc/cmcluster
cp -pR /etc/cmcluster /etc/cmcluster.date
copy the whole content of the directory.
2. copy /etc/cmcluster.conf

also do a cmgetconf of the current configuration

3. Halt the PKGs running on the first node.
#cmhaltpkg testpkg1
#cmhaltpkg testpkg2
#cmhaltnode
4. uninstall the service guard depot
swlist |grep -i service

swremove -x enforce_dependencies=false

--you will get the swinstall TUI screen select the Service Guard 11.18 depot and remove

5. Install the new version of Service Guard 11.19 from the remote location or from local where you downloaded
Install with swinstall TUI mode
6. After installation check the new version with swlist |grep -i service

8. start the node
cmrunnode
9. Check the status with
#cmviewcl

-------------------------
Follow the same steps on the alternate node.

Finally start all the PKGs, check failover.
Check the syslog for any errors.

----------------------------------------------------------------------------------------------------



Redhat Linux Cluster Tips

To view the cluster status:
#clustat

To Failover the services from one node to other
#clusvcadm -r -m

-r = relocate
-m=member

ex:
#clusvcadm -r DEVDB -m host2

in case if the status of the service is Failed, when you try to failover, try this:

#clusvcadm -d DEVDB -m host1
# clusvcadm -e DEVDB -m host2

In the above example -d switch will Disable the service on the host1 and will enable it on the host2.
-e switch will enable the service.

LUCI is the web based tool used to manage the RHCS - Redhat Cluster Service.

To freeze the particular service:

# clusvcadm -z DEVDB -m host1

To unfreeze the particular service:

# clusvcadm -Z DEVDB -m host1

Installing Ingress Controller - Kubernetes

Installing the Ingress Controller Prerequisites Make sure you have access to the Ingress controller image: For NGINX Ingress controll...