Modify the IP step AIX Clusters

2010-04-25  来源:本站原创  分类:Database  人气:196 

Steps to modify the IP cluster

Environment:

AIX 5L

HACMP 5.2

ORACLE 10g RAC

Steps:

1. The two RAC nodes operating system restart

2. In the two nodes are editing / etc / hosts, to boot, standby, service IP addresses change as required.

3. In the two nodes were used to 'smit chinet' change the boot and standby IP network card for the requested IP, needs and / etc / hosts in the IP corresponding to the same.

4. In the two nodes ping each other's bott and standby of IP, to ensure that ping through.

5. HACMP configuration changes in IP

5.1 Node IP address changes

# Smit hacmp -> Extended Configuration -> Extended Topology configuration -> configure HACMP Nodes -> Change / Show a Node in the HACMP Cluster -> select the first node -> configure the Communication Path to Node to its boot address -> select the second nodes -> Configure Communication Path to Node to its boot address.

Use of such methods in another machine, change the node IP address.

5.2 re-refresh node information

Login node

# Smit hacmp -> Extended Configuration -> discover HACMP-related information from configured nodes

5.3 View and sync the updated topology information

# Smit hacmp -> Extended Configuration -> extended topology configuration -> show HACMP topology

Sure information is correct, the synchronization of two nodes of information

# Smit hacmp -> Extended Configuration -> extended topology configuration -> extended verification and synchronization -> synchronization with default settings

6. Start HACMP services

# Smit clstart -> select the two nodes start

# / Usr / sbin / cluster / utilities / cllsif / / view and confirm the IP settings HA starts;

7. Start CRS

7.1 In the two nodes sequentially crsctl start crs

7.2 Executive crs_stat-t see the situation crs start until the two instance are started.

For example:

Name Type Target State Host

_____________________________________________________________

Ora .. B1.inst application ONLINE ONLINE bocnetdb1

Ora .. B2.inst application ONLINE ONLINE bocnetdb2

Ora .. DCDB.db application ONLINE ONLINE bocnetdb1

Ora .... B1.lsnr application ONLINE OFFLINE

Ora .... Db1.gsd application ONLINE ONLINE bocnetdb1

Ora .... Db1.ons application ONLINE ONLINE bocnetdb1

Ora .... Db1.vip application ONLINE ONLINE bocnetdb1

Ora .... B2.lsnr application ONLINE OFFLINE

Ora .... Db2.gsd application ONLINE ONLINE bocnetdb2

Ora .... Db2.ons application ONLINE ONLINE bocnetdb2

Ora .... Db2.vip application ONLINE ONLINE bocnetdb2

8. View the changes before the CRS information

# Oifcfg getif

En2 10.12.191.0 global cluster_interconnect

En3 22.12.191.0 blobal public

# Srvctl config nodeapps-n XXXX (node name)-a

For example: VIP exists: / bocnetdb1-vip/22.12.191.167/255.255.255.0/en3

9. Control the host IP address modified listener.ora and tnsnames.ora in the IP information

10. To re-configure the CRS IP information

10.1 modify the IP information corresponding to card

In the implementation of the first node:

# Oifcfg delif-global en2

# Oifcfg delif-global en3

# Oifcfg setif-global en2/10.12.140.0: cluster_interconnect

# Oifcfg setif-global en3/21.12.140.0: public

10.2 respectively in the two node checks are performed

# Oifcfg getif

En2 10.12.140.0 global cluster_interconnect

En3 21.12.140.0 global public

10.3 in the first node to stop CRS node applications

# Srvctl stop nodeapps-n bocnetdba1

# Srvctl stop nodeapps-n bocnetdba2

At this point all the CRS configuration should be are OFFLINE.

Such as

Name Type Target State Host

_____________________________________________________________

Ora .. B1.inst application OFFLINE OFFLINE

Ora .. B2.inst application OFFLINE OFFLINE

Ora .. DCDB.db application OFFLINE OFFLINE

Ora .... B1.lsnr application OFFLINE OFFLINE

Ora .... Db1.gsd application OFFLINE OFFLINE

Ora .... Db1.ons application OFFLINE OFFLINE

Ora .... Db1.vip application OFFLINE OFFLINE

Ora .... B2.lsnr application OFFLINE OFFLINE

Ora .... Db2.gsd application OFFLINE OFFLINE

Ora .... Db2.ons application OFFLINE OFFLINE

Ora .... Db2.vip application OFFLINE OFFLINE

10.4 modify node IP Information

Implementation in the first quarter point

# Srvctl modify nodeapps-n bocnetdb1-A 10.12.140.193/255.255.255.0/en2

# Srvctl modify nodeapps-n bocnetdb1-A 21.12.140.194/255.255.255.0/en3

Point in the implementation of Section II

# Srvctl modify nodeapps-n bocnetdb2-A 10.12.140.195/255.255.255.0/en2

# Srvctl modify nodeapps-n bocnetdb2-A 10.12.140.196/255.255.255.0/en2

Implementation of the inspection

# Srvctl config nodeapps-n bocnetdb1-a

# Srvctl config nodeapps-n bocnetdb2-a

11. Restart CRS

11.1 respectively in the two node restart CRS

# Crsctl stop crs

# Crsctl start crs

11.2 Verify CRS startup information

# Crs_stat-t

Name Type Target State Host

_____________________________________________________________

Ora .. B1.inst application ONLINE ONLINE bocnetdb1

Ora .. B2.inst application ONLINE ONLINE bocnetdb2

Ora .. DCDB.db application ONLINE ONLINE bocnetdb2

Ora .... B1.lsnr application ONLINE OFFLINE bocnetdb1

Ora .... Db1.gsd application ONLINE ONLINE bocnetdb1

Ora .... Db1.ons application ONLINE ONLINE bocnetdb1

Ora .... Db1.vip application ONLINE ONLINE bocnetdb1

Ora .... B2.lsnr application ONLINE OFFLINE bocnetdb2

Ora .... Db2.gsd application ONLINE ONLINE bocnetdb2

Ora .... Db2.ons application ONLINE ONLINE bocnetdb2

Ora .... Db2.vip application ONLINE ONLINE bocnetdb2

# Oifcfg getif

12. Check $ ORA_CRS_HOME / log / <node name> / crsd / crsd.log whether the error information.

相关文章
  • Modify the IP step AIX Clusters 2010-04-25

    Steps to modify the IP cluster Environment: AIX 5L HACMP 5.2 ORACLE 10g RAC Steps: 1. The two RAC nodes operating system restart 2. In the two nodes are editing / etc / hosts, to boot, standby, service IP addresses change as required. 3. In the two n

  • Modify the IP step CentOS 2010-06-12

    1, in the / etc / rc.d / rc.local file to add the following information ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up ---------- Function: to set IP and subnet mask route add default gw 192.168.0.1 dev eth0 ---------- Role: Set gateway 2, modify

  • centos modify the IP address 2010-04-14

    Virtual machine to modify the IP address ifconfig eth0 192.168.1.134 netmask 255.255.255.0 up network connections for the bridge linux MySQL path command to view: Find bin include lib find /-name mysql.h-print find /-name libmysqlclient.so-print find

  • Linux command line, modify the IP. Gateway. DNS method 2010-07-14

    Linux command line, modify the IP, gateway, DNS method Way: ifconfig eth0 192.168.1.18 netmask 255.255.255.0 Description: The ways you can make changes take effect immediately, restart will revert to the original IP The second way: vi / etc/sysconfig

  • A. modify the ip addresses 2010-08-03

    A, modify the ip address with immediate effect: # Ifconfig eth0 192.168.0.20 netmask 255.255.255.0 Start into force: Modify / etc/sysconfig/network-scripts/ifcfg-eth0 B, modify the default gateway Immediate effect: # Route add default gw 192.168.0.25

  • Modify the ip address of Linux 2010-08-24

    Modify the ip address of Linux there are several ways: 1) ifconfig eth0 192.168.22.22 immediate effect of this method, but after a reboot into the past, for the temporary ip address changes. 2) netconfig or modify the setup command, you can not take

  • Modify the IP and DNS Linux 2010-09-17

    Modify the IP and DNS Linux For example Red Hat Enterprise Linux 5.2 1, the most commonly used commands to the network card configuration for the ip # Ifconfig eth0 192.168.0.1 netmask 255.255.255.0 up Description: eth0 is the first card, followed by

  • Ubuntu Linux change ROOT password to modify the IP and other command 2011-03-05

    Ubuntu installation is no default root password, because you have not set a password to the root, your first user is in admin group, he can give root password, so we do not charge their brains like the original set their own password is the number of

  • Modify the IP address of SVN 2010-06-02

    Project development are likely to modify the IP address of the SVN, entries file which contains the svn server address information. Each folder will have a file information entries. In the myeclipse or flash builder can use visual interface to modify

  • Linux system to modify the IP address of the Method 2011-03-31

    Linux system to modify the IP address of the Method (Non-original) Static method Note: All operations use the root user Modify ip: Edit the file / etc/sysconfig/network-scripts/ifcfg-eth0 reference: DEVICE = eth0 / / device name, do not change BOOTPR

  • linux (CentOS) modify the ip address, gateway, dns 2010-08-05

    IP address, subnet mask: Edit / etc/sysconfig/network-script/ifcfg-eth0 DEVICE = eth0 BOOTPROTO = static --- static or dynamic BROADCAST = 192.168.1.255 IPADDR = 192.168.1.35 --- IP address NETMASK = 255.255.255.0 --- subnet mask NETWORK = 192.168.1.

  • [Reserved] oracle 10g cause the system to modify the IP address of a solution can not start oracleDBConsole 2010-10-14

    Change ip address of the database server, the database can not be restarted after the pop-up windows in the local start OracleDBConsole, error code 2 error. You can manually start the service. In the command line emctl start dbconsole command, prompt

  • CentOS modify the IP address, DNS, gateway 2010-12-29

    As always forget to change the gateway in which local, Google came out a pile of garbage post, today find this a good backup this: Original Address: http://www.21andy.com/blog/20100227/1717.html A, CentOS IP address changes Modify the corresponding I

  • oracle modify the IP 2010-03-10

    oracle database, change the IP address and found no connection. Need to amend the wording of the corresponding files: network / admin / listener.ora network / admin / tnsnames.ora To which the corresponding IP address changes then restart the oracle

  • window modify the ip script 2010-09-01

    @echo off echo pls input ip type 1:auto;2 suc set /p a= if "%a%"=="1" goto auto if "%a%"=="2" goto suc goto failed :auto netsh interface ip set address name=" Local connection " source=dhcp netsh interface

  • Debian modify the IP address or DNS 2010-10-10

    IP address configuration file: / etc / network / interface / / Dynamic DHCP to obtain # Start the system activation device # Loop loopback address auto lo iface lo inet loopback # Start the system activation device # Eth0 is set to DHCP type of card

  • Modify the IP address of Ubuntu 2010-12-14

    Unmodified / etc / network / interfaces # This file describes the network interfaces available on your system # And how to activate them. For more information, see interfaces (5). auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto eth

  • Modify the IP address under Ubuntu 2010-12-14

    Unmodified / etc / network / interfaces # This file describes the network interfaces available on your system # And how to activate them. For more information, see interfaces (5). auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto eth

  • Modify the ESX Server IP address 2010-12-25

    Modify the ESX Server IP address Today in the modified ESX Server address some problems, briefly describe the correct operation: Note: The following steps, preferably in front of the machine or through the ILO interface operation, if the SSH remote l

  • AIX NFS mount error nfsmnthelp: 1831-019 of the solution 2010-04-10

    Describes a solution before a simple help system environment, involving a total of 4 host. To protect customer privacy, ip address has been modified. NFS server host name dqsbbak, operating system version is 6100-01. hosts file entries for the main Q