收藏 分销(赏)

系统升级及集群扩展实施专项方案.doc

上传人:天**** 文档编号:3001159 上传时间:2024-06-12 格式:DOC 页数:29 大小:2.61MB
下载 相关 举报
系统升级及集群扩展实施专项方案.doc_第1页
第1页 / 共29页
系统升级及集群扩展实施专项方案.doc_第2页
第2页 / 共29页
系统升级及集群扩展实施专项方案.doc_第3页
第3页 / 共29页
系统升级及集群扩展实施专项方案.doc_第4页
第4页 / 共29页
系统升级及集群扩展实施专项方案.doc_第5页
第5页 / 共29页
点击查看更多>>
资源描述

1、 SAP系统升级及集群实行方案长沙友旭信息科技有限公司二00八年十一月目 录一、前言2二、有关配备信息31、主机信息32、主机卷信息33、存储信息34、系统及软件规划45、IP规划4三、AIX系统安装调试51、安装系统52、系统安装设立53、扩展软件包安装7四、EtherChannel(以太通道)配备及规划111、配备前要考虑事项:112、配备EtherChannel123、配备备份网卡12五、HACMP安装配备131、HACMP及补丁安装132、HACMP配备143、HACMP启动184、HACMP关闭195、配备HAMCP后EMC存储性能调节20六、主机软硬件详细信息211、sapprd0

2、0主机详细信息212、sapprd01主机详细信息21一、 前言三一重工之前SAP系统平台在IBM P561小型机上运营,考虑到既有硬件环境已经不能满足业务需要,决定进行设备更新换代新购买两台IBM P570小型机加EMC存储系统,将SAP系统移到P570上,并且建立高可用HA集群环境。此方案详细记录了系统升级后拓扑图和硬件设备配备;实行过程中AIX 系统安装配备、enthchnnal配备及规划、HACMP安装配备;用于提供P series系统硬件平台重要信息备份,为日后维护硬件平台提供重要数据记录,从而进一步提高此硬件平台高可用性,高可靠性以及高可维护性。系统构造图二、 有关配备信息1、 主

3、机信息机型系统版本数据库版本HACMP版本9117-MMAAIX5300-06Oracle9.2.0.6HACMP5.32、 主机卷信息主机卷组PP(M)逻辑卷文献系统 大小功 能sapprd00rootvg256系统卷/512M/usr8G/var512M/tmp2G/home4G/opt512M/media4Gsapprd01rootvg256系统卷/512M/usr8G/var512M/tmp2G/home4G/opt512M3、 存储信息机型RAID规划LUN规划控制器EMC4、 系统及软件规划分类项目描述备注主机节点名sapprd00/ sapprd01AIX版本5300-06HA版

4、本HACMP 5.3共享卷组datavg网卡en0:1.1.1.1/24 2.2.2.1/24en2:1.1.1.2/24 2.2.2.2/24数据库Oracle版本9.2.0.6归档模式归档实例名ORCL数据库名ORCL存储方式裸设备磁盘阵列管理IP数据库顾客名/密码oracle/sys/超级顾客5、 IP规划主机名IP地址别名阐明sapprd001.1.1.1sapprd00_boot1sapprd00节点boot1IP2.2.2.1sapprd00_boot2sapprd00节点boot2IPsapprd00_persapprd00节点管理IP sapprd_svc服务IPsapprd0

5、11.1.1.2sapprd01_boot1sapprd01节点boot1IP2.2.2.2sapprd01_boot2sapprd01节点boot2IP sapprd01_persapprd01节点管理IP三、 AIX系统安装调试1、 安装系统将设备上电,插入操作系统光盘开始进行操作系统安装。2、 系统安装设立在开始正式操作系统之前,咱们需要对操作系统安装控制台、安装方式、安装时语言环境等参数进行设立,其详细环节如下:1、在小机加电后按F5键,设立光驱引导,浮现下面安装界面中一方面按F1键,然后按回车键设立系统控制台* Please define the System Console. *T

6、ype a F1 and press Enter to use this terminal as the system console.Typ een F1 en druk op Enter om deze terminal als de systeemconsole to gebruiken.Pour definir ce terminal comme console systeme,appuyez sur F1 puis sur Entree.Taste F1 und anschliessend die Eingabetaste druecken,um diese Datenstation

7、 als systemkonsole zu verwenden.Premere il tasto 1 ed Invio per usare questo terminal come console.Escriba F1 y pulse Intro para utilizar esta terminal como consola del sistema.Escriviu F1 1 i premeu Intro per utilitzar aquest terminal com a consola del sistema.Digite um F1 e pressione Enter para ut

8、ilizar este terminal como console do sistema.2、按“1”键,设立安装操作系统时语言环境为英语 1 Type 1 and press Enter to have English during install.2 Entreu 2 i premeu Intro per veure la instalaci* en catal*.3 Entrez 3 pour effectuer linstallation en franis.4 Installation in deutscher Sprache 4 eingeben und die Eingabeta

9、ste drken.5 Immettere 5 e premere Invio per linstallazione in Italiano.6 Digite 6 e pressione Enter para usar Portugu na instala.7 Escriba 7 y pulse Intro para usar el idioma espal durante la instalaci.8 Skriv 8 och tryck ned Enter = Svenska vid installationen.88 Help ?3、在如下BOS系统安装界面选取“2”,即选取“Change

10、/Show Installation Settings and Install”安装方式。Welcome to Base Operating SystemInstallation and MaintenanceType the number of your choice and press Enter. Choice is indicated by . 1 Start Install Now with Default Settings 2 Change/Show Installation Settings and Install 3 Start Maintenance Mode for Sys

11、tem Recovery 88 Help ? 99 Previous Menu Choice 1: 2阐明:选项1:按照缺省方式安装操作系统。选项2:如果要变化安装方式和系统设立。选项3:进入系统维护模式。4、在如下安装界面中选取“1”,重新设立系统安装方式Installation and SettingsEither type 0 and press Enter to install with current settings,or type the number of the setting you want to change and press Enter. 1 System Sett

12、ings: Method of Installation. .New and Complete Overwrite Disk Where You Want to Install .hdisk0 2 Primary Language Environment Settings (AFTER Install): Cultural Convention.English (United States) Language .English (United States) Keyboard .English (United States) Keyboard Type.Default3 Install Tru

13、sted Computing Base. No 0 Install AIX with the current settings listed above. +- 88 Help ? | WARNING:Base Operating System Installation will 99 Previous Menu|destroy or impair recovery of ALL data on the |destination disk hdisk0. Choice 0:阐明:在如上安装界面中选取“1”,重新设立系统安装方式后有两个功能选项可以供安装者对系统安装方式进行重新设立。A、“Met

14、hod of Installation”(安装方式),其中有三种安装方式可供选取:- New and Complete Overwrite Installation.(完全覆盖)- Migration Installation.(升级安装)- Preservation Installation.(保护安装)为了保证安装一种干净操作系统,这里咱们选取第一种安装办法以全新、完全覆盖方式来安装操作系统,即选取 “1”。B、“Disk Where You Want To Install”菜单项,选取hdisk0作为安装目的盘。5、在完毕系统安装方式后将正式开始从光盘安装操作系统Installing B

15、ase Operating SystemIf you used the system key to select SERVICE mode,turn the system key to the NORMAL position any time before theinstallation ends. Please wait. Approximate Elapsed time % tasks complete (in minutes) 0 0 Approximate Elapsed time % tasks complete (in minutes) 95 12 Installing addit

16、ional software.操作系统安装过程中会提示进行相应光盘更换,完毕之后系统将自动重新启动,待系统重启后咱们将进行操作系统扩展包安装。3、 扩展软件包安装1、以root登录 2、安装AIX5.3 Fileset#smitty installp 选取 INPUT device / directory for software 为/dev/cd0(按F4选取) 进入 SOFTWARE to install选取所需安装软件开头有符即已安装过开头有+符即未安装过如下必要装:安装以bos、rsct、X11打头所有文献集 F7 确认/选取 / 为搜索 倒数2项选取 YES3、升级系统#smitty

17、 update_all在“INPUT device / directory for software”处输入TL包所在位置在“software to update”处选取要安装包在 “commit software updates?”处可选取NO在“ACCEPT new license agreements?”处选取YESl 异步I/O设立# smitty chgaio MINIMUM number of servers 1 MAXIMUM number of servers 10STATE to be configured at system restart availablel 系统时区设

18、立东八区,北京时间(不用“夏令时”),时间和日期为当前时间和日期修改成当前日期和时间# smittysystem environmentsChange / Show Date and TimeChange / Show Date & Time修改成东八区,北京时间(不用“夏令时”) # smittysystem environmentsChange / Show Date and Time Change Time Zone using system defined values 浮现如下提示Use DAYLIGHT SAVINGS TIME?选取No,浮现提示菜单选取(BEIST-8) Peo

19、ples Rep. China (CUT +8)l 顾客最大进程数、water mark设立# smitty chgsysMaximum number of PROCESSES allowed per user 4096HIGH water mark for pending write I/Os per file 33 LOW water mark for pending write I/Os per file 24l 换页空间设立Page Space默认hd6大小为512M,对于数据库服务器,可扩大到8G或与内存大小同样依照业务运营状况可配备1个Page Space01,并且Page Spa

20、ce01位于本地磁盘hdisk2,再删除hd6新增Page Space01#smitty mkps -新增Page Space01Paging space name page00Volume group name rootvgPhysical volume name hdisk2NUMBER of additional logical partitions 32#smitty swapon -激活新增Page Space01删除hd6互换空间运营命令使hd6互换空间处在非活动状态#smitty swapoff删除ps互换空间,采用命令删除hd6互换空间#smitty rmpsl 配备文献属性修

21、改将/etc/security/limits文献中nofiles配备项改为8192,fsize配备项改为 -1l rootvg镜像(1)#extendvg rootvg hdisk1(2)镜像rootvg #mirrorvg rootvg(时间比较长)(3)#bosboot -ad /dev/hdisk0#bosboot -ad /dev/hdisk1 (4) #bootlist -m normal hdisk0 hdisk1四、 EtherChannel(以太通道)配备及规划AIX集成了EtherChannel功能,可以实现2块网卡以上负载均衡和冗余, EtherChannel技术最重要好处

22、是她可以累加所有成员网卡带宽。如果一种成员网卡失效,EtherChannel会自动调节流量分派方略,从而只使用剩余网卡进行工作。失效网卡修复后,EtherChannel会重新启用她。1、 配备前要考虑事项:a) 对于每个EtherChannel您可以配备多达8个主以太网适配器,每个EtherChannel仅具备一种备份以太网适配器。同一种EtherChannel所有成员网卡都需要连接在同一种互换机上。如果这个互换机浮现故障,整个EtherChannel就都会失效。为理解决这个问题,可以配备备份网卡。顾客能为整个EtherChannel指定一块备份网卡,这块网卡连接在不同互换机上。当整个Ethe

23、rChannel失效时,这块网卡会自动顶替EtherChannel功能。b) 您可以在一种系统上配备各种EtherChannel,但是每个EtherChannel会组建一种附加以太网接口。 c) 在EtherChannel中可以使用任何受支持以太网适配器。然而,以太网适配器必要连接到一种支持EtherChannel互换机。请参阅随互换机一起提供文档以拟定它与否支持EtherChannel(互换机文档也许也将该能力称作“链路汇集”或“中继”)。 d) 在EtherChannel中所有适配器都应当配备为相似速度(例如,100 Mbps),并且应当是全双工。 e) 配备完EtherChannel后,

24、系统不能访问EtherChannel中使用适配器。要修改它们任何属性,如介质速度,传送或接受排队大小等等,则在将它们包括在“EtherChannel”之前必要进行这些操作。 f) 筹划用于EtherChannel适配器不应当给它们配备 IP 地址。当使用拥有 IP地址适配器配备以太通道时,请保证它们接口处在拆离(detach)状态。要添加到EtherChannel适配器不能具备up状态接口(如果它们 IP地址是使用 SMIT 配备就会发生这种状况)。这会导致机器在重新引导时提示EtherChannel产生问题,由于在 DOM中底层接口在EtherChannel启用之前就使用了。因而,配备Eth

25、erChannel时,它会发现它其中一种适配器已经在使用。要变化这种状况,请在创立EtherChannel之前,输入 smit chinet,选取EtherChannel中所要涉及适配器每一种接口,将它state值更改为 detach。这样就会保证机器重新引导时可以对的地配备EtherChannel。 (请注意,不要用ifconfig命令去做,这样将不会修改ODM)g) 如果筹划使用超常帧(Jumbo Frames),则在创立EtherChannel之前您也许需要启用每个适配器以及EtherChannel自身这一功能。在命令行中输入 smitty chgenet。将 Enable Jumbo

26、Frames值更改为 yes 然后按下 Enter 键。请为您要启用“超长帧”每一种适配器执行这一操作。稍后,您还要启用EtherChannel自身超长帧。 注:在 AIX 5.2 及后续版本中,一旦超常帧在EtherChannel自身中启用,则不必启用每个底层适配器中超常帧。如果将启用超常帧属性设立为yes,则该功能将自动启用。2、 配备EtherChannel1) 用root登录,在命令行运营smitty etherchannel。 2) 选取 Add an etherchannel。 3) 选取etherchannel成员网卡。4) 按照如下阐明输入下列信息: Mode中选取Round

27、Robin模式:在这种模式下各个成员网卡被轮流使用,每轮每个网卡发送一种数据包。 5) 在更改了但愿更改字段后按 Enter 键来创立EtherChannel。 6) 使用smit chinet为EtherChannel设备(entx)设立IP地址 7) 从列表中选取新“etherchannel”接口。 8) 填充所有需要字段并按 Enter 键。3、 配备备份网卡1) 用 root 权限,在命令行上输入 smit etherchannel。 2) 从列表中选取Change/Show Characteristics of an EtherChannel/Link Aggregation并按下

28、Enter 键。 3) 选取Add Backup Adapter并按 Enter 键。 4) 增长备份网卡到EtherChannel设备(entx)中。五、 HACMP安装配备1、 HACMP及补丁安装将安装文献和patch通过ftp工具上传到主机,所在目录如下:安装文献所在目录:/media/hacmp/hacmp53patch所在目录:/media/hacmp/patch#smitty installp Install SoftwareType or select values in entry fields.Press Enter AFTER making all desired cha

29、nges. Entry Fields*INPUT device / directory for software /media/hacmp/hacmp53* SOFTWARE to install _all_latest + PREVIEW only?(install operation will NOT occur) no + COMMIT software updates? yes + SAVE replaced files? no + AUTOMATICALLY install requisite software? yes + EXTEND file systems if space

30、needed? yes + OVERWRITE same or newer versions? no + VERIFY install and check file sizes? no + Include corresponding LANGUAGE filesets? yes + DETAILED output? no + Process multiple volumes? yes + ACCEPT new license agreements? yes + Preview new LICENSE agreements? no +阐明:按F4进入软件产品选取,除cluster.hativol

31、i、cluster.haview和rsct.exp文献集外都安装#smitty update_all Update Installed Software to Latest Level (Update All)Type or select values in entry fields.Press Enter AFTER making all desired changes. Entry Fields* INPUT device / directory for software /media/hacmp/patch* SOFTWARE to update _update_all PREVIEW

32、only?(update operation will NOT occur) no + COMMIT software updates? yes + SAVE replaced files? no + AUTOMATICALLY install requisite software? yes + EXTEND file systems if space needed? yes + VERIFY install and check file sizes? no + DETAILED output? no + Process multiple volumes? yes + ACCEPT new l

33、icense agreements? yes Preview new LICENSE agreements? no +2、 HACMP配备编辑/etc/hosts文献,内容如下: 1.1.1.1sapprd00_boot1 1.1.1.2sapprd00_boot20.0.0.0 sapprd00_per2.2.2.1sapprd01_boot1 2.2.2.2sapprd01_boot20.0.0.0 sapprd01_per0.0.0.0 sapprd_svc阐明:hosts文献在所有节点上必要保持一致。编辑/usr/es/sbin/cluster/etc/rhosts文献,内容如下: s

34、apprd00_boot1sapprd00_boot2sapprd00_persapprd01_boot1sapprd01_boot2sapprd01_persapprd_svc阐明:rhosts文献在所有节点上必要保持一致。#smitty hacmp Extended ConfigurationExtended Topology ConfigurationConfigure an HACMP ClusterAdd/Change/Show an HACMP Cluster* Cluster Name cl_sapprdExtended Configuration Extended Topolo

35、gy Configuration Configure HACMP Nodes Add a Node to the HACMP Cluster* Node Name sapprd00 Communication Path to Node sapprd00Extended Configuration Extended Topology Configuration Configure HACMP Nodes Add a Node to the HACMP Cluster* Node Name sapprd01 Communication Path to Node sapprd01Extended C

36、onfigurationDiscover HACMP-related Information from Configured NodesExtended ConfigurationExtended Topology Configuration Configure HACMP Networks Add a Network to the HACMP Cluster# Discovered IP-based Network Types ether Add an IP-Based Network to the HACMP Cluster* Network Name net_ether_01 * Net

37、work Type ether* Netmask 255.255.255.0 * Enable IP Address Takeover via IP Aliases Yes IP Address Offset for Heartbeating over IP AliasesExtended ConfigurationExtended Topology Configuration Configure HACMP Networks Add a Network to the HACMP Cluster# Discovered Serial Device Types ? rs232* Network

38、Name net_rs232_02* Network Type rs232Extended ConfigurationExtended Topology Configuration Configure HACMP Communication Interfaces/Device Add Communication Interfaces/DevicesAdd Discovered Communication Interface and Devices Communication Interfaces net_ether_01 # Node / Network # Interface IP Label IP Address # net_ether_01 / sapprd00

展开阅读全文
相似文档                                   自信AI助手自信AI助手
猜你喜欢                                   自信AI导航自信AI导航
搜索标签

当前位置:首页 > 包罗万象 > 大杂烩

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服