Re: Vlan interfaces

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

 



On Wed, Apr 20, 2011 at 2:45 PM, Netravali Ganesh
<gnetravali@xxxxxxxxxxxx> wrote:
> Hi
>
> I added the service which contains the ip's and tried. It is not assigning to the interfaces what I wanted. I have multiple vlan tagging interface and I need specific IP's to be assigned to the specific vlan interfaces. How do I achieve it from cluster.conf file. I don't want to assign the ip's via script as Juanra mentioned. That will not serve my pupose.
>
Please post the output of ifconfig -a and ip addr list after adding
the ips on cluster.conf to a service (and get that service started)
You have to start the service you configured on cluster.conf in order
to the IP to be up.
BTW i didn't tell you anything about using scripts ;)

Regards,
Juanra
>
> Thanks
> Ganesh
>
> -----Original Message-----
> From: linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Juan Ramon Martin Blanco
> Sent: Wednesday, April 20, 2011 5:39 PM
> To: linux clustering
> Subject: Re:  Vlan interfaces
>
> On Wed, Apr 20, 2011 at 1:32 PM, Netravali Ganesh
> <gnetravali@xxxxxxxxxxxx> wrote:
>> Hi Juanra.
>>
>> I know it can be done via scripting. But if cluster can handle assigning the ip's it will be a monitored interface by clustering system which is an added advantage. Below is an example.
>>
>> <ip address="192.168.10.111" monitor_link="1"/>
>>
> Yes, that was what I was trying to tell you ;)
>
> Regards,
> Juanra
>> Thanks
>> Ganesh
>>
>> -----Original Message-----
>> From: linux-cluster-bounces@xxxxxxxxxx [mailto:linux-cluster-bounces@xxxxxxxxxx] On Behalf Of Juan Ramon Martin Blanco
>> Sent: Wednesday, April 20, 2011 4:38 PM
>> To: linux clustering
>> Subject: Re:  Vlan interfaces
>>
>> On Wed, Apr 20, 2011 at 12:44 PM, Netravali Ganesh
>> <gnetravali@xxxxxxxxxxxx> wrote:
>>> 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 ?
>>>
>> Just add a service which contains the ip's and start it ;)
>>
>>
>>>
>>>
>>> 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
>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Linux-cluster mailing list
>>> Linux-cluster@xxxxxxxxxx
>>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>>
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster@xxxxxxxxxx
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>
>> --
>> Linux-cluster mailing list
>> Linux-cluster@xxxxxxxxxx
>> https://www.redhat.com/mailman/listinfo/linux-cluster
>>
>
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster
>
> --
> Linux-cluster mailing list
> Linux-cluster@xxxxxxxxxx
> https://www.redhat.com/mailman/listinfo/linux-cluster
>

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster



[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux