cancel
Showing results for 
Search instead for 
Did you mean: 

vmware restore failed with status code 2817

emret
Level 6
Partner Accredited

Hi,

 

l try to restore vm virtual machine as if .vmdk . but l get an error 2817.

Netbackup Master Server Version 7.1.0.3 - Windows 2008 R2

Netbackup Media Server Version 7.1.0.3 - Windows 2008 R2

we use media server as if backup host.

we are able to telnet 443, 902 port from backup host to vcenter and esx host

unable to telnet 443, 902 port from vcenter to backup host

our account has an full permission from vcenter console.

when l try to start restore operation the virtual machine snapshot created from the vcenter but after the created virtual machine snapshot the restore operation getting error 2817.  

l am able to restore individual file from this backup but l can not restore virtual machine.

1 ACCEPTED SOLUTION

Accepted Solutions

emret
Level 6
Partner Accredited

the issue resolved by adding the this registery value to backup host  ;

 

 

Go to HKEY_LOCAL_MACHINE > SOFTWARE > Veritas > NetBackup >
CurrentVersion > CONFIG and create a key called BACKUP.
 
jobtimeout 900
poweroptimeout 900
snapshottimeout 900
registertimeout 180
browsetimeout 180
connecttimeout 300

View solution in original post

9 REPLIES 9

Will_Restore
Level 6

Identify the account used by NetBackup to access the vCenter Server under NetBackup Administration Console > Media Management > Credentials > Virtual Machine Servers > <vCenter Server Name>

Ensure this account has sufficient permissions in vCenter as described in the article "What are the minimum permissions needed to properly backup and restore using vStorage api?"

URL http://www.symantec.com/docs/TECH155102

 

emret
Level 6
Partner Accredited

our account has the full permission. but l deleted all credential from this directory which is related the vcenter, after that l try to re create this vcenter credential when l click the validate credential l get an error login failed (-1) after that l re try the validate credential, its completed successfully.

emret
Level 6
Partner Accredited

l am able to restore virtual machine when l use the esx host but when l use vcenter for the restore l am unable to restore virtual machine .

Mark_Solutions
Level 6
Partner Accredited Certified

That is strange as a restore directly to an ESX Host that is under vCenter control would normally fail.

This tends to indicate that either the target ESX Server is not under vCenter control (hence why it previously failed) or maybe you also added credentials for the ESX Server when they should only exist for the vCenter and it has confused things?

emret
Level 6
Partner Accredited

how can l add the credentials for esx host ? am l do it from the netbackup or vcenter ?

Will_Restore
Level 6

To add NetBackup credentials

1 Click Media and Device Management > Credentials > Virtual Machine

Servers.

2 Click Actions > New > New Virtual Machine Server.

3 On the Add Virtual Machine Server dialog, enter the name of a virtual

machine server (vCenter server or ESX server).

Note: Enter the server name in the same format in which it is registered in

DNS and in the VMware server (whether short or fully-qualified).

NetBackup needs access to this server for either of the following reasons:

To browse the server's virtual machines and back them up.

To use the server as a target for restoring virtual machines.

Use the next dialog to identify the type of this server (vCenter, ESX, or

ESX for restore only).

4 In the Credentials pane of the Virtual Machine Server dialog, enter the

following:

Virtual machine server type

Select the type of VMware server that NetBackup needs to access:

VMware VirtualCenter server

Designates a vCenter (or VirtualCenter) server that manages ESX servers.

When you create a policy to back up this server's virtual machines,

NetBackup can browse this server and list its virtual machines. If the

credentials provide full access privileges to the vCenter server, you can

restore virtual machines to this server.

Note: Do not enter logon credentials for the individual ESX servers that

this vCenter server manages. NetBackup needs credentials for the vCenter

only.

VMware ESX server

Designates a standalone ESX server that is not managed by a vCenter

server. NetBackup will be able to browse the ESX server to present a list

of its virtual machines for backup. You can also restore virtual machines

to this ESX server. To use the server as a target for restores, enter the

credentials that provide full access privileges to the ESX server.

emret
Level 6
Partner Accredited

l done both of them l found the why l got credential fail error, this error due to the wrong dns record. and we solved credential fail problem. now l am able to restore virtual machine using esx host restore server without select vcenter but when l select the vcenter from the restore tab the restore failed with status code 2817.

Mark_Solutions
Level 6
Partner Accredited Certified

Is the ESX Server you are restoring to definitely under the control of vCenter?

If so its credentials should not be added - you should only have the vCenter credential added.

If the ESX Server is not under the control of vCenter then you do need to add its credentials and also need to direct the restore to it and not via vCenter.

Also, is it a new ESX Server? Does it actually have virtual hosts on it?

As wrobbins pointed out earlier the 2817 error usually means insufficient rights to the vCenter to do the restore.

Please double check by working through these:

http://www.symantec.com/docs/TECH130493
http://www.symantec.com/docs/TECH128513

emret
Level 6
Partner Accredited

the issue resolved by adding the this registery value to backup host  ;

 

 

Go to HKEY_LOCAL_MACHINE > SOFTWARE > Veritas > NetBackup >
CurrentVersion > CONFIG and create a key called BACKUP.
 
jobtimeout 900
poweroptimeout 900
snapshottimeout 900
registertimeout 180
browsetimeout 180
connecttimeout 300