Netbackup Configuring NDMP

Contents

11  Configuring NDMP

11.1  Configuration Process

11.2  Enabling NDMP of the VTL6000

11.3  Configuring NDMP Services on the NDMP Host

11.4  Installing the NetBackup for NDMP component

11.5  Configuring NDMP Host in NetBackup

11.6  Configuring NDMP Storage in NetBackup

11.7  Creating a NDMP Backup Policy

11.8  Running the NDMP Backup

11.9  Implementing the NDMP Restoration

Figures

Figure 11-1  NetBackup +VTL+NetApp NDMP-based backup and recovery

Figure 11-2  NDMP 3-Way backup networking

Figure 11-3  CLI login interface

Figure 11-4  Entering NDMP user information

Figure 11-5  Assign a Client Wizard

Figure 11-6  Confirming the information

Figure 11-7  Authenticating the NetBackup to access the VTL server through the NDMP

Figure 11-8  Authenticating the NetBackup to access the NetApp host through the NDMP

Figure 11-9  Viewing the authenticated NDMP hosts

Figure 11-10  NDMP hosts that can be accessed by NetBackup

Figure 11-11  Selecting a NDMP host that can be accessed by NetBackup

Figure 11-12  NDMP hosts that can be accessed by NetBackup

Figure 11-13  Confirming the configurations of the tape library and tape drive

Figure 11-14  Choosing Inventory Robot

Figure 11-15  Viewing the tape list

Figure 11-16  New Storage Unit interface

Figure 11-17  Creating a NDMP backup policy

Figure 11-18  Add a New Policy dialog box

Figure 11-19  Add New Policy-ndmp dialog box

Figure 11-20  Client Hardware and Operating System dialog box

Figure 11-21  Change Policy-ndmp dialog box

Figure 11-22  Manual Backup shortcut menu

Figure 11-23  Interface indicating that the backup operation completes

Figure 11-24  NetBackup operation restoration interface

Figure 11-25  Selecing a policy type of restoration

Figure 11-26  NetBackup Backup, Archive, and Restore

Figure 11-27  Starting the restoration operation

11  Configuring NDMP

This chapter describes how to configure NDMP-based backup recovery on the VTL6000.

11.1  Configuration Process

This section describes the configuration process of backup and recovery based on the NDMP function of NetBackup and that of the VTL6000.

Figure 11-1 shows the configuration process.

Figure 11-1  NetBackup +VTL+NetApp NDMP-based backup and recovery 

Enabling NDMP of the VTL6000

This section describes how to enable the NDMP function of the VTL6000.

Context

When the 3-WAY backup mode is used, you need to enable the NDMP function of the VTL6000. Figure 11-2 shows the networking.

Figure 11-2  NDMP 3-Way backup networking 

In this figure, NetBackup for NDMP Server is an NBU Master/Media server installed with NetBackup for NDMP, NDMP host is a host that runs the applications of the NDMP server. The host is usually a NAS that provides file services through a protocol (HTTP, FTP, CIFS, or NFS).

The NDMP host serves as a NetBackup client, but it does not need to be installed with the NetBackup client software. The NetBackup for NDMP Server is an NDMP client, and it sends commands to the applications of the NDMP server (through the NDMP protocol) and controls the backup/recovery operations on the NDMP host.

In the VTL6000, when the NDMP function is enabled, the Hosted Backup function is enabled automatically at the same time. After being assigned with virtual tape libraries, the VTL acts as an NDMP host mounted with tape libraries. Under the control of the NetBackup for NDMP Server, backup data is moved from another NDMP host directly to the virtual tape library.

Procedure

  1. Use the Putty software log in to the VTL6000 Engine on the CLI, as shown in Figure 11-3.

    Figure 11-3  CLI login interface 

    1. Enter the IP address in the Host Name text box, enter 22 in the Port text box, and select SSH as the protocol. Then click Open.
    2. Define the host name of the VTL Engine in the IP address Host Name format in the /etc/hosts file, for example 129.28.129.199 vtl199.
  2. In the navigation tree on the VTL6000 Console, right-click VTL Engine. Choose Options > Enable NDMP from the shortcut menu, and the dialog box shown in Figure 11-4 is displayed. Enter the user name and password.

    Figure 11-4  Entering NDMP user information 

     NOTE:

    The user name and password are used by the NDMP for interaction with the backup server. The NDMP module of the backup software accesses the VTL server through the user name and password.

    The NDMP user name and password do not need to be the system user name and password, and can be user-defined. After defining the user name and password, memorize them, as you will use them to authenticated the NetBakcup backup software for accessing the VTL server through the NDMP.

  3. Click OK.
  4. In the navigation tree of the VTL6000 Console, select SAN Clients, and right-click HostedBackupClient. Choose Assign from the shortcut menu. Selecting the library to be assigned, as shown in Figure 11-5.

    Figure 11-5  Assign a Client Wizard 

     NOTE:

    HostedBackupClient can have multiple virtual libraries assigned to it. Conversely, libraries assigned to the HostedBackupClient can also be assigned to other clients.

  5. Click Next to confirm the configuration, as shown in Figure 11-6.

    Figure 11-6  Confirming the information 

  6. Click Finish.

Configuring NDMP Services on the NDMP Host

This section describes how to configure NDMP services on the NDMP host.

Prerequisite

The NDMP host runs normally.

Context

The NDMP services must be configured on the CLI. For how to log in to the CLI, see the documents delivered with the NetApp host. This section only describes how to configure the NDMP services after the login.

 NOTE:

The NDMP services are not provided by NetApp only, and the methods for enabling the NDMP services provided by other manufacturers are different; therefore, this section uses how to configure the NetApp NDMP services as an example.

Procedure

  1. Log in to the NetApp host as a root user on the CLI. Enable the NDMP services.

    The CLI format is ndmpd on.

  2. Assign the NDMP version supported by the NetApp host. This section uses NDMP v4 as an example.

    The CLI format is ndmpd version4.

     NOTE:

    For the related operations on preparing backup data on the NetApp host (enable/disable cifs services, and upload related data), see the documents delivered with the NetApp host.

Installing the NetBackup for NDMP component

This section describes how to install the NetBackup for NDMP component.

Prerequisite

The NetBackup software is installed and runs normally.

The NetBackup Server has a valid NDMP license.

Context

This section takes the NetBackup in Windows as an example.

The NetBackup for NDMP needs to be installed on the Master/Media Server with NBU 6.5 or later versions.

In Windows, the NetBackup for NDMP is a pre-configured core component for the NetBackup.

In UNIX, the NetBackup for NDMP needs to be installed. For details, see related documents on the NetBackup.

Configuring NDMP Host in NetBackup

This section describes how to configure the NDMP host in NetBackup.

Prerequisite

The NMDP component of the NetBackup is installed and runs normally.

The NDMP services of the NDMP host is enabled and runs normally.

Procedure

  1. Name the VTL server and NetApp host.

    In the %WINDOWS_install%\system32\drivers\etc\hosts file of the NetBackup Master Server, name the VTL server and the NetApp host in format of IP address host name.

  2. On the CLI, go to the %NBU_Veritas%\Volmgr\bin directory of the NetBackup Master Server. Authenticate the NetBackup Master Server to access the VTL server through the NDMP by running the following command (vtl1999 is the host name of the VTL server): set_ndmp_attr –auth vtl199

    Type the user name and password that are used to enable to the NDMP on the VTL server. Run the following command to check whether the authentication succeeds:

    Tpautoconf –verify vtl199

    Figure 11-7 shows that the authentication succeeds.

    Figure 11-7  Authenticating the NetBackup to access the VTL server through the NDMP 

  3. Repeat the previous step to authenticate the NetBackup Master Server to access the NetApp host through the NDMP. The authenticated user name and password of the NetApp host are root, as shown in Figure 11-8.

    Figure 11-8  Authenticating the NetBackup to access the NetApp host through the NDMP 

  4. On the NetBackup Master Server Console, choose Media and Device Management > Credentials > NDMP Hosts, and click the  button, as shown in Figure 11-9.

    The previously authenticated two NDMP hosts are displayed, including the VTL server and NetApp host with enabled NDMP.

    Figure 11-9  Viewing the authenticated NDMP hosts 

Configuring NDMP Storage in NetBackup

This section describes how to configure the NDMP storage in NetBackup.

Prerequisite

The NDMP host is configured in NetBackup.

The VTL server is configured in NetBackup.

Procedure

  1. In the navigation tree of the NetBackup Console, click the Media and Device Management node. Click Configure Storage Devices in the operation area to open the Device Hosts page of Device Configuration Wizard, as shown in Figure 11-10.

    Click Change, and the dialog box shown in Figure 11-11 is displayed. Select NDMP Host and click OK.

    Figure 11-10  NDMP hosts that can be accessed by NetBackup 

    Figure 11-11  Selecting a NDMP host that can be accessed by NetBackup 

  2. Click Next to select a host. The previously two authenticated NDMP hosts that can be accessed by NetBackup are listed in the Wizard, uncheck the NetApp host, as shown in Figure 11-12.

    Figure 11-12  NDMP hosts that can be accessed by NetBackup 

  3. Click Next to confirm the configurations of the tape library and tape drive. NetBackup can discover devices on the NDMP host through the NDMP protocol, as shown in Figure 11-13.

    Figure 11-13  Confirming the configurations of the tape library and tape drive 

  4. Click Next to configure the storage device according to its default configuration.
  5. In the NetBackup navigation tree, choose Devices > Robots. Right-click the robot in the operation area, as shown in Figure 11-14. Choose Inventory Robot from the displayed shortcut menu, as shown in Figure 11-15.

    Figure 11-14  Choosing Inventory Robot 

    Figure 11-15  Viewing the tape list 

  6. Click Start and Yes to start viewing the tape list.
  7. Choose NetBackup Management > Storage, and right-click Storage Units. From the displayed shortcut menu, choose New Storage Unit to create a storage unit.

    Enter the name of the storage unit. Select NDMP in Storage unit typeVTL server in NDMP Host, and the NBU media server of the current storage device in Media Server, as shown in Figure 11-16.

    Figure 11-16  New Storage Unit interface 

  8. Click OK.

Creating a NDMP Backup Policy

This section describes how to create a NDMP backup policy.

Prerequisite

The NDMP storage unit is configured in NetBackup.

Procedure

  1. In the navigation tree of the NetBackup Console, choose NetBackup Management > Policies. From the displayed shortcut menu, choose New Policy…, as shown in Figure 11-17.

    Figure 11-17  Creating a NDMP backup policy 

    In the displayed Add a New Policy dialog box, enter the policy name, as shown in Figure 11-18.

    Figure 11-18  Add a New Policy dialog box 

  2. Click OK to confirm the policy name, and the dialog box about the policy information is displayed. On the Attributes tab, select NDMP in Policy type and the newly created NDMP storage unit in Policy storage unit, as shown in Figure 11-19.

    Figure 11-19  Add New Policy-ndmp dialog box 

  3. Click the Schedules tab and click the New… button to create a new schedule.

    The schedule is the same as the schedule of file backup. For details, see the related documents on NetBackup.

  4. Click the Clients tab and click the New… button to create a new client.
    1. Enter the host name of the NetApp host and click the Properties button. Select NDMP, NDMP in the Client Hardware and Operating System dialog box, as shown in Figure 11-20.

      Figure 11-20  Client Hardware and Operating System dialog box 

    2. Click OK.
  5. Click the Backup Selections tab and click the New… button to create a new Backup Selections.
    1. In the Backup Selections list, enter the absolute path of the directory to be backed up on the NetApp host, as shown in Figure 11-21.

      Figure 11-21  Change Policy-ndmp dialog box 

    2. Click OK. CAUTION:

      For a NDMP backup policy, the directory path on the Backup Selections tab is an absolute path. The path can be a volume name or a directory name, but cannot be a file name or contain wildcard characters such as *. Run the cifs shares command on the NDMP host to view the shared directories and volumes.

Running the NDMP Backup

This section describes how to run the NDMP backup.

Prerequisite

The NDMP backup policy is created.

Procedure

  1. On the NetBackup Console, right-click a configured policy. From the displayed shortcut menu, choose Manual Backup to implement the manual backup, as shown in Figure 11-22.

    Figure 11-22  Manual Backup shortcut menu 

  2. When the backup operation completes, the interface as shown in Figure 11-23 is displayed.

    Figure 11-23  Interface indicating that the backup operation completes 

Implementing the NDMP Restoration

This section describes how to implement the NDMP restoration.

Prerequisite

The NDMP backup policy is created.

Context

After the NDMP backup policy is created, the backup policy is automatically enabled according to the schedule setting. You can also manually run the backup policy to test its accuracy.

The process of the NDMP backup is: under the NetBackup control (transforming information to the NetApp host and the VTL server through the NDMP), data in the NetApp host directory can be directly backed up to the VTL server over the LAN.

Procedure

  1. On the NetBackup Master Servce Console, click the File drop-down list, and select Backup, Archive, and Restore to display the NetBackup operation restoration interface, as shown in Figure 11-24.

    Figure 11-24  NetBackup operation restoration interface 

  2. On the NetBackup operation restoration interface, click the File drop-down list, and select Specify NetBackup Machines and Policy Type, the dialog box shown in Figure 11-25 is displayed.

    Figure 11-25  Selecing a policy type of restoration 

    Select the name of the NetApp host in Source client for restores and Destination client for restores (click Edit Client List to add the NetApp host), select NDMP in Policy type for restores, and click OK.

  3. Click OK to complete the initial configuration on the NetBackup Client.

    On the NetBackup operation restoration interface, select the Select for Restore menu, click the directory to be restored and click , as shown in Figure 11-26.

    Figure 11-26  NetBackup Backup, Archive, and Restore 

  4. You do not to change the default configurations on the displayed interface. Click Start Restore to start the restoration operation, as shown in Figure 11-27.

    Under the NetBackup control, data on the virtual tape can be directly restored onto the NetApp host over the LAN.

    Figure 11-27  Starting the restoration operation 

Read more

How to migrate Raspberry Pi 5 OS from micro SD to NVME m.2 SSD

首先我買了Raspberry Pi CM5後來買了Raspberry Pi CM5 I/O board來當個人電腦使用,系統是安裝在256GB SD卡上運行的很好。用久了在開啟較肥的程式像Web Browser或LiberOffice會有慢半拍的反應,而有了升級NVME m.2 SSD念頭。 因為Raspberry Pi 5支援的最快PCIe gen3 x 4就不去考慮快的Gen4 or Gen5 m.2 SSD。找了ADATA出的 LEGEND 710入門級的產品,會利用HMB(Host Memory Buffer)來加速I/O速度,因為是Raspberry Pi OS kernel會認不得而無法正常使用 事先在SD卡的/boot/firmware/cmdline.txt 加入 kernel command line參數如下,然後重開機m.

By Phillips Hsieh

How to document Home Lab and Network

運維機房和跨域的網路,會遇到各式需求與問題,用對工具才能分析問題,個人覺得最重要的是使用能處理問題的工具。 推薦目前想學和正在使用的平台與軟體,協助將公司/家用機房文件化 佈告欄任務管理 Focalboard 白板可管理任務指派 網路架構文件編寫 netbox 精細管理網路設備與連接線路 IP 資源管理 phpipam 專注網路IP分配 邏輯塊文件編寫 draw.io 視覺化概念圖 機房設備管理 ITDB 管理設備生命週期與使用者

By Phillips Hsieh

如何在Raspberry Pi4上安裝Proxmox for ARM64

第一步 準備好Raspberry Pi 4 / CM4 4GB RAM,這裡要留意CM4如果是買有內建eMMC storage會限制不能使用SD卡開機而限制本地空間容量,如果沒有NAS外接空間或使用USB開機的話,建議買CM4 Lite插上大容量SD卡 第二步 去Armbian官網下載最小化Debian bookworm image https://www.armbian.com/rpi4b/ Armbian 25.2.2 Bookworm Minimal / IOT 然後寫入SD/USB開機碟,寫入方法參考官方文件 https://github.com/raspberrypi/usbboot/blob/master/Readme.md Note: 官方提供的預先設定系統方法,可以在Armbian初次啟動自動化完成系統設定。連結在此 https://docs.armbian.com/User-Guide_Autoconfig/

By Phillips Hsieh

世界越快心越慢

在晚飯後的休息時間,我特別享受在客廳瀏灠youtube上各樣各式創作者的影音作品。很大不同於傳統媒體,節目多是針對大多數族群喜好挑選的,在youtube上我會依心情看無腦的動畫、一些旅拍記錄、新聞時事談論。 尤其在看了大量的Youtube的分享後,我真的感受到會限制我的是我的無知,特別是那些我想都沒想過的實際應用,在學習後大大幫助到我的生活和工作層面。 休息在家時,我喜歡想一些沒做過的菜,動手去設計生活和工作上的解決方案,自己是真的很難閒著沒事做。 如創作文章,陪養新的習慣都能感覺到成長的喜悅,是不同於吃喝玩樂的快樂的。 創作不去限制固定的形式,文字是創作、影像聲音也是創作,記錄生活也是創作,我想留下的就是創造—》實現—》回憶,這樣子的循環過程,在留下的足跡面看到自己一路上的成長、失敗、絕望、重新再來。 雖然大部份的時候去做這些創作也不明白有什麼特別的意義,但不去做也不會留下什麼,所以呀不如反事都去試試看,也許能有不一樣的水花也許有意想不到的結果,投資自己永遠不會是失敗的決定,不是嗎?先問問自己再開始計畫下一步,未來沒人說得準。 像最近看youtube仍大一群人在為DOS開

By Phillips Hsieh