With Data Protector 9.04 the new features PowerOn & Run and Live Migrate from 3PAR snapshots or SmartCache were introduced. This feature allows to power on and test virtual machines (VMware), backed up using the VE integration. Recently I had the opportunity to implement this feature in a proof of concept and to present the solution to the customer. I have also been able to talk with some partners and customers meanwhile and bottom line is: a successful implementation! Some discussions around these features lead to the question whether Veeam is still required as supplementary backup solution, as Data Protector provides one more time an another attractive recovery option for virtual machines in Enterprise environments.
In the mentioned PoC I had performed the backup of multiple virtual machines into the SmartCache. In addition I backed up some machines using Zero Downtime Backup and implemented it into the customers backup and recovery strategy. PowerOn and Migrate worked perfectly when I used 3PAR snapshots and the SmartCache and I encourage all customers to test these new Data Protector features. If no 3PAR in place, no problem, you can perform the test with the SmartCache as I did in addition.
Speaking perfectly, two problems raised up. In one case, an error message when turning on the virtual machine was displayed: “A question needs to be answered before power on can be completed” and as a result “Error powering on”. In the second case, an error message came: “Share presentation failed” and as a result “Power On Virtual Machine failed”. In both cases, however, Data Protector has shown only a consequence of failure of another cause. Before anyone comes across the same error, follow the explanation of the cause.
“A question needs to be answered before power on can be completed”
Using Virtual Center, the unanswered question was displayed with the comment “Diese virtuelle Maschine wurde möglicherweise verschoben oder kopiert…” (German message). In debug files following was seen:
[ 99] 2015-08-19 14:23:46.463 ("/integ/vep/vepa/Plugins/Vmware/VmwareHelpers/ConfigUtil.cpp $Rev: 49146 $ $Date:: ":293) [ 99] ===>> (6) ConfigUtil::answerQuestion { [ 99] [ 20] [ConfigUtil::answerQuestion] waiting for different question _vmx1 Diese virtuelle Maschine wurde möglicherweise verschoben oder kopiert. Um bestimmte Verwaltungs- und Netzwerkfunktionen konfigurieren zu können, muss VMware ESX wissen, ob diese virtuelle Maschine verschoben oder kopiert wurde. Wenn Sie es nicht wissen, antworten Sie mit "Ich habe sie kopiert". [ 20] [ConfigUtil::answerQuestion] Throwing exception: class std::runtime_error
Hold On! German error message in Data Protector? The Virtual Center Server definitely was installed with English Locale, however, the service and user was not set to English Locale. So wondering why I translated this topic for you? The error might appear to you too, especially when not located in native English speaking countries. With the link (Thanks to Sebastian): http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2121646 the cause was fixed very soon and PowerOn and Migrate worked as expected.
“Share presentation failed”
[Normal] From: RSM@hpcs.customer.local "" Time: 8/10/2015 9:54:59 AM Restore session 2015/08/10-10 started. [Normal] From: RMA@hpcs.customer.local "SmartCache_gw1 [GW 18252:0:17740599057275740933]" Time: 8/10/2015 9:55:38 AM STARTING Media Agent "SmartCache_gw1 [GW 18252:0:17740599057275740933]" [Normal] From: RMA@hpcs.customer.local "SmartCache_gw1 [GW 18252:0:17740599057275740933]" Time: 8/10/2015 9:55:39 AM Loading medium from slot \\hpcs.customer.local\D:\Cache\358d640a_55d57510_0908_13a1 to device SmartCache_gw1 [GW 18252:0:17740599057275740933] [Major] From: RMA@hpcs.customer.local "SmartCache_gw1 [GW 18252:0:17740599057275740933]" Time: 8/10/2015 9:55:45 AM Share presentation failed. [Major] From: OB2BAR_VEAgent@hpcs.customer.local "/DATACENTER" Time: 8/10/2015 9:55:45 AM Received ABORT request from RSM (ERR: Error starting backup/restore (BMA cannot be started or similar).) [Major] From: VEPALIB_VMWARE@hpcs.customer.local "/DATACENTER" Time: 8/10/2015 9:55:45 AM Preparation of replica vm 'virtualmachine' for restore failed ... [Critical] From: VEPALIB_VMWARE@hpcs.customer.local "/DATACENTER" Time: 8/10/2015 9:55:45 AM Power On Virtual Machine failed.
After some debugging I found that port 111 was in use ( nestat -ano
). A look at the process list for the given PID indicated the responsible process – ONC / RPC Portmapper. The process (from QLogic’s OneCommand) occupied the port 111 and thus prevented a start of the NFS service. Solution: Disable the service ONC / RPC portmapper, start NFS service, and immediately the presentation to the ESX server is working.
By the way: to purge the powered on machines the command omnidbutil
was enhanced. With command omnidbutil -purge_expired_poweron_vms -daily
you can cleanup the environment.
Good afternoon
by chance you step by step to this integration I have a client who has a 9.04 3par and data and want this feature but with the integration of VMware
because I find the manual for this integration
thank you in advance for your help
Cheers
Hi Carlos,
Will try to capture it for documentation.
Best regards
Daniel
Hello Daniel,
Nice to hear that. I didn’t find a lot of resources about the implementation of this new feature.
Do we have to install the OS NFS feature or DP bring its own ?
What about CIFS based smart cache device ? Can we use this feature ?
I’ll have to perform a lab on that 🙂
Best Regards,
Hi Christophe,
SmartCache using CIFS Share is not yet supported. The NFS used is the Windows role, automatically installed by PowerShell Script.
Best regards
Daniel
Hi Daniel,
we have upgraded our Data Protector to 9.04. I can’t find how to use the new features, PowerOn&Run and Live Migrate from 3PAR. Is there any documentation available for it?
Thank you.
Massimo
Hi Massimo,
Look for the documentation referred in VE Integration. However, to use PowerOn and Migrate is not a big deal. Try to backup a single VM into SmartCache and restore or start it from restore context. The required NFS feature is installed on Windows automatically.
Best regards
Daniel
Hi Daniel,
I have tried to implement the new feature PoweOn VM restore but DP always exports the NFS share as read-only and when he tries to create the snapshot of the VM the operation fails.
Have you seen this behavior in your POC?
Best regards,
Georgi
Hi Georgi,
Can you please send the Session Output?
Best regards
Daniel
Hi Daniel,
This is the output:
[Normal] From: RSM@cndpgre.cnsys.plc “” Time: 9/1/2015 6:12:53 AM
Restore session 2015/09/01-9 started.
[Normal] From: RMA@cndpgre.cnsys.plc “Disk-E_gw1 [GW 4588:0:9466645446679171526]” Time: 9/1/2015 6:13:33 AM
STARTING Media Agent “Disk-E_gw1 [GW 4588:0:9466645446679171526]”
[Normal] From: RMA@cndpgre.cnsys.plc “Disk-E_gw1 [GW 4588:0:9466645446679171526]” Time: 9/1/2015 6:13:34 AM
Loading medium from slot \\cndpgre.cnsys.plc\E:\9810a8c0_55e59b1f_05b8_0005 to device Disk-E_gw1 [GW 4588:0:9466645446679171526]
[Normal] From: RMA@cndpgre.cnsys.plc “Disk-E_gw1 [GW 4588:0:9466645446679171526]” Time: 9/1/2015 6:13:45 AM
Presentation path: \\cndpgre.cnsys.plc\dp_share_4808
[Normal] From: VEPALIB_VMWARE@cndpgre.cnsys.plc “/CNSYS” Time: 9/1/2015 6:13:45 AM
Mounting datastores to host ‘mclaren.cnsys.plc’ …
[Normal] From: VEPALIB_VMWARE@cndpgre.cnsys.plc “/CNSYS” Time: 9/1/2015 6:13:48 AM
Creating folder C:\ProgramData\OmniBack\tmp\804dc1ba-ab8a-4e2c-8869-f644d2f9d035 …
[Normal] From: VEPALIB_VMWARE@cndpgre.cnsys.plc “/CNSYS” Time: 9/1/2015 6:15:15 AM
Virtual Machine ‘vm-storage_DP_2015_09_01_0008’: Register VM …
[Normal] From: VEPALIB_VMWARE@cndpgre.cnsys.plc “/CNSYS” Time: 9/1/2015 6:15:16 AM
Virtual Machine ‘vm-storage_DP_2015_09_01_0008’: Creating snapshot …
[Major] From: VEPALIB_VMWARE@cndpgre.cnsys.plc “/CNSYS” Time: 9/1/2015 6:27:06 AM
Power On Virtual Machine failed.
[Normal] From: VEPALIB_VMWARE@cndpgre.cnsys.plc “/CNSYS” Time: 9/1/2015 6:27:07 AM
Virtual Machine ‘vm-storage_DP_2015_09_01_0008’: Unregister VM …
[Normal] From: VEPALIB_VMWARE@cndpgre.cnsys.plc “/CNSYS” Time: 9/1/2015 6:27:07 AM
Unmounting datastore DP_VEPA_NfsShare_vm-storag_20150901-061300 …
[Normal] From: RMA@cndpgre.cnsys.plc “Disk-E_gw1 [GW 4588:0:9466645446679171526]” Time: 9/1/2015 6:27:09 AM
Presentation cleanup succeeded for \\cndpgre.cnsys.plc\dp_share_4808
I cut the rest.
Best regards,
Georgi
I haven’t seen this behavior in my PoC. Please run the process in debug mode and send it via mail.
Best regards
Daniel
Live Migrate from SmartCache doesnt work.
After powering on the VM the session fails with: “Failed to copy disk to path [] _/-000001.vmdk”.
SmartCache is on a RHEL server.
Also GRE from 3PAR snapshot doesn’t work.
GRE throws an error with the message: “ESX Host is Empty”
And GRE from incremental backup from SmartCache doesn’t work.
It should turn up as “cached” in GUI, however it still show up as “non-cached”
Hi Tinux,
would it be possible to generate debugs and open a software case for the problem? I guess you might have missing something during configuration.
Best regards
Daniel
Tried to test it on SmartCache… But Power ON fails with the message: \”Failed to install/start NFS service\”. Port 111 is listening to pid 4 (SYSTEM). Also i tried to run nfscheckservice.ps1 manually and i get the output TRUE, but still the PowerOn fails. Any ideea?