IBMP750安装AIX7.1.0.4HA7.1.3.4+主备方式Oracle11.2.0.4.81.安装AIX7.1HMC:192.168.167.150IBMP750:192.168.167.151192.168.167.152选择:5选择:1选择:3选择:4选择:5选择:27选择:2选择:1按2并回车。选择:1全新安装把2去掉,选择1即hdisk0安装新系统。选择5,并选择安装企业版。安装时间01:07:54.12.做系统备份:AIX7100-04-00-0000rootvg默认每pp1Groot/1qaz!QAZ补丁位置:/tmp/aixupda目录下。#oslevel–s7100-04-01-1543#lsdev–Cctapermt0#tctl-f/dev/rmt0rewind――倒磁带#smitmksysb――备份rootvg选择/dev/rmt07,8分钟即可备份完成新系统。#smitlsmksysb3.识别使用的网卡及FC卡#smitdev-PCIHOTplugmamager-IdentifyaPCIHotPlugslotPCI上的指示灯会闪烁!4.做网卡绑定公网:ent2与ent12绑定私网:ent14与ent18绑定(做HA7.1时,不需要此绑定后的私网)HBA卡:fcs4和fcs6#smitetherchannel做主备模式绑定#smittcpip-FurtherConfiguration-NetworkInterfaces-NetworkInterfaceSelection-RemoveaNetworkInterface-选择:“en25StandardEthernetNetworkInterface”#smitetherchannel-RemoveAnEtherChannel/LinkAggregation-选择“ent25”#smitmktcpip#entstat-drtent24把ent2后的网线拨掉之后:备网卡接管网络主网卡网线插回后,网卡会自动切回到主网卡为工作网卡。心跳线采用两条线直连,但拨网线从主网卡切换到备网卡后,再把主网卡网线插回后不会自动切回主网卡。5.根盘及数据盘镜像:#bootlist-mnormal-ohdisk0blv=hd5pathid=0#lspvhdisk000fa3ce31158f984rootvgactivehdisk100fa3ce35acf3b53Nonehdisk2noneNonehdisk3noneNone#做根盘镜像:把hdisk1添加到rootvg中:#extendvg-frootvghdisk1#lspvhdisk000fa3ce31158f984rootvgactivehdisk100fa3ce35acf3b53rootvgactivehdisk2noneNonehdisk3noneNone##lsvgrootvgVOLUMEGROUP:rootvgVGIDENTIFIER:00fa3ce300004c000000015311590849VGSTATE:activePPSIZE:1024megabyte(s)VGPERMISSION:read/writeTOTALPPs:1116(1142784megabytes)MAXLVs:256FREEPPs:1044(1069056megabytes)LVs:12USEDPPs:72(73728megabytes)OPENLVs:11QUORUM:2(Enabled)TOTALPVs:2VGDESCRIPTORS:3STALEPVs:0STALEPPs:0ACTIVEPVs:2AUTOON:yesMAXPPsperVG:32512MAXPPsperPV:1016MAXPVs:32LTGsize(Dynamic):1024kilobyte(s)AUTOSYNC:noHOTSPARE:noBBPOLICY:relocatablePVRESTRICTION:noneINFINITERETRY:noDISKBLOCKSIZE:512CRITICALVG:noFSSYNCOPTION:no关闭rootvg的quorum:#chvg-Qnrootvg0516-1804chvg:Thequorumchangetakeseffectimmediately.#lsvgrootvgVOLUMEGROUP:rootvgVGIDENTIFIER:00fa3ce300004c000000015311590849VGSTATE:activePPSIZE:1024megabyte(s)VGPERMISSION:read/writeTOTALPPs:1116(1142784megabytes)MAXLVs:256FREEPPs:1044(1069056megabytes)LVs:12USEDPPs:72(73728megabytes)OPENLVs:11QUORUM:1(Disabled)TOTALPVs:2VGDESCRIPTORS:3STALEPVs:0STALEPPs:0ACTIVEPVs:2AUTOON:yesMAXPPsperVG:32512MAXPPsperPV:1016MAXPVs:32LTGsize(Dynamic):1024kilobyte(s)AUTOSYNC:noHOTSPARE:noBBPOLICY:relocatablePVRESTRICTION:noneINFINITERETRY:noDISKBLOCKSIZE:512CRITICALVG:noFSSYNCOPTION:no#把rootvg中的hdisk1做hdisk0的镜像:#mirrorvg-Srootvghdisk1――后台同步!0516-1126mirrorvg:rootvgsuccessfullymirrored,usershouldperformbosbootofsystemtoinitializebootrecords.Then,usermustmodifybootlisttoinclude:hdisk0hdisk1.#lsvgrootvgVOLUMEGROUP:rootvgVGIDENTIFIER:00fa3ce300004c000000015311590849VGSTATE:activePPSIZE:1024megabyte(s)VGPERMISSION:read/writeTOTALPPs:1116(1142784megabytes)MAXLVs:256FREEPPs:976(999424megabytes)LVs:12USEDPPs:140(143360megabytes)OPENLVs:12QUORUM:1(Disabled)TOTALPVs:2VGDESCRIPTORS:3STALEPVs:1STALEPPs:68ACTIVEPVs:2AUTOON:yesMAXPPsperVG:32512MAXPPsperPV:1016MAXPVs:32LTGsize(Dynamic):1024kilobyte(s)AUTOSYNC:noHOTSPARE:noBBPOLICY:relocatablePVRESTRICTION:noneINFINITERETRY:noDISKBLOCKSIZE:512CRITICALVG:noFSSYNCOPTION:no##lsvg-lrootvgrootvg:LVNAMETYPELPsPPsPVsLVSTATEMOUNTPOINThd5boot122closed/syncdN/Ahd6paging16322open/staleN/Ahd8jfs2log122open/staleN/Ahd4jfs2482open/stale/hd2jfs210202open/stale/usrhd9varjfs210202open/stale/varhd3jfs210202open/stale/tmphd1jfs210202open/stale/homehd10optjfs2482open/stale/opthd11adminjfs2122open/stale/adminlg_dumplvsysdump441open/syncdN/Alivedumpjfs2122open/stale/var/adm/ras/livedump#查看syncd/stale状态,确认stale变成syncd状态,同步完成!#lsvg-lrootvgrootvg:LVNAMETYPELPsPPsPVsLVSTATEMOUNTPOINThd5boot122closed/syncdN/Ahd6paging16322open/syncdN/Ahd8jfs2log122open/syncdN/Ahd4jfs2482open/syncd/hd2jfs210202open/syncd/usrhd9varjfs210202open/syncd/varhd3jfs210202open/syncd/tmphd1jfs210202open/syncd/homehd10optjfs2482open/syncd/opthd11adminjfs2122open/syncd/adminlg_dumplvsysdump441open/syncdN/Alivedumpjfs2122open/syncd/var/adm/ras/livedump#lsvgrootvgVOLUMEGROUP:rootvgVGIDENTIFIER:00fa3ce300004c000000015311590849VGSTATE:activePPSIZE:1024megabyte(s)VGPERMISSION:read/writeTOTALPPs:1116(1142784megabytes)MAXLVs:256FREEPPs:976(999424megabytes)LVs:12USEDPPs:140(143360megabytes)OPENLVs:11QUORUM:1(Disabled)TOTALPVs:2VGDESCRIPTORS:3STALEPVs:0STALEPPs:0ACTIVEPVs:2AUTOON:yesMAXPPsperVG:32512MAXPPsperPV:1016MAXPVs:32LTGsize(Dynamic):1024kilobyte(s)AUTOSYNC:noHOTSPARE:noBBPOLICY:relocatablePVRESTRICTION:noneINFINITERETRY:noDISKBLOCKSIZE:512CRITICALVG:noFSSYNCOPTION:no#在hdisk1上创建bootimage:#bosboot-adhdisk1bosboot:Bootimageis51228512byteblocks.修改启动设备顺序:#bootlist-mnormalhdisk0hdisk1#bootlist-mnormal-ohdisk0blv=hd5pathid=0hdisk1blv=hd5pathid=0##lspvhdisk000fa3ce01158f742rootvgactivehdisk100fa3ce056a816ferootvgactivehdisk2noneNonehdisk3noneNone##smitmkvgAddaScalableVolumeGroupTypeorselectvaluesinentryfields.PressEnterAFTERmakingalldesiredchanges.[EntryFields]VOLUMEGROUPname[datavg]PhysicalpartitionSIZEinmegabytes+*PHYSICALVOLUMEnames[hdisk2]+Forcethecreationofavolumegroup?no+ActivatevolumegroupAUTOMATICALLYyes+atsy