How to change the ip resource address In CLI

book

Article ID: 100037704

calendar_today

Updated On:

Description

Description

1. Open VCS configuration
        # haconf -makerw

2. Offline all the service group on all nodes
       # hagrp -offline -any

3. Persistent Freeze all the service group running.
       # hagrp -freeze -persistent

4. Change the IP address in the /etc config files on both the nodes.

5. Change the IP address IP-resource name in all the service groups.
         # hares -modify Address      
        ( EX: # hares -modify  Ora_IP Address  192.168.1.205)

6. Save the VCS configuration
       # haconf -dump -makero

7. Unfreeze all the service group    
        # hagrp -unfreeze -persistent

8. Online all the service group on any node
       # hagrp -online -any

Note: Make sure that the new IP is not in use already.
 

Issue/Introduction

How to change the ip resource address In CLI