Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Learning practice of Symantec NetBackup backup

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

It is recorded that a company in Nanjing has been engaged in system integration for half a year, during which time I have learned all aspects of the knowledge system. Due to the recent needs of the company's project, the department leader gave me a small stove training to learn the principle and architecture of NBU. I also messed up for a few days later to have a deeper understanding of NBU. I would like to deeply thank my department leader for his teaching to me.

NBU's full name Netbackup is a product of Symantec's acquisition of veritas, which is powerful and is said to be the ancestor of the backup world.

The architecture of Netbackup:

Nbu master server can be stored directly or managed through media server to back up its own data and client-side data resources.

NBU includes Server/Media/Client software:

Install the Server software on the server that needs to connect to a storage device, such as a tape library or CD library.

Install the Client software on the machine that needs to provide data for backup.

The NetBackup master server (Master Server) manages and formulates the backup strategy of the whole network and controls all backup jobs, which is the core of centralized management. Master Server manages storage devices, controls backup / archive policies, and restore operations. At the same time, Master Server has the functions of Media Server and Client.

Media Server only connects storage devices, provides data offloading, and does not control backup / archiving strategies and recovery operations. Its role is to spread the burden on the network and improve backup efficiency. It also has the function of Client, and Media Server is only responsible for managing the storage devices directly connected to it.

"Client sends backups to accept recovery data through LAN, LAN-Free, or Server LAN-Free." Back up basic files and unstructured data.

LAN backup method:

Client transfers backup data from DISK storage transfers data to the storage media on the Master Server side through LAN transfer

2. LAN-Free backup method:

Media transfers data resources from its own mounted storage device and transfers backup via SAN to its own mounted backup storage media.

3. Server-Free backup method:

The disk array transfers data resources over SAN Gateway to the peer DLT tape library backup storage media.

Record the results of your learning deployment practices in recent days:

Test the learning environment:

Winodws Server 2008R2NBU Master ServerRedhat Linux 6.3 x86_64NBU Client

Mainly learn and practice backing up Oracle 11gR2 database in RedHat Linux environment to Master Server side

[Master/Media server] [192.168.60.100] [Winodws Server2008R2]

1. Modify HOSTNAME

two。 Modify the hosts file

3. Modify the user Control Center

4. Upload NBU client software to extract and install

5. Enter License authorization to install Master Server

6. Installation waiting process

7. Complete the installation

[Client] [192.168.60.10] [Redhat Linux 6.5]

Modify HOSTNAME

Vi / etc/sysconfig/networkNETWORKING=yesHOSTNAME=linuxclient

two。 Modify selinux settin

Vi / etc/selinux/config SELINUXTYPE=disabled

3. Turn off the firewall

Service iptables stopiptables: Flushing firewall rules: [OK] iptables: Setting chains to policy ACCEPT: filter [OK] iptables: Unloading modules:

4. Modify the hosts file

Vi / etc/hosts192.168.60.10 linuxclient192.168.60.100 master

5.Linux NBU Client installation

Installation media:

NetBackup_7.6.1_CLIENTS2.tar.gz 1532M

Decompress:

Tar xf NetBackup_7.6.1_CLIENTS2.tar.gz-C / opt

Enter the directory after decompression:

Cd NetBackup_7.6.1_CLIENTS2./installDo you wish to continue? [ymenn] (y) y Do you want to install the NetBackup client software for this client? (y) y Enter the name of the NetBackup master server: master Would you like to use "linuxclient" as the configuredname of the NetBackup client? The following is written during installation: / etc/rc.d/rc2.d/S77netbackup/etc/rc.d/rc3.d/S77netbackup/etc/rc.d/rc5.d/S77netbackup/etc/rc.d/rc0.d/K01netbackup/etc/rc.d/rc1.d/K01netbackup/etc/rc.d/rc6.d/K01netbackup

[Master/Media] [configure Oracle backup policy]

Configure backup storage media

Configure Oracle backup policy

Configure Oracle backup instance and other information

Configure add Client client

[Client] [configure Oracle database backup]

1. Establish an Oracle Link connection

Su-oraclecd / usr/openv/netbackup/bin/./oracle_linkAll Oracle instances should be shutdown before running this script.Please log into the Unix system as the Oracle owner for running this scriptDo you want to continue? [n] yLIBOBK path: / usr/openv/netbackup/binORACLE_HOME: / orcl/oracleOracle version: 11.2.0.4.0Platform type: i686Linking LIBOBK:ln-s / usr/openv/netbackup/bin/libobk.so / orcl/oracle/lib/libobk.soDonePlease check the trace file located in/ tmp/make_trace.4459to make sure the linking process was successful.

two。 Create a backup script

Mkdir-p / usr/openv/netbackup/scriptcd / usr/openv/netbackup/ext/db_ext/oracle/samples/rman/cp hot_database_backup.sh / usr/openv/netbackup/script/cd / usr/openv/netbackup/script/mv hot_database_backup.sh rman.shchmd + x rman.shvi rman.sh

3. Edit and modify RMAN script

-ORACLE_HOME=/u01/apps/oracle/product/11gr2/db_1export ORACLE_HOME-ORACLE_SID=orclexport ORACLE_SID-- -ORACLE_USER=oracle-TARGET_CONNECT_STR=sys/sysadmin

4. Perform jnbSA program configuration

Cd / usr/openv/netbackup/bin/./jnbSA

Enter the correct user name and password to log in.

[Master/Client] [Test backup]

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report