On this article we will learn how to run and deploy Netbackup 9.1 client on Docker Communitiy Edition (CE).
Veritas Netbackup 9.1 is the latest version of Netbackup, an enterprise backup solution. Netbackup 9.1 come with several new features, such as : Kubernetes protection, supporting for MongoDB version 4.4, Ransomware resiliency and so on. On this article we will learn how to run Netbackup 9.1 client on Docker Community Edtion.
The article will focus on how to use and manage Netbackup 9.1 client on Docker, the contents of this article are:
- Pulling Netbackup 9.1 Client repository for Docker
- Creating Container
- Testing Netbackup 9.1 Client
- Docker was installed and running. As a set of PaaS (Platform as a Service), Docker uses OS-level virtualization to deliver software in packages called containers. On our labs, we will use Docker version 20.10.8, build 3967b7d.
- Internet connection for accessing Netbackup 9.1 source.
Pulling Netbackup 9.1 Client Repsotiry
The first step of using Netbackup client on DOcker is to pull its repository to our Docker. For this purpose, we will use the command line :
sudo docker pull store/veritasnetbackup/client:9.1.
[ramansah@otodiginet ~]$ sudo docker pull store/veritasnetbackup/client:9.1 9.1: Pulling from store/veritasnetbackup/client 7dc0dca2b151: Pull complete 73a0fcba5c3f: Pull complete 86844d67eef8: Pull complete e1218139c181: Pull complete e8a03f110c03: Pull complete 52b41980407f: Pull complete 0a1cf99b9059: Pull complete 9da0bb37ea95: Pull complete Digest: sha256:44ea303d1a0060f1214531939f64e9a2f4b31c8b451073bca870f74701793ee9 Status: Downloaded newer image for store/veritasnetbackup/client:9.1 docker.io/store/veritasnetbackup/client:9.1
Then verify if the image has been downloaded on our Docker, by sumbitting command line :
sudo docker images.
[ramansah@otodiginet ~]$ sudo docker images [sudo] password for ramansah: REPOSITORY TAG IMAGE ID CREATED SIZE store/veritasnetbackup/client 9.1 5bd7bf9ff13e 3 months ago 1.28GB hello-world latest d1165f221234 6 months ago 13.3kB
After, the images was registered, then we will run it to be a container by submitting command line :
sudo docker run -d --name netbackupclient01 5bd7bf9ff13e -M netbackupmaster.
[ramansah@otodiginet ~]$ sudo docker run -d --name netbackupclient01 5bd7bf9ff13e -M netbackupmaster 9b5d6312bf519eed86c3a71d525cc83716f6fefc1bb92df28c7a622c350ad947
Then we will verify, if the Netbackup client container has been running properly on the system, by typing command line :
sudo docker ps.
[ramansah@otodiginet ~]$ sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 9b5d6312bf51 5bd7bf9ff13e "/entrypoint.sh -M n…" 14 seconds ago Up 13 seconds (health: starting) 1556/tcp, 13724/tcp netbackupclient01
Testing Netbackup 9.1 Client
After the container was created and running, then we will execute Netbackup application and test it by executing several command line which is owned by Netbackup client.
[ramansah@otodiginet ~]$ sudo docker exec -it netbackupclient01 bash
OnShowing Netbackup 9.1 client daemon
On this article, I will show you to display Netbackup daemon by typing command line
[root@10e07278b8c4 openv]# cd netbackup/bin [root@10e07278b8c4 bin]# ./bpps -a NB Processes ------------ root 73 1 0 05:56 ? 00:00:00 /usr/openv/netbackup/bin/vnetd -standalone root 81 1 0 05:56 ? 00:00:00 /usr/openv/netbackup/bin/vnetd -proxy inbound_proxy -number 0 root 82 1 0 05:56 ? 00:00:00 /usr/openv/netbackup/bin/vnetd -proxy outbound_proxy -number 0 root 84 1 0 05:56 ? 00:00:00 /usr/openv/netbackup/bin/bpcd -standalone root 144 84 0 05:56 ? 00:00:00 /usr/openv/netbackup/bin/bpclntcmd -clean_old_logs root 194 1 0 05:56 ? 00:00:00 /usr/openv/netbackup/bin/nbdisco root 237 1 0 05:56 ? 00:00:00 /usr/openv/netbackup/bin/bpclntcmd -crl_download
Checking netbackup version, by opening version.txt file.
root@9b5d6312bf51 bin]# more version NetBackup-RedHat2.6.32 9.1
On another example, we will try to backup some files with Netbackup function. We will use command line :
Overall, we get thOverall, we can use running netbackup client 9.1 as a container just fine in docker.
On this article we have shown you how to run Netbackup 9.1 client on Docker Community Edition (CE). Here are several command line that we use on the labs. :
- sudo docker pull store/veritasnetbackup/client:9.1.
- sudo docker images
- sudo docker run -d –name netbackupclient01 9.1 -M netbackupmaster
- sudo docker ps
- sudo docker exec -it netbackupclient01 bash
For detailed Netbackup 9.1 client installation can be found on Vertias Netbackup official website.