一、Server安裝
1.將下載好的NetBackup8.1 Server 壓縮包上傳至Linux服務器並解壓
[root@localhost ~]# ll total 2261592 -rw-------. 1 root root 1260 Sep 29 15:57 anaconda-ks.cfg -rw-r--r--. 1 root root 2315863345 Sep 29 16:18 NetBackup_8.1_LinuxR_x86_64.tar.gz [root@localhost ~]# tar -zxvf NetBackup_8.1_LinuxR_x86_64.tar.gz NetBackup_8.1_LinuxR_x86_64/ NetBackup_8.1_LinuxR_x86_64/install NetBackup_8.1_LinuxR_x86_64/linuxR_x86/ NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/ NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/ NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/PDDE_gc NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/certcmdTool_for_UNIX.tar.gz NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/NB.inst NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/nbdrpkgcheck NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/nbcheck NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/pddeobjectcount NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/nbbsdtar NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/pdinstall NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/.sizes NetBackup_8.1_LinuxR_x86_64/linuxR_x86/catalog/anb/nbtelemetry NetBackup_8.1_LinuxR_x86_64/linuxR_x86/anb/ NetBackup_8.1_LinuxR_x86_64/linuxR_x86/anb/VRTSnetbp.rpm NetBackup_8.1_LinuxR_x86_64/linuxR_x86/anb/client_dist.tar.gz NetBackup_8.1_LinuxR_x86_64/linuxR_x86/anb/.sizes_VRTSnetbp NetBackup_8.1_LinuxR_x86_64/Doc/ NetBackup_8.1_LinuxR_x86_64/Doc/NetBackup_Documentation.pdf NetBackup_8.1_LinuxR_x86_64/LICENSE
2.進入NetBackup_8.1_LinuxR_x86_64目錄
[root@localhost ~]# cd NetBackup_8.1_LinuxR_x86_64/ [root@localhost NetBackup_8.1_LinuxR_x86_64]# ll total 104 drwxr-xr-x. 2 root bin 41 Sep 11 2017 Doc -r-xr-xr-x. 1 root bin 73951 Sep 11 2017 install -r--r--r--. 1 root bin 25499 Sep 11 2017 LICENSE dr-xr-xr-x. 4 root bin 32 Sep 11 2017 linuxR_x86
3.安裝前修改配置
hostnamectl set-hostname bogon
ulimit -n 8000 echo "300 307200 100 1024" > /proc/sys/kernel/sem
echo $(ip addr | awk '/^[0-9]+: / {}; /inet.*global/ {print gensub(/(.*)\/(.*)/, "\\1", "g", $2)}') bogon >> /etc/hosts sysctl -p groupadd nbwebgrp mkdir -p /usr/openv/wmc useradd -g nbwebgrp -c 'NetBackup Web Service application account' -d /usr/openv/wmc nbwebsvc systemctl stop firewalld.service systemctl disable firewalld.service
4.執行install腳本,根據提示執行即可。
[root@localhost NetBackup_8.1_LinuxR_x86_64]# ./install Veritas Installation Script Copyright (c) 2017 Veritas Technologies LLC. All rights reserved. Installing NetBackup Server Software Please review the VERITAS SOFTWARE LICENSE AGREEMENT located on the installation media before proceeding. The agreement includes details on the NetBackup Product Improvement Program. For NetBackup installation and upgrade information specific to your platform and to find out if your installed EEBs or hot fixes are contained in this release, check the Installation and Upgrade checklists and the Hot Fix and EEB Release Auditor, both available on the Veritas Services and Operations Readiness Tools (SORT) page: https://sort.veritas.com/netbackup. ATTENTION! To help ensure a successful upgrade to NetBackup 8.1, please visit the NetBackup 8.x Upgrade Portal: https://www.veritas.com/docs/000115678. Do you wish to continue? [y,n] (y) Starting NetBackup Deduplication installer testing: /tmp/pdde_pkg_dir_18883 NetBackup Deduplication preinstall check passed Is this host the master server? [y,n] (y) Are you currently performing a disaster recovery of a master server? [y,n] (n) Using nbwebsvc and nbwebgrp for the NetBackup web service user and group. Checking for required system conditions... ok server_conf_settings_critical: Inapplicable for new NetBackup installation: skipping ok media_server_cluster_upgrade: NetBackup is not installed: skipping ok remote_emm: NetBackup is not installed: skipping ok wsl_account: user [nbwebsvc] belongs to group [nbwebgrp] ok be_nb_same_host: inapplicable on linux: skipping ok unsupported_platform: Passed checks for unsupported platforms. ok nbdb_ntfs_dir_symlink: inapplicable on linux: skipping ok nbdb_maintenance_space: no NBDB maintenance required on new install: skipping Checking for recommended system conditions... ok os_update_level: inapplicable on linux: skipping ok ulimit_nofiles: nofiles ulimit 8000 is high enough. ok hotfix_auditor: NetBackup is not installed or there is no hotfix or EEB data present. Skipping HF/EEB Auditor check. ok server_conf_settings_noncritical: Inapplicable for new NetBackup installation: skipping ok semaphore_limits: semaphore limits are high enough The NetBackup and Media Manager software is built for use on LINUX_RH_X86 hardware. Do you want to install NetBackup and Media Manager files? [y,n] (y) NetBackup and Media Manager are normally installed in /usr/openv. The existing /usr/openv directory will be used for NetBackup and Media Manager. Saving server binaries for LINUX_RH_X86. Reading NetBackup files from /root/NetBackup_8.1_LinuxR_x86_64/linuxR_x86/anb Checking for pre-existing SYMCnetbp package. package SYMCnetbp is not installed Checking for pre-existing VRTSnetbp package. Installing VRTSnetbp package. Installation of VRTSnetbp was successful. More details regarding VRTSnetbp can be found in file /tmp/install_netbppkg_trace.18968 on bogon. x openv/netbackup/client/Linux/ x openv/netbackup/client/Linux/Debian2.6.18/ x openv/netbackup/client/Linux/Debian2.6.18/client_bin.tar.gz x openv/netbackup/client/Linux/Debian2.6.18/certcmdTool_for_UNIX.tar.gz x openv/netbackup/client/Linux/Debian2.6.18/ssh_to_client x openv/netbackup/client/Linux/Debian2.6.18/extract_java x openv/netbackup/client/Linux/Debian2.6.18/cp_to_client x openv/netbackup/client/Linux/Debian2.6.18/nbcheck x openv/netbackup/client/Linux/Debian2.6.18/pddeagent.tar.gz x openv/netbackup/client/Linux/Debian2.6.18/.sizes_JRE x openv/netbackup/client/Linux/Debian2.6.18/nb_init_cfg x openv/netbackup/client/Linux/Debian2.6.18/.sizes_NB-Java x openv/netbackup/client/Linux/Debian2.6.18/nbbsdtar x openv/netbackup/client/Linux/Debian2.6.18/client_config x openv/netbackup/client/Linux/Debian2.6.18/.sizes_client_bin x openv/netbackup/client/Linux/Debian2.6.18/PBX.tar.gz x openv/netbackup/client/Linux/Debian2.6.18/nbj.conf x openv/netbackup/client/Linux/Debian2.6.18/sftp_to_client x openv/netbackup/client/Linux/Debian2.6.18/pdinstall x openv/netbackup/client/Linux/Debian2.6.18/.sizes x openv/netbackup/client/Linux/Debian2.6.18/installpbx x openv/netbackup/client/Linux/Debian2.6.18/JRE.tar.gz x openv/netbackup/client/Linux/Debian2.6.18/version x openv/netbackup/client/Linux/Debian2.6.18/NB-Java.tar.gz x openv/netbackup/client/Linux/SuSE3.0.76/ x openv/netbackup/client/Linux/SuSE3.0.76/VRTSpddea.rpm x openv/netbackup/client/Linux/SuSE3.0.76/VRTSnbpck.rpm x openv/netbackup/client/Linux/SuSE3.0.76/certcmdTool_for_UNIX.tar.gz x openv/netbackup/client/Linux/SuSE3.0.76/ssh_to_client x openv/netbackup/client/Linux/SuSE3.0.76/VRTSnbjre.rpm x openv/netbackup/client/Linux/SuSE3.0.76/extract_java x openv/netbackup/client/Linux/SuSE3.0.76/cp_to_client x openv/netbackup/client/Linux/SuSE3.0.76/nbcheck x openv/netbackup/client/Linux/SuSE3.0.76/nb_init_cfg x openv/netbackup/client/Linux/SuSE3.0.76/VRTSnbjava.rpm x openv/netbackup/client/Linux/SuSE3.0.76/VRTSnbcfg.rpm x openv/netbackup/client/Linux/SuSE3.0.76/nbbsdtar x openv/netbackup/client/Linux/SuSE3.0.76/VRTSpbx.rpm x openv/netbackup/client/Linux/SuSE3.0.76/client_config x openv/netbackup/client/Linux/SuSE3.0.76/VRTSnbclt.rpm x openv/netbackup/client/Linux/SuSE3.0.76/nbj.conf x openv/netbackup/client/Linux/SuSE3.0.76/sftp_to_client x openv/netbackup/client/Linux/SuSE3.0.76/pdinstall x openv/netbackup/client/Linux/SuSE3.0.76/.sizes x openv/netbackup/client/Linux/SuSE3.0.76/version x openv/netbackup/client/Linux/RedHat2.6.18/ x openv/netbackup/client/Linux/RedHat2.6.18/VRTSpddea.rpm x openv/netbackup/client/Linux/RedHat2.6.18/VRTSnbpck.rpm x openv/netbackup/client/Linux/RedHat2.6.18/certcmdTool_for_UNIX.tar.gz x openv/netbackup/client/Linux/RedHat2.6.18/ssh_to_client x openv/netbackup/client/Linux/RedHat2.6.18/VRTSnbjre.rpm x openv/netbackup/client/Linux/RedHat2.6.18/extract_java x openv/netbackup/client/Linux/RedHat2.6.18/cp_to_client x openv/netbackup/client/Linux/RedHat2.6.18/nbcheck x openv/netbackup/client/Linux/RedHat2.6.18/nb_init_cfg x openv/netbackup/client/Linux/RedHat2.6.18/VRTSnbjava.rpm x openv/netbackup/client/Linux/RedHat2.6.18/VRTSnbcfg.rpm x openv/netbackup/client/Linux/RedHat2.6.18/nbbsdtar x openv/netbackup/client/Linux/RedHat2.6.18/VRTSpbx.rpm x openv/netbackup/client/Linux/RedHat2.6.18/client_config x openv/netbackup/client/Linux/RedHat2.6.18/VRTSnbclt.rpm x openv/netbackup/client/Linux/RedHat2.6.18/nbj.conf x openv/netbackup/client/Linux/RedHat2.6.18/sftp_to_client x openv/netbackup/client/Linux/RedHat2.6.18/pdinstall x openv/netbackup/client/Linux/RedHat2.6.18/.sizes x openv/netbackup/client/Linux/RedHat2.6.18/version Copying RedHat2.6.18 Client Binaries Installing VRTSnbpck ... Installation of VRTSnbpck was successful. Check /tmp/install_VRTSnbpck.rpm_trace.19410 for details. Installing VRTSpbx ... Installation of VRTSpbx was successful. Check /tmp/install_VRTSpbx.rpm_trace.19410 for details. Installing VRTSnbclt ... Installation of VRTSnbclt was successful. Check /tmp/install_VRTSnbclt.rpm_trace.19410 for details. Terminating NetBackup and/or Media Manager processes. Installing NB-Java. Installing VRTSnbjre ... Installation of VRTSnbjre was successful. More details regarding VRTSnbjre can be found in file /tmp/install_VRTSnbjre.rpm_trace.19768 on bogon. Installing VRTSnbjava ... Installation of VRTSnbjava was successful. More details regarding VRTSnbjava can be found in file /tmp/install_VRTSnbjava.rpm_trace.19768 on bogon. Migrating log files in /usr/openv/logs Migration of log files complete. No [x]inetd process found. Installing VRTSpddea.rpm ... Installation of VRTSpddea.rpm was successful. Check /tmp/install_VRTSpddea.rpm_trace.19410 for details. Starting NetBackup Deduplication installer testing: /tmp/pdde_pkg_dir_20400 Checking for SYMCpddea package... Checking for VRTSpddea package... Package VRTSpddea found. NetBackup Deduplication software is installed. NetBackup Deduplication is not yet configured. Checking for SYMCpddes package... Checking for VRTSpddes package... Checking for SYMCpddea package... Installing NetBackup Deduplication server package (/usr/openv/pddeserver.tar.gz)... Extracting package VRTSpddes in /tmp/pdde_pkg_dir_20400. Package VRTSpddes extracted to /tmp/pdde_pkg_dir_20400. Installing package VRTSpddes. Package VRTSpddes installed. Installing NetBackup Extendable Storage File System Service (VxESFS) ... Running install_esfs script ... Successfully installed NetBackup Extendable Storage File System Service (VxESFS) Running NetBackup Deduplication upgrade script (server mode)... NetBackup Deduplication install finished successfully. Version now installed: 11.0002.0017.0908 Full NetBackup Deduplication installation log saved to: /var/log/puredisk/2020-09-30_13:39-pdde-install.log Installing VRTSnbcfg.rpm ... Installation of VRTSnbcfg.rpm was successful. Check /tmp/install_VRTSnbcfg.rpm_trace.19410 for details. Done executing NB.inst. If you ran NB.inst instead of <cdrom_path>/install, you must run /usr/openv/netbackup/bin/install_bp to initiate NetBackup. Running /usr/openv/netbackup/bin/install_bp A NetBackup Server or Enterprise Server license key is needed for installation to continue. Enter license key: KJXV-Y2R8-6V8Z-963Z-PPPP-VPOG-OZCP-PRPP-PPN3-4C KJXV-Y2R8-6V8Z-963Z-PPPP-VPOG-OZCP-PRPP-PPN3-4C: NetBackup Enterprise Server Base product with the following features enabled: Enterprise Vault Agent Open File Backup Remote Client Support Robotic Library Sharing Support Remote Media Server Support Microsoft RSM Robotic Libraries ADIC DAS/SDLC Robotic Libraries IBM ATL Robotic Libraries Fujitsu LMF Robotic Libraries StorageTek ACS Robotic Libraries Inline Tape Copy DataStore has been registered. All additional keys should be added at this time. Do you want to add additional license keys now? [y,n] (y) n Use /usr/openv/netbackup/bin/admincmd/get_license_key to add, delete or list license keys at a later time. Installing NetBackup Enterprise Server version: 8.1 If this machine will be using a different network interface than the default (bogon), the name of the preferred interface should be used as the configured server name. If this machine will be part of a cluster, the virtual name should be used as the configured server name. Would you like to use "bogon" as the configured NetBackup server name of this machine? [y,n] (y) Media servers can be added during this installation or to a NetBackup environment after installation completes. Refer to the NetBackup Administrator's Guide, Volume I for more information. Do you want to add any media servers now? [y,n] (n) Checking network connections. bp.conf: IP_ADDRESS_FAMILY = AF_INET: default value, no update needed Successfully cleared host cache Successfully cleared peer validation cache Machine bogon is a master server, and it is the EMMSERVER. Successfully updated the session cache parameters. Creating /usr/openv/tmp/sqlany Installed SQL Anywhere Version 16.0.0.2322 Installation completed successfully set_value: Key "AZDBPasswordFilePath" successfully updated AZ database setup complete. Database server is NB_bogon Creating the NetBackup database. Creating NetBackup staging directory in: /usr/openv/db/staging Starting the NetBackup database. Authenticating the NetBackup database. VXDBMS_NB_DATA entry in bp.conf updated successfully. Setting of database authentication for NBDB successful. Change of dba password for NBDB successful. This will require restart of NetBackup Web Management Console service. Creating the NetBackup database files. The NetBackup database files creation complete. Creating the NetBackup database schema. Verifying the running version of NBDB ... NBDB version 8.1.0.0 verified. This will require restart of NetBackup Web Management Console service. Upgrading NBDB (8.1.0.0) to (8.1.0.0) ... NBDB version remains the same. Starting NBDB database self-tuning. This may take some time... Found 0 fragmented records in database. NBDB database self-tuning is complete. Database [NBDB] validation successful. The NetBackup database creation complete. Database [NBDB] is alive and well on server [NB_bogon]. Creating the NetBackup Authorization database. Creation of NetBackup Authorization database is complete. Exiting from create_nbdb, status[0]. WEBSVC_USER 'nbwebsvc' and WEBSVC_GROUP 'nbwebgrp' were saved in bp.conf. Starting the NetBackup Authentication daemon. Starting the NetBackup network daemon. Starting the NetBackup client daemon. Configuring nbatd. Gathering configuration information. Waiting for the security services to start operation. Generating identity for host 'bogon' Setting up security on target host: bogon nbatd is successfully configured on NetBackup Master Server. Operation completed successfully. Deploying AT certificate for web user. Deploying AT certificate for web services. Generating AT certificate for tomcat. Starting the NetBackup Audit Manager. x openv/wmc/ x openv/wmc/bin/ x openv/wmc/bin/install/ x openv/wmc/bin/install/configureWmc x openv/wmc/bin/install/configurePorts x openv/wmc/bin/install/setupWmc x openv/wmc/bin/install/createSslStore x openv/wmc/bin/install/configureCerts x openv/wmc/bin/install/wmcUtils x openv/wmc/bin/install/configureWsDefaults x openv/wmc/bin/install/configureEnv x openv/wmc/bin/install/manageClientCerts x openv/wmc/webserver/ x openv/wmc/webserver/webapps/ x openv/wmc/webserver/webapps/ROOT/ x openv/wmc/webserver/webapps/ROOT/tomcat.css x openv/wmc/webserver/webapps/ROOT/tomcat-power.gif x openv/wmc/webserver/webapps/ROOT/asf-logo-wide.svg x openv/wmc/webserver/webapps/ROOT/bg-upper.png x openv/wmc/webserver/webapps/ROOT/bg-nav-item.png x openv/wmc/webserver/webapps/ROOT/index.jsp x openv/wmc/webserver/webapps/ROOT/favicon.ico x openv/wmc/webserver/webapps/ROOT/bg-nav.png x openv/wmc/webserver/webapps/ROOT/tomcat.svg x openv/wmc/webserver/webapps/ROOT/WEB-INF/ x openv/wmc/webserver/webapps/ROOT/WEB-INF/web.xml x openv/wmc/webserver/webapps/ROOT/bg-middle.png x openv/wmc/webserver/webapps/ROOT/bg-button.png x openv/wmc/webserver/webapps/ROOT/tomcat.png x openv/wmc/webserver/webapps/ROOT/tomcat.gif x openv/wmc/webserver/webapps/ROOT/RELEASE-NOTES.txt x openv/wmc/webserver/temp/ x openv/wmc/webserver/temp/safeToDelete.tmp x openv/wmc/webserver/bin/ x openv/wmc/webserver/bin/version.sh x openv/wmc/webserver/bin/setclasspath.sh x openv/wmc/webserver/bin/startup.sh x openv/wmc/webserver/bin/bootstrap.jar x openv/wmc/webserver/bin/daemon.sh x openv/wmc/webserver/bin/catalina.sh x openv/wmc/webserver/bin/commons-daemon-native.tar.gz x openv/wmc/webserver/bin/shutdown.sh x openv/wmc/webserver/bin/digest.sh x openv/wmc/webserver/bin/tool-wrapper.sh x openv/wmc/webserver/bin/configtest.sh x openv/wmc/webserver/bin/tomcat-native.tar.gz x openv/wmc/webserver/bin/commons-daemon.jar x openv/wmc/webserver/bin/tomcat-juli.jar x openv/wmc/webserver/bin/catalina-tasks.xml x openv/wmc/webserver/RELEASE-NOTES x openv/wmc/webserver/RUNNING.txt x openv/wmc/webserver/conf/ x openv/wmc/webserver/conf/context.xml.template x openv/wmc/webserver/conf/server.xml.template x openv/wmc/webserver/conf/tomcat-users.xml x openv/wmc/webserver/conf/tomcat-users.xsd x openv/wmc/webserver/conf/catalina.properties x openv/wmc/webserver/conf/web.xml.template x openv/wmc/webserver/conf/catalina.policy x openv/wmc/webserver/LICENSE x openv/wmc/webserver/lib/ x openv/wmc/webserver/lib/tomcat-jdbc.jar x openv/wmc/webserver/lib/tomcat-i18n-es.jar x openv/wmc/webserver/lib/el-api.jar x openv/wmc/webserver/lib/tomcat-coyote.jar x openv/wmc/webserver/lib/websocket-api.jar x openv/wmc/webserver/lib/tomcat-util.jar x openv/wmc/webserver/lib/tomcat-dbcp.jar x openv/wmc/webserver/lib/tomcat-api.jar x openv/wmc/webserver/lib/tomcat-websocket.jar x openv/wmc/webserver/lib/ecj-4.6.3.jar x openv/wmc/webserver/lib/jasper-el.jar x openv/wmc/webserver/lib/catalina-tribes.jar x openv/wmc/webserver/lib/jsp-api.jar x openv/wmc/webserver/lib/tomcat-util-scan.jar x openv/wmc/webserver/lib/tomcat-i18n-ja.jar x openv/wmc/webserver/lib/tomcat-jni.jar x openv/wmc/webserver/lib/jasper.jar x openv/wmc/webserver/lib/catalina.jar x openv/wmc/webserver/lib/tomcat-i18n-fr.jar x openv/wmc/webserver/lib/catalina-ha.jar x openv/wmc/webserver/lib/catalina-ant.jar x openv/wmc/webserver/lib/servlet-api.jar x openv/wmc/webserver/lib/catalina-storeconfig.jar x openv/wmc/webserver/lib/annotations-api.jar x openv/wmc/webserver/NOTICE x openv/wmc/config/ x openv/wmc/config/tomcat.logging.properties x openv/wmc/config/log4j.properties x openv/wmc/config/index.html x openv/wmc/war/ x openv/wmc/war/nbwebservice.war x openv/wmc/lib/ x openv/wmc/lib/commons-lang.jar x openv/wmc/lib/spring-security-web-4.2.1.RELEASE.jar x openv/wmc/lib/commons-collections.jar x openv/wmc/lib/spring-core-4.3.5.RELEASE.jar x openv/wmc/lib/goodies.jar x openv/wmc/lib/nb_wsf.jar x openv/wmc/lib/nbu_common.jar x openv/wmc/lib/log4j.jar x openv/wmc/lib/commons-logging.jar x openv/wmc/lib/commons-configuration.jar Starting the NetBackup Web Management Console. Deploying Server Certificate. This may take a few minutes. Done processing parameter files, no files found to convert Starting the NetBackup SAN Client Fibre Transport daemon. Starting the NetBackup Discovery Framework. Migrating SLP definitions into the NetBackup relational database. Starting the NetBackup Event Manager. Starting the NetBackup Deduplication Manager. Starting the NetBackup Deduplication Engine. Starting the NetBackup database manager process (bpdbm). Converting snapshot policies: Policy conversion summary: Number of original policies: 0 Number of non-snapshot policies skipped: 0 Number of policies not needing conversion: 0 Number of policies converted to 'auto' snapshot method: 0 Number of policies converted: 0 Updating client hardware definitions: Hardware update conversion summary: Number of policies processed: 0 Number of policies with affected clients: 0 Number of clients processed: 0 Number of clients converted: 0 Updating policy identifiers: Policy identifier update summary: Number of policies processed: 0 Number of policies with duplicate identifier: 0 Number of policies with empty identifier: 0 Number of policies with affected identifier: 0 Starting the NetBackup compatibility daemon. Starting the NetBackup Enterprise Media Manager. Starting the NetBackup Resource Broker. Populating the database tables. This will take some time. Starting the Media Manager device daemon processes. Do you want to start the job-related NetBackup daemons so backups and restores can be initiated? [y,n] (y) Starting the NetBackup request daemon process (bprd). Starting the NetBackup Job Manager. Starting the NetBackup Policy Execution Manager. Starting the NetBackup Storage Lifecycle Manager. Starting the NetBackup Remote Monitoring Management System. Starting the NetBackup Key Management daemon. Starting the NetBackup Service Layer. Starting the NetBackup Indexing Manager. Starting the NetBackup Agent Request Server. Starting the NetBackup Bare Metal Restore daemon. Starting the NetBackup Vault daemon. Starting the NetBackup CloudStore Service Container. Starting the NetBackup Service Monitor. Starting the NetBackup Bare Metal Restore Boot Server daemon. OpsCenter is the next-generation monitoring, reporting and administrative solution designed to centrally manage one or more NetBackup installations from a web browser. If an OpsCenter server already exists in your environment or you plan to install one, enter the real hostname of that OpsCenter server here. Do not use a virtual name. If you do not want this local machine to be an OpsCenter server, enter NONE. Enter the OpsCenter server (default: NONE): WARNING: Catalog backups fail if the disaster recovery passphrase is not set. NetBackup server installation complete. File /usr/openv/tmp/install_trace.18841 contains a trace of this install. That file can be deleted after you are sure the install was successful.
5.獲取安裝客戶端CA證書
[root@bogon ~]# /usr/openv/netbackup/bin/nbcertcmd -displayCACertDetail -server bogon
bogon 為主機名
可從/usr/openv/wmc/bin/setenv文件的 NB_HOSTNAME 屬性中找到主機名。
cat /usr/openv/wmc/bin/setenv
注:客戶端獲取CA證書失敗解決辦法
[root@bogon ~]# /usr/openv/netbackup/bin/nbcertcmd -displayCACertDetail -server lr001 Failed to display CA certificate details nbcertcmd: The -displayCACertDetail operation failed. EXIT STATUS 8500: Connection with the web service was not established.
NetBackup 狀態碼:8500
[root@bogon ~]# /usr/openv/netbackup/bin/nbwmc start
Starting NetBackup Web Management Console could take a couple of minutes .. started.
6.如此,NetBackup8.1安裝完成,可使用以下命令啟動客戶端
/usr/openv/netbackup/bin/jnbSA
注:啟動Netbackup客戶端需將Linux 安裝桌面
yum grouplist yum groupinstall "GNOME Desktop" -y yum groupinstall "KDE Plasma Workspaces" -y yum groupinstall "X Window System" "Graphical Administration Tools" -y startx reboot
7.在NetBackup客戶端,Security Management ==> Certificate Management ==>Token Management ==>鼠標右鍵 ==> New Token ,如下如所示。
Token Name:NetBackup主機名稱
彈出如下對話框,將令牌記住,安裝客戶端時使用
二、Client安裝
將客戶端安裝在已存在Oracle數據庫得服務器上。
Oracle安裝參照:https://www.cnblogs.com/yu-sheng/p/13698315.html
注:Oracle數據庫開啟歸檔模式
[oracle@oracledb ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Wed Oct 7 11:48:00 2020 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to an idle instance. SQL> archive log list Database log mode No Archive Mode Automatic archival Disabled Archive destination USE_DB_RECOVERY_FILE_DEST Oldest online log sequence 21 Current log sequence 23 SQL> alter system set log_archive_start=true scope=spfile; System altered. SQL> shutdown immediate; Database closed. Database dismounted. ORACLE instance shut down. SQL> startup mount ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance ORACLE instance started. Total System Global Area 8351150080 bytes Fixed Size 2214936 bytes Variable Size 4362077160 bytes Database Buffers 3959422976 bytes Redo Buffers 27435008 bytes Database mounted. SQL> alter database archivelog; Database altered. SQL> archive log list Database log mode Archive Mode Automatic archival Enabled Archive destination USE_DB_RECOVERY_FILE_DEST Oldest online log sequence 21 Next log sequence to archive 23 Current log sequence 23 SQL> alter database open; Database altered. // 存檔模式打開
1.將下載好的NetBackup8.1 Client 壓縮包上傳至Linux服務器並解壓
[root@localhost ~]# ll total 2839080 -rw-------. 1 root root 1260 Sep 29 16:09 anaconda-ks.cfg -rw-r--r--. 1 root root 2907211183 Sep 30 15:09 NetBackup_8.1_CLIENTS2.tar.gz [root@localhost ~]# tar -zxvf NetBackup_8.1_CLIENTS2.tar.gz NetBackup_8.1_CLIENTS2/ NetBackup_8.1_CLIENTS2/install NetBackup_8.1_CLIENTS2/VSM_README NetBackup_8.1_CLIENTS2/NBClients/ NetBackup_8.1_CLIENTS2/NBClients/catalog/ NetBackup_8.1_CLIENTS2/NBClients/catalog/anb/ NetBackup_8.1_CLIENTS2/NBClients/catalog/anb/client.inst NetBackup_8.1_CLIENTS2/NBClients/anb/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/client_bin.tar.gz NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/certcmdTool_for_UNIX.tar.gz NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/ssh_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/extract_java NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/cp_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/nbcheck NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/pddeagent.tar.gz NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/.sizes_JRE NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/nb_init_cfg NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/.sizes_NB-Java NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/nbbsdtar NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/client_config NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/.sizes_client_bin NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/PBX.tar.gz NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/nbj.conf NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/sftp_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/pdinstall NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/.sizes NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/installpbx NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/JRE.tar.gz NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/version NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/Debian2.6.18/NB-Java.tar.gz NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/VRTSpddea.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/VRTSnbpck.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/certcmdTool_for_UNIX.tar.gz NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/ssh_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/VRTSnbjre.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/extract_java NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/cp_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/nbcheck NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/nb_init_cfg NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/VRTSnbjava.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/VRTSnbcfg.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/nbbsdtar NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/VRTSpbx.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/client_config NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/VRTSnbclt.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/nbj.conf NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/sftp_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/pdinstall NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/.sizes NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/SuSE3.0.76/version NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/VRTSpddea.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/VRTSnbpck.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/certcmdTool_for_UNIX.tar.gz NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/ssh_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/VRTSnbjre.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/extract_java NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/cp_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/nbcheck NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/nb_init_cfg NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/VRTSnbjava.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/VRTSnbcfg.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/nbbsdtar NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/VRTSpbx.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/client_config NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/VRTSnbclt.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/nbj.conf NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/sftp_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/pdinstall NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/.sizes NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux/RedHat2.6.18/version NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/VRTSnbpck.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/certcmdTool_for_UNIX.tar.gz NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/ssh_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/VRTSnbjre.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/extract_java NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/cp_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/nbcheck NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/nb_init_cfg NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/VRTSnbjava.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/VRTSnbcfg.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/nbbsdtar NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/VRTSpbx.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/client_config NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/VRTSnbclt.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/nbj.conf NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/sftp_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/.sizes NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesSuSE3.0.76/version NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/ NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/VRTSnbpck.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/certcmdTool_for_UNIX.tar.gz NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/ssh_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/VRTSnbjre.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/extract_java NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/cp_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/nbcheck NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/nb_init_cfg NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/VRTSnbjava.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/VRTSnbcfg.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/nbbsdtar NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/VRTSpbx.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/client_config NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/VRTSnbclt.rpm NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/nbj.conf NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/sftp_to_client NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/.sizes NetBackup_8.1_CLIENTS2/NBClients/anb/Clients/usr/openv/netbackup/client/Linux-s390x/IBMzSeriesRedHat2.6.18/version NetBackup_8.1_CLIENTS2/Doc/ NetBackup_8.1_CLIENTS2/Doc/NetBackup_Documentation.pdf NetBackup_8.1_CLIENTS2/LICENSE
客戶端安裝與服務器安裝差不多,按照服務器安裝即可
客戶端安裝完成后要將所有key輸入,並在服務器端設置備份目錄
key:
--NETBACKUP ENT SERVER WLS 1 SERVER HARDWARE TIER 3 ONPREMISE STANDARD PERPETUAL LICENSE KJXV-Y2R8-6V8Z-963Z-PPPP-VPOG-OZCP-PRPP-PPN3-4C --NETBACKUP ENT CLIENT WLS 1 SERVER HARDWARE TIER 3 ONPREMISE STANDARD PERPETUAL LICENSE KJX4-ADZX-WXRZ-3PCX-P6PP-BCOS-LZ3Z-PNP6-8PPC-4C --NETBACKUP CLIENT APPLICATION AND DB PACK WLS 1 SERVER HARDWARE TIER 3 ONPREMISE STANDARD PERPETUAL LICENSE--- KJX4-A2BX-WXRT-3PPZ-PPPP-NI3P-RPCP-8MSP-PPPC-4C --NETBACKUP DEDUPLICATION DATA PROTECTION OPTIMIZATION OPT XPLAT 1 FRONT END TB ONPREMISE STANDARD PERPETUAL LICENSE KJXV-Y2Z2-WXNR-929R-PPPP-PPCP-PP6J-OPPZ-CPN3-4C --OPSCENTER ANALYTICS XPLAT 1 CLIENT ONPREMISE STANDARD PERPETUAL LICENSE ORZ9-3JAS-7D9P-T8KV-9EPP-P34C-6PXP-PCPP-RPPO-Z
所有key添加完成后重啟NetBackup服務
一般,在沒有NBU備份作業運行(可在NBU控制台上Activity Monitor上查看)的條件下,重啟NBU服務的方法如下: 1、執行下面命令,停止NBU服務。 /usr/openv/netbackup/bin/bp.kill_all 2、步驟1的命令執行完成后,查看是否有未清理完成的進程。 /usr/openv/netbackup/bin/bpps 3、如果步驟2中無任何輸出,表明NBU所有進程已經停止,可執行步驟4命令啟動進程。 4、執行下面命令,啟動NBU服務。 /usr/openv/netbackup/bin/bp.start_all 某些場景下,NBU進程異常,無法通過上述方式恢復,可嘗試下面方法清理環境並重啟服務。 1、執行下面命令,停止NBU服務。 /usr/openv/netbackup/bin/bp.kill_all 2、步驟1的命令執行完成后,查看是否有未清理完成的進程,如果遺留使用kill -9 xxx結束進程。 /usr/openv/netbackup/bin/bpps 3、停止vxpbx服務。 /opt/VRTSpbx/bin/vxpbx_exchanged stop 4、清理緩存。 mkdir /tmp/nbuclr cd /usr/openv/var/host_cache cp -rf ./* /tmp/nbuclr rm -rf /usr/openv/var/host_cache/* cd usr/openv/netbackup/db/jobs/ cp -rf pempersist2 /tmp/nbuclr rm -rf pempersist2 cp -rf /usr/openv/var/*.ior /tmp/nbuclr cp -rf /usr/openv/var/*.ior.mgr /tmp/nbuclr rm -rf /usr/openv/var/*.ior rm -rf /usr/openv/var/*.ior.mgr 5、啟動vxpbx服務. /opt/VRTSpbx/bin/vxpbx_exchanged start 6、啟動NBU服務. /usr/openv/netbackup/bin/bp.start_all
在客戶端Oracle用戶下,將UNIX平台上將Oracle RMAN與NetBackup鏈接
2.將Oracle RMAN與NetBackup鏈接
1)自動將Oracle RMAN與NetBackup鏈接
// 運行/usr/openv/netbackup/bin/中的oracle_link腳本 // 此腳本確定Oracle的版本級別,然后將Oracle鏈接到NetBackup API庫,此腳本將輸出寫入/tmp/mak-trace.<pid>。要更改跟蹤文件的位置,請更改oracle_link腳本中國的MAKE_TRACE變量 // 注:如果進行的是升級安裝,則重新啟動Oracle數據庫實例
2)手動鏈接
// 鍵入下面的cd命令以更改目錄: cd $ORACLE_HOME/lib // 鍵入下面的ls命令,確定是否存在 Oracle庫: ls -l libobk.so // (視情況而定)使用mv命令將 Oracle庫移到另一位置。如果步驟 2 中的輸出表明存在libobk.so,請執行此步驟。 // 例如: mv libobk.so libobk.so.orig // 鍵入下面的ln命令以創建新鏈接: ln -s /usr/openv/netbackup/bin/libobk.so64 libobk.so // 如果您遇到問題從而無法重新鏈接 Oracle與 NetBackup API 庫,可以回滾所執行的操作。 // 輸入以下命令: cd $ORACLE_HOME/lib64 mv libobk.so.orig libobk.so
3.客戶端配置
啟動客戶端
/usr/openv/netbackup/bin/jnbSA
配置實例:
在NetBackup Management==》Applications==》Oracle==》All Instances
可自動發現Oracle實例,如未自動發現Oracle實例,手動添加即可:
鼠標右鍵==》New Instance
Instance Name: Oracle 實例名,如:orcl
Host:主機名,如:oracledb
ORACLE_HOME:Oracle數據庫環境變量路徑,如
[oracle@oracledb lib]$ echo $ORACLE_HOME /opt/app/oracle/product/11.2.0/db_1
在NetBackup Management==》Applications==》Oracle==》Instances Group
手動創建Oracle數據庫實例組:
鼠標右鍵==》New Instance Group
注:可使用root用戶
配置存儲單元:
在NetBackup Management==》Storage==》Storage Units
鼠標右鍵==》New Storage Unit
配置策略:
在NetBackup Management==》Policies
鼠標右鍵==》New Policy
輸入Policy name,並勾選<Use Policy Configuration Wizard>。
選擇Oracle
默認即可
選擇New
勾選實例 或 實例組
默認即可
默認即可
時間看你自己
選擇finish結束配置
鼠標右鍵選擇Manual Backup...測試是否正確
查看是否成功
如有不懂,且看官方文檔:
附中文文檔鏈接:
NetBackup 安裝指南
https://www.veritas.com/content/support/en_US/doc/32192901-127760800-0/v27801127-127760800
NetBackup For Oracle
https://www.veritas.com/content/support/en_US/doc/65499074-127761037-0/v23939507-127761037
NetBackup 備份、存檔和還原快速入門指南
https://www.veritas.com/content/support/en_US/doc/49587654-127760292-0/v25435870-127760292
Oracle安裝
https://www.cnblogs.com/yu-sheng/p/13698315.html