SAP系统升级及集群扩展实施方案v12_第1页
SAP系统升级及集群扩展实施方案v12_第2页
SAP系统升级及集群扩展实施方案v12_第3页
SAP系统升级及集群扩展实施方案v12_第4页
SAP系统升级及集群扩展实施方案v12_第5页
已阅读5页,还剩17页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、.:.; SAP系统晋级及集群实施方案长沙友旭信息科技二00八年十一月目 录 TOC o 1-3 h z u HYPERLINK l _Toc222223038 一、前言 PAGEREF _Toc222223038 h 2 HYPERLINK l _Toc222223039 二、相关配置信息 PAGEREF _Toc222223039 h 3 HYPERLINK l _Toc222223040 1、主机信息 PAGEREF _Toc222223040 h 3 HYPERLINK l _Toc222223041 2、主机卷信息 PAGEREF _Toc222223041 h 3 HYPERLIN

2、K l _Toc222223042 3、存储信息 PAGEREF _Toc222223042 h 3 HYPERLINK l _Toc222223043 4、系统及软件规划 PAGEREF _Toc222223043 h 4 HYPERLINK l _Toc222223044 5、IP规划 PAGEREF _Toc222223044 h 4 HYPERLINK l _Toc222223045 三、AIX系统安装调试 PAGEREF _Toc222223045 h 5 HYPERLINK l _Toc222223046 1、安装系统 PAGEREF _Toc222223046 h 5 HYPER

3、LINK l _Toc222223047 2、系统安装设置 PAGEREF _Toc222223047 h 5 HYPERLINK l _Toc222223048 3、扩展软件包安装 PAGEREF _Toc222223048 h 7 HYPERLINK l _Toc222223049 四、EtherChannel以太通道的配置及规划 PAGEREF _Toc222223049 h 11 HYPERLINK l _Toc222223050 1、配置前要思索的事项: PAGEREF _Toc222223050 h 11 HYPERLINK l _Toc222223051 2、配置EtherCha

4、nnel PAGEREF _Toc222223051 h 12 HYPERLINK l _Toc222223052 3、配置备份网卡 PAGEREF _Toc222223052 h 12 HYPERLINK l _Toc222223053 五、HACMP安装配置 PAGEREF _Toc222223053 h 13 HYPERLINK l _Toc222223054 1、HACMP及补丁安装 PAGEREF _Toc222223054 h 13 HYPERLINK l _Toc222223055 2、HACMP配置 PAGEREF _Toc222223055 h 14 HYPERLINK l

5、_Toc222223056 3、HACMP启动 PAGEREF _Toc222223056 h 18 HYPERLINK l _Toc222223057 4、HACMP封锁 PAGEREF _Toc222223057 h 19 HYPERLINK l _Toc222223058 5、配置HAMCP后EMC存储的性能调整 PAGEREF _Toc222223058 h 20 HYPERLINK l _Toc222223059 六、主机软硬件详细信息 PAGEREF _Toc222223059 h 21 HYPERLINK l _Toc222223060 1、sapprd00主机详细信息 PAGE

6、REF _Toc222223060 h 21 HYPERLINK l _Toc222223061 2、sapprd01主机详细信息 PAGEREF _Toc222223061 h 21- PAGE 21 - 第 PAGE 21 页 共 NUMPAGES 22 页第 PAGE 2 页 DATE yyyy-M-d 2021-10-7第 PAGE 2 页 共 NUMPAGES 22 页前言三一重工之前的SAP系统平台在IBM P561小型机上运转,思索到现有的硬件环境曾经不能满足业务的需求,决议进展设备更新换代新购买两台IBM P570小型机加EMC存储系统,将SAP系统移到P570上,并且建立高可

7、用的HA集群环境。此方案详细记录了系统晋级后的拓扑图和硬件设备配置;实施过程中的AIX 系统安装配置、enthchnnal的配置及规划、HACMP安装配置;用于提供P series系统硬件平台的重要信息备份,为日后维护硬件平台提供重要数据记录,从而进一步提高此硬件平台的高可用性,高可靠性以及高可维护性。系统构造图相关配置信息主机信息机型系统版本数据库版本HACMP版本9117-MMAAIX5300-06OracleHACMP5.3主机卷信息主机卷组PP(M)逻辑卷文件系统 大小功 能sapprd00rootvg256系统卷/512M/usr8G/var512M/tmp2G/home4G/opt

8、512M/media4Gsapprd01rootvg256系统卷/512M/usr8G/var512M/tmp2G/home4G/opt512M存储信息机型RAID规划LUN规划控制器EMC系统及软件规划分类工程描画备注主机节点名sapprd00/ sapprd01AIX版本5300-06HA版本HACMP 5.3共享卷组datavg网卡en0:/24 /24en2:/24 /24数据库Oracle版本归档方式归档实例名ORCL数据库名ORCL存储方式裸设备磁盘阵列管理IP数据库用户名/密码oracle/sys/超级用户IP规划主机名IP地址别名阐明sapprd00sapprd00_boot1

9、sapprd00节点boot1IPsapprd00_boot2sapprd00节点boot2IPsapprd00_persapprd00节点管理IP sapprd_svc效力IPsapprd01sapprd01_boot1sapprd01节点boot1IPsapprd01_boot2sapprd01节点boot2IP sapprd01_persapprd01节点管理IPAIX系统安装调试安装系统将设备上电,插入操作系统光盘开场进展操作系统的安装。系统安装设置在开场正式的操作系统之前,我们需求对操作系统的安装控制台、安装方式、安装时的言语环境等参数进展设置,其详细步骤如下:1、在小机加电后按F5

10、键,设置光驱引导,出现下面的安装界面中首先按F1键,然后按回车键设置系统控制台* Please define the System Console. *Type 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 Ent

11、ree.Taste F1 und anschliessend die Eingabetaste druecken, um diese Datenstation 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 a

12、quest terminal com a consola del sistema.Digite um F1 e pressione Enter para utilizar 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 linstalla

13、tion en franis.4 Installation in deutscher Sprache 4 eingeben und die Eingabetaste 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

14、 ned Enter = Svenska vid installationen.88 Help ?3、在如下的BOS系统的安装界面选择“2,即选择“Change/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

15、 Change/Show Installation Settings and Install 3 Start Maintenance Mode for System 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

16、 type the number of the setting you want to change and press Enter. 1 System Settings: Method of Installation .New and Complete Overwrite Disk Where You Want to Install .hdisk0 2 Primary Language Environment Settings (AFTER Install): Cultural ConventionEnglish (United States) Language English (Unite

17、d States) Keyboard English (United States) Keyboard TypeDefaultInstall Trusted 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 hdis

18、k0. Choice 0:阐明:在如上的安装界面中选择“1,重新设置系统的安装方式后有两个功能选项可以供安装者对系统的安装方式进展重新设置。A、“Method of Installation安装方式,其中有三种安装方式可供选择:- New and Complete Overwrite Installation.(完全覆盖)- Migration Installation.晋级安装- Preservation Installation.维护安装为了保证安装一个干净的操作系统,这里我们选择第一种安装方法以全新、完全覆盖的方式来安装操作系统,即选择 “1。B、“Disk Where You Want

19、 To Install菜单项,选择hdisk0作为安装的目的盘。5、在完成系统安装方式后将正式开场从光盘安装操作系统Installing Base 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 Approxi

20、mate Elapsed time % tasks complete (in minutes) 95 12 Installing additional software.操作系统安装过程中会提示进展相应光盘的改换,完成之后系统将自动重新启动,待系统重启后我们将进展操作系统扩展包的安装。扩展软件包安装1、以root登录 2、安装AIX5.3 Fileset#smitty installp 选择 INPUT device / directory for software 为/dev/cd0(按F4选择) 进入 SOFTWARE to install选择所需安装的软件开头有符即已安装过开头有+符即未

21、安装过以下必需装:安装以bos、rsct、X11打头的一切文件集 F7 确认/选择 / 为搜索 倒数2项选择 YES3、晋级系统#smitty update_all在“INPUT device / directory for software处输入TL包所在位置在“software to update处选择要安装的包在 “commit software updates?处可选择NO在“ACCEPT new license agreements?处选择YES异步I/O设置# smitty chgaio MINIMUM number of servers 1 MAXIMUM number of s

22、ervers 10STATE to be configured at system restart available系统时区设置东八区,北京时间(不用“夏令时),时间和日期为当前时间和日期修正成当前的日期和时间# smittysystem environmentsChange / Show Date and TimeChange / Show Date & Time修正成东八区,北京时间(不用“夏令时) # smittysystem environmentsChange / Show Date and Time Change Time Zone using system defined va

23、lues 出现如下的提示Use DAYLIGHT SAVINGS TIME?选择No,出现提示菜单项选择择(BEIST-8) Peoples Rep. China (CUT +8)用户最大进程数、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 24换页空间设置Page Space默许的hd6大小为5

24、12M,对于数据库效力器,可扩展到8G或与内存大小一样根据业务的运转情况可配置1个Page Space01,并且Page Space01位于本地磁盘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交换空间处于非

25、活动形状#smitty swapoff删除ps交换空间,采用命令删除hd6交换空间#smitty rmps配置文件属性修正将/etc/security/limits文件中nofiles配置项改为8192,fsize配置项改为 -1rootvg镜像1#extendvg rootvg hdisk12镜像rootvg #mirrorvg rootvg时间比较长3#bosboot -ad /dev/hdisk0#bosboot -ad /dev/hdisk1 (4) #bootlist -m normal hdisk0 hdisk1 EtherChannel以太通道的配置及规划AIX集成了EtherC

26、hannel功能,可以实现2块网卡以上的负载平衡和冗余, EtherChannel技术的最主要益处是他可以累加一切成员网卡的带宽。假设一个成员网卡失效,EtherChannel会自动调整流量分配战略,从而只运用剩余的网卡进展任务。失效的网卡修复后,EtherChannel会重新启用他。配置前要思索的事项:对于每个EtherChannel您可以配置多达8个主以太网适配器,每个EtherChannel仅具有一个备份以太网适配器。同一个EtherChannel的一切成员网卡都需求衔接在同一个交换机上。假设这个交换机出现缺点,整个EtherChannel就都会失效。为理处理这个问题,可以配置备份网卡。

27、用户能为整个EtherChannel指定一块备份网卡,这块网卡衔接在不同的交换机上。当整个EtherChannel失效时,这块网卡会自动顶替EtherChannel的功能。您可以在一个系统上配置多个EtherChannel,但是每个EtherChannel会组建一个附加的以太网接口。 在EtherChannel中可以运用任何受支持的以太网适配器。然而,以太网适配器必需衔接到一个支持EtherChannel的交换机。请参阅随交换机一同提供的文档以确定它能否支持EtherChannel交换机文档能够也将该才干称作“链路聚集或“中继。 在EtherChannel中的一切适配器都应该配置为一样的速度例

28、如,100 Mbps,而且应该是全双工的。 配置完EtherChannel后,系统不能访问EtherChannel中运用的适配器。要修正它们的任何属性,如介质速度,传送或接纳排队大小等等,那么在将它们包含在“EtherChannel之前必需进展这些操作。 方案用于EtherChannel的适配器不应该给它们配置 IP 地址。当运用拥有 IP地址的适配器配置以太通道时,请确保它们的接口处于拆离detach形状。要添加到EtherChannel的适配器不能具有up形状的接口假设它们的 IP地址是运用 SMIT 配置的就会发生这种情况。这会导致机器在重新引导时提示EtherChannel产生问题,由

29、于在 DOM中底层接口在EtherChannel启用之前就运用了。因此,配置EtherChannel时,它会发现它的其中一个适配器曾经在运用。要改动这种情况,请在创建EtherChannel之前,输入 smit chinet,选择EtherChannel中所要包括的适配器的每一个接口,将它的state值更改为 detach。这样就会确保机器重新引导时可以正确地配置EtherChannel。 请留意,不要用ifconfig命令去做,这样将不会修正ODM假设方案运用超凡帧Jumbo Frames,那么在创建EtherChannel之前您能够需求启用每个适配器以及EtherChannel本身的这一功

30、能。在命令行中输入 smitty chgenet。将 Enable Jumbo Frames值更改为 yes 然后按下 Enter 键。请为您要启用“超长帧的每一个适配器执行这一操作。稍后,您还要启用EtherChannel本身的超长帧。 注:在 AIX 5.2 及后续版本中,一旦超凡帧在EtherChannel本身中启用,那么不用启用每个底层适配器中的超凡帧。假设将启用超凡帧属性设置为yes,那么该功能将自动启用。配置EtherChannel用root登录, 在命令行运转smitty etherchannel。 选择 Add an etherchannel。 选择etherchannel的成

31、员网卡。按照以下阐明输入以下信息: Mode中选择Round Robin方式: 在这种方式下各个成员网卡被轮番运用,每轮每个网卡发送一个数据包。 在更改了希望更改的字段后按 Enter 键来创建EtherChannel。 运用smit chinet为EtherChannel设备entx设置IP地址 从列表中选择新的“etherchannel接口。 填充一切需求的字段并按 Enter 键。配置备份网卡用 root 权限,在命令行上输入 smit etherchannel。 从列表中选择Change/Show Characteristics of an EtherChannel/Link Aggr

32、egation并按下 Enter 键。 选择Add Backup Adapter并按 Enter 键。 添加备份网卡到EtherChannel设备entx中。HACMP安装配置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 change

33、s. 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 ne

34、eded? 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.hativoli、

35、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 on

36、ly? (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 li

37、cense agreements? yes Preview new LICENSE agreements? no +HACMP配置编辑/etc/hosts文件,内容如下: sapprd00_boot1 sapprd00_boot2 sapprd00_persapprd01_boot1 sapprd01_boot2 sapprd01_per sapprd_svc阐明:hosts文件在一切节点上必需坚持一致。编辑/usr/es/sbin/cluster/etc/rhosts文件,内容如下: sapprd00_boot1sapprd00_boot2sapprd00_persapprd01_boot1

38、sapprd01_boot2sapprd01_persapprd_svc阐明:rhosts文件在一切节点上必需坚持一致。#smitty hacmp Extended ConfigurationExtended Topology ConfigurationConfigure an HACMP ClusterAdd/Change/Show an HACMP Cluster* Cluster Name cl_sapprdExtended Configuration Extended Topology Configuration Configure HACMP Nodes Add a Node to

39、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 ConfigurationDiscover HACMP-related Information from C

40、onfigured 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 * Network Type ether* Netmask * Enable IP Address Takeover

41、 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 Name net_rs232_02* Network Type rs232Extended ConfigurationExtended

42、 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 en0 sapprd00_boot1 en2 sappr

43、d00_boot2 # net_ether_01 / sapprd01 en0 sapprd01_boot2 en2 sapprd01_boot1 Extended ConfigurationExtended Topology Configuration Configure HACMP Communication Interfaces/Device Add Communication Interfaces/DevicesAdd Discovered Communication Interface and Devices Communication Device net_ether_01Exte

44、nded ConfigurationExtended Topology Configuration Configure HACMP Communication Interfaces/Device Add Discovered Communication Interface and Devices Communication Interfaces net_rs323_02* Device Name sapprd00_tty0_01* Network Type rs232* Network Name net_rs323_02* Device Path /dev/tty0* Node Name sa

45、pprd00 * Device Name sapprd01_tty0_01* Network Type rs232* Network Name net_rs323_02* Device Path /dev/tty0* Node Name sapprd01 Extended ConfigurationExtended Topology Configuration Configure HACMP Persistent Node IP Label/Addresses Add a Persistent Node IP Label/Address sapprd00&sapprd01* Node Name

46、 sapprd00* Network Name net_ether_01 +* Node IP Label/Address sapprd00_per +* Node Name sapprd01* Network Name net_ether_01 +* Node IP Label/Address sapprd01_per +Extended Configuration HACMP Extended Resources Configuration Configure HACMP ApplicationsConfigure HACMP Application ServerAdd an Applic

47、ation Server Entry Fields* Server Name app* Start Script /hascripts/dbstart.sh* Stop Script /hascripts/dbstop.sh Application Monitor Name(s) +Extended Configuration HACMP Extended Resources Configuration Configure HACMP Service IP Labels/AddressesAdd a Service IP Label/AddressConfigurable on Multipl

48、e Nodesnet_ether_01* IP Label/Address sapprd_svc +* Network Name net_ether_01 Alternate Hardware Address to accompany IP Label/A ddress Extended Configuration HACMP Extended Resource ConfigurationHACMP Extended Resource Group Configuration Add a Resource Group Entry Fields* Resource Group Name rg* P

49、articipating Nodes (Default Node Priority) sapprd00 sapprd01 Startup Policy Online On All Available Nodes Fallover Policy Bring Offline (On Error Node Only) Fallback Policy Never FallbackExtended Configuration HACMP Extended Resource ConfigurationHACMP Extended Resource Group ConfigurationChange/Sho

50、w Resources and Attributes for a Resource Group rgResource Group Name rg Participating Nodes (Default Node Priority) sapprd00 sapprd01 Startup Policy Online On Home Node O Fallover Policy Fallover To Next Prio Fallback Policy Never Fallback Service IP Labels/Addresses sapprd_svc + Application Server

51、s app + Volume Groups datavg + Use forced varyon of volume groups, if necessary false + Automatically Import Volume Groups false + Filesystems (empty is ALL for VGs specified) + Filesystems Consistency Check fsck + Filesystems Recovery Method sequential + Filesystems mounted before IP configured fal

52、se + Filesystems/Directories to Export +Extended ConfigurationExtended Verification and Synchronization Entry Fields* Verify, Synchronize or Both Both * Automatically correct errors found during verification? Yes阐明:1、待校验和同步提示OK后,至此HACMP配置终了。 2、HACMP配置过程只需在一个节点上完成,本例中为sapprd00节点。HACMP启动#smitty clstar

53、tStart Cluster ServicesType or select values in entry fields.Press Enter AFTER making all desired changes. Entry Fields* Start now, on system restart or both now + Start Cluster Services on these nodes sapprd00 sapprd01 +BROADCAST message at startup? true +Startup Cluster Information Daemon? false +

54、Reacquire resources after forced down ? false +Ignore verification errors? false +Automatically correct errors found during Interactively +cluster start?#ifconfig -aen0: flags=5e080863,c0 inet netmask 0 xffffff00 broadcast 55 inet netmask 0 xffffff00 broadcast 55 inet netmask 0 xffffff00 broadcast 55 tcp_sendspace 131072 tcp_recvspace 65536 rfc1323

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论