IBM現(xiàn)場服務(wù)指南_20081028.doc_第1頁
IBM現(xiàn)場服務(wù)指南_20081028.doc_第2頁
IBM現(xiàn)場服務(wù)指南_20081028.doc_第3頁
IBM現(xiàn)場服務(wù)指南_20081028.doc_第4頁
IBM現(xiàn)場服務(wù)指南_20081028.doc_第5頁
已閱讀5頁,還剩12頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)

文檔簡介

IBM現(xiàn)場服務(wù)指南1.AIX配置安裝21.1.導(dǎo)帶安裝21.2.光盤安裝31.2.1.安裝需要的軟件包31.2.2.安裝Base OS步驟41.2.3.修改Root用戶的口令111.2.4.安裝額外所需的Fileset111.2.5.安裝系統(tǒng)補丁121.2.6.OS 基本分區(qū)調(diào)整(rootvg)131.2.7.鏡像rootvg141.2.8.rootvg的備份142.HACMP的安裝152.1.HACMP的安裝準(zhǔn)備152.1.1.安裝前提152.1.2.需要安裝的文件集152.2.HACMP的安裝162.2.1.開始安裝162.2.2.打補丁162.2.3.重啟機器163.系統(tǒng)維護164.現(xiàn)場服務(wù)Tips164.1.檢查是否安裝了華為所要求的文件集164.2.分區(qū)及文件系統(tǒng)設(shè)置參考171. AIX配置安裝在華為現(xiàn)場,主要采用兩種方式安裝操作系統(tǒng),導(dǎo)帶安裝與光盤安裝。1.1. 導(dǎo)帶安裝導(dǎo)帶,即從磁帶中的mksysb恢復(fù)操作系統(tǒng),過程大致如下:步驟備注檢查硬件配置清單檢查安裝配置指南,包括AIX、HACMP及系統(tǒng)補丁版本信息檢查系統(tǒng)安裝規(guī)劃對服務(wù)器進行恢復(fù)出廠設(shè)置不一定需要尋找匹配的磁帶導(dǎo)帶檢查系統(tǒng)配置對操作系統(tǒng)及HACMP進行變更調(diào)整不一定需要對LVM及FS進行變更調(diào)整不一定需要圖表 1導(dǎo)帶的步驟可參考一下步驟進行導(dǎo)帶:操作順序具體步驟1把與主機序號相一致的磁帶插入磁帶機,重啟系統(tǒng)。2在系統(tǒng)啟動界面出現(xiàn)時,按1鍵,進入SMS菜單。3選擇(Select Boot Options)并回車。選擇(Select Install or Boot Device)并回車。選擇(Tape)并回車。選擇(List all device)并回車。選擇(SCSI Tape)并回車。選擇(Normal Mode Boot)并回車。選擇(Yes)并回車4系統(tǒng)提示“STARTING SOFTWOAREPLEASE WAIT.”5輸入 1 選擇系統(tǒng)終端,并回車6選擇1(Type 1 and press Enter to have English during install),并回車7選擇3(Start Maintenance Mode for System Receovery),并回車8選擇4(Insatll from a System Backup),并回車9選擇1(tape/scsi/scsd),并回車10選擇0(Install with the settings listed above),并回車11系統(tǒng)開始恢復(fù),界面上會提示恢復(fù)安裝進度12系統(tǒng)恢復(fù)完成后會自動重啟,重啟完成后就完成了系統(tǒng)恢復(fù)安裝圖表 2 導(dǎo)帶操作步驟請注意,導(dǎo)帶后請一定按照華為提供的配置指導(dǎo)書對操作系統(tǒng)及軟件進行檢查,確保配置符合華為的要求。1.2. 光盤安裝在沒有備份磁帶的情況下,選擇從光盤安裝全新的操作系統(tǒng),并做相應(yīng)配置。光盤安裝的大致過程如下:步驟備注檢查硬件配置清單檢查安裝配置指南,包括AIX、HACMP及系統(tǒng)補丁版本信息檢查系統(tǒng)安裝規(guī)劃對服務(wù)器進行恢復(fù)出廠設(shè)置不一定需要從光盤引導(dǎo)進行基本系統(tǒng)安裝按照安裝規(guī)劃對LVM和文件系統(tǒng)進行調(diào)整對磁盤進行鏡像安裝操作系統(tǒng)Service Pack以及特定補丁安裝HACMP及其Service Pack對系統(tǒng)再一次進行檢查通過磁帶進行備份圖表 3光盤安裝AIX的步驟1.2.1. 安裝需要的軟件包AIX管理維護及HACMP安裝配置需要以下文件集,詳細(xì)請參考華為現(xiàn)場提供的安裝指導(dǎo)書及其他資料。(最新的列表)AIX必須安裝的軟件包備注bos.acctbos.adtbos.alt_disk_patbos.content_pat.clientsrsct.coreX11.DtX11.adtX11.baseX11.compatifor_ls.html.en_US不一定需要圖表 4 AIX必須安裝的軟件包1.2.2. 安裝Base OS步驟以下步驟僅供參考。(1) 主機加電后,敲擊鍵盤鍵,服務(wù)器將從安裝介質(zhì)上引導(dǎo)(也可進入SMS菜單選擇從光盤啟動); (2) 顯示器顯示如下信息,要求用戶選擇主控臺。 Please define the system console Type a F1 and press enter to use this terminal as the system console. Type een F1 en druk op enter om deze terminal als de systeemconsole to gebruiken. Skrive tallet F1 og trykk paa enter for aa bruke denne terminalen som systemkonsoll. Pour definir ce terminal comme console systeme, appuyez sur F1puis sur entree. Taste F1 and ansch1iessend die eingabetaste druecken,um diese datenstation als systemkonsole zu verwenden. Prenier I1 tasto F1 ed invio per usare questo terminal como consolo. Escriba F1 y pulse intro para utilizer esta terminal como consola del sistema. a)Tryck paa 1 och sedan paa enter om dy vill att haer terminalen ska vara systemkonsol鍵入“ F1 ”并回車(注意:鍵入的“F1”不回顯)定義當(dāng)前設(shè)備為主控臺。(3)屏幕上將不斷顯示一些信息,幾分鐘后出現(xiàn)畫面,要求用戶選擇安裝語言環(huán)境: 1 Type 1 and press enter to have English during install. 2 Type 2 en druk op enter om tijdens het installeren het Nederlands te krijgen. 3 Entrez 3 pour effectuer 1 installation en francais. 4 Fr Installation in deutscher sprache 4 eingeben und die eingabetaste drcken. 5 Immettere 5 e premereinvio per 1 installazione initaliona. 6 Escriba 6 ypulse intro para usar el idioma espa ol durante la instalaci n. 7 Skriv 7 och tryck ned enter=svenska vid installationen. 88 Help? Choice【1】:鍵入“ 1 ”后回車,選擇語言環(huán)境為English。 (4)此后屏幕出現(xiàn): Welcome to Base Operating System Installation and Maintenance Type the number of your choice and press enter .Choice is indicated by 1 Start install now with default settings 2 Change/show installation settings and install 3 Start Maintenance Mode for system Recovery88 Help? 99 Previous Menu Choice : 這是系統(tǒng)安裝和維護的主菜單。我們需要改變一些設(shè)置選項再進行基本操作系統(tǒng)的安裝;(5)改變安裝設(shè)置: 在上面菜單中,鍵入“2”并回車,屏幕出現(xiàn)“Install and Setting”畫面: Installlation and a Settings Either type 0 and press enter to install with current settings, or type the number of the setting you want to change and press enter. 1 system setting: Method of installlation.Preserve install Disk wher you want to install .hdisk0 2 Prinary Language Environment settings (AFTER Install): Cultural Convention.English(United States) Language. English(United States) Keyboard. English(United States) Keyboard Type. Eefault 3 Install Trusted Computing Base.No 0 Install AIX wint the current settings listed above.88 Help? 99 Previous Menu Choice :這是系統(tǒng)安裝的默認(rèn)設(shè)置,用戶應(yīng)根據(jù)需要進行修改。與此同時,在屏幕的右下角會出現(xiàn)如下的警告信息: WARNING:Base Operating system installation will destro or impair recovery of ALL data on the destination disk hdisk0. 以上是提醒用戶安裝系統(tǒng)的后果將破壞用戶原有的硬盤上的數(shù)據(jù)。 因為我們是第一次安裝所以應(yīng)選擇:完全覆蓋安裝(New and complete overwrite),所以鍵入 1 :(進入菜單更改安裝方式) (6)安裝方式的更改: Change Method of Installation Type the number of your choice and press Enter. 1 New and Complete Overwrite Overwrites EVERYTHING on the disk selected for installation. Warning: Only use this method if the disk is totally empty or there is nothing on the disk you want to preserve. Preservation InstallPreserves SOME of the existing data on the disk selected for Installation. Warning: This method overwrites the user (/usr), variable (/var), temporary(/tmp), and root (/) file systems. Other product (application) files and configuration data will be destroyed. 3 Migration Install Upgrades the Base Operating System to current release. Other product(application) files and configuration data will be spared. 88 Help ? 99 Previous Menu Choice 2: 1 如圖所示:鍵入 1 將安裝方式改為New and complete overwrite (7)選擇安裝操作系統(tǒng)的目的硬盤: Change Disks Where You Want to Install Type one or more numbers for the disk(s) to be used for installation and press Enter. To cancel a choice, type the corresponding number and press Enter. At least one bootable disk must be selected. The current choice is indicated by Size VG Name Location Code (MB) Status Bootable 1 hdisk0 00-01-00-0.0 305 rootvg yes 2 hdisk1 00-01-00-1.0 305 rootvg no 0 Continue with choices indicated above 66 Disks not known to Base Operating System Installation 88 Help ? 99 Previous Menu Choice 0:1此處為選擇安裝系統(tǒng)到那一塊(或幾塊)硬盤。鍵入 1 ,安裝到 hdisk0。 Change Disks Where You Want to Install Type one or more numbers for the disk(s) to be used for installation and press Enter. To cancel a choice, type the corresponding number and press Enter. At least one bootable disk must be selected. The current choice is indicated by . Size VG Name Location Code (MB) Status Bootable 1 hdisk0 00-01-00-4.0 305 rootvg yes 2 hdisk1 00-01-00-8.0 305 rootvg no 0 Continue with choices indicated above 66 Disks not known to Base Operating System Installation 88 Help ? 99 Previous Menu Choice 0:此時會在hdisk0前出現(xiàn) 來表明系統(tǒng)將安裝至該硬盤。 選好后選擇 : 0 繼續(xù)。(8)選擇完畢后應(yīng)顯示如下: Installation Settings Either type 0 or press Enter to install with current settings, or type the number of the setting you want to change and press Enter 1 System Settings Method of installation New and Complete Overwrite Disk where you want to Install . hdisk0 2 Primary Language Environment Settings (AFTER install) Cultural Convention . C (POSIX) Language . C (POSIX) Keyboard . C (POSIX) 3 Install Trusted Computing Base . no 0 Install with the settings listed above 88 Help ? 99 Previous Menu Choice 1:0_(9) 設(shè)置完畢選擇 0 安裝即開始,屏幕將不斷顯示安裝的進行情況。此時,只需耐心等待。當(dāng)BOS安裝完畢,系統(tǒng)將自動重啟. Installing Base Operating System Please wait. Approximate Elapsed time %task completed (in minutes)系統(tǒng)安裝完成后,會自動重新啟動,并自動進入“安裝輔助菜單”。1.2.3. 修改Root用戶的口令1.2.4. 安裝額外所需的Filesetroot# smitty installpF4cd01.2.5. 安裝系統(tǒng)補丁從ibm網(wǎng)站上下載最新的補丁集,使用smit菜單安裝系統(tǒng)補丁。root# smitty update_all1.2.6. OS 基本分區(qū)調(diào)整(rootvg)由于系統(tǒng)默認(rèn)安裝完畢后各個分區(qū)都非常小,很有必要調(diào)整各分區(qū)的大小,將各個分區(qū)都相應(yīng)加大,以符合應(yīng)用需要。調(diào)整磁盤空間方法:1、 root用戶:smit lv = Set Characteristic of a Logical Volume =Increase the Size of a Logical Volume。2、 在LOGICAL VOLUME name中輸入需要調(diào)整的LV的名稱(或者使用“ESC+4”列表選擇),在Number of ADDITIONAL logical partitions中輸入需要增加的LP的個數(shù),再回車即可。3、 調(diào)整后rootvg中LV的大小應(yīng)該如下所示:# lsvg l rootvgrootvg:LV NAME TYPE LPs PPs PVs LV STATE MOUNTPOINThd5 boot 1 2 2 closed/syncd N/Ahd6 paging 16 32 2 open/syncd N/Ahd8 jfslog 1 2 2 open/syncd N/Ahd4 jfs 1 2 2 open/syncd /hd2 jfs 20 40 2 open/syncd /usrhd9var jfs 4 8 2 open/syncd /varhd3 jfs 4 8 2 open/syncd /tmphd1 jfs 1 2 2 open/syncd /home注意:上面顯示的是LP個數(shù),LP的大小可以使用“l(fā)svg rootvg”命令得到,一般是128 MB。PP SIZE: 128 megabyte(s)調(diào)整后使用“df k”驗證文件系統(tǒng)的大小,防止因為LP大小不一致造成沒有達到實際要求的大小。1.2.7. 鏡像rootvg安裝好系統(tǒng)后,系統(tǒng)是單盤運行,為了保證系統(tǒng)的高可靠性,要求系統(tǒng)盤必須進行鏡像。1、檢查rootvg的文件系統(tǒng),如下顯示沒有做根盤鏡像。# lsvg -l rootvgrootvg:LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINThd5 boot 1 1 1 closed/syncd N/A2、根盤鏡像# extendvg rootvg hdisk1 /將硬盤hdisk1加入rootvg中# mirrorvg c2 rootvg /對rootvg做鏡像# bootlist m normal o hdisk0 hdisk1 /指定硬盤引導(dǎo)次序# bosboot -a# chvg Qn rootvg# lsvg l rootvgrootvg:LV NAME TYPE LPs PPs PVs LV STATE MOUNTPOINThd5 boot 1 2 2 closed/syncd N/A根據(jù)PPs為LPs的兩倍,PVs為2,可以判斷系統(tǒng)盤已經(jīng)成功鏡像。3、重啟系統(tǒng)使根盤鏡像生效#shutdown Fr1.2.8. rootvg的備份對卷組rootvg的備份也就是創(chuàng)建一個可引導(dǎo)的映像,包含rootvg里面所有mount起來的文件系統(tǒng),我們可以用這個備份出來的引導(dǎo)映像來將崩潰的系統(tǒng)恢復(fù)到備份時的狀態(tài)。在創(chuàng)建系統(tǒng)備份之前,需要完成以下先決條件: 使用root用戶登錄。 如果計劃使用備份映象來安裝其他不同配置的目標(biāo)系統(tǒng),必須在配置源系統(tǒng)之前創(chuàng)建映象,或者把 bosinst.data 文件里的“RECOVER_DEVICES”變量設(shè)置為“no”。 如果使用備份來創(chuàng)建源系統(tǒng)的主副本,需要考慮修改密碼和網(wǎng)絡(luò)地址。 安裝要備份的所有文件系統(tǒng),mksysb 命令僅備份所有安裝在rootvg中的JFS(日志文件系統(tǒng)),不備份通過NFS網(wǎng)絡(luò)安裝的文件。要備份文件系統(tǒng),還需要先mount。 卸載任意安裝在另一本地目錄上的本地目錄。 在 /etc/exclude.rootvg 文件中列出不需要備份的文件。 在 /tmp 目錄里至少保留8.8MB的可用磁盤空間,mksysb 在備份過程中需要使用 /tmp 空間。 必須已經(jīng)安裝所有硬件,包括外部設(shè)備,例如磁帶機和CD-ROM驅(qū)動器。 必須安裝 bos.sysmgt.sysbr 文件集,使用“l(fā)slpp l bos.sysmgt.sysbr”可以確定是否已經(jīng)安裝。使用mksysb命令建立一個可引導(dǎo)的映像,包含rootvg里面所有mount起來的文件系統(tǒng),我們可以用這個備份出來的引導(dǎo)的映像來將系統(tǒng)恢復(fù)到原先的狀態(tài)。系統(tǒng)備份步驟:1、 關(guān)閉磁帶的寫保護。2、 將磁帶插入需要備份系統(tǒng)的內(nèi)置磁帶機。3、 用root用戶登錄系統(tǒng),如下操作,備份成功后會提示“Backup Completed Successfully”。# mksysb -i /dev/rmt0Creating information file (/image.data) for rootvg.Creating tape boot image.Creating list of files to back up.Backing up 28268 files.28268 of 28268 files (100%)0512-038 mksysb: Backup Completed Successfully.4、 取出磁帶并貼上標(biāo)明主機序號的標(biāo)簽,并對磁帶進行寫保護。記住備份系統(tǒng)的root用戶密碼。2. HACMP的安裝安裝前需要做的準(zhǔn)備工作,包括對系統(tǒng)進行軟硬件方面前期的配置工作,如存儲配置,劃分,目錄、用戶、分區(qū)、卷、文件系統(tǒng)的創(chuàng)建,操作系統(tǒng)配置的修改,輔助服務(wù)和引用的配置等等。2.1. HACMP的安裝準(zhǔn)備2.1.1. 安裝前提安裝前,請確保AIX相應(yīng)的文件集都已安裝,具體請對照圖表4中列舉的AIX文件集。2.1.2. 需要安裝的文件集HACMP必須安裝的軟件包備注cluster.adt.escluster.doc.en_US.escluster.escluster.es.clvm不一定有該文件集cluster.es.cspoccluster.es.worksheetscluster.licen

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論