InfoScale™ 9.0 Storage Foundation Configuration and Upgrade Guide - Linux
- Section I. Introduction and configuration of Storage Foundation
- Section II. Upgrade of Storage Foundation
- Planning to upgrade Storage Foundation
- Preparing to upgrade SF
- Upgrading Storage Foundation
- Performing an automated SF upgrade using response files
- Upgrading SF using YUM
- Performing post-upgrade tasks
- Planning to upgrade Storage Foundation
- Section III. Post configuration tasks
- Section IV. Configuration and upgrade reference
- Appendix A. Installation scripts
- Appendix B. Configuring the secure shell or the remote shell for communications
Upgrade SF using the YUM tool
The following procedure describes how to upgrade SF using the yum tool. Refer to the Red Hat Enterprise Linux documentation for more information about yum repository configuration.
Before you proceed, ensure that you review the limitations of using this process.
See About SF upgrade support using YUM.
To upgrade SF with the yum tool
- Configure a SF repository on a node.
Create a repository file (
.repo
) under/etc/yum.repos.d
.Run the following command:
# cat /etc/yum.repos.d/infoscale90.repo
Add the following contents to the repository file:
[repo-SF9.0] name=Repository for SF 9.0 baseurl=file:///<image_dir>/rpms/ enabled=1 gpgcheck=1 gpgkey=file:///<image_dir>/rpms/RPM-GPG-KEY-veritas-infoscale
The values for the
baseurl
attribute can start with http://, ftp://, or file:///. The URL you choose should be able to access the repodata directory. It also needs to access all the SF RPMs in the repository that you create or update.Save the changes and exit the file editor.
Update the yum repository.
Run the following commands:
# yum repoList
# yum updateinfo
- If applicable, perform a minor OS version upgrade as follows:
Disable the SF repo.
Run the following command:
# yum update --disablerepo=[Infoscale repo]
Update the operating system minor version.
- Temporarily freeze the Cluster Volume Manager (CVM) and other service groups that contain the CVMVoldg or DiskGroup resources, or forcefully stop the Cluster Server (VCS) high availability daemon
HAD
.Run the following commands:
# /opt/VRTSvcs/bin/hagrp -freeze cvm
# /opt/VRTSvcs/bin/hagrp -freeze <service_group>
Or,
# /opt/VRTSvcs/bin/hastop -local -force
- Upgrade SF.
Run the following command to update the SF rpms:
# yum update VRTS*
Note:
Arctera recommends that you update the OS and the SF rpms separately.
- Unfreeze the service groups or start
HAD
, if you had stopped the daemon earlier in step 3.Run the following commands:
# /opt/VRTSvcs/bin/hagrp -unfreeze cvm
# /opt/VRTSvcs/bin/hagrp -unfreeze <service_group>
Or,
# /opt/VRTSvcs/bin/hastart
- Run the following command to manually generate and install the installer scripts for configuration:
# /opt/VRTS/install/bin/UXRT9.0/add_install_scripts
- Reboot the cluster nodes, one node at a time.
Do the following:
Before you reboot a node, ensure that you fail over the application service group to an alternative cluster node.
Run the following commands on the node you want to reboot:
# /opt/VRTSvcs/bin/hagrp -switch <app_service_group> -to <alternate_node_name>
Stop the VCS high availability daemon (
HAD
) locally on the node.Run the following command:
# /opt/VRTSvcs/bin/hastop -local
Gracefully reboot that node.
Run the following command:
# shutdown -r now
Repeat these steps on each subsequent node.
- Repeat steps 1 to 7 on each SF cluster node, one node at a time.
- After all the nodes are upgraded, update the Cluster Server (VCS) protocol version from any one node in the cluster.
Run the following command:
# /opt/VRTSvcs/bin/haclus -version -update 9.0.0.0000
- Update the type definition from any one node in the cluster.
Run the following command:
# /opt/VRTSvcs/bin/hatrigger -updatetypes 1 <node_name> 1
- Update the CVM protocol version, the disk group version, and the file system disk group layout version (DLV).
Run the following commands:
# vxdctl upgrade
# vxdg upgrade <diskgroup>
# vxupgrade <mount_point>
This process completes the SF upgrade using the yum tool.