Host-based backup of VMware vSphere VMs.
Post Reply
biotech
Novice
Posts: 3
Liked: never
Joined: Jun 18, 2013 4:01 pm
Contact:

vSphere - turn off link the replica

Post by biotech »

Hello,

can somehow be turned off when you create a replication server to create a link in vSphere?

Thanks lot.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: vSphere - turn off link the replica

Post by veremin »

May I ask to elaborate a little bit on what you’re trying to do, since it’s not that clear from the provided information? Thanks.
biotech
Novice
Posts: 3
Liked: never
Joined: Jun 18, 2013 4:01 pm
Contact:

Re: vSphere - turn off link the replica

Post by biotech »

I'm sorry,

We provide VM replication via Veeam backup.
After replication VM program will create a second VM on ESX server with prefix "_replica"

We would like to Veeam's VM does not create.
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: vSphere - turn off link the replica

Post by veremin »

Actually, the suffix is always added in order to prevent having VMs with the same name in the infrastructure. However, you can leave the corresponding field ("Replica name suffix") blank , thus, no additional suffix/prefix will be created.

Thanks.
dellock6
Veeam Software
Posts: 6137
Liked: 1928 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: vSphere - turn off link the replica

Post by dellock6 »

Or, if you mean Veeam should create the replica on the target datastore BUT do not register it in the target ESXi (or cluster), I don't think is possible, even the replicated VMs are registered in the VMware infrastructure.

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: vSphere - turn off link the replica

Post by Vitaliy S. » 1 person likes this post

Actually you can skip this step (registration VM in the VI) by using vCenter Server granular permissions trick. Just do not specify "Virtual Machine - Inventory: Register" for the account used to connect to target vCenter Server and that's it.
dellock6
Veeam Software
Posts: 6137
Liked: 1928 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: vSphere - turn off link the replica

Post by dellock6 »

Nice one!
Thanks Vitaliy for the hint :)

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2022
Veeam VMCE #1
biotech
Novice
Posts: 3
Liked: never
Joined: Jun 18, 2013 4:01 pm
Contact:

Re: vSphere - turn off link the replica

Post by biotech »

That's it.

Thank you :-)
veremin
Product Manager
Posts: 20270
Liked: 2252 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: vSphere - turn off link the replica

Post by veremin » 1 person likes this post

Should any additional help be needed, don’t hesitate to let us know. Thanks.
meddie
Influencer
Posts: 10
Liked: 1 time
Joined: Jul 09, 2015 1:10 pm
Full Name: Eduard Markus
Contact:

[MERGED] Replication Job: let Replicas on the the Target

Post by meddie »

Hi,

i have a question because i didnt found some settings that could me help. I would like to let the Replicas on the target unregistered. So that them would be unvisible in the vCenter.
The reason is that a user has started a replica instead of the correct vm.

Can somebody helm me?
Thank you in advance
Greets Eddie
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: vSphere - turn off link the replica

Post by Vitaliy S. »

Eduard, you can try a trick with a permissions list mentioned above to achieve your goal. Thanks!
meddie
Influencer
Posts: 10
Liked: 1 time
Joined: Jul 09, 2015 1:10 pm
Full Name: Eduard Markus
Contact:

Re: vSphere - turn off link the replica

Post by meddie »

Thanks, i will try it today. But i will get en error for this job because it cant complete it, or not?
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: vSphere - turn off link the replica

Post by Vitaliy S. »

Yes, there will be a warning message saying that target replica cannot be registered in the VI.
adrien.herve
Enthusiast
Posts: 49
Liked: 15 times
Joined: Dec 16, 2014 8:15 am
Full Name: Adrien HERVE
Contact:

[MERGED] Prevent a VM replica from being powered on

Post by adrien.herve »

Hi guys,

Can you have a quick workaround to prevent a VM replica from being powered on on the target?

Thanks,
foggy
Veeam Software
Posts: 21069
Liked: 2115 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Prevent a VM replica from being powered on

Post by foggy »

Adrien, do you mean to prevent others from powering the replica VM on manually?
adrien.herve
Enthusiast
Posts: 49
Liked: 15 times
Joined: Dec 16, 2014 8:15 am
Full Name: Adrien HERVE
Contact:

Re: Prevent a VM replica from being powered on

Post by adrien.herve »

Yes. I have a DC replicated on my DRP site and I want to prevent this replicated VM from being powered on by my co-workers (it's on the same LAN so you guess why :twisted:).
On the target VM I try to disable my network adapter but of course it was overridden by the source at the next run of my replication job.

In the replication job we are able to change settings on the destination (host, ressource pool, VM folder and datastore) but I think it will be usefull if we can change guest settings for example to disable the network adapter on the destination VM.

My english is very poor today I don't know if it's clear, do you see what I mean?
Gostev
Chief Product Officer
Posts: 31455
Liked: 6646 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Prevent a VM replica from being powered on

Post by Gostev » 1 person likes this post

How about just using vSphere permissions?
adrien.herve
Enthusiast
Posts: 49
Liked: 15 times
Joined: Dec 16, 2014 8:15 am
Full Name: Adrien HERVE
Contact:

Re: Prevent a VM replica from being powered on

Post by adrien.herve »

Yeah make sense, sometime I just need to have a different point of view.
That's a good idea I just need to change inherited administrator permission on these replicas to explicit permissions in read-only mode. Thank you Gostev! :)
meddie
Influencer
Posts: 10
Liked: 1 time
Joined: Jul 09, 2015 1:10 pm
Full Name: Eduard Markus
Contact:

Re: vSphere - turn off link the replica

Post by meddie »

Hi,

i have tried the trick to put the register Right off. But now the replica job gots an error and, everytime the job is running is veeam creating a new folder in the storage.
This Error:
Processing configuration Error: Die Berechtigung zur Durchführung dieses Vorgangs wurde verweigert.
Error: Die Berechtigung zur Durchführung dieses Vorgangs wurde verweigert.
(he permission to perform this operation was denied.)

I have an VM called TestReplikaVM
on the Replication Storage i have now

TestReplicaVM_replica
TestReplicaVM_replica_1
TestReplicaVM_replica_2
TestReplicaVM_replica_3

ans so on.
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: vSphere - turn off link the replica

Post by Vitaliy S. »

Eduard, what version of vSphere are you using? When I was working on the granular permissions doc I didn't see that behavior in my lab.
meddie
Influencer
Posts: 10
Liked: 1 time
Joined: Jul 09, 2015 1:10 pm
Full Name: Eduard Markus
Contact:

Re: vSphere - turn off link the replica

Post by meddie »

Hi Vitaly,

we use vSphere 5.5.

I did this in this way:
i copied the role "administator" then in the new role i checked out the "register" right under virtual machine -> Inventary. Then i added my backup user to this new role which i called VeeamReplica. And at last i edited the permissions on the cluster and added my user with the new role.
When i edit this role and check in the right "register" the Replica Job works fine.
Vitaliy S.
VP, Product Management
Posts: 27055
Liked: 2710 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: vSphere - turn off link the replica

Post by Vitaliy S. »

Hmm... We will take a closer look at this scenario, it seems like the workaround mentioned above does not work anymore.
meddie
Influencer
Posts: 10
Liked: 1 time
Joined: Jul 09, 2015 1:10 pm
Full Name: Eduard Markus
Contact:

Re: vSphere - turn off link the replica

Post by meddie »

Thank you!
Post Reply

Who is online

Users browsing this forum: jackyku and 84 guests