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

世界越快心越慢

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

By Phillips Hsieh

知識管理的三個步驟:一小時學會把知識運用到生活上

摘錄瓦基「閱讀前哨站」文章作為自己學習知識管理的內容 Part1「篩選資訊」 如何從海量資訊中篩選出啟發性、實用性和相關性的精華,讓你在學習過程中不再迷失方向。 1. 實用性 2. 啟發性 Part2「提高理解」 如何通過譬喻法和應用法,將抽象的知識與日常生活和工作緊密結合,建立更深刻的理解。 1. 應用法 2. 譬喻法 Part3「運用知識」 如何連結既有知識,跟自己感興趣的領域和專案產生關聯,讓你在運用知識的路途上游刃有餘。 1. 跟日常工作專案、人際活動產生連結 # 為什麼要寫日記? * 寫日記是為了忘記,忘卻瑣碎事情,保持專注力 * 寫日記就像在翻譯這個世界,訓練自己的解讀能力 * 不只是透過日記來記錄生活,而是透過日記來發展生活 #如何寫日記? * 不要寫流水帳式的日記,而是寫覆盤式的日記 當我們試著記錄活動和感受之間的關聯,有助於辦認出真正快樂的事 日記的記錄方式要以過程為主,而非結果 * 感恩日記的科學建議,每日感恩的案例

By Phillips Hsieh
2024年 3月30日 14屆美利達環彰化百K

2024年 3月30日 14屆美利達環彰化百K

這是場半小時就被秒報名額滿的經典賽事, 能順利出賽實屬隊友的功勞, 這次的準備工作想試試新買的外胎, 因為是無內胎用的外胎, 特別緊超級難安裝的, 問了其他朋友才知道, 要沾上肥皂水才容易滑入車框。 一早四點起床準備, 五點集合備好咖啡在車上飲用, 約了六點在彰化田尾鄉南鎮國小, 整好裝四人一起出發前往會場。 被排在最後一批出發, 這次的路線會繞行的員林148上139縣道, 其實在早上五點多天就開始有點飄雨, 大伙就開始擔心不會要雨戰吧! 果不其然才出發準備上148爬坡雨勢越來越大, 戴著防風眼鏡的我在身體的熱氣加上雨水冷凝效果下, 鏡面上滿是霧氣肉眼可視距離才剩不到五公尺, 只能緊依前前方的車友幫忙開路, 之後洪大跟上來我立馬請求他幫忙開路, 上了139停下車把防風眼鏡收起來, 反正下雨天又陰天完全用不到太陽眼鏡了。 雨是邊下邊打雷, 大伙都在這條139上一台一台單車好像避電針, 一時有點害怕不然想平時沒做什麼壞事, 真打到自己就是天意了。 下了139雨勢開始變小, 大伙的速度開始有所提昇, 開高鐵列車的時機己成熟, 物色好列車就跟好跟滿。 最後找了一隊似乎整團有固定在練

By Phillips Hsieh
2023 12月9號 美利達單車嘉年華

2023 12月9號 美利達單車嘉年華

第二次參加美利達環南投賽事, 還記得去年第一次參加這美利達環南投, 還特地提前一天跟車友在魚池住了一晚。 這回用上了剛在7月份剛安裝的車頂架, 安裝了二種不同的攜車架, 都樂這邊可以不用拆車輪直上車頂, YAKIMA這邊選了經濟的款式, 折掉前輪利用前叉固定在攜車架上。 約了唯一一位一起參加的朋友, 二人一早四點約見面, 幫朋友帶上了拿鐵咖啡, 開上日月潭在水社碼頭停好車, 騎往向山遊客中心, 路過美麗的日月潭簡直不要太美了拍一張。 抵達會場己是人山人海了, 跟著大伙排隊順便也看網紅也欣賞名車。 出發就先沿著日月潭順時針騎, 騎到玄裝寺很急停下來上一下廁所, 比賽時都會尿都特別的滿, 一方面是比較緊張,一方面是特別興奮。 這時己經跟車友失散了, 只能獨推沿路看有沒有車友可以一起組隊的, 很可惜在山區大家的實力不一只求平安順騎了, 原則就是有補給就停有食物就吃。 下到水里人群再次聚集起來, 光等紅綠燈就是一條車龍。 騎行了一大圈水里再回到131縣道, 這時背後傳來熟悉的聲音叫菲哥, 終於跟車友重新集合接下來就一路邊聊邊騎。 最後來幾張專業攝影師拍攝的照片 回到終點台上

By Phillips Hsieh