HP-UX online adding VG to service guard

Source: Internet
Author: User

To add a new VG online, follow these steps:

1 create VG: (db01 [active node)

Pvcreate/dev/rdsk/c15t1d6
Mkdir/dev/vg_ora8
Mknod/dev/vg_ora8/group C 64 0 0x080000
Vgcreate-s 16/dev/vg_ora8/dev/DSK/c15t1d6
Vgdisplay

LV: lvcreate-l 2048-N 2g_data_01-R n/dev/vg_ora8
Lvcreate-l 2048-N 2g_data_01-R n/dev/vg_ora8
.......
Lvcreate-l 2048-N 2g_data_99-R n/dev/vg_ora8
Chown ORACLE: DBA/dev/vg_ora8/R * 2 VG synchronization: vgexport-p-v-M/tmp/vg_ora08.map/dev/vg_ora8
RCP/tmp/vg_ora8.map sd-db02:/tmp
On DB02:
Mkdir/dev/vg_ora8
Mknod/dev/vg_ora8/group C 64 0 0x080000
Vgimport-v-M/tmp/vg_ora08.map/dev/vg_ora8
Chown ORACLE: DBA/dev/vg_ora8/R * 3 on active node: vgchange-a n/dev/vg_ora8
Vgchange-c y/dev/vg_ora8
Vgchange-a e/dev/vg_ora8 4 modify cmcluster. ASCII pkgconf. ASCII file: Add vg_ora8: 5 check: [db01]/etc/cmcluster # cmcheckconf-C/etc/cmcluster/cmclconf. ASCII-P/etc/cmcluster/PKG/pkgconf. ASCII

Begin cluster verification...
Note: A node_timeout value of 2000000 was found in line 129. For
Significant portion of installations, a higher setting is more appropriate.
Refer to the comments in the cluster configuration ASCII file or serviceguard
Manual for more information on this parameter.
Warning: no additional packages can be added to this cluster.

Verification completed with no errors found.
Use the cmapplyconf command to apply the configuration.

 

 

[Db01]/etc/cmcluster # cmapplyconf-C/etc/cmcluster/cmclconf. ascii-P/etc/cmcluster/PKG/pkgconf. ASCII

 

Begin cluster verification...
Note: A node_timeout value of 2000000 was found in line 129. For
Significant portion of installations, a higher setting is more appropriate.
Refer to the comments in the cluster configuration ASCII file or serviceguard
Manual for more information on this parameter.
Warning: no additional packages can be added to this cluster.
Modifying configuration on node db01
Modifying configuration on node DB02

Modify the cluster configuration ([y]/n )? Y
Completed the cluster creation.

 

 

5. Check the Configuration:

Cmgetconf-V

Cmviewconf

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.