--- HANFS Reboot ---


OCFS server upgrade procedure
=============================

Start with HANFS1/HANFS2 the server that is not sharing 128.226.136.106/32 ... OCF will shudown more easily
ip addr show 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever 2: ens160: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 00:50:56:a2:35:0b brd ff:ff:ff:ff:ff:ff inet 128.226.136.103/24 brd 128.226.136.255 scope global noprefixroute ens160 valid_lft forever preferred_lft forever inet 128.226.136.106/32 scope global ens160 valid_lft forever preferred_lft forever 3: ens192: mtu 9000 qdisc mq state UP group default qlen 1000 link/ether 00:50:56:a2:d7:e0 brd ff:ff:ff:ff:ff:ff inet 10.1.2.127/22 brd 10.1.3.255 scope global noprefixroute ens192 valid_lft forever preferred_lft forever
– Stop NFS systemctl stop nfs systemctl status nfs – Stop OCF Services systemctl stop o2cb systemctl status o2cb systemctl stop ocfs2 systemctl status ocfs2 – DISABLE OCFS Services Before ReBoot (just to be safe, and to keep it from being activated while the other node is active with an older version) systemctl disable ocfs2 systemctl disable o2cb – Stop all cluster related software systemctl stop keepalived systemctl status keepalived systemctl disable keepalived - Make sure the failover ip (128.226.136.106/32) is not listed ip addr show – Apply system updates yum -y update yum -y upgrade - ReBoot sync sync sync reboot – Start OCFS ServicesCheck / verify the ocfs2 filesystem /u02 is back online systemctl start ocfs2 systemctl start o2cb df -h /u02 - If the filesystem is back online, complete the following steps - ENABLE OCFS Services systemctl enable o2cb systemctl enable ocfs2 - Start NFS systemctl start nfs systemctl status nfs - Export file systems exportfs -rav - Start and enable cluster software systemctl enable keepalived systemctl start keepalived systemctl status keepalived - Repeat on next node.

Valid HTML 4.0 Transitional