Перейти к содержимому

Пошаговая инструкция по установке и настройке агента BackupExcec на сервер Linux.

  1. Сначала копируем дистрибутив агента (есть на диске с BE, либо тут) на сервер любым удобным способом, например при помощи WinSCP:

1

1

1.    На Linux-сервере заходим в папку куда скопировали агент, и распаковываем архив:

[root@testmom BackupExcec]# tar -xzvf RALUS_RMALS_RAMS-5204.4.tar.gz

2.    Заходим в распакованную папку и запускаем скрипт установки:

[root@testmom BackupExcec]# cd RALUS64
[root@testmom BackupExcec]# ./installralus

3.    Далее отвечаем по пунктам (нажатия с клавиатуры выделены жирным):

Enter the system names separated by spaces on which to install RALUS: Enter

Checking system communication:

Initial system check completed successfully.

Press [Return] to continue: Enter

installralus will install the following RALUS packages on Linux target system: testmom.ctmol.ru

VRTSralus Symantec Backup Exec Remote Agent for Linux/Unix Servers

Press [Return] to continue: Enter

Checking system installation requirements:

Checking RALUS installation requirements on Linux target systems: testmom.ctmol.ru

Checking RALUS installation requirements on testmom.ctmol.ru:

Installation requirements checks completed successfully.

Press [Return] to continue: Enter

To display the Remote Agent as a selection in a media server’s backup selection tree, and to be able to specify a local network for use between the Remote Agent and a media server, enter the names or IP addresses of the media servers that you want the Remote Agent on ‘testmom.ctmol.ru’ to communicate with.

An IP Address: XXX.XXX.XXX.XXX

A Host Name: COMPUTERNAME

Enter a directory host: 192.168.0.101 Тут вводим айпишник сервера Backup Exec

Do you want to add another name or address for this agent? [y, n] (n) Enter

Hostnames and/or IP addresses verification for ‘testmom.ctmol.ru’:

Address: 192.168.0.101

Is this information correct? [y, n] (y) Enter [stextbox id=”info”]

To perform backups, you must have a ‘beoper[На последующих нескольких шагах, установщик проверит наличие группы beoper и необходимых пользователей в ней и если нет, то создаст.] ‘ [/stextbox]

user group. This user group can be created only if you are not using NIS server. Your system ‘testmom.ctmol.ru’ will be scanned to detect a NIS server, group and membership.

Press [Return] to continue: Enter

The installer will now check your system for the ‘beoper’ user group and root membership.

Press [Return] to continue: Enter

Your system ‘testmom.ctmol.ru’ already has a required user group and membership.

Press [Return] to continue: Enter

Checking Symantec Backup Exec Remote Agent for Linux/Unix Servers on testmom.ctmol.ru:

Press [Return] to continue: Enter

Installing Symantec Backup Exec Remote Agent for Linux/Unix Servers on testmom.ctmol.ru:

Symantec Backup Exec Remote Agent for Linux/Unix Servers installation completed successfully.

Press [Return] to continue: Enter

Configuring Symantec Backup Exec Remote Agent for Linux/Unix Servers:

You must establish a trust relationship between the media server and the Linux or UNIX computer. Add the remote computer to the User-defined Selections in the backup selections list on the media server. Expand the selection tree to ensure that the trust relationship is validated.

Symantec Backup Exec Remote Agent for Linux/Unix Servers configured successfully.

Press [Return] to continue: Enter

4.    Необходимо включить пользователя из под которого работает база (в нашем случае oracle) в группу beoper (которая была создана на этапе установки агента)

[root@testmom RALUS64]# usermod -G beoper,dba oracle

5.    Далее конфигурируем агент:

[root@testmom RALUS64]# /opt/VRTSralus/bin/AgentConfig

Symantec Backup Exec Remote Agent Utility

Choose one of the following options:

1. Configure database access

2. Configure Oracle instance information

3. Quit

Please enter your selection: 1

Configuring machine information

Choose one of the following options:

1. Add system credentials for Oracle operations

2. Edit system credentials used for Oracle operations

3. Remove system credentials used for Oracle operations

4. View system credentials used for Oracle operations

5. Quit

Please enter your selection: 1

[stextbox id=”info”]Enter a user name that has local system credentials: oracle[Юзер, из под которого запускается бд] [/stextbox]

Enter the password:

Re-enter password:

Do you want to use a custom port to connect to the media server during Oracle operations? (Y/N): N

Commit Oracle operation settings to the configuration file? (Y/N): Y

SUCCESS: Successfully added the entry to the configuration file.

Configuring machine information

Choose one of the following options:

1. Add system credentials for Oracle operations

2. Edit system credentials used for Oracle operations

3. Remove system credentials used for Oracle operations

4. View system credentials used for Oracle operations

5. Quit

Please enter your selection: 5

Symantec Backup Exec Remote Agent Utility

Choose one of the following options:

1. Configure database access

2. Configure Oracle instance information

3. Quit

Please enter your selection: 2

Configuring the Oracle Agent

Choose one of the following options:

1. Add a new Oracle instance to protect

2. Edit an existing Oracle instance

3. Delete an existing Oracle instance

4. View Oracle instance entries that have been added in the Remote Agent Utility

5. Quit

Please enter your selection: 1

Select an Oracle instance to configure

Entry 1. retekdb

Entry 2. DEV

Enter the number 0 to go back

[stextbox id=”info”]    Enter your selection: 1[Выбираем необходимую базу.  Следующие три шага, необходимо провести для каждого инстанса Oracle] [/stextbox]

Enter the Oracle database SYSDBA user name: VTRETIAK

Enter the Oracle database SYSDBA password:

Re-enter password:

Validating credentials…….

[stextbox id=”info”]Enter the media server name or IP address: 192.168.0.101[Айпишник BE] [/stextbox]

Do you use a recovery catalog? (Y/N): N

Do you want to use a customized job template? (Y/N): N

Commit Oracle operation settings to the configuration file? (Y/N): Y

SUCCESS: Successfully added the entry to the configuration file.

Configuring the Oracle Agent

Choose one of the following options:

1. Add a new Oracle instance to protect

2. Edit an existing Oracle instance

3. Delete an existing Oracle instance

4. View Oracle instance entries that have been added in the Remote Agent Utility

5. Quit

Please enter your selection: 5

Symantec Backup Exec Remote Agent Utility

Choose one of the following options:

1. Configure database access

2. Configure Oracle instance information

3. Quit

Please enter your selection: 3

6.    Запускаем агент:

[root@testmom RALUS64]# /etc/init.d/VRTSralus.init start

На этом установка агента закончена.

На новых ядрах, агент после запуска может падать, необходимо подкинуть правленную библиотечку (libbesocket.so), лежит тут Подправленная библиотека для работы агента BE на Linux с новыми ядрами . Поменять тут: /opt/VRTSralus/bin/

7.      Далее настраиваем сервер Backup Exec.

Идем Сервис – Параметры – Oracle :

3

Нажимаем «Изменить список», «Создать» и вводим имя сервера, на который установлен BE:

4

Затем напротив поля Учетная запись нажимаем кнопку «Создать..» и, в открывшемся окне, снова нажимаем «Создать..» и в открывшемся окне вводим учетные данные пользователя oracle и нажимаем ок.

ОК и еще раз ОК, в итоге, мы должны увидеть следующее:5

Нажимаем ОК, закрываем настройки.

Переходим в Настройки заданий, и нажимаем «Создать задание»:

6

В открывшемся окне мы увидим ресурсы, с которым можем произвести резервное копирование, необходимо правой кнопкой нажать на ветке «Пользовательские ресурсы», и выбрать пункт «Управлять пользовательскими списками ресурсов»:

7

В открывшемся окне необходимо добавить наш сервер

8

После чего сервер появится в ветке «Пользовательские ресурсы».

Пытаемся развернуть ресурсы на на нем, после чего может появится ошибка:

9

Выбираем учетку Oracle.

Мы должны увидеть файловую систему и настроенные базы.

При попытке открыть базу, выпадет окно с ошибкой:

11

Тут необходимо выбрать учетку SYS базы данных оракл, если ее нет, нажимаем кнопку «Создать», вводим логин и пароль от пользователя SYS, после чего выбираем его и нажимаем ОК. После чего видим табличные пространства:12

Similar Posts:

4 комментария для “Пошаговая инструкция по установке и настройке агента BackupExcec на сервер Linux.”

  1. Может быть подскажите как правильно решить задачу?
    На Windows Server 2016 установлен сервер Backup Excec 20.
    Компьютеры с Виндовс добавляются отлично.
    Проблема с виртуальными машинами.
    Не получается добавить виртуальную машину Centos 7, которая находится
    на сервере Hyper-V под управлением Windows Server 2012R2. Сам сервер добавился в Backup Excec.
    Не могу найти толкового описания как это сделать.

  2. Делал все по вашей инструкции на сервере с операционной системой AIX 7.1 но когда дошел до пункта “Далее конфигурируем агент: [root@testmom RALUS64]# /opt/VRTSralus/bin/AgentConfig”
    то удивился, что такого файла просто нет.
    Не подскажете, как такое могло получиться и что делать

    1. Можно поискать где у вас лежит папка . find / -type d -name ‘VRTSralus’
      думаю что та не правильно установилось
      Попробуйте зонного агент поставить от root.

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *