您好,欢迎访问三七文档
SUN的双机文档软件要求:Solaris9SunCluster3.1VeritasVxVM3.5(需要VxVM的License和ClusterVolumeManager(CVM)的License)Oracle9iEnterpriseEditionSun3310阵列驱动硬件要求:Sun480两台SunQFE四口网卡2块SunSCSI卡X6758A2块Sun3310阵列2台一、安装硬件二、配置阵列3310,要求如下:要求如下:两台都一样c2t5d0quorum盘512Mc2t5d1ora-rac-dgLog盘256Mc2t5d2ora-rac-dg盘140Gc2t5d3ora-arc-dgLog盘256Mc2t5d4ora-arc-dg盘剩下的空间c3t5d0quorum盘512Mc3t5d1ora-rac-dgLog盘256Mc3t5d2ora-rac-dg盘140Gc3t5d3ora-arc-dgLog盘256Mc3t5d4ora-arc-dg盘剩下的空间三、安装操作系统以Sun48036G硬盘为例,分区如下:#formatSearchingfordisks...doneAVAILABLEDISKSELECTIONS:0.c1t0d0SUN36Gcyl24620alt2hd27sec107/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695b66,01.c1t1d0SUN36Gcyl24620alt2hd27sec107/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695de5,0Specifydisk(enteritsnumber):0selectingc1t0d0[diskformatted]Warning:CurrentDiskhasmountedpartitions.formatppartitionpCurrentpartitiontable(original):Totaldiskcylindersavailable:24620+2(reservedcylinders)PartTagFlagCylindersSizeBlocks0rootwm5808-1306710.00GB(7260/0/0)209741401varwm13068-145192.00GB(1452/0/0)41948282backupwm0-2461933.92GB(24620/0/0)711271803swapwu0-58078.00GB(5808/0/0)167793124unassignedwm00(0/0/0)05unassignedwm14520-2177910.00GB(7260/0/0)209741406unassignedwm21780-22142512.06MB(363/0/0)10487077unassignedwm00(0/0/0)0四、给操作系统打补丁(采用最新的补丁盘)#cd/cdrom/eis-cd/sun/install#./setup-standard.sh#cd/cdrom/eis-cd/sun/patch/9#../../install/bin/unpack_patches#cd/tmp/9#ejectcdrom#./install_all_patches五、安装3310的驱动和补丁#ls112697-04SUNWqusSUNWqusuSUNWqusuxSUNWqusx#pkgadd-d.all(一路yes即可)#patchadd112697-04在文件/etc/kernel/sd.conf文件中加入如下几行:name=sdclass=scsitarget=5lun=0;name=sdclass=scsitarget=5lun=1;name=sdclass=scsitarget=5lun=2;name=sdclass=scsitarget=5lun=3;name=sdclass=scsitarget=5lun=4;#reboot重起后,使用format命令检查磁盘阵列的配置是否正确。#formatSearchingfordisks...donec2t5d0:configuredwithcapacityof510.00MBc2t5d1:configuredwithcapacityof254.00MBc2t5d2:configuredwithcapacityof136.71GBc2t5d3:configuredwithcapacityof254.00MBc2t5d4:configuredwithcapacityof66.62GBc3t5d0:configuredwithcapacityof510.00MBc3t5d1:configuredwithcapacityof254.00MBc3t5d2:configuredwithcapacityof136.71GBc3t5d3:configuredwithcapacityof254.00MBc3t5d4:configuredwithcapacityof66.62GBAVAILABLEDISKSELECTIONS:0.c1t0d0SUN36Gcyl24620alt2hd27sec107/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c5069619e,01.c1t1d0SUN36Gcyl24620alt2hd27sec107/pci@9,600000/SUNW,qlc@2/fp@0,0/ssd@w2100000c50695ef2,02.c2t5d0SUN-StorEdge3310-0325cyl510alt2hd64sec32/pci@8,700000/pci@3/scsi@4/sd@5,03.c2t5d1SUN-StorEdge3310-0325cyl254alt2hd64sec32/pci@8,700000/pci@3/scsi@4/sd@5,14.c2t5d2SUN-StorEdge3310-0325cyl35273alt2hd127sec64/pci@8,700000/pci@3/scsi@4/sd@5,25.c2t5d3SUN-StorEdge3310-0325cyl254alt2hd64sec32/pci@8,700000/pci@3/scsi@4/sd@5,36.c2t5d4SUN-StorEdge3310-0325cyl34112alt2hd64sec64/pci@8,700000/pci@3/scsi@4/sd@5,47.c3t5d0SUN-StorEdge3310-0325cyl510alt2hd64sec32/pci@8,700000/pci@3/scsi@5/sd@5,08.c3t5d1SUN-StorEdge3310-0325cyl254alt2hd64sec32/pci@8,700000/pci@3/scsi@5/sd@5,19.c3t5d2SUN-StorEdge3310-0325cyl35273alt2hd127sec64/pci@8,700000/pci@3/scsi@5/sd@5,210.c3t5d3SUN-StorEdge3310-0325cyl254alt2hd64sec32/pci@8,700000/pci@3/scsi@5/sd@5,311.c3t5d4SUN-StorEdge3310-0325cyl34112alt2hd64sec64/pci@8,700000/pci@3/scsi@5/sd@5,4Specifydisk(enteritsnumber):0selectingc1t0d0[diskformatted]Warning:CurrentDiskhasmountedpartitions.formatq六、配置/etc/hosts文件和/.profile文件rac1:root@rac1#cat/etc/hosts##Internethosttable#127.0.0.1localhost192.168.0.201rac1loghosta.b192.168.0.202rac2在/.profile文件中加入以下内容:PATH=$PATH:/usr/cluster/bin:/etc/vx/binexportPATHMANPATH=$MANPATH:/usr/cluster/man:/usr/share/man:/opt/VRTS/manexportMANPATHrac2:root@rac2#cat/etc/hosts##Internethosttable#127.0.0.1localhost192.168.0.202rac2loghosta.b192.168.0.201rac1在/.profile文件中加入以下内容:PATH=$PATH:/usr/cluster/bin:/etc/vx/binexportPATHMANPATH=$MANPATH:/usr/cluster/man:/usr/share/man:/opt/VRTS/manexportMANPATH七、安装SunCluster3.1,并打SunCluster3.1的补丁建立主节点:#cd/opt/suncluster_3_1/SunCluster_3.1/Sol_9/Tools#./scinstall***MainMenu***Pleaseselectfromoneofthefollowing(*)options:*1)Establishanewclusterusingthismachineasthefirstnode*2)Addthismachineasanodeinanestablishedcluster3)ConfigureaclustertobeJumpStartedfromthisinstallserver4)Addsupportfornewdataservicestothisclusternode5)Printreleaseinformationforthisclusternode*?)Helpwithmenuoptions*q)QuitOption:1***EstablishingaNewCluster***Thisoptionisusedtoestablishanewclusterusingthismachineasthefirstnodeinthatcluster.Oncetheclusterframeworksoftwareisinstalled,youwillbeaskedforthenameofthecluster.Then,sccheck(1M)isruntotestthismachineforbasicSunClusterpre-configurationrequirements.Aftersccheck(1M)passes,youwillbeaskedforthenamesoftheothernodeswhichwillinitiallybejoiningthatcluster.Inaddition,youwillbeaskedtoprovidecertainclustertransportconfigurationinformation.PressCtrl-datanytimetoreturntotheMainMenu.Doyouwanttocontinue(yes/no)[yes]?SoftwarePackageInstallationInstallationoftheSunClusterframeworksoftwarepackageswilltakeafewminutestocomplete.Isitokaytocontinue(yes/no)[yes]?**InstallingSunCluster3.1fram
本文标题:SUN的双机文档
链接地址:https://www.777doc.com/doc-4482430 .html