Sponsored Content
Full Discussion: Cluster Suite IP-Aliasing
Operating Systems Linux Red Hat Cluster Suite IP-Aliasing Post 302418848 by funksen on Thursday 6th of May 2010 03:55:53 AM
Old 05-06-2010
with the lucy http interface

defined a resource and put it to the service, I think there were ip and netmask to configure, not more


I'll post my cluster.conf tomorrow



do you have a red hat cluster with a service ip, where you can see the ip with ifconfig?

---------- Post updated 06-05-10 at 09:55 ---------- Previous update was 05-05-10 at 19:33 ----------

I worked with AIX hacmp and SUN Cluster previously, and I must say the Red Hat Cluster Suite seems to be very buggy


here is the cluster.conf

Code:
[root@uscltest2 ~]# cat /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster alias="uscltest" config_version="38" name="uscltest">
        <fence_daemon clean_start="0" post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="uscltest3" nodeid="1" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="scsi-fench" node="uscltest3"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="uscltest2" nodeid="2" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="scsi-fench" node="uscltest2"/>
                                </method>
                        </fence>
                </clusternode>
                <clusternode name="uscltest1" nodeid="3" votes="1">
                        <fence>
                                <method name="1">
                                        <device name="scsi-fench" node="uscltest1"/>
                                </method>
                        </fence>
                </clusternode>
        </clusternodes>
        <cman/>
        <fencedevices>
                <fencedevice agent="fence_scsi" name="scsi-fench"/>
        </fencedevices>
        <rm>
                <failoverdomains>
                        <failoverdomain name="domain3" nofailback="0" ordered="1" restricted="1">
                                <failoverdomainnode name="uscltest3" priority="1"/>
                                <failoverdomainnode name="uscltest2" priority="2"/>
                                <failoverdomainnode name="uscltest1" priority="3"/>
                        </failoverdomain>
                        <failoverdomain name="domain2" ordered="1" restricted="1">
                                <failoverdomainnode name="uscltest1" priority="1"/>
                                <failoverdomainnode name="uscltest2" priority="1"/>
                                <failoverdomainnode name="uscltest3" priority="2"/>
                        </failoverdomain>
                        <failoverdomain name="domain1" ordered="1" restricted="1">
                                <failoverdomainnode name="uscltest1" priority="1"/>
                                <failoverdomainnode name="uscltest3" priority="3"/>
                                <failoverdomainnode name="uscltest2" priority="2"/>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                        <ip address="10.200.218.85" monitor_link="1"/>
                        <lvm lv_name="test3lv" name="test3lvm" vg_name="test3vg"/>
                        <fs device="/dev/test3vg/test3lv" force_fsck="0" force_unmount="1" fsid="921" fstype="ext3" mountpoint="/cluster/test3" name="test3fs" self_fence="0"/>
                        <script file="/cluster/test3/httpd/bin/apachectl" name="test3_http"/>
                </resources>
                <service autostart="1" domain="domain3" exclusive="0" name="test3" recovery="relocate">
                        <ip ref="10.200.218.85">
                                <lvm ref="test3lvm">
                                        <fs ref="test3fs">
                                                <script ref="test3_http"/>
                                        </fs>
                                </lvm>
                        </ip>
                </service>
        </rm>
</cluster>

 

9 More Discussions You Might Find Interesting

1. Linux

RedHat Cluster Suite - multicast problem

Hi, I have a Redhat Cluster Suite with 2 nodes, using option "Multicast HeartBeating" on clumembd, whith default IP: 225.0.0.11 The cluster member names are: # grep node /etc/hosts 192.168.100.1 node1 192.168.100.2 node2 My problem is that the Multicast IP is relating to other network... (1 Reply)
Discussion started by: Livio
1 Replies

2. UNIX for Dummies Questions & Answers

Basic regarding aliasing

Hi All, One small request. In UNIX/LINUX we can have our own aliases in .bashrc file. My doubt is when we add a new alias and if it is tried in already opened terminals it will not work, may be it is not going to recognise. Bit when we use the same alias in new terminal it will work. I... (1 Reply)
Discussion started by: chanakyahere
1 Replies

3. UNIX for Dummies Questions & Answers

What is IP aliasing ?

Hi, Can anyone tell me what is IP aliasing ? I do not know if this is the right place for this thread !!. Thanks in advance, Gideon. (2 Replies)
Discussion started by: preethgideon
2 Replies

4. UNIX for Advanced & Expert Users

aliasing the TO name in Unix mails

HI All, I have a small question/clarification/doubt . Does anyone know how to provide alias in the mails that come from Unix servers. Like i have a Unix server that generates status mails every hour for a scheduled job , it sends me mails with status with the ID in from field as... (3 Replies)
Discussion started by: bsandeep_80
3 Replies

5. High Performance Computing

Solaris 10 - Cluster Suite 3.2 2/08 prob

Hi, I am relatively new to Sun Solaris. I am installing 2 node cluster and when I was installing cluster suite 3.2 2/08, it is giving me this error as "Conflict - Incomplete version detected". Please help me in this regard and also suggest me any valuable point to consider before going ahead... (3 Replies)
Discussion started by: hi2joshi
3 Replies

6. UNIX for Dummies Questions & Answers

How can I do aliasing in shellscript?

#Example.sh alias rmv 'sh Example2.sh' when i execute exapme.sh alias name not working. how i solve this problem?? (9 Replies)
Discussion started by: arun508.gatike
9 Replies

7. Homework & Coursework Questions

aliasing command

hi to all members in this forums .. Nice to meet you... i only have a questions about command utility of "dd": for example i will type: pico trial this is my file. and save it and type chmod a+x trial can there be a way that instead of typing: dd if=trial of=trial.copy conv=ucase... (3 Replies)
Discussion started by: marahtia
3 Replies

8. Red Hat

How can i configure fence_cisco_ucs with redhat cluster suite

HI How can i configure fence_cisco_ucs with redhat cluster suite. i was trying to configure fencing aganet with red ahat cluster suite i issued command # /usr/sbin/fence_vmware_soap -a 172.22.90.61 -l admin -p duc2Cisco -o reboot then i got below error: Failed: You have to... (0 Replies)
Discussion started by: bentech4u
0 Replies

9. Solaris

Directory Aliasing

Hello, I need to rediret the directory location at run time as:- If I type cd /dir1/dir2 then it should take me to /dir1/dir3 at run time. Inside dir1, both dir2 and dir3 directories are present. Could anyone guild me over it? Thanks Shubham (5 Replies)
Discussion started by: shubh05
5 Replies
All times are GMT -4. The time now is 04:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy