How to Patch a TWO-NODE VCS Cluster ?
How to Patch a TWO-NODE Cluster ? Explain PATCHING steps .
** 1. "Node A".
Download patches.
** 2. "Node B"
Failover all services to "Node B".
Make sure all service groups are frozen and non-critical.
# hastop –local -force (On Node A)
# hasys -freeze <SystemName>
** 3. "Node A"
VCS should already be down on "A"
Copy /etc/llttab /etc/llthosts /etc/gabtab files to .SAV files and make a
backup.
Unencaplulate root drives and break the root mirror. ( detach the mirror incase of rollback)
Load patches and reboot.
# hastatus sum
** 4. "Node B"
# hastatus sum
Unfreeze services on "B"
# hasys -unfreeze <SystemName>
** 5. "Node B"
Failover the services one at a time (review dependencies) to "Node A"
Verify all services are down on "Node B" and running on "Node A"
Make sure all service groups are frozen and non-critical.
# hastop –local -force (On Node B)# hasys -freeze <SystemName>
** 6. "Node B"
Repeat the upgrade process on "Node B".
UnEncapsulate root drives and break the root mirror. ( detach the mirror incase of rollback )
Load patches and reboot.
Reboot
# hastatus -sum
FYI :-
A) hastop is not required at any point. However, before rebooting any
server, make sure that your VCS configuration files, primarily main.cf
is closed else your cluster might go into a stale state.
B) In your proposed method, the 1st outage will be required when you
failover the running services to Node B to be able to patch Node A. The
second outage will be required when you have to failover the running
services to Node A to be able to patch Node B.
No comments