Complete the following procedure to deploy HACMP and MDNDHP for Oracle Clusterware.
# lssrc -s clcomdES
If the daemon is not running, then start it using the following command:
# startsrc –s clcomdES
# smitty cm_add_change_show_an_hacmp_cluster.dialog * Cluster Name [mycluster]
# smitty cm_add_a_node_to_the_hacmp_cluster_dialog * Node Name [mycluster_node1] Communication Path to Node []
NO
for the IP address takeover for these networks, since they are used by Oracle Clusterware.
Create at least two network definitions: one for the Oracle public interface and a second one for the Oracle private (cluster interconnect) network. Additional Ethernet heartbeat networks can be added if desired. For example:
# smitty cm_add_a_network_to_the_hacmp_cluster_select - select ether network * Network Name [my_network_name] * Network Type ether * Netmask [my.network.netmask.here] * Enable IP Address Takeover via IP Aliases [No] IP Address Offset for Heart beating over IP Aliases []
# smitty cm_add_communication_interfaces_devices.select - select: Add Pre-defined Communication Interfaces and Devices / Communication Interfaces / desired network * IP Label/Address [node_ip_address] * Network Type ether * Network Name some_network_name * Node Name [my_node_name] Network Interface []
# smitty config_resource_group.dialog.custom * Resource Group Name [my_resource_group_name] * Participating Nodes (Default Node Priority) [mynode1,mynode2,mynode3] Startup Policy Online On All Available Nodes Fallover Policy Bring Offline (On Error Node Only) Fallback Policy Never Fallback
smitty mkvg
, or using command lines. The VG must contain at least one hard disk for each voting disk. You must configure at least three voting disks.
In the following example, where you see default, accept the default response:
# smitty _mksvg VOLUME GROUP name [my_vg_name] PP SIZE in MB * PHYSICAL VOLUME names [mydisk1,mydisk2,mydisk3] Force the creation of a volume group? no Activate volume group AUTOMATICALLY no at system restart? Volume Group MAJOR NUMBER [] Create VG Concurrent Capable? enhanced concurrent Max PPs per VG in kilobytes default Max Logical Volumes default
For example:
# smitty cm_change_show_resources_std_resource_group_menu_dmn.select - select_resource_group_from_step_6 Resource Group Name shared_storage Participating Nodes (Default Node Priority) mynode1,mynode2,mynode3 Startup Policy Online On All Available Nodes Fallover Policy Bring Offline (On Error Node Only) Fallback Policy Never Fallback Concurrent Volume Groups [enter_VG_from_step_7] Use forced varyon of volume groups, if necessary false Application Servers []
# smitty cl_add_mndhb_lv - select_resource_group_defined_in_step_6 * Physical Volume name enter F4, then select a hard disk Logical Volume Name [] Logical Volume Label [] Volume Group name ccvg Resource Group Name shared_storage Network Name [n]
# smitty cl_set_mndhb_response - select_the_VG_created_in_step_7 On loss of access Halt the node Optional notification method [] Volume Group ccvg
# smitty cm_initialization_and_standard_config_menu_dmn - select Verify and Synchronize HACMP Configuration
"Would you like to import shared VG: ccvg, in resource group my_resource_group onto node: mynode to node: racha702 [Yes / No]:"
/usr/es/sbin/cluster/etc/rhosts
.