-
- Influencer
- Posts: 21
- Liked: never
- Joined: Feb 04, 2010 9:19 am
- Full Name: Stephane Bourdeaud
- Contact:
Add-VBRViReplicaJob limited?
Hi,
It seems impossible to specify a cluster as the destination using Add-VBRViReplicaJob when you can do it in the GUI.
Am I missing something?
Is it also possible to specify datastore clusters as a destination for a replica job?
Thanks.
Stephane
It seems impossible to specify a cluster as the destination using Add-VBRViReplicaJob when you can do it in the GUI.
Am I missing something?
Is it also possible to specify datastore clusters as a destination for a replica job?
Thanks.
Stephane
-
- Product Manager
- Posts: 20413
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Add-VBRViReplicaJob limited?
Hi, Stephane, it seems impossible, indeed, to specify cluster as a target for replication job through Veeam PowerShell Snap-in. Thanks.
-
- VP, Product Management
- Posts: 7081
- Liked: 1511 times
- Joined: May 04, 2011 8:36 am
- Full Name: Andreas Neufert
- Location: Germany
- Contact:
Re: Add-VBRViReplicaJob limited?
Solution is to set a ESXi host first and later change the option to a cluster.
-
- Novice
- Posts: 7
- Liked: never
- Joined: May 24, 2013 3:45 pm
- Full Name: Patrick Loveless
- Contact:
Re: Add-VBRViReplicaJob limited?
The mentioned solution to set it back to the cluster setting, was this from PowerShell or the GUI? I have not been able to get the powershell command to work. Set-VBRViReplicaJob -job JobName -server ClusterName
Only thing I can get to work is if I use the hostname for the -server.
Only thing I can get to work is if I use the hostname for the -server.
-
- Product Manager
- Posts: 20413
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Add-VBRViReplicaJob limited?
Andreas seems to have been talking about changing this setting via GUI, indeed. Thanks!
-
- VP, Product Management
- Posts: 7081
- Liked: 1511 times
- Joined: May 04, 2011 8:36 am
- Full Name: Andreas Neufert
- Location: Germany
- Contact:
Re: Add-VBRViReplicaJob limited?
OK some years passed, but I think you can set it first by PS to Host and in the next run change it to cluster?
-
- VP, Product Management
- Posts: 6035
- Liked: 2860 times
- Joined: Jun 05, 2009 12:57 pm
- Full Name: Tom Sightler
- Contact:
Re: Add-VBRViReplicaJob limited?
It's been quite a few years, but I believe even after all these years the method still works to create the job with a server, then change it to cluster. The general idea is in the script on this post:
powershell-f26/add-vbrvireplicajob-comm ... tml#p75237
But might need to be modified slightly for recent 9.5 updates to use the Get-VBRJobOptions/Set-VBRJobsOptions cmdlets.
powershell-f26/add-vbrvireplicajob-comm ... tml#p75237
But might need to be modified slightly for recent 9.5 updates to use the Get-VBRJobOptions/Set-VBRJobsOptions cmdlets.
-
- Novice
- Posts: 7
- Liked: never
- Joined: May 24, 2013 3:45 pm
- Full Name: Patrick Loveless
- Contact:
Re: Add-VBRViReplicaJob limited?
Yes, between this thread and another where I found a pdf link to a veeamon pdf from 2018 I found that I had to use the Job options to set it back to a cluster setting instead of a host. I tried to do this in a script where I was modifying other settings (Destination settings and network mappings). I made my other settings and then tried issue the command to set the destination back to the host. What I found was that because I was doing that several settings were reset and the network mappings were completely wiped out. The answer was to use the Get-VBRJob command again to pull in the job settings and reset my variable I was using. This had to be done right before I used the job options to reset it back to the cluster setting.
-
- Product Manager
- Posts: 20413
- Liked: 2302 times
- Joined: Oct 26, 2012 3:28 pm
- Full Name: Vladimir Eremin
- Contact:
Re: Add-VBRViReplicaJob limited?
Can you post the resulting script here, may be there is a room for potential improvement? Thanks!
Who is online
Users browsing this forum: No registered users and 14 guests