Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Using VDP to realize vsphere virtual machine backup

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

No matter what kind of service, backup is a very important part of the enterprise, of course, vSphere virtualization is no exception. Today we learn about vSphere Data Protection, the core component of vSphere. If you want to use vSphere Data Protection, you must know:

OVF template: is an open, common, and secure virtual machine compression format, typically using templates with the .ova extension. OVF templates can be operated on multiple major virtualization platforms.

VSphere Data Protection: referred to as VDP, is a new generation of disk-based backup and recovery solution launched by VMware and EMC through technical collaboration. It is reliable and easy to deploy, replacing the previous VDR and VCB; fully integrated with VCenter Server, and can be used to perform efficient centralized management of backup jobs while storing backups on deduplicated target storage.

There are two versions of vSphere Data Protection, which are:

VDP: supports storage space for up to 100 virtual machines and 2TB only

VDP Advanced: supports storage space for up to 400 virtual machines and 8TB, as well as application replication, the ability to restore to granularity on Microsoft Server, and guest-level backup and recovery for SQL server, Exchange Server, and SharePoint Server.

VDP Advanced requires a license to use it.

Preparation before deployment:

Deploy NTP time server (synchronize the time of DC and ESXi hosts to prevent errors due to time inconsistency, it is recommended to install on DC server); create "forward lookup zone" and "reverse lookup zone" of VDP server on DNS server

3. To prepare the OVF template file, you can link to:

Https://pan.baidu.com/s/1XCDVXzajU0wg4Gh5yji2jw

Extraction code: w33y

To get the OVF template file deployment VDP OVF template

Deployment steps:

First, deploy NTP time server

1. Open the registry

2. Set to NTP server type.

Modify the login file: "HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ W32Time\ Parameters"

The [Type] setting is changed to "NTP".

3. Set the authorization time server

Modify the login file: "HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ W32Time\ Config"

[AnnounceFlags] modify the set value to 5

4. Enable NTP server

Modify the login file: "HKEY_LOCAL_MACHINE\ SYSTEM\ CurrentControlSet\ Services\ W32Time\ TimeProviders\ NtpServer"

The value of [Enabled] is modified to 1

5. Restart Windows Time service

Open the start menu and enter "CMD" in command line mode:

Net stop w32time & & net start w32time # restart the win32time service.

Issues to pay attention to:

1. Set the W32Time service startup mode to automatic in the system service.

2. Make sure that the firewall allows UDP123 port access.

Open the UDP:123 port

Open the start menu and enter "CMD" in command line mode:

Netsh firewall add portopening protocol = UDP port = 123name = NTPSERVER

Configure an esxi host as a NTP client

1. Log in to vcenter server through web client

2. Enable the esxi command line

Press alt+f1 to switch the command interface

3. Modify esxi configuration file

1.vi / etc/ntp.conf add the following content tos maxdist 302. Save and launch 3. Set the write permission of / etc/likewise/lsassd.conf chmod + w / etc/likewise/lsassd.conf4. Vi / etc/likewise/lsassd.conf finds the following configuration item and removes comments and preceding spaces, sync-system-time = no5. Save and launch. 6. Execute the following command / sbin/auto-backup.sh7. Restart the following two services / etc/init.d/lsassd restart/etc/init.d/ntpd restart

Restart the ESXi host or reopen the web page

Add VDP server parsing information manually on the DNS server

Navigate to vcenter, open the permissions tab in the Management tab, and click the add permissions button.

Click the add button to add a specific user, select a domain administrator, click user administrator, and then click add and change the user's role permissions from unauthorized access to administrator click OK.

Deploy the OVF template for VDP

1. Right-click the esxi host, and click deploy OVF template in the pop-up menu

Take a long time and wait patiently

IV. VDP configuration utility

1. Start the VDP virtual machine, if you fail to start the power

Adjust the number of CPU according to the actual situation

It can start normally.

two。 Open https://192.168.10.20:8543/vdp-configure/ in the browser

Default user name is root and password is changeme

It takes a long time, wait patiently, and this process takes more than half an hour.

Create a backup task

1. Log in to vcenter, and you can see an additional VDP component on the web vclient home page. Click this component, and the VDP App selects vsphere data protection5.5 and clicks the connect button to enter the VDP management interface.

VI. Back up virtual machines

Wait for the backup to complete

Restore the virtual machine

Wait patiently for the reply to be completed!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report