Backup Proxy
A backup proxy is an architecture component that sits between the backup server and other components of the backup infrastructure. While the backup server administers tasks, the proxy processes jobs and delivers backup traffic.
Basic backup proxy tasks include the following:
- Retrieving VM data from the production storage
- Compressing
- Deduplicating
- Encrypting
- Sending it to the backup repository (for example, if you run a backup job) or another backup proxy (for example, if you run a replication job)
A backup proxy can operate as a data mover in NAS backup and transfer data from the source file share to the backup repository. For more information about using a backup proxy in NAS backup, see NAS Backup Support .
Backup Proxy Transport Modes
Depending on your backup architecture, a backup proxy can use one of the following data transport modes:
- Direct storage access
- Virtual appliance
- Network
If the VM disks are located on the storage system and the storage system is added to the Veeam Backup & Replication console, the backup proxy can also use the Backup from Storage Snapshots mode.
You can explicitly select the transport mode or let Veeam Backup & Replication automatically choose the mode. For details, see Transport Modes and Configuring Backup Proxy for Storage Snapshots .
Backup Proxy Deployment
By default, the role of the proxy is assigned to the backup server itself. However, this is sufficient only for small installations with low traffic load. For large installations, it is recommended to deploy dedicated backup proxies.
To optimize performance of several concurrent jobs, you can use several backup proxies. In this case, Veeam Backup & Replication will distribute the backup workload between available backup proxies. You can deploy backup proxies both in the primary site and in remote sites.
To deploy a proxy, you need to add a Windows-based or Linux-based server to Veeam Backup & Replication and assign the role of the backup proxy to the added server. For requirements and limitations that backup proxies have, see Requirements and Limitations for Backup Proxies .
Backup Proxy Services and Components
Backup proxies run light-weight services that take a few seconds to deploy. Deployment is fully automated. Veeam Backup & Replication installs the following components and services:
- Veeam Installer Service is an auxiliary service that is installed and started on any Windows server once it is added to the list of managed servers in the Veeam Backup & Replication console. This service analyzes the system, installs and upgrades necessary components and services depending on the role selected for the server.
- Veeam Data Mover is a component that performs data processing tasks on behalf of Veeam Backup & Replication , such as retrieving source VM data, performing data deduplication and compression, and storing backed-up data on the target storage.
Источник
Конфигурация прокси-сервера
В инфраструктуре резервного копирования прокси-сервер обеспечивает передачу данных. Во время заданий резервного копирования, репликации или копирования виртуальных машин прокси-сервер считывает данные с исходного хранилища, обрабатывает их и передает на целевое устройство — в репозиторий, хост или папку. Во время операций по восстановлению данных прокси-сервер передает и записывает данные в исходное хранилище.
В качестве прокси-сервера может использоваться виртуальная или физическая машина под управлением Microsoft Windows, которая соответствует необходимым системным требованиям .
Для чтения и записи данных виртуальных машин прокси-сервер может использовать один из следующих режимов:
- Direct storage access — прямой доступ к совместно используемым хранилищам данных. В этом режиме прокси-сервер копирует данные непосредственно по сети SAN либо с хранилищ NFS, минуя локальную сеть.
- Virtual appliance — режим виртуального устройства. В этом режиме прокси-сервер копирует данные виртуальной машины через стек ввода-вывода хоста ESX(i) вместо того, чтобы передавать данные по локальной сети.
- Network — сетевой режим. В этом режиме данные виртуальной машины передаются по локальной сети.
Вы можете самостоятельно назначить режим передачи данных для прокси-сервера или использовать возможности автоматического выбора режима. В последнем случае режим передачи данных будет назначен автоматически в соответствии с конфигурацией и настройками прокси сервера.
Задача прокси-сервера — обеспечить оптимальный маршрут передачи данных виртуальных машин. При конфигурации прокси-сервера необходимо проанализировать соединение между исходным хранилищем и прокси-сервером. Обратите внимание на следующие рекомендации:
- Если вы используете FC SAN, роль прокси-сервера следует назначить физическому серверу с прямым подключением к сети SAN по протоколу FC. Это позволит копировать данные, не создавая нагрузки на локальную сеть.
- При любой другой конфигурации рекомендуется назначить роль прокси-сервера виртуальной машине, размещенной на хосте ESX(i), который подключен к исходному хранилищу. Такой прокси-сервер обеспечит чтение данных, а также запись данных в хранилище без использования локальной сети.
Плюсом данного подхода также является то, что вам не потребуется выделять отдельный физический сервер для создания прокси-сервера.
- Выделите физическую или виртуальную машину под управлением Microsoft Windows, которая будет выполнять роль прокси-сервера.
- Убедитесь, что машина соответствует системным требованиям .
- Убедитесь, что машина имеет доступ к серверу резервного копирования, исходному хранилищу и репозиторию (для операций резервного копирования и восстановления), а также доступ к целевому хосту ESX(i) (для операций репликации).
- Убедитесь, что в брандмауэре открыты все необходимые порты. Для получения подробной информации см. раздел Используемые порты .
Конфигурация прокси-сервера выполняется в два этапа:
- Подключите к Veeam Backup & Replication машину, которая будет выполнять роль прокси-сервера.
- Назначьте роль прокси-сервера подключенной машине.
Чтобы подключить машину:
- Откройте представление Backup Infrastructure .
- В иерархии объектов щелкните правой кнопкой мыши по узлу Managed servers и выберите Add Server .
- В окне Add Server нажмите Microsoft Windows , чтобы запустить мастер New Windows Server .
- На шаге Name укажите доменное имя или IP-адрес машины под управлением Microsoft Windows.
- На шаге Credentials введите данные учетной записи с правами администратора на подключаемой машине. Для этого нажмите Add справа от поля Credentials и введите имя пользователя и пароль для учетной записи. Если вы уже вводили данные для этой учетной записи раньше, вы можете выбрать их в списке Credentials .
Имя пользователя должно указываться в формате ДОМЕН\ИМЯПОЛЬЗОВАТЕЛЯ для учетных записей домена или КОМПЬЮТЕР\ИМЯПОЛЬЗОВАТЕЛЯ для учетных записей локальных пользователей.
- Следуйте дальнейшим указаниям мастера.
- На последнем шаге мастера нажмите Finish , чтобы завершить операцию подключения машины.
Чтобы назначить машине роль прокси-сервера:
- Откройте представление Backup Infrastructure .
- В иерархии объектов щелкните правой кнопкой мыши по узлу Backup Proxies и выберите Add VMware Backup Proxy , чтобы запустить мастер New VMware Proxy .
- На шаге Server в списке Choose server выберите машину под управлением Microsoft Windows, которую вы только что подключили.
- В поле Transport mode рекомендуется оставить выбранной опцию Automatic selection . Veeam Backup & Replication проанализирует конфигурацию прокси-сервера, определит, к каким хранилищам у прокси-сервера есть доступ, и автоматически выберет оптимальный режим передачи данных.
- В поле Connected datastores рекомендуется оставить выбранной опцию Automatic detection .
- Следуйте дальнейшим указаниям мастера, не изменяя настройки по умолчанию.
- На последнем шаге мастера нажмите Finish , чтобы сохранить конфигурацию прокси-сервера.
- Откройте представление Backup Infrastructure .
- В иерархии объектов щелкните по узлу Backup Proxies .
- Убедитесь, что добавленный прокси-сервер отображается в рабочей области.
Источник
Veeam Backup and Replication 10 with Linux Proxy
With Veeam Backup and Replication 10, there will be a new feature that will greatly enhance the overall Veeam backup architecture without any additional cost. The feature’s name is Linux Proxy, and it will, basically, have the same function as Windows Proxy, which, until now, was the only way of using it.
You still won’t be able to install Veeam on Linux, even though many users would like to, but Linux Proxy will add significant flexibility to Veeam’s backup product.
There are some advantages compared to Window proxy:
- Linux has smaller disk footprint – usually the Linux distribution is smaller in size when installed on disks so you consume less disk space. If you have many Linux proxies, you might feel the difference.
- Linux does not need a license – yes, true, no additional cost for a license; so, again, many Linux proxies can save some money.
- Linux proxy can also act as a gateway server – the backup infrastructure usually has a gateway server when used with Shared folder backup repositories or with deduplication appliances. Veeam Backup creates a connection between the source Veeam Data Mover and target Veeam Data Mover, and transports data from/to backup repositories via gateway servers.
What is Veeam Proxy actually useful for?
Veeam proxy is a Veeam software component which is deployed and installed on Windows or Linux systems. This proxy component is located between the data source and the target, and it allows to offload some of the tasks, which are otherwise processed on the Veeam backup server.
- Compression
- Deduplication
- Encryption
- Retrieving VM data from production storage
- Sending VM data to backup repository
First, backup proxy is installed on the backup server itself, which is sufficient only for very small installations. If you have a medium or large environment, you’ll need more backup proxies.
With large architectures, the more proxies you have, the faster your backups will be able to be processed as backup proxies take care of the data traffic between the hypervisor (VMware vSphere or Microsoft Hyper-V) and the storage repository.
The proxy is also used during replication tasks, copy or migration tasks, or during restores; so if you’re using the replication feature of Veeam’s product to replicate your production VMs to remote site (or to the next building), you can benefit of the performance boost of Veeam proxy.
You can deploy a backup proxy to a Virtual machine (VM) or to a physical server. The installation is done remotely over the network via Veeam backup console.
So, in essence, the main goal of Veeam backup proxy is to facilitate the tasks of the main Veeam backup server which would, otherwise, become too busy to handle the load. Backup proxy optimizes data paths for backup traffic and makes the data transfers as efficient as possible.
Veeam Linux Proxy
The Red Hat, Ubuntu and Debian will most likely be the first Linux distributions to be supported. There might be other distros added later on. According to the latest testing, the top performer would be Ubuntu 19, Debian 10, followed by OpenSUSE 15.1 and Cent OS 8 (which is the least performant candidate).
Compared to Windows proxy, Linux proxy performs approximately at the same speed and performance level without having superior performance over Windows. However, with the evolution of Veeam’s products, we might see some further enhancements down the road since this will be v1 release only.
Once Veeam 10 is released, you’ll check the requirements for Linux proxy, but one of them is to secure the system by leaving open only the required ports, before deployment.
As for Operating System (OS) sizing, a VM with 2vCPU should be fine, together with 4Gigs of vRAM; but, again, check the requirements when the product will be released.
In order to add a new Linux proxy to your backup environment, you’ll have to go to Backup proxies > Right click > Add VMware backup proxy (if you’re willing to add VMware VM).
Add VMware backup proxy
And then select Linux as an OS.
Add Linux Proxy
Veeam will not provide a “ready-to-go” pre-packaged Linux appliances as many admins hope. No. The vanilla Ubuntu Linux server will have to be deployed and configured first, and only then you will be able to remotely “push” the installation over the network.
Linux proxy will be able to operate in network mode only while Windows proxy can also operate via direct storage access or virtual appliance mode.
Direct storage mode is when the proxy has a direct access to the storage on which the VMs are located or the storage where VM data is written. Like this, the backup proxy will retrieve the data directly from the datastore, bypassing your LAN and possible limitations of the throughput of your LAN.
Linux proxy also has support for application-aware processing so any DB or enterprise applications will be processed with the same criteria as on Windows.
VSAN from StarWind is software-defined storage (SDS) solution created with restricted budgets and maximum output in mind. It pulls close to 100% of IOPS from existing hardware, ensures high uptime and fault tolerance starting with just two nodes. StarWind VSAN is hypervisor and hardware agnostic, allowing you to forget about hardware restrictions and crazy expensive physical shared storage.
Build your infrastructure with off-the-shelf hardware, scale however you like, increase return on investment (ROI) and enjoy Enterprise-grade virtualization features and benefits at SMB price today!
Final words
Veeam continues the product improvement and, over the last decade, it has become the best backup and DR product for virtual (and now also physical environments) because support of physical Windows and Linux systems has been added.
The flexible Universal Licensing is now based on “per-instance” mode where you can have your workloads on-premises, in the cloud, virtual or physical.
Veeam Backup and Replication 10 will be available in Q1 2020 after a period of test in service provider’s environment.
Источник