


版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、VCSforAIX安装配置指南VCSforAIX结构图PtibicLANEMP&301VCSOracleAg«nt磁盘度列-DS5570VverTtas1. 建议安装最新的AIX补丁2. oslevel-r#5100-05表示已经安装了ML05硬件环境准备?公网(如en0,en1)已经连接到网络上?私网(如en2,en3)通过两根交义线互连?共享磁盘阵列连接正常,并能被两台服务器识别3. ?足够的磁盘空间(/opt78M、/usr13M、/var2M、/3M)设置PATHff!MANPATH境变量PATH=/sbin:/usr/sbin:/opt/VRTSvcs/bin:$P
2、ATH;exportPATH4. MANPATH=$MANPATH:/opt/VRTS/man;exportMANPATH允许两台服务器之间可以rlogin在每台服务器的根目录下编辑/.rhosts文件,在其中写上一个+号。为了安全起见,在安装完成后建议将/.rhosts文件删除。修改/etc/pse.conf使得LLTDriver工作?去除ethernetdriver'所在行前的#注释符,如下所示d+dlpien/dev/dlpi/en#streamsdlpiethernetdriver?在#PSEModules部分加上如下一行dllt#LLTdriver5. ?Rebootthes
3、erver设置SCSIIdentifier对于光纤磁盘阵列,跳过这一步,直接进入第7步。每台服务器必须使用唯一的SCSIIdentifier,检查是否每台AIX服务器使用相同的SCSIIdentifier通常AIXSCSIIdentifier被设置成缺省值7。通过下面的命令可以显示id值:dy_db2:/opt>#lsdev-Ccadapter|grepscsiscsi0Available1S-08Wide/Ultra-3SCSII/OControllerscsi1Available1S-09Wide/Ultra-3SCSII/OControllerscsi2Available1c-08
4、Wide/Fast-20SCSII/OControllerdy_db2:/opt>#lsattr-Elscsi0-aidid7AdaptercardSCSIIDTruedy_db1:/>#lsdev-Ccadapter|grepscsiscsiOAvailable1S-08Wide/Ultra-3SCSII/OControllerscsilAvailable1S-09Wide/Ultra-3SCSII/OControllerscsi2Available1c-08Wide/Fast-20SCSII/OControllerdy_db1:/>#lsattr-ElscsiO-aidi
5、d7AdaptercardSCSIIDTrue通过smittyscsia或下面的命令可以更改id值:dy_db1:/>chdev-p-lscsi-aid=5更彼完成后需要重新启动服务器,然后通过lspv命令去检查是否每台服务器都能识别共享磁盘阵列上的硬盘设备。6. 校验共享磁盘设备通过lspv命令来校验是否每台服务器都能识别到共享磁盘north#lspvhdiskO0003128f6f283f95rootvghdisklnoneNonehdisk2noneNonehdisk3noneNonehdisk4noneNonerootvgNonesouth#Ispvhdisk00003127f6
6、e97dbe6hdisklnonehdisk2noneNonehdisk3noneNonehdisk4noneNone如果LVM或VxVM没有控制某块硬盘,那么共享的PhysicalVolume'sIDnumber可能不会显示,可以执行如下命令后再校验。north#chdev-lhdisk2-apv=yeshdisk2changedsouth#chdev-lhdisk2-apv=yeshdisk2changed通过再次运行lspv,可以看到hdisk2在两台服务器上使用相同的PVIDnumber,也就表示这是同一块硬盘被共享使用。north#lspvhdisk00003128f6f28
7、3f95rootvghdisk1noneNonehdisk20003127fe6ee6473Nonehdisk3noneNonehdisk4noneNonesouth#lspvhdisk00003127f6e97dbe6rootvghdisk1noneNonehdisk20003127fe6ee6473Nonehdisk3noneNone7. hdisk4noneNone关于LogicalVolumeManager(LVM)?LVMisinstalledbydefault.?Usesmitorthecommandinetoconfigurevolumegroupsandlogicalvolum
8、es.?Sharedlogicalvolumescannotbeinvolumegrouprootvg.?Disksonthesharedbusmustbeconfiguredintovolumegroupsotherthanrootvg.?Sharedvolumegroupsmustbeimportedonallsystemsinthecluster,butactiveonnomorethanonesystemintheclusteratanytime.?Besurethatall/etc/filesystemsmountentrieshaveamount=falsedeclaration.
9、VCSmountsthesefilesystemsautomatically?Donotaddfilesystemsto/etc/exports.VCSexportsthemautomatically.?Whethercreatingvolumegroupsonsharedstorage,orcreatingfilesystemsusingmkfsorcrfstoresideonsharedstorage,createthemononesystemonly.VCSmountsthemonothersystemsintheclusterasnecessary.?Makesurethattheau
10、to-onattributeofavolumegroupissettoa“no”value.VCSmustcontroltheactivationanddeactivationofavolumegroup.设置共享VG的auto_on属性为n?Determinethecurrentvalueoftheauto_onattributeusingthecommand:lsattr-Elvolume-group-nameTheauto_onattributeissetto“y”inthefollowingexampleoutput:dy_db2:/>#lsattr-Eldatavgvgseri
11、al_id00575bac00004c00000000fcb68cd7dfN/AFalseauto_onyN/ATrueconc_capablenN/ATrueconc_auto_onnN/ATruetimestamp40b43e9f2ec11946N/ATrue?Changetheauto_onattributeto“n”oallsystems.Notethatthevolumegroupmustbeactivatedonthesystemwhereyouenterthechvgcommand:dy_db1#chvg-andatavgdy_db1#varyoffvgdatavgdy_db2#
12、varyonvgdatavgdy_db2#chvg-andatavg?Confirmthechange:8. dy_db2:/>#lsattr-Eldatavgvgserial_id00575bac00004c00000000fcb68cd7dfN/AFalseauto_onnN/ATrueconc_capablenN/ATrueconc_auto_onnN/ATruetimestamp40b43e9f2ec11946N/ATrue创建/etc/filesystems条目WhenusingAIXversion5,youmustcreatemountentriesinthe/
13、etc/filesystemsfileonallsystems.Theseentriesareneededtodeterminethevolume"svirtualfilesystemtype.EntriesusingLVMlogicalvolumesandtheJFSfilesystemresemblethis:/opt/oracle/wacos:dev=/dev/wacosvfslogmountcheckoptionsaccount=jfs=/dev/loglv00=false=false=rw=falseEntriesusingVxVMvolumesandtheVxFSfile
14、systemresemblethis:/opt/oracle/wacos:9. dev=/dev/vx/dsk/oradg/wacosvolvfs=vxfsmount=falsecheck=false获得VCSLicenseKeyYoucanobtainyourlicensekeymostefficientlyusingtheVERITASvLicensewebsite.TheLicenseKeyRequestForm(LKRF)hasalltheinformationneededtoestablishaUserAccountonvLicenseandgenerateyourlicenseke
15、y.TheLKRFisaone-pageinsertincludedwiththeCDinyourproductpackage.YoumusthavethisformtoobtainasoftwarelicensekeyforyourVERITASproduct.如果只是想试用,请联系VERITAS肖售代表或技术人员获得试用LicenseKey。准备安装Cluster需要的信息?Anameforthecluster.Thenamemustbeginwithaletterofthealphabet(a-z,A-Z).dydbvcs?AuniqueIDnumberforthecluster.Wit
16、hinthesitecontainingthecluster,eachclustermusthaveauniqueID.?Thehostnamesofthesystemsinthecluster?Validlicensekeysforeachsysteminthecluster,oravalidsitelicensekey?DevicenamesofthenetworkinterfacecardsusedbytheprivatenetworksamongsystemsCusterManager需要的虚拟IP地址?ThedevicenamefortheNICprovidingpublicnetw
17、orkaccess.?AvirtualIPaddressassociatedwiththeNIC.ThisvirtualIPaddressbecomesaresourceforusebytheClusterServicegroupthatincludestheVCSClusterManager(WebConsole).The“ClusterVirtualIPaddress"canfailovertoanotherclustersystem,makingtheWebConsolehighlyavailable.ThesubnetusedwiththeVirtualAddress.配置S
18、MTP!知需要准备的信息?Thedomain-basedaddressoftheSMTPserverthatistosendnotificationemailabouttheeventswithinthecluster.Forexample,?TheemailaddressofeachSMTRecipienttobenotified.Forexample,admin?TheminimumseverityofeventsforSMTPemailnotification.Eventshavefourlevelsofseverity:Information,Warning,Error,andSeve
19、reError.10. 配置SNMP!知需要准备的信息?TheportnumberfortheSNMPtrapdaemon;bydefaultthisis162?ThemachinenameforeachSNMPconsole?TheminimumseverityofeventsforSNMPtrapnotification.Eventshavefourlevelsofseverity:Information,Warning,Error,andSevereError.11. 开始VC澈件的安装#mount-Vcdrfs-oro/dev/cd0/cdrom#cd/cdrom#./installv
20、cs接下来,按照屏幕提示输入相应的信息,详细安装过程及输入信息如下所示:#./installvcsEnterthenamesofthesystemsonwhichVCSistobeinstalled,separatedbyspaces(example:system1system2):dy_db1dy_db2Checkingforsshondy_db1notfoundCheckingOSversionondy_db1AIX5.1Checking/dev/dlpi/enin/etc/pse.confondy_db1foundCheckinglltin/etc/pse.confondy_db1fou
21、ndVerifyingcommunicationwithdy_db2.pingsuccessfulAttemptingrshwithdy_db2rshsuccessfulCheckingOSversionondy_db2AIX5.1Checking/dev/dlpi/enin/etc/pse.confondy_db2foundCheckinglltin/etc/pse.confondy_db2foundCreating/tmpsubdirectoryondy_db2./tmpsubdirectorycreatedUsing/usr/bin/rshand/usr/bin/rcptocommuni
22、catewithdy_db2CommunicationcheckcompletedsuccessfullyVCSlicensingverification:Checkingdy_db1NolicensekeyfoundEnterthelicensekeyfordy_db1:PJPU-W6RP-7WXS-W4O4-VUZPValidVCSDemokeyenteredfordy_db1RegisteringkeyPJPU-W6RP-7WXS-W4O4-VUZPondy_db1DoneRegisteringkeyPJPU-W6RP-7WXS-W4O4-VUZPondy_db2DoneVCSlicen
23、singcompletedsuccessfullyAreyoureadytostarttheClusterinstallationnow?(Y)yCheckingcurrentinstallationondy_db1:CheckingVRTSvcsw.rteNotinstalledCheckingVRTSweb.rteNotinstalledCheckingVRTSvcs.manNotinstalledCheckingVRTSvcs.docNotinstalledCheckingVRTSvcsag.rteNotinstalledCheckingVRTSvcs.msg.en_USNotinsta
24、lledCheckingVRTSvcs.rteNotinstalledCheckingVRTSgab.rteNotinstalledCheckingVRTSllt.rteNotinstalledCheckingVRTSvlicNotinstalledCheckingcurrentinstallationondy_db2:CheckingVRTSvcsw.rteNotinstalledCheckingVRTSweb.rteNotinstalledCheckingVRTSvcs.manNotinstalledCheckingVRTSvcs.docNotinstalledCheckingVRTSvc
25、sag.rteNotinstalledCheckingVRTSvcs.msg.en_USNotinstalledCheckingVRTSvcs.rteNotinstalledCheckingVRTSgab.rteNotinstalledCheckingVRTSllt.rteNotinstalledCheckingVRTSvlicNotinstalledInstallationcheckcompletedsuccessfullyToconfigureVCSthefollowingisrequired:AuniqueClusternameAuniqueClusterIDnumberbetween0
26、-255TwoNICcardsoneachsystemusedforprivatenetworkheartbeatlinksAreyoureadytoconfigureVCSonthesesystems?(Y)yToconfigureVCSthefollowingisrequired:AuniqueClusternameAuniqueClusterIDnumberbetween0-255TwoNICcardsoneachsystemusedforprivatenetworkheartbeatlinksAreyoureadytoconfigureVCSonthesesystems?(Y)yEnt
27、ertheuniqueclustername:dydbvcsEntertheuniqueClusterIDnumberfrom0-255:1DiscoveringENsondy_db1discovereden0en1en2en3EntertheENforthefirstprivatenetworkheartbeatlinkondy_db1:(en0en1en2en3)en2EntertheENforthesecondprivatenetworkheartbeatlinkondy_db1:(en0en1en3)en3AreyouusingthesameENsforprivateheartbeat
28、linksonallsystems?(Y)yClusterinformationverification:ClusterName:dydbvcsClusterIDNumber:1PrivateNetworkHeartbeatLinksfordy_db1:link1=en2link2=en3PrivateNetworkHeartbeatLinksfordy_db2:link1=en2link2=en3Isthisinformationcorrect?(Y)yThefollowinginformationisrequiredtoconfigureClusterManager:ApublicEthe
29、rnetNetworkusedbyeachsystemintheclusterOneormoreNetworkHostIPaddressesforconnectioncheckingAVirtualIPaddressandnetmaskforClusterManagerDoyouwanttoconfigureClusterManager(WebConsole)(Y)yActiveENdevicesdiscoveredondy_db1:en0en2*en3EntertheENforClusterManager(WebConsole)touseondy_db1:(en0)en0Isen0thepu
30、blicENusedforallsystems(Y)yEntertheNetworkHostIPaddresses,separatedbyspaces:EntertheVirtualIPaddressforClusterManager:50EnterthenetmaskforIP50:()ClusterManager(WebConsole)verification:EN:en0NetworkHost:IP:50Netmask
31、:Isthisinformationcorrect?(Y)yThefollowinginformationisrequiredtoconfigureSMTPnotification:ThedomainbasedaddressoftheSMTPserverTheemailaddressofeachSMTPrecipientAminimumseveritylevelofmessagestosendtoeachrecipientDoyouwanttoconfigureSMTPnotification?(Y)nThefollowinginformationisrequired
32、toconfigureSNMPiotification:SystemnamesofSNMPconsole(s)toreceiveVCStrapmessagesSNMPtrapdaemonportnumbersforeachconsoleAminimumseveritylevelofmessagestosendtoeachconsoleDoyouwanttoconfigureSNMPnotification?(Y)nInstallingVCSondy_db1:InstallingVRTSvlicpackageDoneInstallingVRTSllt.rtepackageDoneI
33、nstallingVRTSgab.rtepackageDoneInstallingVRTSvcs.rtepackageDoneInstallingVRTSvcs.msg.en_USpackageDoneInstallingVRTSvcsag.rtepackageDoneInstallingVRTSvcs.docpackageDoneInstallingVRTSvcs.manpackageDoneInstallingVRTSweb.rtepackageDoneInstallingVRTSvcsw.rtepackageDoneCopyingtheinstallerto/opt/VRTSvcs/in
34、stallDoneCopyingVCSReleaseNotesto/opt/VRTSvcs/docsDoneInstallingVCSondy_db2:CopyingVRTSvlicbinariesDoneInstallingVRTSvlicpackageDoneCopyingVRTSllt.rtebinariesDoneInstallingVRTSllt.rtepackageDoneCopyingVRTSgab.rtebinariesDoneInstallingVRTSgab.rtepackageDoneCopyingVRTSvcs.rtebinariesDoneInstall
35、ingVRTSvcs.rtepackageDoneCopyingVRTSvcs.msg.en_USbinariesDoneInstallingVRTSvcs.msg.en_USpackageDoneCopyingVRTSvcsag.rtebinariesDoneInstallingVRTSvcsag.rtepackageDoneCopyingVRTSvcs.docbinariesDoneInstallingVRTSvcs.docpackageDoneCopyingVRTSvcs.manbinariesDoneInstallingVRTSvcs.manpackageDoneCopyingVRTS
36、web.rtebinariesDoneInstallingVRTSweb.rtepackageDoneCopyingVRTSvcsw.rtebinariesDoneInstallingVRTSvcsw.rtepackageDoneCopyingtheinstallerto/opt/VRTSvcs/installDoneCopyingVCSReleaseNotesto/opt/VRTSvcs/docsDonePackageinstallationcompletedsuccessfullyConfiguringVCSDoneCopyingVCSconfigurationfilestody_db1D
37、oneCopyingVCSconfigurationfilestody_db2DoneConfigurationfilescopiedsuccessfullyDoyouwanttostarttheclustercomponentsnow?(Y)yStartingVCSondy_db1StartingLLTStartedStartingGABStartedStartingVCSStartedStartingVCSondy_db2StartingLLTStartedStartingGABStartedStartingVCSStartedInitialVCSconfigurationfilesare
38、backedupwitha.init.dydbvcsextensionTheClustercanbemanagedusingClusterManager(WebConsole)usingtheURL:50:8181/vcsusingtheUserName:'admin'andthePassword:'password'.Usethe'/opt/VRTSvcs/bin/hauser'commandtoaddnewusers.TomanageyourCluster(s)usingClusterManager(Jav
39、aConsole)addtheVRTScscm.rtepackagetoanon-clusteredsystem.AVCSinstallreporthasbeensavedat:12. /var/VRTSvcs/installvcsReport.dydbvcsVCSinstallationcompletedsuccessfullyVCSOracleAgent软件的安装需要在每台服务器上执行如下命令:#mount-Vcdrfs-oro/dev/cd0/cdrom#cd/cdrom13. #installp-ac-d/cdrom/VRTSvcsor.rte.bffVRTSvcsor.rteQacl
40、e的深层次监控Oracle的深度监控可以监控到进程在但实际数据库无法访问的情况,如果需要对Oracle进行深度监控,则需要执行以下步骤。ForOracleversions9iandabove,enter:$ORACLE_HOME/bin/sqlplus"/assysdba"Asthedatabaseadministrator,issuethefollowingstatementstocreatethetesttable:SQLPLUSereateuservcsuser2>identifiedbyvcspasswd3>defaulttablespaceUSERS4
41、>temporarytablespaceTEMP5>quota500KonUSERS;SQLPLUS:grantcreatesessiontovcsuserSQLPLUSereatetablevcsuser.vcstable(tstampdate);14. SQLPLUS>nsertintovcsuser.vcstable(tstamp)values(SYSDATE);VCS及OracleAgent的配置?#cp/etc/VRTSvcs/conf/OracleTypes.cf/etc/VRTSvcs/conf/config/OracleTypes.cf?#cp/etc/VRT
42、Svcs/conf/sample_oracle/main.cf/etc/VRTSvcs/conf/config/main.cf?对main.cf做相应的修改,如clustername,systemname,VGname,LVM,IPaddressetc.,修改后的main.cf例子如下:include"types.cf"include"OracleTypes.cf"clusterdydbvcs(UserNames=admin="cDRpdxPmHpzS.”Administrators=adminCounterInterval=5)systemd
43、y_db1()systemdy_db2()groupClusterService(SystemList=dy_db1=0,dy_db2=1AutoStartList=dy_db1,dy_db2OnlineRetryLimit=3)IPMultiNICwebip(Address="50"NetMask=""MultiNICAResName=mnic)MultiNICAmnic(Devicedy_db1=en0="1",en1="1
44、"Devicedy_db2=en0="2",en1="2"NetMask=""Gateway=""BroadcastAddr="55"HandshakeInterval=3NetworkHosts="")VRTSWebAppVCSweb(Critical=0AppName=vcsInstallDir="/opt/
45、VRTSweb/VERITAS”TimeForOnline=5)VCSwebrequireswebipwebiprequiresmnic/resourcedependencytree/groupClusterService/VRTSWebAppVCSweb/IPMultiNICwebip/(/MultiNICAmnic/grouporagrp(SystemList=dy_db1=0,dy_db2=1AutoStartList=dy_db1)IPMultiNICoraip(Address="0"NetMask="&q
46、uot;MultiNICAResName=mnic)LVMVGOra_Vol(VolumeGroup=oravgMajorNumber=50Disks=dlmfdrv2,dlmfdrv0,dlmfdrv1)Mountarchmnt(MountPoint="/opt/oracle/arch"BlockDevice="/dev/arch"FSType=jfsFsckOpt="-y")Mountbackupmnt(MountPoint="/opt/oracle/backup"BlockDevice="/dev/
47、backup"FSType=jfsFsckOpt="-y")Mountdb02mnt(MountPoint="/opt/oracle/db02"BlockDevice="/dev/db02"FSType=jfsFsckOpt="-y")Mountdb03mnt(MountPoint="/opt/oracle/db03BlockDevice="/dev/db03"FSType=jfsFsckOpt="-y")Mountdb04mnt(MountPoint="/opt/oracle/db04”BlockDevice="/dev/db04"FSType=jfsFsckOpt="-y")Mountnmsmnt(MountPoint="/opt/oracle/nms"BlockDevice="/dev/nms"FSType=jfsFsckOpt="-y")Mountwacosmnt(MountPoint="/opt/oracle/wacos"BlockDe
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 智慧课堂与学生心理发展的关联研究
- 教育心理学的跨学科应用以科技助力情感智商的培养
- 教育科技前沿激发学生创新思维的实践案例
- 教育创新驱动下的自动驾驶与物联网教学研究
- 基于智能分析的教学管理信息系统应用推广研究
- 中医传承教育与现代医疗体系的融合
- 抖音商户主播直播中控场能力评估制度
- 全球铀矿资源分布与2025年核能产业安全与环保研究报告
- Baumycin-A1-生命科学试剂-MCE
- 福建省福州市金山中学2024-2025学年化学九上期末达标测试试题含解析
- 云南保山永昌教育发展有限公司招聘考试真题2024
- 变电站改扩建安全培训
- 2025年 赤峰市巴林左旗社区工作者招聘考试笔试试卷附答案
- 中国新疆反恐课件
- 2025年陕西省中考英语试题(附答案和音频)
- 家庭急救包物品清单
- 回顾与展望讲课件
- 2023-2024学年山东省日照市高二下学期期末考试数学试题(解析版)
- 附件:小学2025年暑假跨学科实践作业实施方案
- 既有建筑地基基础加固技术规范 JGJ 123-2012知识培训
- 实验室菌种管理制度
评论
0/150
提交评论