取消
顯示結果 
搜尋替代 
您的意思是: 

how to auto start cluster and vg

how to auto start cluster and vg

我的環境 9i rac on hpux11i

所以在開機之後必須run cmruncl

然後再將所有放datafile的vg 用

vgchange -a s vg_* 將vg 給on 起來

才可以啟動oracle

請問我要怎樣做才可以讓他自動化呢?
4 回覆

how to auto start cluster and vg

1. edit both node "/etc/rc.config.d/cmcluster", set AUTOSTART_CMCLD=1

2. edit your package config file, set AUTO_RUN=YES

3. edit your package control file, set "VOLUME_GROUP_ACTIVATION" section parmarter

4. in package control file, add in "VOLUME_GROUPS" with your vg which contain datafile

how to auto start cluster and vg

5. you have to add those vg config(vg with datafile) in cluster ascii file,



for example.

# List of cluster aware LVM Volume Groups. These volume groups will

# be used by package applications via the vgchange -a e command.

# Neither CVM or VxVM Disk Groups should be used here.

# For example:

VOLUME_GROUP /dev/vgdatabase

how to auto start cluster and vg

我的rac是用raw device的,

vgchange -a s vg_*

是要在兩個nodes都需執行的

所以並沒有用package 來做volume group 的管理

那這樣我需要怎樣處理



how to auto start cluster and vg

Mostly, MCSG Service will bring up at run level 3, you can add a program to run at boot time in rc3.d after MCSG service bring up, you can reference config template at /sbin/init.d/template

the startup sequence number must large then ZZZ which in /sbin/rc3.d/SZZZcmcluster



you can reference attach file. or you can reference chinese ServiceGuard OPS configuration document at following.

http://docs.hp.com/zh_tw/hpux11i.html