Snapshot backup on Unity fails
When you perform a snapshot backup with Unity 4.2 or 4.1, the backup fails, and displays the following error:
"Internal Error: Failed to get status of import operation."
Workaround
When you configure Unity 4.2 or 4.1 LUN's, you must add snapshot access for the new LUN through UEMCLI. Use the format below:
uemcli -d <unity array ip> -u <user name> -p <password> /stor/prov/luns/lun -id <lun id> set -snapHosts <host id>
where
Lun ID and
Host ID can be retried from the Block and Hosts pages in Unisphere.
When you perform a snapshot backup with Unity 5.1 or 5.2, the backup fails, and displays the following error:
"Internal Error: Failed to get status of import operation."
Workaround
Ensure that you meet the following Unity requirements to perform backups:
On the physical host
You set the NetWorker Module Snapshot Management as the snapshot access host for all source LUNs, and ensure that all the source LUNs have only one snapshot access.
The Unity GUI provides an option to create a snapshot for a LUN and associate the NetWorker Module for SNAPSHOT MANAGEMENT host to it.
If the Unity GUI does not provide the option, run the following command:
uemcli -d <Unity_IP_address> -u <Username> -p <Password> /stor/prov/luns/lun -id <Source_LUN_ID> set -snapHosts <NetWorker_Module_for_Snapshot_Managemet_Host_ID>
On the NetWorker Module for Snapshot Management , you configured the Unisphere CLI:
In the
Configure Optional Settings panel of UEMCLI:
Select the
Unisphere CLI in the Environment path option.
By default, the option is selected.
Select the
Low (The certificate will not be verified) option to avoid runtime backup errors.
You created the security file on the proxy host as the Windows
SYSTEM user to perform backups by using the NMC:
Create a user account, for example,
backup or
nmmedi on Unity to perform backups.
Download the
PSEXEC.exe file from the Microsoft website.
In the path environment variable, specify the path to the
PSEXEC.exe file.
Run the following command from the command prompt:
PSEXEC -i -s –d CMD
The command starts the
SYSTEM command prompt.
NOTE If the
PSEXEC command does not start the
SYSTEM command prompt, run the
PSEXEC command from Windows
.
Run the following command to verify whether the command prompt belongs to the
SYSTEM user account:
WHOAMI/USER
In the
SYSTEM command prompt, run the following command:
uemcli -d <Unity_IP_Address> -u <Unity_Username> -p <Unity_Password> -saveUser
Use the username and the password of the account that you created on Unity in step 1.
The command creates the security file.
Run the following command to verify whether you created the security file:
uemcli -d <Unity_IP_Address> /prot/snap show
The Unity information appears which indicates that the procedure has created the security file. If an error appears, UEMCLI is not correctly set up.
NOTE You must create the security file as the
administrator user to perform backups by using the CLI.
You specified the Windows registry setting for the UEMCLI system path.
To ensure that you have a valid path to the Unisphere installation location, manually add a registry entry for NetWorker:
From the command prompt or the Windows shell prompt, type
regedit .
Go to the
HKEY_LOCAL_MACHINE\SOFTWARE\Legato\NetWorker folder.
Right-click and select
New >
String Value .
Type
UEMCLI_directory as the value, and press
Enter on the keyboard.
Right-click
UEMCLI_directory , and select
Modify .
In the
Value data field, type the full path to the Unisphere CLI installation location.
On a virtual machine
If you installed the NetWorker Module for Snapshot Management on a virtual machine, you performed the following steps:
You set the ESXi host as the snapshot access host for all source LUNs, and ensure that all the source LUNs have only one snapshot access.
The Unity (Unisphere) GUI provides an option to create a snapshot for a LUN and associate the ESXi host to it.
If the Unity GUI does not provide the option, run the following command:
uemcli -d <Unity_IP_address> -u <Username> -p <Password> /stor/prov/luns/lun -id <Source_LUN_ID> set -snapHosts <ESXi_Host_ID>
After the snapshot access creation on the ESXi server, create an RDM of the LUNs to the virtual machine.
In the Unity GUI, in the
Add a Host wizard, add the NetWorker Module for Snapshot Management as the host.
The hostname that you specify must be the exact hostname of the NetWorker Module for Snapshot Management.
In the wizard, leave the other settings or fields as they are.
On the NetWorker Module for Snapshot Management, you configured the Unisphere CLI:
In the
Configure Optional Settings panel of UEMCLI:
Select the
Unisphere CLI in the Environment path option.
By default, the option is selected.
Select the
Low (The certificate will not be verified) option to avoid runtime backup errors.
You created the security file on the proxy host as the Windows
SYSTEM user to perform backups by using the NMC:
Create a user account, for example,
backup on Unity to perform backups.
Download the
PSEXEC.exe file from the Microsoft website.
In the path environment variable, specify the path to the
PSEXEC.exe file.
Run the following command from the command prompt:
PSEXEC -i -s –d CMD
The command starts the
SYSTEM command prompt.
NOTE If the
PSEXEC command does not start the
SYSTEM command prompt, run the
PSEXEC command from Windows
.
Run the following command to verify whether the command prompt belongs to the
SYSTEM user account:
WHOAMI/USER
In the
SYSTEM command prompt, run the following command:
uemcli -d <Unity_IP_Address> -u <Unity_Username> -p <Unity_Password> -saveUser
Use the username and the password of the account that you created on Unity in step 1.
The command creates the security file.
Run the following command to verify whether you created the security file:
uemcli -d <Unity_IP_Address> /prot/snap show
The Unity information appears which indicates that the procedure has created the security file. If an error appears, UEMCLI is not correctly set up.
NOTE You must create the security file as the
administrator user to perform backups by using the CLI.
You specified the Windows registry setting for the UEMCLI system path.
To ensure that you have a valid path to the Unisphere installation location, manually add a registry entry for NetWorker:
From the command prompt or the Windows shell prompt, type
regedit .
Go to the
HKEY_LOCAL_MACHINE\SOFTWARE\Legato\NetWorker folder.
Right-click and select
New >
String Value .
Type
UEMCLI_directory as the value, and press
Enter on the keyboard.
Right-click
UEMCLI_directory , and select
Modify .
In the
Value data field, type the full path to the Unisphere CLI installation location.