Replica - Different vSwitch & VLAN ID

Hyper-V specific discussions

Replica - Different vSwitch & VLAN ID

Veeam Logoby Baptiste » Fri Dec 05, 2014 10:32 am

Hello,

I am doing replication on Hyper-V on two differents cluster with differents network configuration.
VEEAM is great coz you can select different IP and different vSwitch but i cannot find how change VLAN ID ?

I have vSwitch with mutiple vlan on both side but vlan id doesn't match. Is there a way to change it ?
Should i script something to change VLAN ID in powershell ? Before failover or after failover ? will change on vm configuration break my replication ?


Thanks for your help
Baptiste
Service Provider
 
Posts: 41
Liked: 5 times
Joined: Wed Nov 12, 2014 4:40 pm

Re: Replica - Different vSwitch & VLAN ID

Veeam Logoby foggy » Fri Dec 05, 2014 11:30 am

We've added VLAN ID support in SureBackup in v8, however replication jobs still preserve original VLAN. Post-job scripting will not help as changes will be discarded during the next job cycle, however post-failover script from within the failover plan can be used for that purpose.
foggy
Veeam Software
 
Posts: 14743
Liked: 1081 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Replica - Different vSwitch & VLAN ID

Veeam Logoby Baptiste » Fri Dec 05, 2014 12:51 pm 1 person likes this post

Thanks Foggy for your quick answer.
That's what i though ;) Future update maybe ? or High request :) !

For others who are looking to change VLAN ID on Hyper-V in a post failover-script :

Code: Select all
Set-VMNetworkAdapterVlan -VMName "VMNAME" -Access -VlanId "VLANID"


GoodLuck
Baptiste
Service Provider
 
Posts: 41
Liked: 5 times
Joined: Wed Nov 12, 2014 4:40 pm

Re: Replica - Different vSwitch & VLAN ID

Veeam Logoby foggy » Fri Dec 05, 2014 12:53 pm

Request noted. And thanks for sharing the script!
foggy
Veeam Software
 
Posts: 14743
Liked: 1081 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson


Return to Microsoft Hyper-V



Who is online

Users browsing this forum: No registered users and 6 guests