[HP-UX] ERROR: Function activate_volume_group

tolilong發表於2016-04-05
小機重啟後,執行cmrunpkg -v -n XXXXX002 pkg_X3PROD的時候log中會出現如下錯誤:
########### Node "XXXXX002": Package start failed at Mon Apr  4 22:28:39 EAT 2016 ###########
/etc/cmcluster/pkg_X3PROD/pkg_X3PROD.cntl: OMMENT:  not found.
########### Node "XXXXX002": Starting package at Mon Apr  4 22:32:13 EAT 2016 ###########
Apr  4 22:32:13 - "XXXXX002": Activating volume group /dev/vgX3PROD with exclusive option.
Activated volume group in Exclusive Mode.
Volume group "/dev/vgX3PROD" has been successfully changed.
Apr  4 22:32:16 - "XXXXX002": Activating volume group /dev/vgX3PROD2 with exclusive option.
Activated volume group in Exclusive Mode.
Volume group "/dev/vgX3PROD2" has been successfully changed.
Apr  4 22:32:20 - "XXXXX002": Activating volume group /dev/vgX3PROD3 with exclusive option.
vgchange: Activation mode requested for the volume group "/dev/vgX3PROD3" conflicts with configured mode.
        ERROR:  Function activate_volume_group   
        ERROR:  Failed to activate /dev/vgX3PROD3  (一直提示這個錯誤)
Apr  4 22:32:20 - Node "XXXXX002": Deactivating volume group /dev/vgX3PROD
Deactivated volume group in Exclusive Mode.
Volume group "/dev/vgX3PROD" has been successfully changed.
Apr  4 22:32:20 - Node "XXXXX002": Deactivating volume group /dev/vgX3PROD2
Deactivated volume group in Exclusive Mode.
Volume group "/dev/vgX3PROD2" has been successfully changed.
Apr  4 22:32:21 - Node "XXXXX002": Deactivating volume group /dev/vgX3PROD3
vgchange: Volume group "/dev/vgX3PROD3" has been successfully changed.
########### Node "XXXXX002": Package start failed at Mon Apr  4 22:32:21 EAT 2016 ###########

一直報這個錯誤
        ERROR:  Function activate_volume_group
        ERROR:  Failed to activate /dev/vgX3PROD3

執行了如下這個命令
[root@XXXXX002:/]# vgchange -c y vgX3PROD3
Performed Configuration change. 
Volume group "vgX3PROD3" has been successfully changed.

執行如下這條命令ok
[root@XXXXX002:/]# cmrunpkg -v -n XXXXX002 pkg_X3PROD
Running package pkg_X3PROD on node XXXXX002.
cmrunpkg  : Successfully started package pkg_X3PROD.
cmrunpkg  : Completed successfully on all packages specified.

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24237320/viewspace-2075772/,如需轉載,請註明出處,否則將追究法律責任。

相關文章