IBM小型机安装部署.doc

上传人:w****2 文档编号:6539736 上传时间:2020-02-28 格式:DOC 页数:79 大小:10.71MB
返回 下载 相关 举报
IBM小型机安装部署.doc_第1页
第1页 / 共79页
IBM小型机安装部署.doc_第2页
第2页 / 共79页
IBM小型机安装部署.doc_第3页
第3页 / 共79页
点击查看更多>>
资源描述
AIX HACMP安装部署目录第1章小型机系统安装11.1启动服务器11.2选择安装控制台11.3安装AIX操作系统11.4给rootvg做镜像5第2章设备连接、启动62.1拓扑图62.2设备启动顺序6第3章HMC配置73.1HMC启动73.2HMC网络配置83.3添加受管服务器103.4登陆受管服务器123.5添加另一台受管服务器133.6登陆另一台受管服务器173.7注销HMC193.8关闭HMC19第4章操作系统环境配置204.1文件集以及补丁安装204.1.1所需安装的bundle204.1.2所需安装的文件集204.1.3修改limits文件和hosts文件214.2添加tty设备21第5章HACMP安装配置235.1HACMP软件安装235.2配置共享卷组245.2.1非并发卷组245.2.2文件系统创建255.2.3导入卷组255.3HACMP配置265.3.1添加集群265.3.2添加节点265.3.3Discover配置285.3.4添加网络285.3.5添加通信接口和设备315.3.6添加管理IP325.3.7App-server配置345.3.8服务IP配置355.3.9资源组配置365.3.10效验同步385.3.11集群功能测试40第6章Oracle10g安装416.1.1Oracle用户和组的创建416.1.2环境变量设置416.1.3Oracle软件安装426.1.4建库536.1.5监听配置596.1.6备机上oracle安装配置71第1章 设备连接、启动1.1 拓扑图1.2 设备启动顺序 首先启动HMC,在HMC进入系统后,并配置HMC的网卡,配置完成后再启动存储设备,存储设备启动3分钟后再启动光纤交换机,光纤交换机启动3分钟后最后给小型机加电,加电正常后启动小型机。第2章 HMC配置2.1 HMC启动机器上电后,开启HMC 的电源,启动HMC的系统,到登陆界面。 点击”登陆并启动硬件管理控制器Web应用程序”,输入用户名:hscroot 和密码:*(默认)后点击登录。 就进入了HMC 硬件管理平台的管理界面。2.2 HMC网络配置首先点击左窗口的HMC管理菜单,然后点击右侧窗口的更改网络设置。选择LAN适配器菜单中的eth0网卡,然后点详细信息选择打开按纽,在IPV4 地址中选择自动获取IP 地址,并且选择DHCP服务器启动DHCP服务器,设置DHCP网段为192.168.0.2192.168.0.10,然后确定同样的步骤把eth1的网卡设置成DHCP网段为192.168.1.2192.168.1.10。2.3 添加受管服务器 在HMC配置完成后,启动小型机,HMC 会自动寻找小型机,并把它添加到系统管理下的服务器下面。输入小机的hmc接口的ip:172.16.255.254,然后ok完成后就可在左上方看到所添加的服务器。如下图2.4 登陆受管服务器选中小型机后点后面的图标然后点击控制台窗口-打开终端窗口选择始终信任,后点运行就出现登陆界面,输入系统的用户名和密码就登陆到系统下了。2.5 添加另一台受管服务器通过同样的步骤,添加另一台受管小机,另一台的ip是192.168.254.2552.6 登陆另一台受管服务器选中小型机后点后面的图标然后点击控制台窗口-打开终端窗口2.7 注销HMC点击界面右上角的注销按钮,然后选择注销后确定。2.8 关闭HMC点击左面菜单中的HMC管理,然后点击关闭和重起hmc菜单,然后选择关闭HMC后确定。第3章 小型机系统安装3.1 启动服务器 将服务器的所有线缆都正常联接上后把电源线插入电源插座,此时在服务器前端的液晶屏会出现提示状态(液晶屏依次出现若干组8位的数据)。等待液晶屏出现“01 N V=F”状态时,白色电源按钮下面的电源批示器会出现绿色闪烁提示,这时就可以开机了。3.2 选择安装控制台 按白色的电源开关等待2-3分钟后显示器会出提示“Type a 2 at this terminal and press if you want this display to be System Console” 此时按“2”和Enter键来选择系统控制台。3.3 安装AIX操作系统将AIX操作系统光盘1号盘放入光驱内。当服务器出现第一次滴答声时,显示器上会出现自检状态,此时要按“5”(在出现SCSI和SPEAKER之间,也就是说在出现第一次滴答声与第二次滴答声这间)从光驱引导安装操作系统。等待数秒后显示器上会出现“Please enter the service Processor admin account password”这是在光标提示符处按admin并回车(输入后的状态会以“*”提示)。 等待数秒后会发现光驱正在读光盘,显示器上出现了如下提示:* Please define the System Console . *Type the F1 key and press Enter to use this display as the system console.Pour definir ce terminal comme console systems, appuyez sur la touch F1 puis sur Entre.(各国语言)等等按“F1”并回车。出现下一提示页面。 1 Type 1 and press enter to have English during install. 2 Entreu 2 I premeu Intro per veure la install.lacio en catala. 3.等等。按“1”回车选择英语提示。选择“2 Change/Show Installation Settings and Install”Welcome to Base Operation System Installation and MaintenanceType the number of your choice and press Enter. Choice is indicated by1. Start Install now with Default Settings2. Change/Show Install Settings and Install3. Start Maintenance Mode for System Recovery. 按“1”回车,进入System Settings. Install 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 SettingsMethod of Installation New and Complete OverwriteDisk where You Want to Install.hdisk02. Primary Language Environment Settings(AFTER Install)Current Convention Chinese(Simplified EUC) Language. Chinese(Simplified EUC) Keyboard. Chinese(Simplified EUC)3. More Options(Desktop , Security, Kenel, Software)0. Install with the current settings listed above88 Help?99 Previous MenuChoice 0? 选择“1”是全新安装操作系统,Change Method of InstallationType the number of the installation method and press Enter:1 New and Complete Overwrite Overwrite EVERYTHING on the disk selected for installation. Warning : Only use this method if the disk is totally empty or if there is nothing on the disk you want to preserve.2 Preservation Install Preserves SOME of the existing data on the disk selected for installation . Warning : This method overwrite the usr(/usr) ,variable(/var),temporary(/tmp), and root (/) file systems. Other product (application )files and configuration data will be destroyed.88 Help?99 Previous Menu Choice 1 :选择要将系统装入到1 hdisk0硬盘Change Disks Where You Want to InstallType one or more 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 Name Location Code Size(MB) VG Status Bootable1 hdisk0 10-60-00-8,0 146006 none yes 2 hdisk1 10-60-00-8,0 146006 none no0 Continue with choice indicated above:66 Disks not known to Base Operating System Installation77 Display More Disk Information88 Help?99 Previous MenuChoice0:选定完硬盘后按“0”回到上层选择界面。 再回到安装设置界面选择3,选择4和5。Install Option1. Desktop.CDE2. Enable Trusted Computing Base.NO3. Enable CAPP and EAL4+.NO4. Enable 65-bit Kenel. .NO5. Create JFS2 File Systems. .NO6. Graphics Software.YES7. Documentation Services Software.YES8. Enable system backups to install any System.YES9. Install More Software0. Install with the current settings listed above88. Help?99 Previous MenuChoice0:按9进入下图,选择3把server服务更改成yes,然后按0继续安装。Install More Software1.Mozzile(Mozzile CD).NO2.Keberos (Expansion Pack) .NO3.Server(Volume 2) .NO4.Alternate Disk Install(Volume 2) NO 0.Install with the current settings listed above88. Help?99 Previous MenuChoice0:大约等60分钟后会统自动安装完成后会自动重新启动服务器。启动服务器后等待出现“配置助手”配置系统。在配置助手的引导下,可以完成下面任务:(1) 将系统时区设定成+8时区,设置正确的日期和时间。(2) 设定root用户密码。 当退出配置助手程序时,它会询问在下次重新启动操作系统时,是否要重新启动配置助手程序,选择否,用户即可以登录并使用操作系统了。3.4 给rootvg做镜像分别在两台小机上执行:#chfs a size=2G /#chfs a size=4G /var#chfs a size=15G /tmp#chfs a size=10G /home#chfs a size=4G /opt扩展各个文件系统的容量,然后执行下面的命令做镜像:# exportvg rootvg hdisk1#mirrorvg rootvg然后等mirror完成后,系统自动到# 提示符下,然后再执行:#bosboot ad hdisk1#bootlist m normal hdisk0 hdisk1#chvg Qn rootvg至此rootvg的镜像就做好了。第4章 操作系统环境配置4.1 文件集以及补丁安装和ip设置4.1.1 所需安装的bundleApp-DevCDEPerToolsServer通过输入#smiitty easy_install 填入/dev/cd0路经回车,选择上面的文件并选择接受许可后回车安装。4.1.2 所需安装的文件集bos.adt.base bos.adt.libbos.adt.libmbos.adt.syscallsbos.net.tcp.clientbos.net.tcp.serverbos.rte.SRCbos.rte.libcbos.rte.libcfgbos.rte.libcurbos.rte.libpthreadsbos.rte.odmbos.databos.rte.lvmbos.clvm*bos.perf.perfstatbos.perf.libperfstatbos.perf.proctoolsbos.adt.profbos.cifs_fs.rtersct.basic输入#smitty installp 在输入/dev/cd0路经,在第二项中按F4选择上面的文件集后回车,同意许可,然后回车安装。4.1.3 IP地址设置AIX操作系统中的所有设置都是通过命令行的方式来配置,现在我把配置的过程进行了抓图,详细配置如下图中的配置登陆到aix操作系统中使用命令 smitty tciip 如下图 命令完成后直接敲回车键,进入下图选择第一个选择项,进入下图中的配置判断你的网卡在硬件的那个插口上,当前的网卡用的en4,用上下方向键选择到你所要配置的网卡上面,然后按回车键,如下图在上图中,hostname 填入你的主机名称,Internet address 填入你的网卡接口ip地址Network mask 填入子网掩码, 在default gateway填入默认网关,全部填好以后直接按回车键结束。另外的网卡配置和上图中的配置一样,你所需要更改的只是网卡的ip地址,如下图中4.1.4 修改limits文件和hosts文件vi /etc/security/limits修改下面文件为-1default: fsize = -1 core = -1 cpu = -1 data = -1 rss = -1 stack = -1 nofiles = -1vi /etc/hosts10.1.1.1 boot1_boot1 TJORACLE110.1.2.1 boot1 _boot2172.16.9.254 boot1 _per172.16.9.4 boot1 _ser10.1.1.2 boot2_boot1 TJORACLE210.1.2.2 boot2 _boot2172.16.9.253 boot2 _per4.2 添加tty设备分别在A机B机上执行:smitty tty验证:A机上cat /etc/hosts/dev/tty0 B机上 cat/dev/tty0,有hosts信息显示正常。第5章 HACMP安装配置5.1 HACMP软件安装#smitty install(除cluster.hativoli和cluster.haview不装外,其他全部安装)如图:5.2 配置共享卷组共享卷组为:cwvg (hdisk2 hdisk3)5.2.1 非并发卷组 #smitty mkvg5.2.2 文件系统创建#smitty crfs创建挂载点/database的文件系统。5.2.3 导入卷组A机上执行下列操作:varyoffvg oravgB机上执行下列操作:cfgmgr vimportvg -y oravg V 49 hdisk2varyoffvg oravg5.3 HACMP配置5.3.1 添加集群#Smitty hacmp-Extended Configuration -Extended Topology Configuration -Configure an HACMP Cluster-Add/Change/Show an HACMP Cluster5.3.2 添加节点#Smitty hacmp-Extended Configuration -Extended Topology Configuration -Configure HACMP Nodes-Add a Node to the HACMP Cluster 5.3.3 Discover配置#Smitty hacmp-Extended Configuration -Discover HACMP-related Information from Configured Nodes 5.3.4 添加网络#Smitty hacmp-Extended Configuration -Extended Topology Configuration -Configure HACMP Networks -Add a Network to the HACMP Cluster ESC+3返回 添加串口网络5.3.5 添加通信接口和设备5.3.5.1 添加通信接口#smitty hacmp-Extended Configuration-Extended Topology Configuration -Configure HACMP Communication Interfaces/Devices -Add Communication Interfaces/Devices -Add Discovered Communication Interface and Devices Communication Interfaces -net_ether_01 5.3.5.2 添加通信设备#smitty hacmp-Extended Configuration-Extended Topology Configuration -Configure HACMP Communication Interfaces/Devices -Add Communication Interfaces/Devices-Communication Devices添加的为串口设备,如下图:5.3.6 添加管理IP#smitty hacmp-Extended Configuration-Extended Topology Configuration -Configure HACMP Persistent Node IP Label/Addresses -Add a Persistent Node IP Label/Address 5.3.7 App-server配置#smitty hacmp-Extended Configuration-Extended Resource Configuration -HACMP Extended Resources Configuration -Configure HACMP Application Servers -Add an Application Server5.3.8 服务IP配置#smitty hacmp-Extended Configuration-Extended Resource Configuration -HACMP Extended Resources Configuration -Configure HACMP Service IP Labels/Addresses -Add a Service IP Label/Address-Configurable on Multiple Nodes -net_ether_01 (10.1.1.0/24 10.1.2.0/24) 5.3.9 资源组配置#smitty hacmp-Extended Configuration-Extended Resource Configuration -HACMP Extended Resource Group Configuration -Add a Resource Group5.3.9.1 非并发资源组配置5.3.9.2 改变资源组属性#smitty hacmp-Extended Configuration-Extended Resource Configuration -HACMP Extended Resource Group Configuration -Change/Show Resources and Attributes for a Resource Group Resource1: 5.3.10 效验同步#smitty hacmp-Extended Configuration -Extended Verification and Synchronization HACMP配置完成。5.3.11 集群功能测试5.3.11.1 集群进程效验#lssrc -g cluster集群管理守护进程 (clstrmgrES)、Cluster SMUX Peer 守护进程 (clsmuxpd)运行正常。5.3.11.2 IP验证使用命令 netstat in 来验证所有 IP 地址都已配置完毕。 使用命令#smitty route加入一条默认的路由。 5.3.11.3 资源验证使用命令 lsvg o 来验证卷组已启用。 使用命令 lsvg -l cwvg 来验证逻辑卷已打开和同步。 使用命令 mount 来验证文件系统已装入。 第6章 Oracle10g安装6.1.1 Oracle用户和组的创建 使用smitty mkgroup创建dba组ID 501 和组oinstall ID502使用smitty mkuser创建Oracle用户 ID 500Passwd oracle为其设置密码6.1.2 环境变量设置#su oracle$vi .profile 内容如下:export ORACLE_BASE=/home/oracleexport ORACLE_HOME=/home/oracle/product/10.2.0/db_1 export ORACLE_SID=orclexport ORACLE_TERM=vt100export TNS_ADMIN=$ORACLE_HOME/network/adminexport NLS_LANG=american_america.zhs16gbkexport ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/dataexport LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:/usr/libexport LIBPATH=$ORACLE_HOME/lib:$ORACLE_HOME/ctx/libexport ORA_DB=$ORACLE_HOME/dbsexport CLASS_PATH=JRE_Location:$ORACLE_HOME/jlib:$ORACLE_HOME/product/jlib PATH=$ORACLE_HOME/bin:$PATH;export PATH完成后执行#set6.1.3 Oracle软件安装6.1.3.1 解压oracle软件在小机上#mkdir /tmp/oracle,然后用FTP工具上传数据库软件10gr2_aix5l64_database.cpio.gz到/tmp/oracle目录下,用下面的命令解压后得到DISK1安装文件夹。#gunzip 10gr2_aix5l64_database.cpio.gz#cpio -idcmv 10gr2_aix5l64_database.cpio.gz6.1.3.2 软件安装分别在AB两台机器上安装oracle10g软件#chown R oracle:oinstall /database#chmod R 777 /database#./temp/oracle/Disk1/rootpre/rootpre.sh (以root用户来执行)#su oracle$mkdir /database/orcl$./temp/oracle/Disk1/runInstaller.sh开始GUI安装用root用户登录系统,并执行上图中提示的脚本。6.1.3.3 Oracl补丁软件安装在小机上#mkdir /tmp/oracle/buding,然后用FTP工具上传数据库补丁p6810189_10204_AIX5L软件到/tmp/oracle目录下,用下面的命令解压后得到DISK1安装文件夹。#gunzip p6810189_10204_AIX5L.gz#cpio -idcmv p6810189_10204_AIX5L.cpio解压后得到/tmp/oracle/buding/Disk1文件目录。6.1.3.4 Oracl补丁软件安装分别在AB两台机器上安装oracle补丁软件#./temp/oracle/buding/Disk1/rootpre/rootpre.sh (以root用户来执行)#su oracle$./temp/oracle/buding/Disk1/runInstaller.sh开始GUI安装用root用户登录系统,并执行上图中提示的脚本。到此oracle补丁安装完成。6.1.4 建库在A机上启动HACMP,以oracle用户登陆,需要su - oracle一下。到显示上图时点击File Location Variables更改数据路经为/database/oracl目录6.1.5 监听配置在A机上$netmgr保存,退出$lsnrctl start$netmgr6.1.6 参数调整库和监听创建成功后,启动oracle,并调整sga缓存为32G。# su oracle$sqlplus “/as sysdba”$alter system set sga_target=32G scope=spfile;6.1.7 数据文件调整Oracle数据库安装完成后,默认的系统表空间很小,但是它可以自动扩展,它自动扩展后会有碎片影响性能,所以通过客户端的数据库管理软件提前调大。6.1.8 备机上oracle安装配置根据第一台小型机的安装步骤在第二台小机上安装oracle数据库,但是不要建库。然后在第一台小型机上#tar cvf orcle.tar /home/oracle然后用ftp把oracle.tar上传到第二台小型机的/home目录下。在通过以下命令执行。#tar xvf oracle.tar#chown R oracle:dba /home/oracle#chmod R 777 /home/oracle修改完成后第二台小型机的oracle数据库就安装完成了。
展开阅读全文
相关资源
相关搜索

当前位置:首页 > 临时分类 > 人文社科


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!