2.Shutdown the legacy RAC MNP if a RAC MNP is running.

:cmhaltpkg <legacy RAC MNP>

3.Create a new RAC MNP package working directory on one node, then cd to the new package directory.

:cd /etc/cmcluster/RACMNP-Dir

4.Use the cmmigratepkg command to migrate the legacy RAC MNP to modular format.

:cmmigratepkg -p <legacy RAC MNP> -s -o <RAC MNP output>

5.Create a new modular RAC MNP ascii file.

:cmmakepkg -i <RAC MNP output> -m sg/multi_node_all -m <toolkit module> -t <RAC MNP configuration file> <new RAC MNP ascii file>

6.Edit the new RAC MNP ascii file, set the Toolkit parameters, refer to section E-2 to verify and configure new modular RAC MNP parameters.

7.Now apply the package configuration file.

:cmapplyconf -P <new RAC MNP ascii file>

8.Shutdown the legacy OC MNP if the OC MNP is running.

:cmhaltpkg <legacy OC MNP>

9.Create a new OC MNP package working directory on one node, then cd to the new package directory.

:cd /etc/cmcluster/OCMNP-Dir

10.Use the cmmigratepkg command to migrate the legacy OC MNP to modular format.

:cmmigratepkg -p <legacy OC MNP> -s -o <OC MNP output>

11.Create a new modular OC MNP ascii file.

:cmmakepkg -i <OC MNP output> -m sg/multi_node_all -m <toolkit module> -t <OC MNP configuration file> <new OC MNP ascii file>

12.Edit the new OC MNP ascii file, set the Toolkit parameters, refer to section E-2 to verify and configure the new modular OC MNP parameters.

13.Now apply the package configuration file

:cmapplyconf -P <new OC MNP ascii file>

14.You may now start the new OC MNP and RAC MNP in the cluster using the cmrunpkg or cmmodpkg –e commands.

15.After verifying the successful operation of the new OC MNP and RAC MNP 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

110 SGeRAC Toolkit for Oracle RAC 10g or later

Page 110
Image 110
HP Serviceguard Extension for RAC (SGeRAC) manual SGeRAC Toolkit for Oracle RAC 10g or later