NetBackup Deployment Template User Guide for Chef

Similar documents
NetBackup Deployment Template User Guide for System Center Configuration Manager (SCCM)

To configure the patching repository so that it can copy patches to alternate locations, use SFTP, SCP, FTP, NFS, or a premounted file system.

Venafi Server Agent Agent Overview

Administration Dashboard Installation Guide SQream Technologies

Upgrading an ObserveIT One-Click Installation

Upgrading CFEngine Nova A CFEngine Special Topics Handbook

Avamar EMC. Backup Clients User Guide. Version 7.4 and Service Packs REV 02

MULTI FACTOR AUTHENTICATION USING THE NETOP PORTAL. 31 January 2017

vrealize Business System Requirements Guide

Dell EMC Avamar Backup Clients

McAfee Endpoint Security Threat Prevention Installation Guide - Linux

Purpose. Target Audience. Solution Overview NCPA. Using NCPA For Passive Checks

Veritas NetBackup Getting Started Guide. Release 8.1

vrealize Hyperic Supported Configurations and System Requirements vrealize Hyperic 5.8.4

Universal Contact Server Manager. Release Notes 8.5.x

Performing an ObserveIT Upgrade Using the Interactive Installer

Veritas NetBackup Upgrade Guide. Release 8.1.2

Oracle Collaboration Suite

Inside WebSphere Application Server

vrealize Hyperic Supported Configurations and System Requirements

Veritas NetBackup Installation Guide

Teamcenter Installation on Linux Clients Guide. Publication Number PLM00010 J

Cloudera Manager Quick Start Guide

Veritas NetBackup Getting Started Guide. Release 8.0

HP Data Protector 8.00 Platform and Integration Support Matrix

PRODUCT DOCUMENTATION. Backup & Replication v5.0. User Guide.

Workplace 2.4.0p1. Community Edition Getting started

Installing SmartSense on HDP

Best practices on deployment of IBM Rational. servers

GIT. A free and open source distributed version control system. User Guide. January, Department of Computer Science and Engineering

This tutorial provides a basic understanding of the infrastructure and fundamental concepts of managing an infrastructure using Chef.

NetBackup Media Server Migration Guide

Veritas NetBackup Enterprise Server and Server 6.x OS Software Compatibility List

Oracle Fusion Middleware

Yealink Device Management Platform Quick Start Guide. Applies to version or later

Server Monitoring. AppDynamics Pro Documentation. Version 4.1.x. Page 1

Massey University Follow Me Printer Setup for Linux systems

VMware AirWatch Content Gateway for Linux. VMware Workspace ONE UEM 1811 Unified Access Gateway

Veritas NetBackup Appliance Upgrade Guide

Legal Notices. Support Visit the HPE Software Support site at

Rational Performance Tester, Version 7.0

Storage Foundation Management Server: Technical FAQ July 2006

SNMP Master Agent. Release Notes 8.5.x

10.4 infinity Release Notes

============================================================ About this release:

Contents Overview... 5 Upgrading Primavera Gateway... 7 Using Gateway Configuration Utilities... 9

Server Automation. Software Version: User Guide: Server Patching

Deep Security 9.6 SP1 Supported Features by Platform

Infoblox Kubernetes1.0.0 IPAM Plugin

Veritas NetBackup Enterprise Server and Server x OS Software Compatibility List

SiteScope Adapter for HP OpenView Operations

Sun OpenSSO Enterprise Policy Agent 3.0 Guide for Apache HTTP Server 2.2.x

HPE Network Virtualization

VMware AirWatch Content Gateway Guide for Linux For Linux

Redhat OpenStack 5.0 and PLUMgrid OpenStack Networking Suite 2.0 Installation Hands-on lab guide

Dell OpenManage Deployment Toolkit Version 5.3 Installation Guide

HP Library and Tape Tools 4.20 Release Notes

Deep Security 9.5 SP1 Supported Features by Platform

HPE Storage Optimizer

Frequently Asked Questions

Veritas Storage Foundation Basic - Technical FAQ January 2009

Installation Guide BoKS Manager 7.2

Quick Start Guide for Integrating Ziften Zenith and Microsoft Windows Defender ATP

Notes for Installing RedHawk Linux 7.0 with Red Hat Enterprise Linux 7.0. Installation Notes. March 22 nd, 2015

Using the vrealize Orchestrator Chef Plug-In 1.0

HPE Data Protector 8.10 Platform and Integration Support Matrix

Connecting to a Tactical Subject Using The F-Response Accelerator on Linux

Oracle iplanet Web Server Integration Guide

Ekran System v.5.5 Getting Started

HPE Storage Optimizer

Linux Essentials Objectives Topics:

InstallAnywhere: Requirements

Applies to: SECURE WEB Version 1.3 and above

Let s manage agents. Tom Sightler, Principal Solutions Architect Dmitry Popov, Product Management

Symantec NetBackup Getting Started Guide. Release 7.7.1

Downloading and installing Db2 Developer Community Edition on Ubuntu Linux Roger E. Sanders Yujing Ke Published on October 24, 2018

ClearTrigger/ClearTrigger Lite Version Installation Guide

IBM BigFix Version 9.5. Patch for Red Hat Enterprise Linux User's Guide IBM

Deep Security 9.6 Supported Features by Platform

Veritas NetBackup Appliance Upgrade Guide

Upgrading Software with IBM Content Manager Enterprise Edition Version 8.5

Virtual Data Center (vdc) Manual

Table of Contents Release Notes 2013/03/25. Introduction in OS Deployment Manager. in Security Manager System Requirements

Dell EMC OpenManage Deployment Toolkit Version 6.1. Installation Guide

EMC Smarts SAM, IP, ESM, MPLS, NPM, OTM, and VoIP Managers 9.5 Support Matrix

Deploying Code42 CrashPlan with Jamf Pro. Technical Paper Jamf Pro 9.0 or Later 21 January 2019

CLEO VLTrader Made Simple Guide

Veritas Deployment Manager User's Guide

Product Information for etrust Audit Components

Tech Note on Cisco C880 Emulex HBA Driver Update Procedure

BEAAquaLogic. Interaction Studio. Installation and Upgrade Guide

Symantec NetBackup PureDisk Compatibility Matrix Created August 26, 2010

CounterACT Macintosh/Linux Property Scanner Plugin

VMware AirWatch Content Gateway Guide for Linux For Linux. AirWatch v9.3

IBM Endpoint Manager. OS Deployment V3.5 User's Guide

Integra Codebase 4.2 SP1 Installation and Upgrade Guide

VisiBroker 8.5. Installation Guide

Unified Infrastructure Management Compatibility Matrix September 05, 2017

IBM Endpoint Manager. OS Deployment V3.8 User's Guide - DRAFT for Beta V.1.0 (do not distribute)

Altova LicenseServer. User and Reference Manual

Transcription:

NetBackup Deployment Template User Guide for Chef September 25, 2017

Third-party mass-deployment tools such as Chef and System Center Configuration Manager (SCCM) make deploying software on different platforms much easier. These tools help to configure systems, to deploy software, and to orchestrate more advanced IT tasks such as continuous deployments and performance of custom actions before and after deployments. NetBackup clients are available for platforms such as Linux, Solaris, AIX, HP-UX, and Windows that have different deployment methods. Chef and similar tools let customers use remote webservers, network shares, or local drives to deploy NetBackup clients. The tools also perform some custom actions to obtain NetBackup environment details and to update the exclude list and the include list details. Chef supports most NetBackup platforms. Veritas has developed deployment templates for Chef that you can use to deploy NetBackup clients. Setup and Prerequisites The following architecture diagram shows how the Chef environment can deploy NetBackup clients. 2

Hardware requirements The machines required in the architecture are as follows: The Chef workstation, where you create NetBackup deployment cookbooks for different platform The Chef server, which maintains cookbooks and performs operations on the NetBackup clients The nodes or NetBackup clients The NetBackup package server, a web server that provides the NetBackup packages to the NetBackup clients The NetBackup package network share, a network share that provides NetBackup packages to the NetBackup clients Software requirements Ensure that the Chef client is installed on all the NetBackup clients. Ensure that Curl is available on all NetBackup clients that communicate to the NetBackup Package Server Chef must be Chef 12.0 or later Linux, Solaris x86 and SPARC, and AIX platforms are supported. See the NetBackup Software Compatibility list for specific versions that NetBackup supports: https://netbackup.com/compatibility Deploying NetBackup clients using Chef deployment templates Chef cookbooks, or deployment templates, contain recipes, metadata, attributes, resources, templates, and libraries that assists in creating a functioning system. The cookbook s attributes recipes, and templates are the core of NetBackup client deployment. Note: The Chef cookbook name for the NetBackup client deployment is nbu_client. Creating the Chef cookbook Chef must be running to set up the cookbook. To set up the Chef cookbook 1. On the Chef workstation, create the cookbook: chef cookbook generate nbu_client 2. Download the nbu_client cookbook.tar file from SORT, as follows: https://sort.veritas.com/utility/netbackup/deployment 3. Extract the nbu_client cookbook.tar file to a temporary location. 3

4. Replace the attributes, recipe, and templates directory from the extracted folder with the nbu_client cookbook created on the Chef workstation, as shown in the following example: 5. In the recipes directory, upload the nbu_client cookbook to the Chef server, as follows: Setting up the NetBackup configuration files The next step in the deployment is to ensure that the NetBackup configuration files are properly set up. You must create the configuration files for each platform and keep them in a temporary directory. To update the NetBackup configuration files 1. For each platform you use, create a client_config.conf file that contains the list of clients. Provide the name of the NetBackup master server to which the clients will connect, the client names, and whether to start services. Following is an example: Client, Master server, Services nbuclient1.deploy.nbu, nbumaster.deploy.nbu, yes nbuclient2.deploy.nbu, nbumaster.deploy.nbu, no 4

2. For each platform you use, create a client_config.conf file that contains the list of NetBackup master servers. Provide the master server names; for NetBackup 8.1, also provide their certificate fingerprints and their authorization tokens as required by the NetBackup version. Following is an example: Master server, CA_CERTIFICATE_FINGERPRINT, AUTHORIZATION_TOKEN nbumaster1.deploy.nbu,aaaaa,bbbbb nbuclient2.deploy.nbu,xxxxxxx,yyyyyyy 3. For each platform you use, create exclude_list and include_list files, if you want to set default entries. These parameters are set for your NetBackup clients after installation is complete. Setting up the NetBackup client package for Linux The next step in the deployment is to set up the client package. Instructions that follow in this section are for RPM, Yum repositories, network share, and local client on Linux. To set up Linux installation from the NetBackup package web server using RPM 1. On the NetBackup package web server, create a directory for each NetBackup version. Following is a RedHat Linux example: cp NetBackup_8.0_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedH at2.6.18 <web_server_location>/deploy/redhat/nbu-8.0 2. Ensure that you can access the packages from the HTTP URL of the NetBackup package web server: http://installvm.company.com/deploy/redhat/nbu-8.0 3. Update the attributes in the attributes/default.rb file for the nbu_client cookbook. For example, edit Linux Package Details and set the following attributes: default['package_server'] = 'http://installvm.company.com' default['nbu_linux_client']['use_webserver_version'] = true default['nbu_linux_client']['rhel_remote_path_xx'] = 'deploy/rhel' default['nbu_linux_client']['suse_remote_path_xx'] = 'deploy/suse' default['nbu_linux_client']['zrhel_remote_path_xx'] = 'deploy/rhel/s390x' default['nbu_linux_client']['zsuse_remote_path_xx'] = 'deploy/suse/s390x' 4. Copy the NetBackup configuration files to the package directories you created. 5. After you have modified the attributes, upload the cookbook to the Chef server: To set up Linux installation from the NetBackup package web server using Yum repositories 1. On the NetBackup package web server, create a directory for each NetBackup version. Following is a RedHat Linux example: cp NetBackup_8.0_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedH at2.6.18 <web_server_location>/deploy/redhat/nbu-8.0 5

2. Create the Yum repository and share it on the NetBackup client nodes. Refer to the linux_yum_install_xx.rb recipe for instructions on how to create the repository. 3. Ensure that you can access the packages from the HTTP URL of the NetBackup package web server: http://installvm.company.com/deploy/redhat/nbu-8.0 4. Update the attributes in the attributes/default.rb file for the nbu_client cookbook. For example, edit Linux Package Details and set the following attributes: default['package_server'] = 'http://installvm.company.com' default['nbu_linux_client']['use_webserver_version'] = true default['nbu_linux_client']['rhel_yum_repo'] = 'repo_name' default['nbu_linux_client']['suse_yum_repo'] = 'repo_name' 5. Copy the NetBackup configuration files to the package directories you created. 6. After you have modified the attributes, upload the cookbook to the Chef server: To set up Linux installation from a network (NFS) share 1. Create a directory on the share for each NetBackup for each Linux platform. Following is a RedHat Linux example: cp NetBackup_8.0_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedH at2.6.18 <web_server_location>/deploy/redhat/nbu-8.0 2. Ensure that you can mount the package directory on the NetBackup client node, as in the following example: Mount installvm.company.com:/deploy/redhat /mnt 3. Update the attributes in the attributes/default.rb file for the nbu_client cookbook. For example, edit Linux Package Details and set the following attributes: default['package_server'] = 'http://installvm.company.com' default['nbu_linux_client']['use_webserver_version'] = true default['nbu_linux_client']['rhel_mount_path_xx'] = '/deploy/rhel' default['nbu_linux_client']['suse_mount_path_xx'] = '/deploy/suse' default['nbu_linux_client']['zrhel_mount_path_xx'] = '/deploy/rhel' default['nbu_linux_client']['zsuse_mount_path_xx'] = '/deploy/suse' 4. Copy the NetBackup configuration files to the package directories you created. 5. After you have modified the attributes, upload the cookbook to the Chef server: To set up Linux installation from a local path 1. Create a directory on the NetBackup client and copy the packages there. Following is a RedHat Linux example: cp NetBackup_8.0_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedH at2.6.18 /tmp/ RHEL_PACKAGE 6

2. Ensure that you can mount the package directory on the NetBackup client node, as in the following example: mount installvm.company.com:/deploy/redhat /mnt 3. Update the attributes in the attributes/default.rb file for the nbu_client cookbook. For example, edit Linux Package Details and set the following attributes: # For 8.0 and 8.1 set Master server name, start service flag default['masterserver'] = 'nbumaster.deploy.nbu' default['startservices'] = 'yes' # For 8.1 set CA_CERTIFICATE_FINGERPRINT and AUTHORIZATION_TOKEN default['ca_certificate_fingerprint'] = '' default['authorization_token'] = '' default['nbu_linux_client']['use_local_version'] = false default['nbu_linux_client']['rhel_local_path'] = '/tmp/rhel_package' default['nbu_linux_client']['debian_local_path'] = '/tmp/debian_package' default['nbu_linux_client']['suse_local_path'] = '/tmp/suse_package' 4. After you have modified the attributes, upload the cookbook to the Chef server: Setting up the NetBackup client package for Solaris The instructions that follow in this section are for setting up and a network share or local client on Solaris. To set up Solaris installation from a network (NFS) share 1. Create a directory on the network share and copy the packages from the NetBackup installation CD into the directory, as in the following example: #NetBackup 8.0 - copy the packages from CD cp NetBackup_8.0_CLIENTS1 <mount path>/deploy/solaris/x86/nbu-8.0 #NetBackup 8.1 - copy the packages from CD cp NetBackup_8.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/So laris_x86_10_64 <mount path>/deploy/solaris/x86/nbu-8.1 2. For NetBackup 8.1, extract the packages using the following command: gunzip <package_name>.pkg.gz Create a directory on the network share and copy the packages to that directory. 3. Ensure that you can mount the package directory on the NetBackup client node, as in the following example: mount installvm.company.com:/deploy/solaris/x86/nbu-8.0 /mnt 7

4. Update the attributes in the attributes/default.rb file for the nbu_client cookbook. For example, edit Solaris Package Details and set the following attributes: node['nbu_solaris_client']['use_mount_path_version'] = true node['nbu_solaris_client']['x86_mount_path_xx'] = 'installvm.company.com:/deploy/xxxx' node['nbu_solaris_client']['sparc_mount_path_xx'] = 'installvm.company.com:/deploy/xxxx'' 5. Copy the NetBackup configuration files to the package directories you created. 6. After you have modified the attributes, upload the cookbook to the Chef server: To set up Solaris installation from a local path 1. Create a directory on the NetBackup client and copy the packages from the NetBackup installation CD into the directory, as in the following example: #NetBackup 8.0 - copy the packages from CD cp NetBackup_8.0_CLIENTS1 /tmp/solaris #NetBackup 8.1 - copy the packages from CD cp NetBackup_8.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/Solaris/So laris_x86_10_64 /tmp/solaris 2. For NetBackup 8.1, extract the packages using the following command: gunzip <package_name>.pkg.gz Create a directory on the client and copy the packages to that directory. 3. Update the attributes in the attributes/default.rb file for the nbu_client cookbook. For example, edit Solaris Package Details and set the following attributes: # For 8.0 and 8.1 set Master server name, start service flag default['masterserver'] = 'nbumaster.deploy.nbu' default['startservices'] = 'yes' # For 8.1 set CA_CERTIFICATE_FINGERPRINT and AUTHORIZATION_TOKEN default['ca_certificate_fingerprint'] = '' default['authorization_token'] = '' node['nbu_solaris_client']['use_local_version'] = true node['nbu_solaris_client']['pkg_local_path'] = '/tmp/solaris' 4. After you have modified the attributes, upload the cookbook to the Chef server: Setting up the NetBackup client package for AIX The instructions that follow in this section are for setting up and a network share or local client on AIX. To set up AIX installation from a network (NFS) share 8

1. Create a directory on the network share and copy the packages from the NetBackup installation CD into the directory, as in the following example: #NetBackup 8.0 - copy the packages from CD cp NetBackup_8.0_CLIENTS1 <mount path>/deploy/aix/nbu-8.0 #NetBackup 8.1 - copy the packages from CD cp NetBackup_8.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/RS6000/ AIX <mount path>/deploy/aix/nbu-8.1 2. For NetBackup 8.1, extract the packages using the following command: gunzip <package_name>.image.gz Create a directory on the network share and copy the packages to that directory. 3. Ensure that you can mount the package directory on the NetBackup client node, as in the following example: mount installvm.company.com:/deploy/aix /mnt 4. Update the attributes in the attributes/default.rb file for the nbu_client cookbook. For example, edit AIX Package Details and set the following attributes: default['nbu_aix_client']['use_mount_path_version'] = true default['nbu_aix_client']['aix_mount_path_xx'] = 'installvm.company.com:/deploy/xxxx' 5. Copy the NetBackup configuration files to the package directories you created. 6. After you have modified the attributes, upload the cookbook to the Chef server: To set up AIX installation from a local path 1. Create a directory on the NetBackup client and copy the packages from the NetBackup installation CD into the directory, as in the following example: #NetBackup 8.0 - copy the packages from CD cp NetBackup_8.0_CLIENTS1 /tmp/aix #NetBackup 8.1 - copy the packages from CD cp NetBackup_8.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/RS6000/ AIX /tmp/aix 2. For NetBackup 8.1, extract the packages using the following command: gunzip <package_name>.image.gz Create a directory on the client and copy the packages to that directory. 9

3. Update the attributes in the attributes/default.rb file for the nbu_client cookbook. For example, edit AIX Package Details and set the following attributes: # For 8.0 and 8.1 set Master server name, start service flag default['masterserver'] = 'nbumaster.deploy.nbu' default['startservices'] = 'yes' # For 8.1 set CA_CERTIFICATE_FINGERPRINT and AUTHORIZATION_TOKEN default['ca_certificate_fingerprint'] = '' default['authorization_token'] = '' node['nbu_aix_client']['use_local_version'] = true node['nbu_aix_client']['aix_local_path'] = '/tmp/aix' 4. After you have modified the attributes, upload the cookbook to the Chef server: 10

Deploying the NetBackup Clients The nbu_client cookbook uses the following recipes for client installations, uninstallations and upgrades. Chef recipes contain information about the process of deploying the NetBackup client. The recipes are specific to a platform and a NetBackup version to perform operations like install, uninstall, and upgrade. Following is the default recipe: Recipe Name default.rb aix_install_8_0.rb aix_uninstall_8_0.rb aix_image_install_8_1.rb aix_image_uninstall_8_1.rb aix_image_upgrade_8_1.rb linux_debian_or_ubuntu_8_0_install.rb Description Default recipe to check version of machine platform AIX 8.0 client installation using install script AIX 8.0 client uninstallation AIX 8.1 client installation using native package AIX 8.1 client uninstallation AIX 8.1 client upgrade using native package Linux DEBIAN, UBUNTU 8.0 client installation using install script linux_debian_or_ubuntu_8_1_install.rb Linux DEBIAN, UBUNTU 8.1 client installation using install script linux_rpm_install_8_0.rb linux_rpm_install_8_1.rb linux_rpm_upgrade_8_0.rb linux_rpm_upgrade_8_1.rb linux_yum_install_8_0.rb linux_yum_install_8_1.rb linux_yum_upgrade_8_1.rb linux_uninstall.rb solaris_install_8_0.rb solaris_uninstall_8_0.rb solaris_pkg_install_8_1.rb solaris_pkg_uninstall_8_1.rb Linux RHEL, SUSE, CENTOS 8.0 client installation using native package Linux RHEL, SUSE, CENTOS 8.1 client installation using native package Linux RHEL, SUSE, CENTOS 8.0 client upgrade using native package Linux RHEL, SUSE, CENTOS 8.1 client upgrade using native package Linux RHEL, SUSE, CENTOS 8.0 client installation using yum package Linux RHEL, SUSE, CENTOS 8.1 client installation using yum package Linux RHEL, SUSE, CENTOS 8.0 client upgrade using yum package Linux RHEL, SUSE, CENTOS, DEBIAN, UBUNTU 8.0/8.1 client uninstallation Solaris 8.0 client installation using install script Solaris 8.0 client uninstallation Solaris 8.1 client installation using native package Solaris 8.1 client uninstallation 11

solaris_pkg_upgrade_8_1.rb eeb_install.rb Solaris 8.1 client upgrade using native package Install EEB on NetBackup client To Deploy NetBackup Clients 1. Open the Chef server in your browser and login: https://chef-server 2. Select the Nodes tab on the Chef server website: 12

3. Select the node to deploy and click Edit Run List. Type the platform name in the Available Recipes to search the recipes. 4. Select recipe from drag and drop to the Current Run List. Click Save Run List. 5. Go to the NetBackup client and run the chef-client command to deploy the node. 13

Each recipe performs the following actions: 1. Validation Check for a valid platform Check whether a previous version if NetBackup version is installed. If a master or media server exists, exit the installation 2. Per-install customer actions Create the NBInstallAnswer.conf file If this is a NetBackup Package Server installation, get the client details and security information 3. Installation Performs the installation per the selected platform and installation method 4. Post installation customer actions Start NetBackup services if they are not started Display the deployed packages information Cleanup the created files or scripts 14