Pages: [1]
Print
Author Topic: Consolidation of Vlan IDs  (Read 1517 times)
gurjit_d
Newbie
*
Posts: 5


View Profile Email
« on: September 25, 2009, 08:36:03 PM »


Hi,

I am looking for the consolidaton of vlan id on different cluster, have some one thought of this or worked on this ?

The reason I am looking for this is Network team is not able to allow more vlan for particular cluster ( example cluster01)
On physical switch due to no availability of ports to allow on switch for cluster01

To come out of this solution we have a thought of moving the all the vm's to attach to a particular VLan (example vlan1)
to the other cluster which also has that vlan already available.And than delete the vlan from the cluster and also from the switch. this will make the 1 vlan id free on switch,
same way to find out other vlans too, so that we can come up with the list of vlan ids , which can be later give to the Network team to remove the vlan ids from switch for that cluster.

At the end we will be having few more free vlan to add on physica switch

Hope I have made understand well,

Regards
Gurjit Dhllon
Logged
esarakaitis
Administrator
Sr. Member
*****
Posts: 256


8223109 sack57@hotmail.com littleking57 rootinfortwayne
View Profile WWW Email
« Reply #1 on: September 26, 2009, 10:39:07 AM »

are you saying you want a script to move virtual machines from one portgroup to another?
Logged
gurjit_d
Newbie
*
Posts: 5


View Profile Email
« Reply #2 on: September 28, 2009, 02:21:28 AM »

Hi,

First of all thanks for your reply.

Answer is No, I only want list of the vlans and the VM's attach to it. script also need to check if Vm has more than one vlan ,and this extra vlan also need to check of availability on other cluster.


This will the comparison with 2 cluster.

In the first example we cannot move the vm from cluster1 to cluster02.

Example 1
Cluster01                                                       Cluster02

Vlan1 --                                                            Vlan1- yes
           |
           |                                                            Vlan2 -yes   
           VM1                                                       Vlan3-No   
             |
              Vlan1, vlan2, vlan3



In 2nd example we can move the vm from cluster1 to cluster02.


Example 2
Cluster01                                                       Cluster02

Vlan1 --                                                            Vlan1- yes
           |
           |                                                            Vlan2 -yes   
           VM1                                                       Vlan3-yes
             |
              Vlan1, vlan2, vlan3


somewhat this kind of things I am looking for, hope I have made you clear.

Regards
Gurjit Dhillon

Logged
esarakaitis
Administrator
Sr. Member
*****
Posts: 256


8223109 sack57@hotmail.com littleking57 rootinfortwayne
View Profile WWW Email
« Reply #3 on: September 28, 2009, 08:55:53 AM »

im assuming your talking about portgroups rather than vlan's?
Logged
esarakaitis
Administrator
Sr. Member
*****
Posts: 256


8223109 sack57@hotmail.com littleking57 rootinfortwayne
View Profile WWW Email
« Reply #4 on: September 28, 2009, 09:18:37 AM »

http://www.vmwarescripting.com/index.php/topic,1268.0.html
Logged
Pages: [1]
Print
Jump to: