NetBackup Bare Metal Restore (BMR) System Administration Guide

This information is an adjunct to documentation found in the Bare Metal Restore (BMR) System Administration Guide.

Symantec NetBackup Bare Metal Restore 7.5 Administrator's Guide
http://www.symantec.com/docs/DOC5163

NetBackup 7.6 Bare Metal Restore Administrator's Guide
http://www.symantec.com/docs/DOC6472

NetBackup 7.6.1 Bare Metal Restore Administrator's Guide
http://www.symantec.com/docs/DOC7672

This describes the logical flow of steps to take to initialize and configure BMR on a NetBackup (NBU) Master Server domain. Follow the steps in the order shown below.

1. Initialize BMR Master Server and databases on the NBU Master Server.  The BMR Master only can reside on the NBU Master Server. All BMR commands reside in the path/usr/openv/netbackup/bin. The BMRDB files will reside in the same location as the NBDB database files.

> bmrsetupmaster

2. When done, the 'bmrd' daemon should be running.  You can verify that the BMRDB database and service is operational by running:
  
bmrs -o query -res database -table CurrentVersion

The output will display the running SCHEMA of the database, which should exactly match the NBU version of the Master.

3.Clients that will be recovered using BMR will register to the BMRDB for any policy where the BMR option is enabled. On NBU 7.5 and later, this option is not set by default. Enabling this option will automatically enable TIR with Move detection settings. BMR only supports use of two policy types – Unix Standard (type 0) and Windows NT (type 13). The BMR option is not available for any other policy types. BMR does not make use of any agents during client recoveries.

4. All supported clients will automatically register with the BMR Master when any backup of that client (FULL or INCR) is performed. The BMR registration action will always occur ahead of any NBU backup stream activity. Assuming the BMR client registration goes without error, the client will be visible to the BMR portion of the Administration Console regardless of the result of the NBU backup, even if it fails or is cancelled. It is mandatory that you have a valid FULL backup of any BMR registered client ahead of any BMR recovery attempts.  The use of ALL_LOCAL_DRIVES is the safest setting for file list selection in the policy. For individual file list selection,  all of the OS specific system drives/partitions/file systems MUST be selected and backed up. Data drives that reside on the client do not need to be backed up to perform a BMR DR recovery. However, if they are present in the backup image and it is so desired, BMR will recover any and all of them as part of the recovery process. BMR functionality allows for user defined data recovery selection beyond the OS portion.

5. List of registered clients can be seen by use of Administration Console or from CLI.

Admin Console:  BMR Administration Node -> Hosts -> BMR Clients
CLI:  bmrs -o list -res [ Config | Client ]

6. Before a BMR recovery can occur, you MUST define the Boot Server environment. Use this article for assistance:

Requirements for Bare Metal Restore (BMR) Boot Servers
http://www.symantec.com/docs/TECH87607

BMR Boot Servers are OS specific.  A BMR Boot Server must exist for every OS type of protected/registered clients. For Windows clients, a single Windows based Boot Server can be used to recover all supported Windows OS versions, to include 32 bit or 64 bit versions. Any NBU server or client can be designated as a Boot Server. BMR Boot Server software is part of the client software install. The command to run is:

> bmrsetupboot -register

Once done, the Boot Server will be visible on the Master Server.:

Admin Console:  BMR Administration Node -> Hosts -> BMR Boot Servers
CLI:  bmrs -o list -res BootServer

All Boot Servers will register to their designated Master Server.  Multiple Boot Servers are allowed within any NBU domain. They cannot be shared by multiple Master Servers.The running daemon process on a BMR Boot Server is 'bmrbd'..

7. See the OSCL for NBU clients that are supported by BMR:

NetBackup ™ 7.x Operating System Compatibility List
http://www.symantec.com/docs/TECH76648

In the section for NBU Clients, look under the column for BMR Boot/Client Support. Please note: The fact that a client is supported as a NBU client does not automatically make it a BMR supported client. Some OS release versions of supported client may require a minimum install release of NBU/BMR.

8. BMR client recoveries require the use of BMR specific boot images. The boot image is known as a Shared Resource tree (SRT). Each Boot Server will create an SRT specific to its OS type. On all Boot Servers, the command is "bmrsrtadm". For Windows you can use the GUI version "Boot Server Assistant".

9.  BMR recoveries can start from either a network boot, or a media (CD/DVD/ISO) boot. Initial SRT creation will always be the file system based network boot SRT.  Media SRT boot images are created based on them.

For Unix/Linux SRT, the boot image information placed into the SRT is extracted from files found in the normal OS vendor install media. Such media is required for SRT creation.

For Windows clients, the SRT makes use of a Windows WinPE image. For NBU/BMR versions up to and including 7.6.0.X, the base "wim" file is distributed with the NBU client software. Starting with NBU version 7.6.1.1, the initial WinPE environment needs to be downloaded from Microsoft as part of a SDK file set. Specific instructions on how this is done will be found the the BMR 7.6.1.1 Systems Administration Guide.

10. The BMR boot method used will always be based on the native boot method of the given OS. For example, network based boot of Windows and Linux clients will make use of PXE boot protocols.  A Solaris environment will use JumpStart. However, Solaris Sparc servers cannot boot Solaris x86 clients and vice versa.

At the highest level, the basic steps for this fall into three items:

1. Initialize the BMR Master (bmrd) and BMRDB: bmrsetupmaster
2. Create/Initialize BMR Boot servers (bmrbd):  bmrsetupboot -register
3. Create required SRT boot images:  bmrsrtadm

Some additional documentation articles that are publicly available and useful for BMR actions:

Doing a Dissimilar System Restore (DSR) to new hardware for Windows clients using Bare Metal Restore (BMR) on NetBackup 6.X and 7.X releases.
http://www.symantec.com/docs/TECH52394

Methodology for performing Dissimilar System Restore (DSR) for UNIX/LINUX servers
http://www.symantec.com/docs/TECH62678

Restoring a BMR client image to alternate hardware while the original server is online.
http://www.symantec.com/docs/TECH87329

Performing Physical to Virtual (manual P2V) restores using BMR
http://www.symantec.com/docs/TECH211500

BMR and cluster node restores
http://www.symantec.com/docs/HOWTO84852

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