This articles describes how to manually uninstall & install Veritas Solaris packages for VRTSvcs, VRTSvcsag & VRTSodm in the Solaris Global Zones.
The Solaris 11.4 environments consists of 4 x Solaris Local Zones in a "running" state:
# zoneadm list -civ
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
1 zone1 running /zones/zone1 solaris excl
2 zone2 running /zones/zone2 solaris excl
3 zone3 running /zones/zone3 solaris excl
4 zone4 running /zones/zone4 solaris excl
The Veritas Solaris packages for VRTSvcs, VRTSvcsag & VRTSodm have already been removed from the Solaris Local Zones.
See related article: https://www.veritas.com/support/en_US/article.100053795 for steps.
Solaris Global Zone
The following steps can be used to manually uninstall the Veritas Solaris packages for VRTSvcs, VRTSvcsag & VRTSodm from the Solaris Global Zone.
1.] Force stop the Veritas Cluster Server (VCS) service on the local node:
# /opt/VRTS/bin/hastop -local -force
2.] List the Veritas package versions in the Solaris Global Zone:
# pkg list VRTS*
NAME (PUBLISHER) VERSION IFO
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.2500 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.1200 i--
VRTSvcsag (Veritas) 7.4.2.1200 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--
3.] In this instance, the base InfoScale 7.4.2 software "VRTSpkgs.p5p" file has been downloaded to directory /742.
# cd /742
# ls -al
total 1015547
drwxr-xr-x 2 root root 3 Aug 18 15:13 .
drwxr-xr-x 39 root sys 51 Aug 18 18:22 ..
-rwxr-xr-x 1 root root 519516160 Aug 18 15:13 VRTSpkgs.p5p
NOTE: Download the required Veritas InfoScale version to install other Veritas product versions.
4.] Unset the Veritas publisher
# pkg unset-publisher Veritas
Updating package cache 1/1
5.] Define Veritas publisher to point to "VRTSpkgs.p5p" file located in directory /742:
# date;pkg set-publisher -p /742/VRTSpkgs.p5p Veritas
Friday, August 19, 2022 at 12:23:37 PM IST
pkg set-publisher:
Added publisher(s): Veritas
6.] Confirm the Veritas publisher is defined as shown below:
# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris (disabled) origin online F https://pkg.oracle.com/solaris/support/
Veritas origin online F file:///742/VRTSpkgs.p5p/
7.] Uninstall the 3 x Veritas packages (VRTSvcs, VRTSvcsag & VRTSodm) from the Solaris Global Zone:
# pkg uninstall VRTSvcs VRTSvcsag VRTSodm
Packages to remove: 3
Mediators to change: 1
Services to change: 3
Create boot environment: No
Create backup boot environment: No
Planning linked: 0/4 done; 1 working: zone:zone4
Linked image 'zone:zone4' output:
`
Planning linked: 1/4 done; 1 working: zone:zone3
Linked image 'zone:zone3' output:
`
Planning linked: 2/4 done; 1 working: zone:zone2
Linked image 'zone:zone2' output:
`
Planning linked: 3/4 done; 1 working: zone:zone1
Linked image 'zone:zone1' output:
`
Planning linked: 4/4 done
Downloading linked: 0/4 done; 1 working: zone:zone4
Downloading linked: 1/4 done; 1 working: zone:zone3
Downloading linked: 2/4 done; 1 working: zone:zone2
Downloading linked: 3/4 done; 1 working: zone:zone1
Downloading linked: 4/4 done
PHASE ITEMS
Removing old actions 1050/1050
Updating package state database Done
Updating package cache 3/3
Updating image state Done
Creating fast lookup database Done
Executing linked: 0/4 done; 1 working: zone:zone4
Executing linked: 1/4 done; 1 working: zone:zone3
Executing linked: 2/4 done; 1 working: zone:zone2
Executing linked: 3/4 done; 1 working: zone:zone1
Executing linked: 4/4 done
Updating package cache 2/2
8.] Confirm the 3 x Veritas packages (VRTSvcs, VRTSvcsag & VRTSodm) were removed from the Solaris Global Zone:
# pkg list VRTS*
NAME (PUBLISHER) VERSION IFO
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--
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--
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--
9.] Install 3 x Veritas packages (VRTSvcs, VRTSvcsag & VRTSodm) in the Solaris Global Zone:
# pkg install --accept --no-backup-be VRTSvcs VRTSvcsag VRTSodm
.
.
Planning linked: 0/4 done; 1 working: zone:zone4
Linked image 'zone:zone4' output:
`
Planning linked: 1/4 done; 1 working: zone:zone3
Linked image 'zone:zone3' output:
`
Planning linked: 2/4 done; 1 working: zone:zone2
Linked image 'zone:zone2' output:
`
Planning linked: 3/4 done; 1 working: zone:zone1
Linked image 'zone:zone1' output:
`
Planning linked: 4/4 done
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 3/3 599/599 104.8/104.8 12.6M/s
Downloading linked: 0/4 done; 1 working: zone:zone4
Downloading linked: 1/4 done; 1 working: zone:zone3
Downloading linked: 2/4 done; 1 working: zone:zone2
Downloading linked: 3/4 done; 1 working: zone:zone1
Downloading linked: 4/4 done
PHASE ITEMS
Installing new actions 944/944
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Executing linked: 0/4 done; 1 working: zone:zone4
Executing linked: 1/4 done; 1 working: zone:zone3
Executing linked: 2/4 done; 1 working: zone:zone2
Executing linked: 3/4 done; 1 working: zone:zone1
Executing linked: 4/4 done
Updating package cache 2/2
10.] Confirm the 3 x Veritas packages (VRTSvcs, VRTSvcsag & VRTSodm) have been installed in the Solaris Global Zone:
# pkg list VRTS*
NAME (PUBLISHER) VERSION IFO
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--
Solaris Local Zone Steps:
The following steps can be performed to install the specified Veritas packages inside the "running" Solaris Local Zones.
1.] Confirm the required Solaris Local Zones are in a "running" state:
# zoneadm list -s
NAME STATUS AUXILIARY STATE
global running
zone1 running
zone2 running
zone3 running
zone4 running
2.] Install the same 3 x Veritas packages (VRTSvcs, VRTSvcsag & VRTSodm) in 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 install --accept VRTSodm VRTSvcs VRTSvcsag" ; done
NOTE: Output not shown as it is can be verbose.
3.] Confirm the 3 x Veritas packages (VRTSvcs, VRTSvcsag & VRTSodm) are now installed in 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: 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: 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: 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--
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--
See related article for Solaris InfoScale Private hot-fixes:
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