HACMP5.1 implementation documentation

xiaoxiao2021-03-06  94

The implementation of IBM Server HACMP has always been the importance of IBM. The following is a detailed installation and configuration process, which is very helpful for learning HACMP: Environment: Two p630: P630_1, P630_2 Disk display: 7133-D40 sharing volume group: oravg1 On the two computers (1) on the P630_1 machine: a. Configure the first block Boot Network card -> # suitty-> Communications Applications and Services-> TCP / IP-> Minimum Configuration & Startupselect En2 * Hostname [P630_1 ] * Internet ADDRESS (dotted decimal) [10.10.9.1] Network MASK (dotted decimal) [255.255.255.0] * Network INTERFACE en1NAMESERVERInternet ADDRESS (dotted decimal) [] DOMAIN Name [] Default GATEWAY Address [] B. configuration of the second block boot NIC -> # smitty-> Communications Applications and Services-> TCP / IP-> Minimum Configuration & Startupselect en1 * HOSTNAME [p630_1] * Internet ADDRESS (dotted decimal) [10.10.10.1] Network MASK (dotted decimal) [255.255. 255.0] * Network INTERFACE en3NAMESERVERInternet ADDRESS (dotted decimal) [] DOMAIN Name [] Default GATEWAY Address [] (2) on a machine p630_2: A boot configuration of a card -> # smitty-> Communications Applications and Services-> TCP. / Ip-> minimum configuration & startupselect en2 * hostname [p630_2] * Internet Address (Dotted Decimal) [10.10. 9.2] Network MASK (dotted decimal) [255.255.255.0] * Network INTERFACE en1NAMESERVERInternet ADDRESS (dotted decimal) [] DOMAIN Name [] Default GATEWAY Address [] B. boot block configuration of the second NIC -> # smitty-> Communications Applications and Services-> TCP / IP-> Minimum Configuration & Startupselect en1 * HOSTNAME [p630_2] * Internet ADDRESS (dotted decimal) [10.10.10.2] Network MASK (dotted decimal) [255.255.255.0] * Network INTERFACE en3NAMESERVERInternet ADDRESS (dotted decimal) [] Domain Name [] default Gateway Address [] 2, modify the / etc / hosts file, the content is as follows:

127.0.0.1 loopback localhost p630_1 10.10.9.1 boot_11 p630_110.10.10.1 boot_12 p630_1192.168.1.1 service110.10.9.2 boot_21 p630_210.10.10.2 boot_22 p630_2192.168.1.2 service23, established a shared volume group established oravg share on p630_1 volume group -> # smitty -> System Storage Management (phisical & Logical Storage) -> Logical volume Manager-> volume Groups-> Add a volume GroupVOLUME gROUP name [oravg] Physical partition SIZE in megabytes [128] * PHYSICAL vOLUME names [ hdisk2] Activate volume group AUTOMATICALLY [no] at system restart? volume group MAJOR NUMBER [] Create VG concurrent Capable? [yes] Auto-varyon in Concurrent Mode? [no] 4, on p630_2 import shared volume group (1) import oravg shared volume group -> # smitty-> System Storage Management (phisical & Logical Storage) -> Logical volume Manager-> volume Groups-> Import a volume GroupVOLUME gROUP name [oravg] * PHYSICAL vOLUME name [hdisk2] volume group MAJOR NUMBER [] Make this VG Concurrent Capable Nomake Default Varyon of VG Concurrent? NO (2) Modify ORAVG Sharing Volume Group Properties -> # Smitty-> System Storage Management (Phisical & Logical Storage) -> Logical Volume Manager-> Volume Groups-> Set Characteristics of a Volume Group-> Change a Volume Groupselect * VOLUME GROUP name [oravg] VOLUME GROUP name [oravg] * ACTIVATE volume group AUTOMATICALLY [no] at system restart? * A QUORUM of disks Required to Keep The Volume [YES] Group ON-LINE? Convert this VG To Concurrent Capable? [NO] * Autovaryon VG IN Concurrent Mode? [NO] 5, configure non-TCP / IP network on P630_1 and P630_2 -> # itty -> Devices-> TTY->

Add a TTYselect tty rs232 Asynchronous TerminalTTY type [tty] TTY interface [rs232] Description [Terminal asynchrone] Parent adapter [sa3] * PORT number [0] BAUD rate [9600] PARITY [none] BITS per characte [8] Number of STOP Bits [1] Terminal Type [Dumb] State To Be Configured At Boot Time [Available] ... enable login [disable] Connect the No. 1 machine and the COM3 of the secondary machine, as HACMP heartbeat Line test heart jumper: 1) Perform: CAT / dev / tty03) If P630_2 is displayed, the contents of P630_2 is displayed, Description Card Jumper Configuration Correct 6, establishing an application server startup script to establish dbstart.sh, dbstop.sh, then modify the file properties 755: #Chomd 755 * 7, HACMP settings (1) Define Cluster- > Initialization and Standard Configuration-> Add Nodes to an HACMP ClusterAdd / Change / Show an HACMP Cluster [entry field] * Cluster Name [wly] NOTE: HACMP must be RESTARTEDon all nodes in order for change to take effect (2) defined p630_1 Node-> Extended Configuration-> Extended Topology Configuration-> Configure Hacmp Nodes-> Add a node to the Hacmp ClusterAddd A Node to the Hacmp Cluster [Enter Field] * Node Name [P630_1] Communica tion Path to Node [] (2) defined p630_2 node -> Extended Configuration-> Extended Topology Configuration-> Configure HACMP Nodes-> Add a Node to the HACMP ClusterAdd a Node to the HACMP Cluster [entry field] * Node Name [ p630_1] Communication Path to Node [] (3) defined in the definition of network A. network IP -> Extended Configuration-> Extended Topology Configuration-> Configure HACMP Networks-> Add a network to the HACMP Cluster Add an IP-Based network to the HACMP Cluster [entry field] * Network Name [net_ether_01] * Network Type ether * Netmask [255.255.255.0] * Enable IP Address Takeover via IP Aliases [Yes] IP Address Offset for Heartbeating over IP Aliases [] B. non-defined IP network ->

Extended Configuration-> Extended Topology Configuration-> Configure HACMP Networks-> Add a Network to the HACMP Cluster selection rs232Add a Serial Network # Pre-defined Serial Device Types in to the HACMP Cluster [entry field] * Network Name [net_rs232_01] * network Type rs232 (4) defines the network interface defines the IP network interface A. definitions Boot_11 Interface: -> Extended Configuration-> Extended Topology Configuration-> Configure HACMP Communication interfaces / Devices-> Add Communication interfaces / Devices select Add Pre-defined Communication interfaces Communication Interfaces and Devices select select net_ether_01 (0.0.0.0/0) Add a Communication Interface [entry field] * IP Label / Address [boot_11] * Network Type ether * Network Name net_ether_01 * Node Name [p630_1] Network Interface [] Interface definitions Boot_12: -> Extended Configuration-> Extended Topology Configuration-> Configure HACMP Communication interfaces / Devices-> Add Communication interfaces / Devices select Add Pre-defined Communication interfaces and Devices selection Communication interfaces selected net_ether_01 (0.0.0.0/0) Add A communication interface [Input field] * IP Label / Address [boot_12] * Network Type ether * Network Name net_ether_01 * Node Name [p630_1] Network Interface [] define boot_21 Interface: -> Extended Configuration-> Extended Topology Configuration-> Configure HACMP Communication Interfaces / Devices-> Add Communication Interfaces / Devices select Add Pre-defined Communication Interfaces and Devices selection Communication Interfaces selected net_ether_01 (0.0.0.0/0) Add a Communication Interface [entry field] * IP Label / Address [boot_21] * Network TYPE Ether * NETWORK NAME NET_ETHER_01 * NAME NET_ETHER_01 * NODE NAME [P630_2] Network Interface [] Definition Boot_22 Interface: -> Extended Configuration-> Extended Topology Configuration->

Configure HACMP Communication Interfaces / Devices-> Add Communication Interfaces / Devices select Add Pre-defined Communication Interfaces and Devices selection Communication Interfaces selected net_ether_01 (0.0.0.0/0) Add a Communication Interface [entry field] * IP Label / Address [boot_22] * network Type ether * network Name net_ether_01 * Node Name [p630_2] network Interface [] B. non-IP network interface definition defined p630_1tty Interface: -> Extended Configuration-> Extended Topology Configuration-> Configure HACMP Communication interfaces / Devices-> Add Communication Interfaces / Devices select Add Pre-defined Communication Interfaces and Devices selection Communication Device select net_rs232_01Add a Communication Device [entry field] * Device Name [p630_1tty] * Network Type rs232 * Network Name net_rs232_01 * Device Path [/ dev / tty0] * Node Name [p630_1] defined p630_2tty ​​Interface: -> Extended Configuration-> Extended Topology Configuration-> Configure HACMP Communication interfaces / Devices-> Add Communication interfaces / Devices select Add Pre-defined Communication interfaces and Devices selected Communicatio n Device Select net_rs232_01Add a Communication Device [entry field] * Device Name [p630_2tty] * Network Type rs232 * Network Name net_rs232_01 * Device Path [/ dev / tty0] * Node Name [p630_2] (5) defines the application server defined wlyapp application server : -> Initialization and Standard Configuration-> Configure Application Servers-> Add an Application ServerAdd Application Server [entry field] * Server Name [wlyapp] * Start Script [/etc/hascript/dbstart.sh]* Stop Script [/ etc / Hascript / dbstop.sh] (6) Define shared resource group Define Wlyres Resource Group -> Initialization and Standard Configuration-> Configure Hacmp Resource Group->

Add a Resource Group selected CascadingAdd a Resource Group with a Cascading Management Policy (standard) [input field] * Resource Group Name [wlyres] * Participating Node Names (Default Node Priority) [p630_1 p630_2] (7) to modify the resource group attribute modifications wlyres resource group properties: -> Initialization and Standard Configuration-> Configure HACMP resource Group-> Change / Show resources for a Cascading resource group (standard) Change / Show resources for a Cascading resource group [entry field] resource group Name wlyresParticipating Node Names (Default Node Priority) p630_2 p630_1 * service IP Labels / Addresses [] Volume Groups [oravg] Filesystems (empty is ALL for VGs specified) [] Application Servers [wlyapp] (8) defined service IP defined p630_1 of service IP address: -> Initialization and Standard Configuration-> Configure Resources to Make Highly Available-> Configure Service IP Labeles / Addresses-> Add a service IP Labeles / AddressesAdd a Service IP Label / address (standard) [input field] * IP Label / Address [service1] * network name [net_ether_01] 8, synchronous HACMP configuration -> Initialization and Standar d Configuration-> Verify and Synchronize HACMP ComfigurationVerify and Synchronize HACMP Comfiguration [entry field] * Verify, Synchronize or Both [Both] Force synchronization if verification fails? [No] * Verify changes only? [No] * Logging [Standard ] 9, start the HACMP services and stop-start:? #smitty clstartStart Cluster services [entry field] * start now, on system restart or both now start Cluster services on these nodes [p630_1] BROADCAST message at startup true startup Cluster Lock Services? False Startup Cluster Information DAEMON? FALSE REACQUIRE RESOURCES AFTER FORED DOWN? FALSE

转载请注明原文地址:https://www.9cbs.com/read-107596.html

New Post(0)