Creating the cluster resource.
Since we are going to create a HA LVM:
Disk Group: oracle
Volume: oracle_vol
Mount Point: /oracle
1) We are going to create a Service Group: oracle_sg
[root@node1 /]# hagrp -add oracle_sg
VCS NOTICE V-16-1-10136 Group added; populating SystemList and setting the Parallel attribute recommended before adding resources
[root@node1 /]# hagrp -modify oracle_sg SystemList node1 0 node2 1
[root@node1 /]# hagrp -list
oracle_sg node1
oracle_sg node2
[root@node1 /]#
[root@node1 /]# hagrp -list
oracle_sg node1
oracle_sg node2
[root@node1 /]#
[root@node1 /]# hagrp -state
#Group Attribute System Value
oracle_sg State node1 |OFFLINE|
oracle_sg State node2 |OFFLINE|
[root@node1 /]#
Since we are going to create a HA LVM:
Disk Group: oracle
Volume: oracle_vol
Mount Point: /oracle
1) We are going to create a Service Group: oracle_sg
[root@node1 /]# hagrp -add oracle_sg
VCS NOTICE V-16-1-10136 Group added; populating SystemList and setting the Parallel attribute recommended before adding resources
[root@node1 /]# hagrp -modify oracle_sg SystemList node1 0 node2 1
[root@node1 /]# hagrp -list
oracle_sg node1
oracle_sg node2
[root@node1 /]#
[root@node1 /]# hagrp -list
oracle_sg node1
oracle_sg node2
[root@node1 /]#
[root@node1 /]# hagrp -state
#Group Attribute System Value
oracle_sg State node1 |OFFLINE|
oracle_sg State node2 |OFFLINE|
[root@node1 /]#
No comments:
Post a Comment