Using Serviceguard Extension for RAC, 10th Edition, April 2011
packages, you may delete the legacy packages using the cmdeleteconf
command.
L. Migration of Legacy CFS Disk group and Mount point Packages to Modular
CFS Disk group and Mount point Packages(CFS DG-MP).
Beginning with the SG A.11.20 patch PHSS_41628 and SG CFS A.11.20 patch PHSS_41674,
new modular CFS Disk group and Mount point feature has been introduced. It will
allow to consolidate all disk group and mount point packages for an application
into a single modular package. To migration from legacy CFS Disk group and Mount
point MNPs to modular CFS Disk group and Mount point MNPs (CFS DG-MP) can be done
with the following steps:
1. Create modular CFS DG-MP MNP for Oracle Clusterware storage
: cmmakepkg -m sg/cfs_all /etc/cmcluster/OC-DGMP/OC-DGMP.ascii
2. Edit the OC-DGMP.ascii file with package name,Diskgroup and mount point
and other required package information
For example
cvm_disk_group < DiskGroup used for Oracle Clusterware storage >
cvm_activation_mode "< node1 > =sw < node2 > =sw"
cfs_mount_point < Mount Point location for CRS>
cfs_volume < CFS volume >
cfs_mount_options "< node1 > =cluster < node2 > =cluster"
cfs_primary_policy ""
3. Create modular CFS DG-MP MNP for RAC database storage
: cmmakepkg -m sg/cfs_all /etc/cmcluster/RAC-DGMP/RAC-DGMP.ascii
4. Edit the RAC-DGMP.ascii file with package name,Diskgroup and mount point
and other required package information
For example
cvm_disk_group < DiskGroup used for RAC database storage >
cvm_activation_mode "< node1 > =sw < node2 > =sw"
cfs_mount_point < Mount Point location RAC>
cfs_volume < CFS volume >
cfs_mount_options "< node1 > =cluster < node2 > =cluster"
cfs_primary_policy ""
5. Take a backup of OC MNP configuration file.
: cmgetconf -p < OC MNP > < backup OC MNP package configuration file >
6. Edit the backup of OC MNP ascii file, remove the existing dependency on
legacy MP and DG package and add modular CFS DG-MP package for Oracle
Clusterware storage as a dependency.
For example
OC MNP ascii file with legacy style DG and MP package:
DEPENDENCY_NAME DG-MNP-name
DEPENDENCY_CONDITION DG-MNP-PKG=UP
DEPENDENCY_LOCATION SAME_NODE
DEPENDENCY_NAME DG-MNP-name
DEPENDENCY_CONDITION DG-MNP-PKG=UP
DEPENDENCY_LOCATION SAME_NODE
OC MNP ascii file with modular style CFS DG-MP package :
DEPENDENCY_NAME OC-DGMP-name
DEPENDENCY_CONDITION OC-DGMP-PKG=UP
DEPENDENCY_LOCATION SAME_NODE
7. Take backup of all RAC MNP configuration file.
: cmgetconf -p < RAC MNP> < backup RAC MNP package configuration file >
8. Edit the backup of RAC MNP ascii file, remove the existing dependency on
legacy MP and DG package and add modular CFS DG-MP package for Oracle RAC
database storage as a dependency.
For example
RAC MNP ascii file with legacy style CFS DG and MP package:
DEPENDENCY_NAME DG-MNP-name
DEPENDENCY_CONDITION DG-MNP-PKG=UP
DEPENDENCY_LOCATION SAME_NODE
DEPENDENCY_NAME DG-MNP-name
DEPENDENCY_CONDITION DG-MNP-PKG=UP
DEPENDENCY_LOCATION SAME_NODE
RAC MNP ascii file with modular style CFS DG-MP package :
DEPENDENCY_NAME RAC-DGMP-name
DEPENDENCY_CONDITION RAC-DGMP-PKG=UP
DEPENDENCY_LOCATION SAME_NODE
9. Shutdown all the RAC MNP, if RAC MNPs is running.
: cmhaltpkg < RAC MNP 1 > < RAC MNP 2 > ...
10. Shutdown the OC MNP, if the OC MNP is running.
: cmhaltpkg < OC MNP >
11. Shutdown the legacy Disk group (SG-CFS-DG-id#) and Mount point MNPs (SG-MP-id#)
: cmhaltpkg < SG-MP-id# > < SG-CFS-DG-id# >
12. Delete the OC MNP and all the RAC MNPs from cluster
112 SGeRAC Toolkit for Oracle RAC 10g or later