




已阅读5页,还剩31页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
先安装disksuite和oracle软件这部分参阅其他的资料,不要忘记打patch;# cd/cdrom_image/sol_8_sparc_2/Solaris_8/EA/products/DiskSuite_4.2.1/sparc/Packagescd /; sh /cdrom/suncluster_sc31u4_sparc/installer# pkgadd -d . SUNWmdr SUNWmdu SUNWmdx optional-pkgs*SCSI 阵列要更改其中一台主机的scsi-initiator-id,另一台先不开机 方法如下:进入ok提示符下 ok setenv auto-boot? false ok reset-all ok probe-scsi-all 记录显示的阵列中控制器的物理路径,如/pci4,4000/scsi3及/pci4,4000/scsi3,1,一下以此为例 ok nvedit 0:probe-all install-console banner 1:cd /pci4,4000/scsi3 2:6 scsi-initiator-id interger-property 将scsi-initiator-id改为6 (默认的是7)3:device-end 4:cd /pci4,4000/scsi3,1 5:6 scsi-initiator-id interger-property 6:device-end 7:banner (ctrl+c) ok nvstore ok setenv use-nvramrc? True ok setenv auto-boot? True ok reset-all 至此,两台主机可以同时开机进入操作系统,用format命令可以看到9块硬盘,而且保证阵列上的8块硬盘在两台主机上的物理路径于逻辑设备名完全一致 *Sun Cluster软件安装: / metadb 分在slice 7 100mb/. format 建一个大约512M的ufs文件系统,newfs , mount 到 /globaldevices 上vi /etc/vfstabSC3.0 :eeprom local-mac-address?=falseSC3.1 :eeprom local-mac-address?=trueIf you install SC 3.1 Update3 on Solaris 9then Solaris Auditing (aka BSM) must be disabled. Remove from /etc/system把这一句注释掉set c2audit:audit_load = 1*IPMPvi /etc/hostname.hme3SMPP01 group SMPPipmp therapy upaddif SMPP01-qfe1-test -failover deprecated upvi /etc/hostname.hme7SMPP02-qfe2-test group SMPPipmp -failover deprecated upNAFO# ./pnmsetIn the following, you will be prompted to doconfiguration for network adapter failoverDo you want to continue . y/n: yHow many NAFO groups to configure 1: Enter NAFO group number 0: Enter space-separted list of adapters in nafo0: hme0Checking configuration of nafo0:Testing active adapter hme0.NAFO configuration completedbash-2.05# more /etc/hostname.qfe2sf280-1 group nafo upaddif sf280-1-1 -failover deprecated up bash-2.05# more /etc/hostname.qfe3sf280-1-2 group nafo -failover deprecated up*Solaris 8 & 9:If desired you can use MPxIO:?To activate edit /kernel/drv/scsi_vhci.confmpxio-disable=no;?Exclude controllers from MPxIO in/kernel/drv/qlc.confe.g: name=qlc parent=/pci6,2000 unitaddress=2 mpxio-disable=yes;or /kernel/drv/fp.conf (recommended for SAN 4.3 and higher)e.g: name=fpparent=/pci6,2000/SUNW,qlc2 port=0mpxio-disable=yes;Solaris 10:# stmsboot -eDo not run this command if SunCluster isalready installed.If using T3PP you must setup:sys mp_support mpxio*Solaris9 and Solaris10 for Sun Cluster3.1 Update3 and higher:Edit /etc/netconfig so that the udp & tcplines are BEFORE the udp6 & tcp6 lines.SunAlert 101893 AND 101880SC3.1U3 and higherautomatically configure IPv6 ontransport interfaces!*1在每个节点机上编辑/.profile文件 PATH=$PATH:/usr/cluster/bin MANPATH=$MANPATH:/usr/cluster/man:/usr/share/man Export PATH MANPATH 编辑/etc/system文件For Oracle HAset shmsys:shminfo_shmmax=0xffffffff (or 0xffffffffffffffff for 64 bit) set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=200 set shmsys:shminfo_shmseg=200 set semsys:seminfo_semmap=1024 set semsys:seminfo_semmni=2048 set semsys:seminfo_semmns=2048 set semsys:seminfo_semmnu=2048 set semsys:seminfo_semume=200 set semsys:seminfo_semmsl=2048 set semsys:seminfo_semopm=100 set semsys:seminfo_semvmx=32767 forceload: sys/shmsys forceload: sys/semsys forceload: sys/msgsys 2在每个节点机 / 上编辑.rhosts + 3在每个节点机上编辑/etc/default/login文件 #CONSOLE=/dev/console 4在每个节点机上编辑/etc/hosts文件,将对方节点,逻辑主机名的对应ip写入 # more /etc/hosts localhost 1 TYKF01 loghost2 TYKF023 TYKF4 tyk01qfe05 tyk01qfe36 tyk02qfe07 tyk02qfe3Configure /etc/inet/hosts.Additionally for Solaris10 configure/etc/inet/ipnodesEnter all cluster nodes and allthe logical Hosts.心跳网口一定要down unplumb*remove the cluster init 0boot -x#scinstall -r #pkgrm SUNWscr手工删/usr/cluster; /etc/cluster; /var/cluster reboot*5建立一个全新的cluster节点 (第一台node)a. 运行SunCluster_3.0/Tools/scinstall b. 建立一个新的cluster=* 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 cluster3) Configure a cluster to be JumpStarted from this install server4) Add support for a new data service to this cluster node5) Print release information for this cluster node* ?) Help with menu options* e) ExitOption: 1选择1=* Establishing a new cluster *This option is used to establish a new cluster using this machine asthe first node in that cluster. You will be asked to provide both thename of the cluster and the names of the other nodes which willinitially be joining that cluster.In addition, you will be asked to provide certain cluster transportconfiguration information.Press Ctrl-d at any time to return to the Main Menu.Do you want to continue (yes/no) yes? yes=c. 输入集群名字 Cluster Name Cluster Nodes Authenticating Requests to Add Nodes Network Address for the Cluster Transport Point-to-Point Cables Global Devices File System Each node in the cluster must have a local file system mounted on/global/.devices/node before it can successfully participateas a cluster member. Since the “nodeID” is not assigned untilscinstall is run, scinstall will set this up for you. However, inorder to do this, you must supply the name of either analready-mounted file system or raw disk partition at this time. Thisfile system or partition should be at least 100 MB in size.If an already-mounted file system is used, the file system must beempty. If a raw disk partition is used, a new file system will becreated for you.The default is to use /globaldevices.Is it okay to use this default (yes/no) yes? yes=h. 不接受装完后自动重起 Automatic Re-boot Confirmation Your responses indicate the following options to scinstall:scinstall -i -C planets -N venus -T node=venus,node=mars,authtype=sys -A trtype=dlpi,name=hme1 -A trtype=dlpi,name=hme2 -B type=switch,name=switch1 -B type=switch,name=switch2 -m endpoint=:hme1,endpoint=switch1 -m endpoint=:hme2,endpoint=switch2Are these the options you want to use yes? yesDo you want to continue with the install (yes/no) yes? yes* Installing Sun Cluster 3.0 *SUNWscr.done.SUNWscdev.done.SUNWscu.done. .I. 纪录下/etc/name_to_major 文件中的did numberJ. 给cluster打patch进入/sun/patch/SunCluster/3.0/8,里面的所有patch都打上;K. touch /reconfigure一个文件L. init 6;6向集群中添加另一个节点 /在两个节点上都运行domainname abc 建立相同的domain 才能加到cluster 上,重启会自动清除!a 运行SunCluster_3.0/Tools/scinstall b 选择第二项Add this machine as a node in an established cluster c 输入主节点的机器名 What is the name of the sponsoring node? venusd. 输入cluster的名字 What is the name of the cluster you want to join ? planetse 接受默认的全局设备文件系统 f 不接受装完后自动重起 g. 打上cluster的补丁,重起rootgoalnet-32 # ./scinstall * Main Menu * Please select from one of the following (*) options: * 1) Install a cluster or cluster node 2) Configure a cluster to be JumpStarted from this install server 3) Add support for new data services to this cluster node * 4) Print release information for this cluster node * ?) Help with menu options * q) Quit Option: 1 * Install Menu * Please select from any one of the following options: 1) Install all nodes of a new cluster 2) Install just this machine as the first node of a new cluster 3) Add this machine as a node in an existing cluster ?) Help with menu options q) Return to the Main Menu Option: 3 * Adding a Node to an Existing Cluster * This option is used to add this machine as a node in an already established cluster. If this is an initial cluster install, there may only be a single node which has established itself in the new cluster. Once the cluster framework software is installed, you will be asked to provide both the name of the cluster and the name of one of the nodes already in the cluster. Then, sccheck(1M) is run to test this machine for basic Sun Cluster pre-configuration requirements. After sccheck(1M) passes, you may be asked to provide certain cluster transport configuration information. Press Control-d at any time to return to the Main Menu. Do you want to continue (yes/no) yes? Software Patch Installation Sponsoring Node Cluster Name Check Autodiscovery of Cluster Transport Point-to-Point Cables Cluster Transport Adapters and Cables Global Devices File System Each node in the cluster must have a local file system mounted on /global/.devices/node before it can successfully participate as a cluster member. Since the nodeID is not assigned until scinstall is run, scinstall will set this up for you. You must supply the name of either an already-mounted file system or raw disk partition which scinstall can use to create the global devices file system. This file system or partition should be at least 512 MB in size. If an already-mounted file system is used, the file system must be empty. If a raw disk partition is used, a new file system will be created for you. The default is to use /globaldevices. Is it okay to use this default (yes/no) yes? Aut
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 现代诗歌赏析案例《从前慢》研讨
- 重庆市中考化学备考押题解析
- 零售行业员工培训计划及效果评估方案
- 《分数与除法》教学案例集锦
- 公务员考试高频考点及真题解析
- 市政道路施工组织设计完整方案
- 小学家庭奖励机制设计方案模板
- 矿井安全生产标准评分细则
- 高铁线路维护作业安全规范
- 移动互联网行业现状与未来趋势报告
- 《大嘴巴纸玩偶》名师课件
- 2025年上海市高考英语热点复习:阅读理解说明文
- (完整版)八上新闻拟标题专项训练题
- 国家管网集团合同范本
- 《新能源汽车动力电池及管理系统检修》全套教学课件
- 妇产科三基三严培训内容
- 中医全科学科
- 2024年《招标采购专业知识与法律法规》考前必刷必练题库500题(含真题、必会题)
- 《张仲景活血通络法研究》
- 超星尔雅学习通《当代大学生国家安全教育》章节测试答案
- DL∕T 5285-2018 输变电工程架空导线(800mm以下)及地线液压压接工艺规程
评论
0/150
提交评论