When upgrading VxVM version from Base-VxVM-51,r=B.05.10.00(VRTSvxvm,r=5.1.100.000) to a higher version Base-VxVM-51,r=B.05.10.01(VRTSvxvm,r=5.1.100.001), "-x reinstall=true" option is needed with swinstall command

book

Article ID: 100008029

calendar_today

Updated On:

Description

Error Message

# grep -i error /var/adm/sw/swagent.log


ERROR:   File "/etc/vx/apmkey.d/64/dmpCLARiiON.key" missing.
ERROR:   File "/etc/vx/kernel/64/dmpCLARiiON" missing.
ERROR:   File "/usr/conf/mod/dmpCLARiiON" missing.
ERROR:   Fileset "VRTSaslapm.VXASLAPM-KRN,l=/,r=5.1.100.000" had file errors.
ERROR:   File "/etc/vx/aslkey.d/libvx3par.key" missing.
ERROR:   File "/etc/vx/aslkey.d/libvxCLARiiON.key" missing.
ERROR:   File "/etc/vx/aslkey.d/libvxFJTSYe6k.key" missing.
ERROR:   File "/etc/vx/aslkey.d/libvxFJTSYe8k.key" missing.
ERROR:   File "/etc/vx/aslkey.d/libvxautoraid.key" missing.
ERROR:   File "/etc/vx/aslkey.d/libvxcompellent.key" missing.
ERROR:   File "/etc/vx/aslkey.d/libvxcopan.key" missing.
ERROR:   File "/etc/vx/aslkey.d/libvxddns2a.key" missing.
ERROR:   File "/etc/vx/aslkey.d/libvxdothill.key" missing.
ERROR:   File "/etc/vx/aslkey.d/libvxemc.key" missing.

Cause

Above is an expected behavior if "-x reinstall=true" option is not specified with swinstall command, for the following reasons:

1) The VRTSvxvm post-install script removes all ASLAPMs installed through previous package, as VRTSvxvm is prerequisite for VRTSaslapm.

2) When performing an upgrade, only VRTSvxvm package is upgraded on the system(VRTSaslapm remains the same/old version), the ASL/APMs are  removed by the post-install script of VRTSvxvm and they will not be installed again by VRTSaslapm.

3) The problem is not seen if "–x reinstall=true" option is specified with the swinstall command, as the VRTSaslapm is forced to be installed with this option although there is no version upgrade in the VRTSaslapm package.

Therefore, the customer should use "-x reinstall=true" while performing an upgrade, in case the VRTSaslapm package is not being upgraded as part of the upgrade process.

 

Resolution

When upgrading VxVM version Base-VxVM-51,r=5.10.00 to a higher version like Base-VxVM-51,r=5.10.01, use the "-x reinstall=true" option with the swinstall command to ensure that the filesets of VRTSaslapm are re-installed.

# swinstall -x autoreboot=true -x reinstall=true  -s   Base-VxFS-51  Base-VxTools-51 Base-VxVM-51
 


Applies To

VxVM 5.1 for HP-UX 11iv3

Issue/Introduction

When upgrading VxVM version from Base-VxVM-51,r=B.05.10.00 to a higher version like Base-VxVM-51,r=B.05.10.01, only VRTSvxvm package is upgraded. VRTSaslapm package would remain at the older version if the update depot contains the same version of VRTSaslapm package as that is installed on the system.
  As part of upgrading the vRTSvxvm package, the post-install script of VRTSvxvm removes the Array Support Libraries(ASL's) and Array Policy Modules(APM's)  assuming that VRTSaslapm package would be installed next. But the VRTSaslapm package would not be installed again if the VRTSaslapm package installed  on the system and the VRTSaslapm package available in the update depot are same. Hence the below error messages would be observered in  /var/adm/sw/swagent.log and all ASL/APMs are removed.