【正文】
七 系統(tǒng)開關(guān)機(jī)流程 關(guān)機(jī)流程 ? 以 root 用戶登錄到 HLCDBSVR02 上,輸入如下命令: sync; sync; sync; poweroff 等待大約 3 分鐘左右,系統(tǒng)關(guān)閉, HLCDBSVR02 前面板狀態(tài)等熄滅。如果狀態(tài)嗎為其他數(shù)字,就需要查看該作業(yè)的詳細(xì)信息進(jìn)行故障排除。 用戶名: root,口令: root123 ( HLCDBSVR02 的 root 用戶和口令) 用戶授權(quán)完成后,即可進(jìn)入備份軟件管理界面。 Netbackup 軟件日常管理 NetBackup 備份軟件的日常管理是通過軟件自帶的管理控制程序來完成,進(jìn)入此管理程序的方式如下: 以圖形方式登錄到 HLCDBSVR02 主機(jī)中,輸入如下命令: /usr/open/backup/bin/jnbSA amp。 安裝備份客戶端 ORALCE AGNET 程序 以 root 用戶登錄 HLCDBSVR02 主機(jī),放入 NETBACKUP OPTION 軟件 包 光盤: mount –t isso9660 –o ro /dev/dvd /mnt /mnt/install Symantec Installation Script Copyright 1993 2020 Symantec Corporation, All Rights Reserved. Installation Options 1 NetBackup AddOn Product Software 2 NetBackup Database Agent Software q To quit from this script Choose an option [default: q]: 2 //選擇安裝 database Agent 軟件包 ********** There are two ways to install database agent software. 1. Remote Installation: Loads the software on a server with the intent of pushing database software out to affected clients. 2. Local Installation: Loads and installs the software only to this local machine. ********** Do you want to do a local installation? [y,n] (n) y //執(zhí)行本地安裝 ********** NetBackup Database Agent Installation Choose the Database Agents you wish to install one at a time or select Install All Database Agents. 1) NetBackup for DB2 2) NetBackup for Informix 3) NetBackup for Lotus Notes 4) NetBackup for Oracle 5) NetBackup for SAP 6) NetBackup for Sybase 7) Install All Database Agents q) Done Selecting Agents x) Exit from this Script Choose an option: 4 //選擇需要安裝的數(shù)據(jù)庫 Agent類型, ORACLE Choose an option: q //選擇完畢,退出 You have chosen to install these Database Agents: NetBackup for Oracle Is this list correct? [y,n] (y) //確認(rèn)所選擇安裝的軟件內(nèi)容 ********** Of the agents selected, the following are supported on this platform and will be installed: Oracle Loading the Database Agent packages into the /usr/openv/backup/dbext directory and installing. ********** Installing NetBackup for Oracle Extracting files from /usr/openv/backup/dbext/ ... /bin/tar: Read 3584 bytes from usr/openv/backup/ usr/openv/backup/bin/ usr/openv/backup/bin/bpubsora usr/openv/backup/bin/bpdbsbora usr/openv/backup/bin/ 省略部分輸出內(nèi)容 NetBackup for Oracle installation pleted. 備份客戶端的 ORACLE Agent軟件包安裝完成。32m OK _[0。 命令行管理方式: 以 root 用戶登錄到 VCS 中的任何一臺(tái)主機(jī)上,執(zhí)行下列命令來監(jiān)控: hastatus –summary //查看 VCS 整體狀態(tài) SYSTEM STATE System State Frozen A HLCDBSVR01 RUNNING 0 A HLCDBSVR02 RUNNING 0 GROUP STATE Group System Probed AutoDisabled State B HLCDBORA10G HLCDBSVR01 Y N PARTIAL B HLCDBORA10G HLCDBSVR02 Y N OFFLINE RESOURCES FAILED Group Type Resource System C HLCDBORA10G NIC Public_NIC HLCDBSVR01 C HLCDBORA10G NIC Public_NIC HLCDBSVR02 hastart //啟動(dòng) VCS hastart onenode hastart help hastart v hastart version hastop //停止 VCS hastop local [force|evacuate|noautodisable] hastop local [force|evacuate noautodisable] hastop sys system .... [force|evacuate|noautodisable] hastop sys system .... [force|evacuate noautodisable] hastop all force hastop all hastop [help] hasys //管理 vcs 節(jié)點(diǎn)命令,配合各種參數(shù)使用 hasys add sys hasys delete sys hasys freeze [persistent] [evacuate] sys hasys unfreeze [persistent] sys hasys force sys hasys load sys value hasys display [system(s)] [attribute attribute(s)] [clus cluster | localclus] hasys state [sys] [clus cluster | localclus] hasys list [conditional(s)] [clus cluster | localclus] hasys value sys attr [clus cluster | localclus] hasys nodeid [nodeid] hasys updatelic sys sys hasys updatelic all hasys wait sys attr value [clus cluster] [time timeout] hagrp //資源組管理命令 hagrp add group hagrp delete group hagrp link parent group child group dependency hagrp unlink parent group child group hagrp clear group [sys system] [clus cluster | localclus] hagrp clearadminwait [fault] group sys system hagrp flush group sys system [clus cluster | localclus] hagrp online [force] [nopre] group sys system [checkpartial system] [clus cluster | localclus] hagrp online [force] group any [clus cluster | localclus] hagrp offline [force] [ifprobed] group sys system [clus cluster | localclus] hagrp offline [force] [ifprobed] group any [clus cluster | localclus] hagrp switch group to system [clus cluster | localclus [nopre]] hagrp switch group any [clus cluster | localclus] hagrp migrate group to system hagrp freeze group persistent hagrp freeze group [clus cluster | localclus] hagrp unfreeze group persistent hagrp unfreeze group [clus cluster | localclus]