麻豆小视频在线观看_中文黄色一级片_久久久成人精品_成片免费观看视频大全_午夜精品久久久久久久99热浪潮_成人一区二区三区四区

首頁 > 學(xué)院 > 開發(fā)設(shè)計 > 正文

Oracle RAC on Sun Cluster 3.1(step by step)

2019-11-18 13:18:36
字體:
供稿:網(wǎng)友

  軟件要求:
    Solaris 9
    Sun Cluster 3.1
    Veritas VxVM 3.5(需要VxVM的License和Cluster Volume Manager(CVM)的License )
    Oracle 9i EnterPRise Edition
    Sun 3310陣列驅(qū)動
  
  硬件要求:
    Sun 480       兩臺
    Sun QFE四口網(wǎng)卡   2塊
    Sun SCSI卡X6758A   2塊
    Sun 3310陣列     2臺
  
  一、安裝硬件
  
  二、配置陣列3310,要求如下:
  
     要求如下:
     兩臺都一樣
  
     c2t5d0   quorum盤  512M
     c2t5d1   ora-rac-dg Log盤  256M
     c2t5d2   ora-rac-dg 盤   140G
     c2t5d3   ora-arc-dg Log盤  256M
     c2t5d4   ora-arc-dg 盤   剩下的空間
     c3t5d0   quorum盤  512M
     c3t5d1   ora-rac-dg Log盤  256M
     c3t5d2   ora-rac-dg 盤   140G
     c3t5d3   ora-arc-dg Log盤  256M
     c3t5d4   ora-arc-dg 盤   剩下的空間
  
  三、安裝操作系統(tǒng)
  以Sun 480 36G硬盤為例,分區(qū)如下:
  # format
  Searching for disks...done
  
  
  AVAILABLE DISK SELECTIONS:
      0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
       /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695b66,0
      1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
       /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695de5,0
  Specify disk (enter its number): 0
  selecting c1t0d0
  [disk formatted]
  Warning: Current Disk has mounted partitions.
  
  format> p
  partition> p
  Current partition table (original):
  Total disk cylinders available: 24620 + 2 (reserved cylinders)
  
  Part   Tag  Flag   Cylinders     Size      Blocks
   0    root  wm  5808 - 13067    10.00GB  (7260/0/0) 20974140
   1    var  wm  13068 - 14519    2.00GB  (1452/0/0)  4194828
   2   backup  wm    0 - 24619    33.92GB  (24620/0/0) 71127180
   3    swap  wu    0 - 5807    8.00GB  (5808/0/0) 16779312
   4 unassigned  wm    0        0     (0/0/0)      0
   5 unassigned  wm  14520 - 21779    10.00GB  (7260/0/0) 20974140
   6 unassigned  wm  21780 - 22142   512.06MB  (363/0/0)  1048707
   7 unassigned  wm    0        0     (0/0/0)      0
  
  四、給操作系統(tǒng)打補丁(采用最新的補丁盤)
    # cd /cdrom/eis-cd/sun/install
    # ./setup-standard.sh
  
    # cd /cdrom/eis-cd/sun/patch/9
    # ../../install/bin/unpack_patches
  
    # cd /tmp/9
    # eject cdrom
    # ./install_all_patches
  
  五、安裝3310的驅(qū)動和補丁
  # ls
  112697-04 SUNWqus  SUNWqusu  SUNWqusux SUNWqusx
  # pkgadd -d . all
  (一路yes即可)
  # patchadd 112697-04
  
  在文件/etc/kernel/sd.conf文件中加入如下幾行:
  name="sd" class="scsi" target=5 lun=0;
  name="sd" class="scsi" target=5 lun=1;
  name="sd" class="scsi" target=5 lun=2;
  name="sd" class="scsi" target=5 lun=3;
  name="sd" class="scsi" target=5 lun=4;
  
  # reboot
  
  重起后,使用format命令檢查磁盤陣列的配置是否正確。
  # format
  Searching for disks...done
  
  c2t5d0: configured with capacity of 510.00MB
  c2t5d1: configured with capacity of 254.00MB
  c2t5d2: configured with capacity of 136.71GB
  c2t5d3: configured with capacity of 254.00MB
  c2t5d4: configured with capacity of 66.62GB
  c3t5d0: configured with capacity of 510.00MB
  c3t5d1: configured with capacity of 254.00MB
  c3t5d2: configured with capacity of 136.71GB
  c3t5d3: configured with capacity of 254.00MB
  c3t5d4: configured with capacity of 66.62GB
  
  AVAILABLE DISK SELECTIONS:
      0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
       /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c5069619e,0
      1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
       /pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695ef2,0
      2. c2t5d0 <SUN-StorEdge3310-0325 cyl 510 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@4/sd@5,0
      3. c2t5d1 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@4/sd@5,1
      4. c2t5d2 <SUN-StorEdge3310-0325 cyl 35273 alt 2 hd 127 sec 64>
       /pci@8,700000/pci@3/scsi@4/sd@5,2
      5. c2t5d3 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@4/sd@5,3
      6. c2t5d4 <SUN-StorEdge3310-0325 cyl 34112 alt 2 hd 64 sec 64>
       /pci@8,700000/pci@3/scsi@4/sd@5,4
      7. c3t5d0 <SUN-StorEdge3310-0325 cyl 510 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@5/sd@5,0
      8. c3t5d1 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@5/sd@5,1
      9. c3t5d2 <SUN-StorEdge3310-0325 cyl 35273 alt 2 hd 127 sec 64>
       /pci@8,700000/pci@3/scsi@5/sd@5,2
     10. c3t5d3 <SUN-StorEdge3310-0325 cyl 254 alt 2 hd 64 sec 32>
       /pci@8,700000/pci@3/scsi@5/sd@5,3
     11. c3t5d4 <SUN-StorEdge3310-0325 cyl 34112 alt 2 hd 64 sec 64>
       /pci@8,700000/pci@3/scsi@5/sd@5,4
  Specify disk (enter its number): 0
  selecting c1t0d0
  [disk formatted]
  Warning: Current Disk has mounted partitions.
  
  format> q
  
  六、配置/etc/hosts文件和/.profile文件
  rac1:
  root@rac1 # cat /etc/hosts
  #
  # Internet host table
  #
  127.0.0.1    localhost
  192.168.0.201  rac1  loGhost a.b
  192.168.0.202  rac2
  
  在/.profile文件中加入以下內(nèi)容:
  
  PATH=$PATH:/usr/cluster/bin:/etc/vx/bin
  eXPort PATH
  MANPATH=$MANPATH:/usr/cluster/man:/usr/share/man:/opt/VRTS/man
  export MANPATH
  
  rac2:
  root@rac2 # cat /etc/hosts
  #
  # Internet host table
  #
  127.0.0.1    localhost
  192.168.0.202  rac2  loghost a.b
  192.168.0.201  rac1
  在/.profile文件中加入以下內(nèi)容:
  
  PATH=$PATH:/usr/cluster/bin:/etc/vx/bin
  export PATH
  MANPATH=$MANPATH:/usr/cluster/man:/usr/share/man:/opt/VRTS/man
  export MANPATH
  
  七、安裝Sun Cluster 3.1,并打Sun Cluster 3.1的補丁
  建立主節(jié)點:
  
  # cd /opt/suncluster_3_1/SunCluster_3.1/Sol_9/Tools
  # ./scinstall
   *** Main Menu ***
  
    Please select from one of the following (*) options:
  
     * 1) Establish a new cluster using this machine as the first node
     * 2) Add this machine as a node in an established cluster
      3) Configure a cluster to be JumpStarted from this install server
      4) Add support for new data services to this cluster node
      5) Print release information for this cluster node
  
     * ?) Help with menu options
     * q) Quit
  
    Option:1
  
   *** Establishing a New Cluster ***
  
  
    This option is used to establish a new cluster using this machine as the first node in that cluster.
  
    Once the cluster framework software is installed, you will be asked for the name of the cluster. Then, sccheck(1M) is run to test this machine for basic Sun Cluster pre-configuration requirements.
  
    After sccheck(1M) passes, you will be a

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 久久亚洲精品久久国产一区二区 | 亚洲亚色 | 精品一区二区免费视频视频 | 成年性羞羞视频免费观看 | 黄wwww| 久久网页 | 精品在线免费播放 | 国产精品久久久久久婷婷天堂 | 欧美黄色一级生活片 | 高清成人在线 | 国产精品久久久久久久模特 | 国产做爰 | 欧美精品成人一区二区在线观看 | 免费a级黄色片 | 亚洲最新色 | 免费高清一级欧美片在线观看 | 久草在线视频福利 | 国产精品久久77777 | 精品久久久久久久久久中出 | 暴力肉体进入hdxxxx0 | 欧美成人激情在线 | 爱视频福利 | 欧美伦理一区二区 | 麻豆国产一区 | 一级黄色欧美 | 久久2019中文字幕 | 美女毛片在线观看 | 成人一级黄色大片 | 亚洲人成中文字幕在线观看 | 日韩精品久久久久久久九岛 | 国产亚洲精品网站 | 国产亚洲区 | 伊人午夜视频 | 99日韩精品视频 | 国产成人在线网址 | 亚洲午夜精品视频 | 久久噜噜噜精品国产亚洲综合 | 国产乱淫a∨片免费观看 | 小情侣嗯啊哦视频www | 欧美精品免费一区二区三区 | 欧美日本色 |