# o2cb_ctl -H -t node -n node_name -a ip_address=NEW_IP_ADD
o2cb_ctl: Node changes not yet supported

The man page is missing "-t node" but that will still not help you.
Currently o2cb_ctl only allows dynamic adding of new nodes not
updating existing nodes.

So, edit /etc/ocfs2/cluster.conf, and change the ip address.
Copy it to all nodes before restarting the cluster on all nodes.

# cat /config/cluster/<clus>/node/<nodename>/ip_address
should show the updated value after the cluster is up.

Peter Santos wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sunil,
        The link you pointed me to, just says to stop the cluster, modify the 
cluster.conf and re-start the cluster.
        Is that all that needs to be done?
        The reason I ask is that I found this url 
http://manpage.willempen.org/8/o2cb_ctl with the man pages for
        o2cb_ctl and it says that you can do this "o2cb_ctl -H -n node_name -a 
ip_address=NEW_IP_ADDRESS". However,
        everytime I tried it, I kept getting the error "invalid attribute".

        Can you please just confirm the proper way? I just want to be sure that 
editing the cluster.conf file is enough
        to update all the proper locations where that IP may exist.


- -peter


        

Sunil Mushran wrote:
http://oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html#CONFIGURE


Peter Santos wrote:

Folks,
    I have a simple 2 node 10gR2 RAC cluster. Each node has a
public/private and virtual IP.
    We moved the network to a different subnet  and now I need to
figure out how to make the changes
    visible to ocfs2 and it's services including making the changes to
cluster.conf.

    I suspect that simply changing the IP addresses in cluster.conf is
not enough? My cluster.conf files
    have the nodes physical ip address. I'm not even sure if they
should have the private interconnect IP or not,
    but that is also a different issue.
Can someone point me to the correct procedure?
TIA
-peter

_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFE4yR1oyy5QBCjoT0RAqxSAJ4jQyDkWzHSoTDCuLVxd9Kn8mU+ewCggk2O
1XtMV3qfhvanqGHwvVFuUck=
=jteH
-----END PGP SIGNATURE-----

_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users

_______________________________________________
Ocfs2-users mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-users

Reply via email to