[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] Vlan interfaces



Hi Juanra

 

I have already created the interfaces and assigned the static IP’s to the VLAN interfaces. How do I modify the cluster.conf file to get assigned the IP’s  via cluster manager? Hhat options needs to be given in cluster.conf ?

 

Thanks

Ganesh

 

 

On Wed, Apr 20, 2011 at 11:55 AM, Netravali Ganesh

<gnetravali sonusnet com> wrote:

> Hi .

> 

> 

> 

> I have two node cluster configured.. I have created bonding interface and

> configured the cluster IP’s using below option in cluster.conf.

> 

> 

> 

> <service autostart="1" domain="d1" exclusive="0" name="my_service"

> recovery="relocate">

> 

>                         <script file="/opt/cluster/myscript.sh "

> name="myscript.sh"/>

> 

>                         <ip address="192.168.10.111" monitor_link="1"/>

> 

>                         <ip address="10.10.10.111" monitor_link="1"/>

> 

> 

> 

> Cluster is assigning the IP’s to the bonding interface. Below is the output

> of “ip addr show”

> 

> 

> 

> inet 192.168.10.111/24 scope global secondary bond0

> 

> inet 10.10.10.111/24 scope global secondary bond0

> 

> 

> 

> If I want to configure the multiple tagged VLAN interfaces on the cluster

> nodes and need to assign the above ip’s to two different VLAN interfaces,

> What modifications needs to be done to the cluster.conf ?  Below are the

> details of version I am using.

> 

> 

You'll have to create 2 interfaces:

bondX.Y  -> vlan Y

bondX.Z  -> vlan Z

And configure each with an ip address on the same subnet as the IPs

you want to add to the cluster.

E.g. bondX.Y 192.168.10.100/24 if you want 192.168.10.111/24 to be on vlan Y

 

Regards,

Juanra

> 

> rgmanager-2.0.38-2.el5

> 

> cman-2.0.84-2.el5

> 

> RHEL5 U3

> 

> 

> 

> Thanks

> 

> Ganesh

> 

> --

> Linux-cluster mailing list

> Linux-cluster redhat com

> https://www.redhat.com/mailman/listinfo/linux-cluster

> 

 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]