()

Installing Veeam Agent on Oracle Linux 7.9

If you are using Veeam Backup Solution then your Backup Admin will request you to install Veeam Agent on your Server before Backup Admin can create or configure backup policy on Server. 


Follow below steps to install Veeam Agent in Oracle Linux 7.9.


Step 1. Download the Veeam software repository: Download the Veeam software repository installation package (veeam-release) from the Veeam Download page and save the downloaded package on the server where you plan to install the Veeam Agent.

Click on the link to login to Veeam Download Center: https://www.veeam.com/linux-backup-download.html

NOTE: You need to create Veeam Account if you don’t have it.

Select the below option and Click on Button GET LINK. Then click on the DOWNLOAD button to download repository rpm veeam-release-el7-1.0.8-1.x86_64.rpm.


Step 2. Install the veeam-release package: Copy veeam-release rpm to Server where you wish to install Veeam Agent. Use command rpm -ivh

[root@test-machine01~]#
[root@test-machine01~]# cat /etc/oracle-release
Oracle Linux Server release 7.9
[root@test-machine01~]# cd /tmp
[root@test-machine01 tmp]#
[root@test-machine01 tmp]# ls -ltr
-rw-r--r--. 1 root root   5362 Sep 20 12:23 veeam-release-el7-1.0.8-1.x86_64.rpm
[root@test-machine01 tmp]#
[root@test-machine01 tmp]# rpm -ivh ./veeam-release* && yum check-update
Preparing...                          ################################# [100%]
Updating / installing...
   1:veeam-release-el7-1.0.8-1        ################################# [100%]
Loaded plugins: langpacks, ulninfo
ol7_UEKR6                                                                                                                                                              | 3.0 kB  00:00:00
ol7_latest                                                                                                                                                             | 3.6 kB  00:00:00
veeam                                                                                                                                                                  | 3.3 kB  00:00:00
(1/6): ol7_latest/x86_64/group_gz                                                                                                                                      | 136 kB  00:00:01
(2/6): ol7_UEKR6/x86_64/updateinfo                                                                                                                                     | 317 kB  00:00:01
(3/6): veeam/primary_db                                                                                                                                                |  16 kB  00:00:00
(4/6): ol7_UEKR6/x86_64/primary_db                                                                                                                                     |  20 MB  00:00:03
(5/6): ol7_latest/x86_64/updateinfo                                                                                                                                    | 3.3 MB  00:00:05
(6/6): ol7_latest/x86_64/primary_db                                                                                                                                    |  36 MB  00:00:06
vim-common.x86_64                                                                2:7.4.629-8.0.1.el7_9                                                                              ol7_latest
vim-enhanced.x86_64                                                              2:7.4.629-8.0.1.el7_9                                                                              ol7_latest
vim-filesystem.x86_64                                                            2:7.4.629-8.0.1.el7_9                                                                              ol7_latest
vim-minimal.x86_64                                                               2:7.4.629-8.0.1.el7_9                                                                              ol7_latest
virt-what.x86_64                                                                 1.18-4.el7_9.1                                                                                     ol7_latest
wpa_supplicant.x86_64                                                            1:2.6-12.el7_9.2                                                                                   ol7_latest
xfsprogs.x86_64                                                                  5.4.0-1.0.1.el7                                                                                    ol7_UEKR6
zlib.x86_64                                                                      1.2.7-19.el7_9                                                                                     ol7_latest
[root@test-machine01 tmp]#


Step 3. Download dkms rpm: Please note before you install Veeam Agent RPM you need to install dkms rpm. If you try to install Veeam Agent rpm directly without dkms rpm you will receive the below errors.

[root@test-machine01 tmp]#
[root@test-machine01 tmp]# yum install veeamsnap
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package veeamsnap.noarch 0:5.0.0.4318-1 will be installed
--> Processing Dependency: kernel-devel for package: veeamsnap-5.0.0.4318-1.noarch
--> Processing Dependency: gcc for package: veeamsnap-5.0.0.4318-1.noarch
--> Processing Dependency: dkms for package: veeamsnap-5.0.0.4318-1.noarch
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-44.0.3.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-44.0.3.el7 for package: gcc-4.8.5-44.0.3.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-44.0.3.el7.x86_64
--> Processing Dependency: libmpfr.so.4()(64bit) for package: gcc-4.8.5-44.0.3.el7.x86_64
---> Package kernel-devel.x86_64 0:3.10.0-1160.42.2.el7 will be installed
---> Package veeamsnap.noarch 0:5.0.0.4318-1 will be installed
--> Processing Dependency: dkms for package: veeamsnap-5.0.0.4318-1.noarch
--> Running transaction check
---> Package cpp.x86_64 0:4.8.5-44.0.3.el7 will be installed
---> Package libmpc.x86_64 0:1.0.1-3.el7 will be installed
---> Package mpfr.x86_64 0:3.1.1-4.el7 will be installed
---> Package veeamsnap.noarch 0:5.0.0.4318-1 will be installed
--> Processing Dependency: dkms for package: veeamsnap-5.0.0.4318-1.noarch
--> Finished Dependency Resolution
Error: Package: veeamsnap-5.0.0.4318-1.noarch (veeam)
           Requires: dkms
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest
[root@test-machine01 tmp]#
[root@test-machine01 tmp]#


Login to Oracle EPEL URL: https://yum.oracle.com/repo/OracleLinux/OL7/developer_EPEL/x86_64/index.html
Download rpm: dkms-2.8.6-1.el7.noarch.rpm


Step 4. Install dkms and Other Dependent rpms: Copy dkms rpm to Server. Now at this point if we try to install dkms rpm Its failed to install due to rpm dependencies. So will first install dependencies and then try to install dkms.

[root@test-machine01 tmp]#
[root@test-machine01 tmp]# ls -ltr
-rw-r--r--. 1 root root   5362 Sep 20 12:23 veeam-release-el7-1.0.8-1.x86_64.rpm
-rw-r--r--. 1 root root  79316 Sep 20 13:20 dkms-2.8.6-1.el7.noarch.rpm
[root@test-machine01 tmp]#

[root@test-machine01 tmp]# rpm -ivh dkms-2.8.6-1.el7.noarch.rpm
error: Failed dependencies:
        elfutils-libelf-devel is needed by dkms-2.8.6-1.el7.noarch
        gcc is needed by dkms-2.8.6-1.el7.noarch
        kernel-devel-uname-r is needed by dkms-2.8.6-1.el7.noarch
[root@test-machine01 tmp]#
[root@test-machine01 tmp]#

[root@test-machine01 tmp]# yum install elfutils-libelf-devel
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel.x86_64 0:0.176-5.el7 will be installed
Installed:
  elfutils-libelf-devel.x86_64 0:0.176-5.el7

Dependency Installed:
  zlib-devel.x86_64 0:1.2.7-19.el7_9

Dependency Updated:
  zlib.x86_64 0:1.2.7-19.el7_9
Complete!

[root@test-machine01 tmp]# yum install gcc
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package gcc.x86_64 0:4.8.5-44.0.3.el7 will be installed
--> Processing Dependency: cpp = 4.8.5-44.0.3.el7 for package: gcc-4.8.5-44.0.3.el7.x86_64
--> Processing Dependency: libmpc.so.3()(64bit) for package: gcc-4.8.5-44.0.3.el7.x86_64
Installed:
  gcc.x86_64 0:4.8.5-44.0.3.el7

Dependency Installed:
  cpp.x86_64 0:4.8.5-44.0.3.el7                                    libmpc.x86_64 0:1.0.1-3.el7                                    mpfr.x86_64 0:3.1.1-4.el7

Complete!

[root@test-machine01 tmp]# yum install kernel-devel
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package kernel-devel.x86_64 0:3.10.0-1160.42.2.el7 will be installed
--> Finished Dependency Resolution
  Installing : kernel-devel-3.10.0-1160.42.2.el7.x86_64                                                                                                                                   1/1

  Verifying  : kernel-devel-3.10.0-1160.42.2.el7.x86_64                                                                                                                                   1/1

Installed:
  kernel-devel.x86_64 0:3.10.0-1160.42.2.el7

Complete!
[root@test-machine01 tmp]#

[root@test-machine01 tmp]#
[root@test-machine01 tmp]# rpm -ivh dkms-2.8.6-1.el7.noarch.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:dkms-2.8.6-1.el7                 ################################# [100%]
[root@test-machine01 tmp]#
[root@test-machine01 tmp]#


Step 5. Install Veeam Agent rpms: Once the above steps are done. We can go ahead with Veeam Agent rpms i.e. veeamsnap & veeam installations.

[root@test-machine01 tmp]# yum install veeamsnap
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package veeamsnap.noarch 0:5.0.0.4318-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================
 Package                                       Arch                                       Version                                             Repository                                 Size
==============================================================================================================================================================================================
Installing:
 veeamsnap                                     noarch                                     5.0.0.4318-1                                        veeam                                     113 k

Transaction Summary
==============================================================================================================================================================================================
Install  1 Package
Running transaction
Warning: RPMDB altered outside of yum.
  Installing : veeamsnap-5.0.0.4318-1.noarch                                                                                                                                              1/1
Loading new veeamsnap-5.0.0.4318 DKMS files...
Building for 5.4.17-2102.201.3.el7uek.x86_64
Module build for kernel 5.4.17-2102.201.3.el7uek.x86_64 was skipped since the
kernel headers for this kernel does not seem to be installed.
WARNING: Package not configured! See output!
warning: %post(veeamsnap-5.0.0.4318-1.noarch) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package veeamsnap-5.0.0.4318-1.noarch
  Verifying  : veeamsnap-5.0.0.4318-1.noarch                                                                                                                                              1/1

Installed:
  veeamsnap.noarch 0:5.0.0.4318-1

Complete!

[root@test-machine01 tmp]# yum install veeam
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package veeam.x86_64 0:5.0.0.4318-1.el7 will be installed
--> Processing Dependency: fuse-libs for package: veeam-5.0.0.4318-1.el7.x86_64
--> Running transaction check
---> Package fuse-libs.x86_64 0:2.9.4-1.0.9.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================================================
 Package                                     Arch                                     Version                                              Repository                                    Size
==============================================================================================================================================================================================
Installing:
 veeam                                       x86_64                                   5.0.0.4318-1.el7                                     veeam                                         69 M
Installing for dependencies:
 fuse-libs                                   x86_64                                   2.9.4-1.0.9.el7                                      ol7_latest                                    97 k

Transaction Summary
Transaction test succeeded
Running transaction
  Installing : fuse-libs-2.9.4-1.0.9.el7.x86_64                                                                                                                                           1/2
  Installing : veeam-5.0.0.4318-1.el7.x86_64                                                                                                                                              2/2
Created symlink from /etc/systemd/system/multi-user.target.wants/veeamservice.service to /usr/lib/systemd/system/veeamservice.service.
  Verifying  : veeam-5.0.0.4318-1.el7.x86_64                                                                                                                                              1/2
  Verifying  : fuse-libs-2.9.4-1.0.9.el7.x86_64                                                                                                                                           2/2

Installed:
  veeam.x86_64 0:5.0.0.4318-1.el7

Dependency Installed:
  fuse-libs.x86_64 0:2.9.4-1.0.9.el7

Complete!
[root@test-machine01 tmp]#


Step 6: Verify Veeam Agent is running: Use command systemctl status veeamservice to verify Veeam Agent status.

[root@test-machine01 tmp]#
[root@test-machine01 tmp]# systemctl status veeamservice
â veeamservice.service - Veeam Agent for Linux service daemon
   Loaded: loaded (/usr/lib/systemd/system/veeamservice.service; enabled; vendor preset: disabled)
   Active: active (running) since Mon 2021-09-20 13:29:56 +03; 1 day 23h ago
  Process: 138951 ExecStart=/usr/sbin/veeamservice --daemonize --pidfile=${PIDFILE} (code=exited, status=0/SUCCESS)
 Main PID: 138994 (veeamservice)
   CGroup: /system.slice/veeamservice.service
           ââ138994 /usr/sbin/veeamservice --pidfile /var/run/veeamservice.pid --daemon

Sep 20 13:29:56 jedloungedb1.saudiacatering.local systemd[1]: Starting Veeam Agent for Linux service daemon...
Sep 20 13:29:56 jedloungedb1.saudiacatering.local veeamservice[138994]: Service started.
Sep 20 13:29:56 jedloungedb1.saudiacatering.local veeamservice[138994]: Initializing log file [/var/log/veeam/veeamsvc.log].
Sep 20 13:29:56 jedloungedb1.saudiacatering.local systemd[1]: Started Veeam Agent for Linux service daemon.
[root@test-machine01 tmp]#


Reference: Installing Veeam Agent for Linux: https://helpcenter.veeam.com/docs/agentforlinux/userguide/installation_process.html?ver=50

Click here Step by Step Install Oracle Enterprise Linux (OEL) 7


This document is just for learning purpose and always validate in the LAB environment first before applying in the LIVE environment.


Hope so you like this article
!
Please share your valuable feedback/comments/subscribe and follow us below and don’t forget to click on the bell icon to get the most recent update. Click here to understand more about our pursuit.


Related Article


Loading

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

As you found this post useful...

Follow us on social media!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Jamsher Khan

Hello and welcome to DBsGuru,I’m Jamsher Khan working as Senior Oracle DBA based in KSA-Jeddah, I have working experience in Oracle DBA, SQL Server, MySql, PostgreSQL, Linux, Golden Gate, ODA.Thanks for the visits!Share Learn Grow!