You can use Linux proxies in your VMware environment.
Adding new Linux proxy is really simple.
(Wan't to do it with PowerShell? Scroll to end of page)
In Backup & Replication console, go to Backup Infrastructure -> Backup Proxies -> Right click -> Add VMware backup proxy.
If you have added your Linux machine as a managed server to Backup & Replication, select it from drop down list, otherwise select "Add New..."
Select "Linux"
Enter FQDN or IP-address of Linux machine. Notice, that you need to have SSH and Perl installed.
Select credentials to use, typically it is best to use dedicated service account. If you have not previously entered account info, you can do it with "Add..."
Validate SSH key fingerprint
And in a short moment you see that server has been added
Now back in "New VMware proxy" wizard, your newly added server will be automatically selected.
Do note, that "Transport mode" and "Connected datastores" selections are grayed oyt. That is, because Linux proxy only works in "Virtual appliance" mode
If in VMware VM settings, you do not have disk.enabledUUID=TRUE parameter, you will get following warning. Select "Yes" to pick VM from vCenter manually
Select "Browse..." to select your VM
You can use search to find your machine
And you will see your machine selected
You will also get a warning that your Linux machine will be rebooted. This is because Veeam add's that missing parameter to VM's configuration
You can set Throttling settings if needed
And when you click "Apply" your proxy will be configured
And finally you get summary that states that Linux Proxy has been successfully created
And that's it! Your new Linux proxy is now ready to be used in backup jobs. If you are using automatic selection in job settings, it will automatically be used in next backup and replication jobs!
Looking for PowerShell magic? Well, here we go:
First we get our credentials and then add Linux machine to Backup & Replication. If you already have Linux machine added, you can skip this step
Same as with wizard, if you VM does not have disk.enabledUUID=TRUE parameter in place, you will get error when you try to add Linux proxy:
So we will first search our VM, and give it as a parameter to PowerShell command:
Code:
$credential = Get-VBRCredentials -Name <YOURCREDENTIALNAMEHERE>
Add-VBRLinux -Name <FQDN OF LINUX MACHINE> -Credentials $credential
$vientity = Find-VBRViEntity -Name "<VMNAME IN VSPHERE>"
Get-VBRServer -Name "<FQDN OF LINUX MACHINE>" | Add-VBRViLinuxProxy -ProxyVM $vientity
No comments :
Post a Comment