hp-ux 備份OS命令
LEIZ_TEST更換硬碟操作步驟
對伺服器進行硬碟的更換之前,要先做好os級的備份,操作步驟如下:
備註:請在hp工程師到位前對os進行備份,備份命令為
make_tape_recovery -Av |
1. 檢視日誌
LEIZ_TEST#[/]cd /var/opt/resmon/log LEIZ_TEST#[/var/opt/resmon/log]ls api.log client.log event.log registrar.log rst.log LEIZ_TEST#[/var/opt/resmon/log]vi event.log "event.log" 6399 行, 219948 個位元組
>------------ Event Monitoring Service Event Notification ------------<
Notification Time: Sat Sep 27 12:48:04 2008
LEIZ_TEST sent Event Monitor notification information:
/storage/events/disks/default/1_0_1_1_0_1_1.6.0 is >= 1. Its current value is INFORMATION(1).
Event data from monitor:
Event Time..........: Sat Sep 27 12:48:04 2008 Severity............: INFORMATION Monitor.............: disk_em Event #.............: 100401 System..............: LEIZ_TEST
Summary: Disk at hardware path 1/0/1/1/0/1/1.6.0 : Successful completion of "event.log" 6399 行, 219948 個位元組
v-v-v-v-v-v-v-v-v-v-v-v-v D E T A I L S v-v-v-v-v-v-v-v-v-v-v-v-v
Component Data: Physical Device Path...: 1/0/1/1/0/1/1.6.0 Device Class...........: Disk Inquiry Vendor ID......: HP 73.4G Inquiry Product ID.....: ST373454LC Firmware Version.......: HPC2 Serial Number..........: 3KP17RDX00007607ZL0J
Product/Device Identification Information:
Logger ID.........: sdisk Product Identifier: SCSI Disk Product Qualifier.: HP73.4GST373454LC SCSI Target ID....: 0x06 SCSI LUN..........: 0x00
I/O Log Event Data:
:q
|
2. ioscan
LEIZ_TEST#[/var/opt/resmon/log]ioscan -kfnCdisk Class I H/W Path Driver S/W State H/W Type Description ========================================================================== disk 0 1/0/0/3/0.6.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC /dev/dsk/c0t6d0 /dev/rdsk/c0t6d0 disk 1 1/0/0/3/1.2.0 sdisk CLAIMED DEVICE _NEC DVD+RW NDD /dev/dsk/c1t2d0 /dev/rdsk/c1t2d0 disk 2 1/0/1/1/0/1/1.6.0 sdisk CLAIMED DEVICE HP 73.4GST373C /dev/dsk/c3t6d0 /dev/rdsk/c3t6d0 disk 3 1/0/6/1/1.0.0 sdisk CLAIMED DEVICE COMPAQ BD07288277 /dev/dsk/c5t0d0 /dev/rdsk/c5t0d0 disk 4 1/0/6/1/1.1.0 sdisk CLAIMED DEVICE COMPAQ BD07288277 /dev/dsk/c5t1d0 /dev/rdsk/c5t1d0
LEIZ_TEST#[/var/opt/resmon/log]ioscan -fnCtape Class I H/W Path Driver S/W State H/W Type Description ========================================================================== tape 1 1/0/1/1/0/1/0.1.0 stape CLAIMED DEVICE HP C5683A LEIZ_TEST#[/var/opt/resmon/log]ioscan -fnCtape Class I H/W Path Driver S/W State H/W Type Description ========================================================================== tape 1 1/0/1/1/0/1/0.1.0 stape CLAIMED DEVICE HP C5683A
LEIZ_TEST#[/var/opt/resmon/log]uname -a HP-UX LEIZ_TEST B.11.11 U 9000/800 192372456 不限使用者數的許可證
|
3. 備份OS命令--備份到小磁帶
192.168.203.66 2009-10-21日備份
LEIZ_TEST#[/var/opt/resmon/log]make_tape_recovery -Av * Creating local directories for configuration files and archive.
======= 10/21/09 14:22:08 EAT Started make_tape_recovery. (Wed Oct 21 14:22:08 EAT 2009) @(#) Ignite-UX Revision B.5.2.124 @(#) net_recovery (opt) $Revision: 10.624 $
======= 10/21/09 17:04:33 EAT make_tape_recovery completed successfully!
|
4. 取消2塊盤之間的mirror
5. 更換新硬碟
6. 重新做mirror
7. 更換硬碟完成(並填寫現場服務記錄單)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9252210/viewspace-617153/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- HP-UX系統備份UX
- 備份命令
- 備份命令列命令列
- hp-ux磁帶備份失敗故障解決UX
- oracle rman備份命令Oracle
- 常用RMAN 備份命令
- fbackup命令備份恢復命令
- Oracle資料庫備份與恢復之三:OS備份/使用者管理的備份與恢復Oracle資料庫
- 物理備份是以block來區別邏輯備份的(os block或oracle block) ?BloCOracle
- tore 命令來恢復備份
- SQLSERVER 備份BCP命令說明SQLServer
- oracle備份常用命令Oracle
- linux的OS簡單的備份和恢復Linux
- HP-UX常見命令UX
- rman備份恢復命令之switch
- oracle資料泵備份(Expdp命令)Oracle
- Linux備份與壓縮命令Linux
- mysql資料庫備份命令大全MySql資料庫
- [HP-UX] HA切換命令UX
- HP-UX常用命令UX
- HP-UX ServiceGuard雙機命令UX
- hp-ux tar命令測試UX
- mongodb 備份恢復常用命令MongoDB
- innobackupex命令備份全過程圖解圖解
- Linux mysql 備份和匯入命令LinuxMySql
- 線上透過dd命令備份分割槽
- 使用dd命令進行遠端備份
- RMAN 常用操作命令二(備份保留策略)
- 10g 熱備份命令加強
- mysql資料庫備份匯入命令MySql資料庫
- MySQL8.4備份恢復快速命令MySql
- 物理冷備份與恢復的操作命令
- db2 命令列備份和恢復DB2命令列
- LightDB常用備份恢復命令說明
- Mongo 資料庫備份和恢復命令Go資料庫
- 使用Catalog命令註冊RMAN備份集
- Unix備份與壓縮命令實踐(轉)
- 常用命令--資料庫備份--mysqdump資料庫