一、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