IBM现场服务指南_20081028.doc_第1页
IBM现场服务指南_20081028.doc_第2页
IBM现场服务指南_20081028.doc_第3页
IBM现场服务指南_20081028.doc_第4页
IBM现场服务指南_20081028.doc_第5页
已阅读5页,还剩12页未读 继续免费阅读

下载本文档

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

文档简介

IBM现场服务指南1.AIX配置安装21.1.导带安装21.2.光盘安装31.2.1.安装需要的软件包31.2.2.安装Base OS步骤41.2.3.修改Root用户的口令111.2.4.安装额外所需的Fileset111.2.5.安装系统补丁121.2.6.OS 基本分区调整(rootvg)131.2.7.镜像rootvg141.2.8.rootvg的备份142.HACMP的安装152.1.HACMP的安装准备152.1.1.安装前提152.1.2.需要安装的文件集152.2.HACMP的安装162.2.1.开始安装162.2.2.打补丁162.2.3.重启机器163.系统维护164.现场服务Tips164.1.检查是否安装了华为所要求的文件集164.2.分区及文件系统设置参考171. AIX配置安装在华为现场,主要采用两种方式安装操作系统,导带安装与光盘安装。1.1. 导带安装导带,即从磁带中的mksysb恢复操作系统,过程大致如下:步骤备注检查硬件配置清单检查安装配置指南,包括AIX、HACMP及系统补丁版本信息检查系统安装规划对服务器进行恢复出厂设置不一定需要寻找匹配的磁带导带检查系统配置对操作系统及HACMP进行变更调整不一定需要对LVM及FS进行变更调整不一定需要图表 1导带的步骤可参考一下步骤进行导带:操作顺序具体步骤1把与主机序号相一致的磁带插入磁带机,重启系统。2在系统启动界面出现时,按1键,进入SMS菜单。3选择(Select Boot Options)并回车。选择(Select Install or Boot Device)并回车。选择(Tape)并回车。选择(List all device)并回车。选择(SCSI Tape)并回车。选择(Normal Mode Boot)并回车。选择(Yes)并回车4系统提示“STARTING SOFTWOAREPLEASE WAIT.”5输入 1 选择系统终端,并回车6选择1(Type 1 and press Enter to have English during install),并回车7选择3(Start Maintenance Mode for System Receovery),并回车8选择4(Insatll from a System Backup),并回车9选择1(tape/scsi/scsd),并回车10选择0(Install with the settings listed above),并回车11系统开始恢复,界面上会提示恢复安装进度12系统恢复完成后会自动重启,重启完成后就完成了系统恢复安装图表 2 导带操作步骤请注意,导带后请一定按照华为提供的配置指导书对操作系统及软件进行检查,确保配置符合华为的要求。1.2. 光盘安装在没有备份磁带的情况下,选择从光盘安装全新的操作系统,并做相应配置。光盘安装的大致过程如下:步骤备注检查硬件配置清单检查安装配置指南,包括AIX、HACMP及系统补丁版本信息检查系统安装规划对服务器进行恢复出厂设置不一定需要从光盘引导进行基本系统安装按照安装规划对LVM和文件系统进行调整对磁盘进行镜像安装操作系统Service Pack以及特定补丁安装HACMP及其Service Pack对系统再一次进行检查通过磁带进行备份图表 3光盘安装AIX的步骤1.2.1. 安装需要的软件包AIX管理维护及HACMP安装配置需要以下文件集,详细请参考华为现场提供的安装指导书及其他资料。(最新的列表)AIX必须安装的软件包备注bos.acctbos.adtbos.alt_disk_patbos.content_pat.clientsrsct.coreX11.DtX11.adtX11.baseX11.compatifor_ls.html.en_US不一定需要图表 4 AIX必须安装的软件包1.2.2. 安装Base OS步骤以下步骤仅供参考。(1) 主机加电后,敲击键盘键,服务器将从安装介质上引导(也可进入SMS菜单选择从光盘启动); (2) 显示器显示如下信息,要求用户选择主控台。 Please define the system console Type a F1 and press enter to use this terminal as the system console. Type een F1 en druk op enter om deze terminal als de systeemconsole to gebruiken. Skrive tallet F1 og trykk paa enter for aa bruke denne terminalen som systemkonsoll. Pour definir ce terminal comme console systeme, appuyez sur F1puis sur entree. Taste F1 and ansch1iessend die eingabetaste druecken,um diese datenstation als systemkonsole zu verwenden. Prenier I1 tasto F1 ed invio per usare questo terminal como consolo. Escriba F1 y pulse intro para utilizer esta terminal como consola del sistema. a)Tryck paa 1 och sedan paa enter om dy vill att haer terminalen ska vara systemkonsol键入“ F1 ”并回车(注意:键入的“F1”不回显)定义当前设备为主控台。(3)屏幕上将不断显示一些信息,几分钟后出现画面,要求用户选择安装语言环境: 1 Type 1 and press enter to have English during install. 2 Type 2 en druk op enter om tijdens het installeren het Nederlands te krijgen. 3 Entrez 3 pour effectuer 1 installation en francais. 4 Fr Installation in deutscher sprache 4 eingeben und die eingabetaste drcken. 5 Immettere 5 e premereinvio per 1 installazione initaliona. 6 Escriba 6 ypulse intro para usar el idioma espa ol durante la instalaci n. 7 Skriv 7 och tryck ned enter=svenska vid installationen. 88 Help? Choice【1】:键入“ 1 ”后回车,选择语言环境为English。 (4)此后屏幕出现: Welcome to Base Operating System Installation and Maintenance Type 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 system Recovery88 Help? 99 Previous Menu Choice : 这是系统安装和维护的主菜单。我们需要改变一些设置选项再进行基本操作系统的安装;(5)改变安装设置: 在上面菜单中,键入“2”并回车,屏幕出现“Install and Setting”画面: Installlation and a Settings Either 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 setting: Method of installlation.Preserve install Disk wher you want to install .hdisk0 2 Prinary Language Environment settings (AFTER Install): Cultural Convention.English(United States) Language. English(United States) Keyboard. English(United States) Keyboard Type. Eefault 3 Install Trusted Computing Base.No 0 Install AIX wint the current settings listed above.88 Help? 99 Previous Menu Choice :这是系统安装的默认设置,用户应根据需要进行修改。与此同时,在屏幕的右下角会出现如下的警告信息: WARNING:Base Operating system installation will destro or impair recovery of ALL data on the destination disk hdisk0. 以上是提醒用户安装系统的后果将破坏用户原有的硬盘上的数据。 因为我们是第一次安装所以应选择:完全覆盖安装(New and complete overwrite),所以键入 1 :(进入菜单更改安装方式) (6)安装方式的更改: Change Method of Installation Type the number of your choice and press Enter. 1 New and Complete Overwrite Overwrites EVERYTHING on the disk selected for installation. Warning: Only use this method if the disk is totally empty or there is nothing on the disk you want to preserve. Preservation InstallPreserves SOME of the existing data on the disk selected for Installation. Warning: This method overwrites the user (/usr), variable (/var), temporary(/tmp), and root (/) file systems. Other product (application) files and configuration data will be destroyed. 3 Migration Install Upgrades the Base Operating System to current release. Other product(application) files and configuration data will be spared. 88 Help ? 99 Previous Menu Choice 2: 1 如图所示:键入 1 将安装方式改为New and complete overwrite (7)选择安装操作系统的目的硬盘: Change Disks Where You Want to Install Type one or more numbers for the disk(s) to be used for installation and press Enter. To cancel a choice, type the corresponding number and press Enter. At least one bootable disk must be selected. The current choice is indicated by Size VG Name Location Code (MB) Status Bootable 1 hdisk0 00-01-00-0.0 305 rootvg yes 2 hdisk1 00-01-00-1.0 305 rootvg no 0 Continue with choices indicated above 66 Disks not known to Base Operating System Installation 88 Help ? 99 Previous Menu Choice 0:1此处为选择安装系统到那一块(或几块)硬盘。键入 1 ,安装到 hdisk0。 Change Disks Where You Want to Install Type one or more numbers for the disk(s) to be used for installation and press Enter. To cancel a choice, type the corresponding number and press Enter. At least one bootable disk must be selected. The current choice is indicated by . Size VG Name Location Code (MB) Status Bootable 1 hdisk0 00-01-00-4.0 305 rootvg yes 2 hdisk1 00-01-00-8.0 305 rootvg no 0 Continue with choices indicated above 66 Disks not known to Base Operating System Installation 88 Help ? 99 Previous Menu Choice 0:此时会在hdisk0前出现 来表明系统将安装至该硬盘。 选好后选择 : 0 继续。(8)选择完毕后应显示如下: Installation Settings Either type 0 or press Enter to install with current settings, or 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 Convention . C (POSIX) Language . C (POSIX) Keyboard . C (POSIX) 3 Install Trusted Computing Base . no 0 Install with the settings listed above 88 Help ? 99 Previous Menu Choice 1:0_(9) 设置完毕选择 0 安装即开始,屏幕将不断显示安装的进行情况。此时,只需耐心等待。当BOS安装完毕,系统将自动重启. Installing Base Operating System Please wait. Approximate Elapsed time %task completed (in minutes)系统安装完成后,会自动重新启动,并自动进入“安装辅助菜单”。1.2.3. 修改Root用户的口令1.2.4. 安装额外所需的Filesetroot# smitty installpF4cd01.2.5. 安装系统补丁从ibm网站上下载最新的补丁集,使用smit菜单安装系统补丁。root# smitty update_all1.2.6. OS 基本分区调整(rootvg)由于系统默认安装完毕后各个分区都非常小,很有必要调整各分区的大小,将各个分区都相应加大,以符合应用需要。调整磁盘空间方法:1、 root用户:smit lv = Set Characteristic of a Logical Volume =Increase the Size of a Logical Volume。2、 在LOGICAL VOLUME name中输入需要调整的LV的名称(或者使用“ESC+4”列表选择),在Number of ADDITIONAL logical partitions中输入需要增加的LP的个数,再回车即可。3、 调整后rootvg中LV的大小应该如下所示:# lsvg l rootvgrootvg:LV NAME TYPE LPs PPs PVs LV STATE MOUNTPOINThd5 boot 1 2 2 closed/syncd N/Ahd6 paging 16 32 2 open/syncd N/Ahd8 jfslog 1 2 2 open/syncd N/Ahd4 jfs 1 2 2 open/syncd /hd2 jfs 20 40 2 open/syncd /usrhd9var jfs 4 8 2 open/syncd /varhd3 jfs 4 8 2 open/syncd /tmphd1 jfs 1 2 2 open/syncd /home注意:上面显示的是LP个数,LP的大小可以使用“lsvg rootvg”命令得到,一般是128 MB。PP SIZE: 128 megabyte(s)调整后使用“df k”验证文件系统的大小,防止因为LP大小不一致造成没有达到实际要求的大小。1.2.7. 镜像rootvg安装好系统后,系统是单盘运行,为了保证系统的高可靠性,要求系统盘必须进行镜像。1、检查rootvg的文件系统,如下显示没有做根盘镜像。# lsvg -l rootvgrootvg:LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINThd5 boot 1 1 1 closed/syncd N/A2、根盘镜像# extendvg rootvg hdisk1 /将硬盘hdisk1加入rootvg中# mirrorvg c2 rootvg /对rootvg做镜像# bootlist m normal o hdisk0 hdisk1 /指定硬盘引导次序# bosboot -a# chvg Qn rootvg# lsvg l rootvgrootvg:LV NAME TYPE LPs PPs PVs LV STATE MOUNTPOINThd5 boot 1 2 2 closed/syncd N/A根据PPs为LPs的两倍,PVs为2,可以判断系统盘已经成功镜像。3、重启系统使根盘镜像生效#shutdown Fr1.2.8. rootvg的备份对卷组rootvg的备份也就是创建一个可引导的映像,包含rootvg里面所有mount起来的文件系统,我们可以用这个备份出来的引导映像来将崩溃的系统恢复到备份时的状态。在创建系统备份之前,需要完成以下先决条件: 使用root用户登录。 如果计划使用备份映象来安装其他不同配置的目标系统,必须在配置源系统之前创建映象,或者把 bosinst.data 文件里的“RECOVER_DEVICES”变量设置为“no”。 如果使用备份来创建源系统的主副本,需要考虑修改密码和网络地址。 安装要备份的所有文件系统,mksysb 命令仅备份所有安装在rootvg中的JFS(日志文件系统),不备份通过NFS网络安装的文件。要备份文件系统,还需要先mount。 卸载任意安装在另一本地目录上的本地目录。 在 /etc/exclude.rootvg 文件中列出不需要备份的文件。 在 /tmp 目录里至少保留8.8MB的可用磁盘空间,mksysb 在备份过程中需要使用 /tmp 空间。 必须已经安装所有硬件,包括外部设备,例如磁带机和CD-ROM驱动器。 必须安装 bos.sysmgt.sysbr 文件集,使用“lslpp l bos.sysmgt.sysbr”可以确定是否已经安装。使用mksysb命令建立一个可引导的映像,包含rootvg里面所有mount起来的文件系统,我们可以用这个备份出来的引导的映像来将系统恢复到原先的状态。系统备份步骤:1、 关闭磁带的写保护。2、 将磁带插入需要备份系统的内置磁带机。3、 用root用户登录系统,如下操作,备份成功后会提示“Backup Completed Successfully”。# mksysb -i /dev/rmt0Creating information file (/image.data) for rootvg.Creating tape boot image.Creating list of files to back up.Backing up 28268 files.28268 of 28268 files (100%)0512-038 mksysb: Backup Completed Successfully.4、 取出磁带并贴上标明主机序号的标签,并对磁带进行写保护。记住备份系统的root用户密码。2. HACMP的安装安装前需要做的准备工作,包括对系统进行软硬件方面前期的配置工作,如存储配置,划分,目录、用户、分区、卷、文件系统的创建,操作系统配置的修改,辅助服务和引用的配置等等。2.1. HACMP的安装准备2.1.1. 安装前提安装前,请确保AIX相应的文件集都已安装,具体请对照图表4中列举的AIX文件集。2.1.2. 需要安装的文件集HACMP必须安装的软件包备注cluster.adt.escluster.doc.en_US.escluster.escluster.es.clvm不一定有该文件集cluster.es.cspoccluster.es.worksheetscluster.licen

温馨提示

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

评论

0/150

提交评论