How to manually install Veritas Solaris Private Hot-Fixes for VRTSvcs, VRTSvcsag & VRTSodm in the Solaris Global and Local Zones

book

Article ID: 100053805

calendar_today

Updated On:

Description

Description


This articles describes how to manually install Veritas Solaris Private Hot-Fixes for VRTSvcs, VRTSvcsag & VRTSodm in the Solaris Global & Local Zones.


In this instance, the following Veritas Solaris Private Hot-Fixes will be installed:


VRTSvcsag (7.4.2.1201)

To ensure the Veritas Cluster Server (VCS) Zone agent handles the starting and stopping of the Solaris Local Zones correctly. 

VCS dependency exists in ODM, however there is no zone dependency in VCS. When performing a reboot of a node, Solaris Local Zones are not detached cleanly.

During the boot sequence, the Solaris Local Zones may be started before ODM has the chance to after restart and ODM goes into a 'maintenance' state.

To help with this scenario, the VCS Zone agent has been enhanced to increase the chances of detaching a Solaris Local Zone correctly.
 

VRTSvcs (7.4.2.1301)

The revised VRTSvcs package will added an ODM dependency with VCS.

VRTSodm (7.4.2.2601)
The Solaris 11.4 environments consists of 4 x Solaris Local Zones in a "running" state:

 

See related article for more details:
Solaris Sparc improvements for handling vxodm and VCS service dependencies with Solaris Local Zones for InfoScale 7.4.2.x
https://www.veritas.com/support/en_US/article.100053654

 

The Solaris 11.4 environments consists of 4 x Solaris Local Zones in a "running" state:


# zoneadm list -s
NAME             STATUS           AUXILIARY STATE
global           running
zone4            running
zone2            running
zone3            running
zone1            running


List the current Veritas package versions in the Solaris Global Zone:


# date;pkg list | grep -i vrts
Friday, August 19, 2022 at  2:05:24 PM IST
VRTSamf (Veritas)                                 7.4.2.0                    i--
VRTSaslapm (Veritas)                              7.4.2.0                    i--
VRTScavf (Veritas)                                7.4.2.0                    i--
VRTScps (Veritas)                                 7.4.2.0                    i--
VRTSdbac (Veritas)                                7.4.2.0                    i--
VRTSdbed (Veritas)                                7.4.2.0                    i--
VRTSfsadv (Veritas)                               7.4.2.0                    i--
VRTSgab (Veritas)                                 7.4.2.0                    i--
VRTSglm (Veritas)                                 7.4.2.0                    i--
VRTSgms (Veritas)                                 7.4.2.0                    i--
VRTSllt (Veritas)                                 7.4.2.0                    i--
VRTSodm (Veritas)                                 7.4.2.0                    i--
VRTSperl (Veritas)                                5.30.0.0                   i--
VRTSsfcpi (Veritas)                               7.4.2.0                    i--
VRTSsfmh (Veritas)                                7.4.2.0                    i--
VRTSspt (Veritas)                                 7.4.2.0                    i--
VRTSvbs (Veritas)                                 7.4.2.0                    i--
VRTSvcs (Veritas)                                 7.4.2.0                    i--
VRTSvcsag (Veritas)                               7.4.2.0                    i--
VRTSvcsea (Veritas)                               7.4.2.0                    i--
VRTSvlic (Veritas)                                4.1.74.4                   i--
VRTSvxfen (Veritas)                               7.4.2.0                    i--
VRTSvxfs (Veritas)                                7.4.2.0                    i--
VRTSvxvm (Veritas)                                7.4.2.0                    i--


List the current Veritas package versions inside the "running" Solaris Local Zones:


# for zone in `zoneadm list -s | egrep -v 'global|^NAME' | awk '{ print $1 }'`; do echo "ZONE: $zone" ; zlogin $zone "pkg list VRTS*" ; done
ZONE: zone4
NAME (PUBLISHER)                                  VERSION                    IFO
VRTSodm                                           7.4.2.0                    i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.0                    i--
VRTSvcsag                                         7.4.2.0                    i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--
ZONE: zone2
NAME (PUBLISHER)                                  VERSION                    IFO
VRTSodm                                           7.4.2.0                    i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.0                    i--
VRTSvcsag                                         7.4.2.0                    i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--
ZONE: zone1
NAME (PUBLISHER)                                  VERSION                    IFO
VRTSodm                                           7.4.2.0                    i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.0                    i--
VRTSvcsag                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
ZONE: zone3
NAME (PUBLISHER)                                  VERSION                    IFO
VRTSodm                                           7.4.2.0                    i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.0                    i--
VRTSvcsag                                         7.4.2.0                    i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--


The following steps can be used to manually install the Veritas Solaris Private Hot-Fixes for VRTSvcs, VRTSvcsag & VRTSodm for both the Solaris Global & Local Zones:
 

Solaris Global Zone


1.] Unset Veritas publisher
 

# pkg unset-publisher Veritas
Updating package cache                           1/1
 

2.] In this instance, download & extract the InfoScale 7.4.2 Private Hot-Fixes for VRTSvcs, VRTSvcsag & VRTSodm to directory /742HFs.


# cd /742HFs

# ls -al

total 432485
drwxr-xr-x   3 root     root           9 Aug 19 12:26 .
drwxr-xr-x  39 root     sys           51 Aug 19 14:39 ..
-rw-r--r--   1 root     root      515644 Jul 27 15:55 odm-sol11_sparc-HotFix-7.4.2.2601.tar.gz
drwxrwxr-x   3 root     root           9 Jul 27 14:39 patches
-rw-r--r--   1 root     root     104654542 Jul 29 19:16 vcs-sol11_sparc-HotFix-7.4.2.1301.tar.gz
-rw-r--r--   1 root     root     4045297 Jul 29 19:21 vcsag-sol11_sparc-HotFix-7.4.2.1201.tar.gz
-rw-r--r--   1 root     root      624640 Jan 25  2022 VRTSodm.p5p
-rw-r--r--   1 root     root     106127360 Jan 24  2022 VRTSvcs.p5p
-rw-r--r--   1 root     root     5007360 Feb 18  2022 VRTSvcsag.p5p


NOTE: The files VRTSodm.p5p, VRTSvcs.p5p & VRTSvcsag.p5p are manually moved from the sub-directory "patches" to /742HFs.
 

3.] Set Veritas publisher for each Veritas Private Hot-fix:


# date;pkg set-publisher -p /742HFs/VRTSodm.p5p Veritas
# date;pkg set-publisher -p /742HFs/VRTSvcs.p5p Veritas
# date;pkg set-publisher -p /742HFs/VRTSvcsag.p5p Veritas


4.] Veritas Publisher set for each Hotfix:


# pkg publisher
PUBLISHER                   TYPE     STATUS P LOCATION
solaris        (disabled)   origin   online F https://pkg.oracle.com/solaris/support/
Veritas                     origin   online F file:///742HFs/VRTSodm.p5p/
Veritas                     origin   online F file:///742HFs/VRTSvcs.p5p/
Veritas                     origin   online F file:///742HFs/VRTSvcsag.p5p/


5.] Force stop the Veritas Cluster Server (VCS) service on the local node:
 

# /opt/VRTS/bin/hastop -local -force
 

NOTE: VCS controlled resources will remain running, however active monitoring of those resource will not performed until the VCS "had" daemon is restarted.


# hastatus -sum
VCS ERROR V-16-1-10600 Cannot connect to VCS engine
VCS WARNING V-16-1-11046 Local system not available


6.] Install the Veritas Solaris Private Hot-Fixes for VRTSvcs, VRTSvcsag & VRTSodm for both the Solaris Global & Local Zones:


# date;pkg update --accept VRTSvcs VRTSvcsag VRTSodm


7.] Verify the Veritas Solaris Private Hot-Fixes for VRTSvcs, VRTSvcsag & VRTSodm are installed in the Solaris Global Zone.
 

# date;pkg list | grep -i vrts
Friday, August 19, 2022 at  2:22:41 PM IST
VRTSamf (Veritas)                                 7.4.2.0                    i--
VRTSaslapm (Veritas)                              7.4.2.0                    i--
VRTScavf (Veritas)                                7.4.2.0                    i--
VRTScps (Veritas)                                 7.4.2.0                    i--
VRTSdbac (Veritas)                                7.4.2.0                    i--
VRTSdbed (Veritas)                                7.4.2.0                    i--
VRTSfsadv (Veritas)                               7.4.2.0                    i--
VRTSgab (Veritas)                                 7.4.2.0                    i--
VRTSglm (Veritas)                                 7.4.2.0                    i--
VRTSgms (Veritas)                                 7.4.2.0                    i--
VRTSllt (Veritas)                                 7.4.2.0                    i--
VRTSodm (Veritas)                                 7.4.2.2601                 i--
VRTSperl (Veritas)                                5.30.0.0                   i--
VRTSsfcpi (Veritas)                               7.4.2.0                    i--
VRTSsfmh (Veritas)                                7.4.2.0                    i--
VRTSspt (Veritas)                                 7.4.2.0                    i--
VRTSvbs (Veritas)                                 7.4.2.0                    i--
VRTSvcs (Veritas)                                 7.4.2.1301                 i--
VRTSvcsag (Veritas)                               7.4.2.1201                 i--
VRTSvcsea (Veritas)                               7.4.2.0                    i--
VRTSvlic (Veritas)                                4.1.74.4                   i--
VRTSvxfen (Veritas)                               7.4.2.0                    i--
VRTSvxfs (Veritas)                                7.4.2.0                    i--
VRTSvxvm (Veritas)                                7.4.2.0                    i--


NOTE: The Veritas VRTSodm Private Hot-fix is upgraded in the Solaris Global Zone only. 
 

8.] Verify the Veritas Solaris Private Hot-Fixes for VRTSvcs & VRTSvcsag are installed in the Solaris Global Zone.
 

# for zone in `zoneadm list -s | egrep -v 'global|^NAME' | awk '{ print $1 }'`; do echo "ZONE: $zone" ; zlogin $zone "pkg list VRTS*" ; done
ZONE: zone4
NAME (PUBLISHER)                                  VERSION                    IFO
VRTSodm                                           7.4.2.0                    i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.1301                 i--
VRTSvcsag                                         7.4.2.1201                 i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--
ZONE: zone2
NAME (PUBLISHER)                                  VERSION                    IFO
VRTSodm                                           7.4.2.0                    i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.1301                 i--
VRTSvcsag                                         7.4.2.1201                 i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--
ZONE: zone1
NAME (PUBLISHER)                                  VERSION                    IFO
VRTSodm                                           7.4.2.0                    i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.1301                 i--
VRTSvcsag                                         7.4.2.1201                 i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--
ZONE: zone3
NAME (PUBLISHER)                                  VERSION                    IFO
VRTSodm                                           7.4.2.0                    i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.1301                 i--
VRTSvcsag                                         7.4.2.1201                 i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--

 

9.] Use below command to install the Veritas VRTSodm Private Hot-fix inside all "running" Solaris Local Zones:


# for zone in `zoneadm list -s | egrep -v 'global|^NAME' | awk '{ print $1 }'`; do echo "ZONE: $zone" ; zlogin $zone "pkg update --accept VRTSodm" ; done



10.] Verify the Veritas VRTSodm Private Hot-fix has been updated inside all "running" Solaris Local Zones:


# for zone in `zoneadm list -s | egrep -v 'global|^NAME' | awk '{ print $1 }'`; do echo "ZONE: $zone" ; zlogin $zone "pkg list VRTS*" ; done
ZONE: zone4
NAME (PUBLISHER)                                  VERSION                    IFO

VRTSodm                                           7.4.2.2601                 i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.1301                 i--
VRTSvcsag                                         7.4.2.1201                 i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--

ZONE: zone2
NAME (PUBLISHER)                                  VERSION                    IFO

VRTSodm                                           7.4.2.2601                 i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.1301                 i--
VRTSvcsag                                         7.4.2.1201                 i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--

ZONE: zone1
VRTSodm                                           7.4.2.2601                 i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.1301                 i--
VRTSvcsag                                         7.4.2.1201                 i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--

ZONE: zone3
NAME (PUBLISHER)                                  VERSION                    IFO

VRTSodm                                           7.4.2.2601                 i--
VRTSperl                                          5.30.0.0                   i--
VRTSvcs                                           7.4.2.1301                 i--
VRTSvcsag                                         7.4.2.1201                 i--
VRTSvcsea                                         7.4.2.0                    i--
VRTSvlic                                          4.1.74.4                   i--
VRTSvxfs                                          7.4.2.0                    i--

 


11.] Start Veritas Cluster Server (VCS) service on the local node:
 

# hastart

 

Issue/Introduction

How to manually install Veritas Solaris Private Hot-Fixes for VRTSvcs, VRTSvcsag & VRTSodm in the Solaris Global and Local Zones