亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 1058 | 回復(fù): 0
打印 上一主題 下一主題

Project procedure (Cluster 3.0) [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2006-04-26 15:45 |只看該作者 |倒序?yàn)g覽
1. Backup OS
  
     Shutdown Cluster and backup to tape , before do this , run explorer and keep results .
     # scshutdown -y -g0
     Ok. boot -x
     #ufsdump 0uf /dev/rmt/0hn /
     #ufsdump 0uf /dev/rmt/0hn /oracle
     #ufsdump 0uf /dev/rmt/0hn /export/home
     
2. Restore OS from 18GB to  73GB disk .

    format and label 73GB disk , according to poson doc for the new disk partition
   
    0 /(根目錄) 20GB
1 /Swap 區(qū) 20GB
2 系統(tǒng)保留
3 vm private
4 vm public
5 /oracle 8GB
6 /export/home 22GB
7 /globaldevices 100M
合計(jì)  約70G

    I recommend the globaldevices partition to 512mb (this is for SC3.1 need)
   
   newfs 73GB disk and restore OS
   #mount /dev/dsk/c1t0d0s0 /mnt
   #cd /mnt
   #ufsdump 0uf - / | ufsrestore rvf -
   
   Restore the oracle and opt , home partition to 73GB disk .
   Newfs the global device partition
   #newfs /dev/rdsk/c1t0d0s7
  
3. mount the 73GB root and change some file
    #mount /dev/dsk/c1t0d0s0 /mnt
    #cd /mnt/etc
    #touch /mnt/etc/vx/reconfig.d/state.d/install-db
    Remove the flag that tells Volume Manager that the root disk is encapsulated:
      
    # rm /mnt/etc/vx/reconfig.d/state.d/root-done
    #cp /mnt/etc/system /mnt/etc/system.orig
    #vi /mnt/etc/system
刪除或者采用*注釋其中兩行
* rootdev:/pseudo/vxio@0:0
* set vxio:vol_rootdev_is_volume=1
#cp /mnt/etc/vfstab /mnt/etc/vfstab.orig
#vi /mnt/etc/vfstab
  編輯vfstab文件,將vfstab文件還原為沒(méi)有封裝前的狀態(tài),修改文件中所有以以下一行
原有:
/dev/vx/dsk/swapvol     -       -       swap    -       no      -
/dev/vx/dsk/rootdg/rootvol /dev/vx/rdsk/rootdg/rootvol / ufs 1 no logging
/dev/vx/dsk/rootdisk_17vol      /dev/vx/rdsk/rootdisk_17vol     /global/.devices/node@1 ufs     2       no      global
修改為:
/dev/dsk/c1t0d0s1     -       -       swap    -       no      -
/dev/dsk/c1t0d0s0   /dev/rdsk/c1t0d0s0   / ufs 1 no logging
/dev/dsk/c1t0d0s7      /dev/rdsk/c1t0d0s7     /global/.devices/node@1 ufs     2       no      global
node2參考node1
/dev/dsk/c1t0d0s7      /dev/rdsk/c1t0d0s7     /global/.devices/node@2 ufs     2       no      global
     
  4. Install bootblk and boot the 73GB disk
   # umount /mnt
   # cd /usr/platform/sun4u/lib/fs/ufs;installboot ./bootblk /dev/rdsk/c1t0d0s0
   #init 0
   Ok. boot 73GBdisk -x
   
  5. Restore the c0t0d0 (18GB) partition to original
    When Volume Manager encapsulates a disk, it makes a record of the old vtoc of the disk.
This file is stored for each disk in /etc/vx/reconfig.d/disk.d/c#t#d#.  This file is stored in a Volume Manager
specific format, so it can't be used as an argument to fmthard unless it is modified.  The 'vxedvtoc' command is
similar to fmthard but knows how to read this vtoc file and write that vtoc to a disk.  The command takes the form:
      vxedvtoc -f  
      
Assuming that the boot disk is c0t0d0 we would now run the command
      /etc/vx/bin/vxedvtoc -f /etc/vx/reconfig.d/disk.d/c0t0d0/vtoc /dev/rdsk/c0t0d0s2
      
# THE ORIGINAL PARTITIONING IS AS FOLLOWS :
#SLICE     TAG  FLAGS    START     SIZE
0         0x0  0x200        0        0
1         0x0  0x200        0        0
2         0x5  0x201        0  8794112
3         0x0  0x200        0        0
4         0x0  0x200        0        0
5         0x0  0x200        0        0
6         0xe  0x201        0  8794112
7         0xf  0x201  8790016     4096
# THE NEW PARTITIONING WILL BE AS FOLLOWS :
#SLICE     TAG  FLAGS    START     SIZE
0         0x0  0x200        0  2048000
1         0x0  0x200  2048000  2048000
2         0x5  0x201        0  8794112
3         0x0  0x201  4096000  2048000
4         0x0  0x201  6144000  2048000
5         0x0  0x200        0        0
6         0x0  0x200        0        0
7         0x0  0x200        0        0
DO YOU WANT TO WRITE THIS TO THE DISK ? [Y/N] :y
WRITING THE NEW VTOC TO THE DISK
   About the c0t1d0s0 (old 18GB mirror disk)  , just remove the slice 3 and 4 ( it keep the old rootdg info)
   
6. Vxinstall and encapsulate 73GB disk

    Encapsulate root via vxinstall
When answering the prompts for the name of the
rootdisk for each node - enter a different name for
each node.
e.g.: rootnode0 rootnode1 ...
Note the unique minor numbers in the cluster e.g.:
Reminor the device in rootdg to be unique on each node. Set each node to
     have a base minor number of 100*. E.G. node1=100, node2=200
     vxdg reminor 00
Check via: sccheck command.
   #boot -r
  調(diào)整系統(tǒng)minor值
當(dāng)系統(tǒng)minor值在兩臺(tái)主機(jī)上沖突時(shí)候,需要調(diào)整其中一臺(tái)主機(jī)的minor值。
# vxdg reminor rootdg 100(node1)
#vxdg reminor rootdg 200 (node2)
Reminor the device in rootdg to be unique on each node. Set each node to
     have a base minor number of 100*. E.G. node1=100, node2=200
     vxdg reminor 00
修改完成后reboot 出現(xiàn)沖突的主機(jī)
7.  待兩臺(tái)主機(jī)都啟動(dòng)cluster后上運(yùn)行
# devfsadm
# devfsadm -C
更新DID信息
# scgdevs
清除多余的DID信息
# scdidadm  -C
# scgdevs
檢查DID信息
# scdidadm -L   
其中共享硬盤(pán)會(huì)后重復(fù)的兩行,本地硬盤(pán)只有一行。
將機(jī)器reboot一次檢查是否由DID報(bào)錯(cuò)信息。并用scstat 檢查鎖盤(pán)狀態(tài)是否online
8. Mirror root disk

   vxdiskadm init another 73GB disk name rootmir rootmir

9. checked the vxdmp disable or not

   #vxdisk list
   If display as "fabricx" , vxdmp is disabled
   If display as "t3_0" , vxdmp is enable . must run vxdiskadm to disable it .
   
   
  10. Get the latest explorer output to me for check  

本文來(lái)自ChinaUnix博客,如果查看原文請(qǐng)點(diǎn):http://blog.chinaunix.net/u/14743/showart_105138.html
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP