How to update the VCS types.cf file using /opt/VRTSvcs/bin/internal_triggers/updatetypes script

book

Article ID: 100058789

calendar_today

Updated On:

Description

Description


When upgrading the VRTSvcsag rpm/package, the Veritas Cluster Server (VCS) /etc/VRTSvcs.conf/config/types.cf file can be updated incorrectly.

During some instances, the user may be informed to manually copy the /etc/VRTSvcs/conf/types.cf over the /etc/VRTSvcs/conf/config/types.cf file.


Example

# rpm -Uvh VRTSvcsag-7.4.2.3300-RHEL8.x86_64.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
Updating / installing...
1:VRTSvcsag-7.4.2.3300-RHEL8 ################################# [100%]
Leaving existing types.cf for configuration
Implement /etc/VRTSvcs/conf/types.cf to utilize resource type updates

 

By manually copying the updated /etc/VRTSvcs/conf/types.cf to /etc/VRTSvcs/conf/config/types.cf, this can result in the deletion of some customized resource type definitions.
 

Example

# cd /etc/VRTSvcs/conf/config/


Prior to manually updating the /etc/VRTSvcs/conf/config/types.cf file.

# grep -i HTC types.cf
type HTC (
type HTCSnap (


Following /etc/VRTSvcs/conf/config/types.cf update, the HTC entry has been removed

# grep -i HTC types.cf
#

 

Recommendations

To ensure the /etc/VRTSvcs/conf/config/types.cf file is updated correctly following VRTSvcsag updates, the /opt/VRTSvcs/bin/internal_triggers/updatetypes script can be manually triggered by the user.


# /opt/VRTSvcs/bin/internal_triggers/updatetypes 


The /etc/VRTSvcs/conf/config/types.cf file contents are now updated, retaining customized resource type definitions such as HTC and SRDF agents.
 

Veritas is considering improving the installation messages following VRTSvcsag updates, to avoid confusion.

 

Issue/Introduction

How to update the VCS types.cf file using /opt/VRTSvcs/bin/internal_triggers/updatetypes script