HP-UX 11[1].0操作系统安装(详细安装).doc_第1页
HP-UX 11[1].0操作系统安装(详细安装).doc_第2页
HP-UX 11[1].0操作系统安装(详细安装).doc_第3页
HP-UX 11[1].0操作系统安装(详细安装).doc_第4页
HP-UX 11[1].0操作系统安装(详细安装).doc_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

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

文档简介

HP-UX 11.0操作系统安装(详细安装)安装所需的介质和资料:HP-UX 11.0 Core OS Install/Update/Recovery光盘(1张)HP-UX 11.0 Support Plus光盘(1张)HP-UX 11.0 Application Software光盘(5张)1安装前的准备:在系统的安装之前检查机器的各线连接,将机器通过网线接到hub上,并且在确保各个外设(磁带机.磁盘阵列等)加电后,然后再开机。我现在重装35的话,需要怎么做呢?要umont已有的目录吗?2在屏幕上将看到:Processor is booting from fist available deviceTo discontinue. press any key within 10 seconds在10秒之内按任意键,之后屏幕将显示一9个命令集画面:Main Menu. Command DescriptionBoot PRI|ALT| Boot from specified path Main Menu: Enter command 3将HP-UX11.0CoreOSInstall/Update/Recovery放入光驱或DVD,4键入命令SEA,系统会查询硬件设备的物理路径:Main menu: Enter command sea(例如) Path Number Device path Device TypeP0 8/4.5 Random access mediaP1 8/4.9 Random access mediaP2 5.根据device path如:8/4.5与机器前门内标注(D250)确定光驱或DVD的路径,假设为P1 8/4.9键入命令bo p1回车:Main Menu: Enter commandbo p16 .系统会询问是否要进行交互访问,要输入 n回车Interact with IPL? n注意: :接下来可能出现屏幕乱码现象,解决方法:按User System 键,屏幕底出现8个小亮块,最右边一块为 按F8键,8个亮块发生变化,其中有一个为 ,按F5键, 进入TERMINAL CONFIGURATIONJIEMIAN界面,将TERM MODE项的值改为EM100),然后按F1,保存设置7系统要求选择安装方式:Welcome to the HP-UX installation/recovery process!Use the key to navigate between fields, and the arrow keys Within fields.Use the key to select an item.Use the or to pop-up a choices list.If theMenus are not clear,select the Help item for more information.Install HP-UX Run a Recovery ShellAdvance Options 选择Install HP-UX,回车继续。8屏幕出现: User Interface And Media OptionslllllllllSource Location Options: * Media only installation Media with Network enabled (allows use of SD depots) Idnite-UX server based installationUser Interface Option:*Guided Installation (recommand for basic installs) Advanced Installation 选择*Media only installation和*Advanced Installation两项,* 为选中状态,然后OK. 8屏幕出现: Basic Software System File system AdvancedConfigrations:. DescriptionEnvironments:. HP-UX B.11.00Root Disk.File System :Logical Volume Manager with VxFS Root Swap(MB) Physical Memory (RAM) =Languages. Keyboards Additional.对于Basic中的内容不要做任何修改,保留默认值。9选中File System,显示如下(表中数据只是为例,有的数据被省略)Basic Software System File system AdvancedMount Dir Usages Size(MB) % used VG Name/stand HFS 84 24 vg00 AddPrimary SWAP+D - - - Modify / VxFS - - - RemoveUsage :. VG name: Mount Dir :.Size: Fixed MB - Avail:- Add/Remove Disks -Additional Task-在这里可以修改各系统文件的空间大小 Type Filesystem kbytes used avail %used Mounted on hfs /dev/vg00/lvol1 199381/200M 29440 150002 16% /stand * /dev/vg00/lvol2 199381/2048M * * *% /* vxfs /dev/vg00/lvol3 258048/252M 152942 98537 61% / vxfs /dev/vg00/lvol4 1048576/1024M 1357 981768 0% /home vxfs /dev/vg00/lvol5 1048576/1024M 309329 693045 31% /opt vxfs /dev/vg00/lvol6 512000/500M 1449 478642 0% /tmp vxfs /dev/vg00/lvol7 1048576/1024M 530219 485960 52% /usr vxfs /dev/vg00/lvol8 2097152/2048M 397013 1593881 20% /var vxfs /dev/vg00/lvol9 2097152/2048M 1776350 300752 86% /sybase根据要求设置各文件系统的大小与下表一致:Mount Dir L2000(MB) UsagePrimary swap xxx Swap+D/ xxx VxFS/stand xxx HFS/var xxx VxFS/usr xxx VxFS/Tmp xxx VxFS/Opt xxx VxFS/home xxx VxFS如果屏幕上的各个文件系统的缺省值与用户要求不一样,要进行修改, 每次修改之后要按Modify项确认,以便保留设置。设置完毕,GO,继续下一步。 这些文件系统的大小怎么确认?是在重装之前备份系统,还是手工记录?10接着系统会提示被安装的硬盘上的原有数据将被破坏,选GO,继续。11这时候系统文件的安装开始,屏幕显示,Loading configuration utilitys.*Starting system configuration.*.整个过程包括710个文件的安装,需要较长时间(大约2小时),请耐心等待,最后系统自动重启两次,显示大大的OK字样,提示安装成功。 12重启后,系统要求配置网络 Are you ready to link this system to a network? Pressyfor yes or n for no .then press Return键入y,回车13系统询问是否使用DHCP:Do you wish to use DHCP to obtain networking information ?Press y for yes or n for no .then press Return键入n,回车14系统询问是否继续下面的主机名。Ip地址。时间的配置:*Your system name (host name)*Your internet protocol (IP0 address.*Your time zoneAre you wish to continue (answering no will HALT the system)?Press y for yes or n for no .then press Return键入y,回车15接着下一个画面底下两行将显示:Enter the system name ,then press Return.Just pressing Returnwill keep the (not recommended)name unhost: root在光标处输入你想要的系统名,例如root然后回车然后系统询问是否正确:You have chosen root as the name for this system .Is this correct?Press y for yes or n for no .then press Return键入y,回车16屏幕要求你选择你所在的位置:1) North America or Hawaii2) Central America3) South America4) Europe5) Africa6) Asia7) Australia,New Zealand Enter the number for your location (1-70then press return键入6,选择Asia ,然后回车17接下来要求选择时间:Select your time zone from the following list: 1)Western Russia 6)Phillipines,hongkong,Eastern China ,Taiwan 2)India 7)Japan 3)Pakistan 8)Korea 9)Thailand 9)Unlisted time zone 5)Singapore 10)Previous menuEnter the nunber for your tiiiiiime zone(1-10),then press Return键入6,回车继续系统会询问选择是否正确:Is this correct ?Press y for yes or n for no .then press Return键入y,回车18屏幕显示:The current system time is -Is this correct?Press y for yes or n for no .then press Return看系统的时间是否正确,如果不需要修改,键入y,回车19系统询问是否想设root的密码:Do you want to set the root password at this time?Press y for yes or n for no .then press Return键入y,回车,系统提示输入新密码,键入密码,回车继续20系统要求输入IP地址:Enter your IP address,then press Returnor just press Return to selectDefault address:输入IP地址,回车,屏幕出现:You have chosen-as the IP address for this system,Is this correct ?Press y for yes or n for no .then press Return如果觉得输入的IP没有错误,键入y,回车确认。21屏幕出现:You may configure some additional network parameters at this time :*Subnetwork Mask and Default Gateway*Domain Name System(DNS)*Network Information Service(NIS)Do want to configure these additional network parameters?Press y for yes or n for no .then press Return键入y,回车22接下来系统问是否要设置子网掩码和网关:*Subnetwork mask*Default gateway IP addressDo you wish to specify this information ?Press y for yes or n for no .then press Return键入y,回车23屏幕底行出现:The subnetwork mask shown above is the system default value and possibly should be changed.Enter the new subnetwork mask,then press Returnor just prss Return to use the default value above:输入你要的子网掩码,回车24接着系统要求输入网关:Enter the gateway IP address,then press Return输入网关,回车25系统询问刚才的输入是否正确:Are the parameters above correct?Press y for yes or n for no .or c to cancel ,then press Return确认无误,键入y,回车之后,系统显示:Are you continue ?确认继续后,回车。26系统询问是否进行DNS设置:To configure DNS you will need to known the :*Local domain name*DNS server IP addressDo you wish to specify this information ?Press y for yes or n for no,then press Return键入n,回车。27系统询问是否设置NIS:Do you wish to specify NIS client information ?Press y for yes or n for no .then press Return键入n,回车。28在屏幕出现Press Return to continue 时,回车继续。29接着又出现Press Return to continue 时,回车继续30这时候屏幕出现进程检测状态,然后用户便可登录系统了,安装结束。31进入SAM Disks and File System File system中查看各文件系统的大小等各种信息是否与要求一致。Mount Dir L2000(MB) UsagePrimary swap xxx Swap+D/ xxx VxFS/stand xxx HFS/var xxx VxFS/usr xxx VxFS/Tmp xxx VxFS/Opt xxx VxFS/home xxx VxFS二AUTO RAID的磁盘空间分配L2000下的AUTORAID中共有5块18.2G的硬盘,可用空间49,038MB,1.进入SAM disk and file system disk device 选中设备 HP auto-raid disk array controller 然后进入Action disk array maitance Bind LUN 输入大小为xxxxMB2.同样方法建立容量xxxxMB的LUN共5个3.删除缺省的大小为2048MB的LUN: Action disk array maitance UNBind LUN2. 最后剩下xxxxMB,分成一个LUN.3. 同时选中这6个逻辑盘,在Action configure using Logical Volume Manage中创建vg014. 将vg01按LVOL01.LVOL10.的顺序建立大小为xxxx的逻辑单元n个。7.在SAM Logical Volume Manage中查看刚才自己的设置是否符合要求。三HP-UX 11.0系统的补丁安装1 以root身份登录,将光盘Support Plus users Guide放入5. 建立目录: mkdir /cdrom6. 使用ioscan -fnCdisk 命令查看DVD或CD-ROM的路径为cntndn4使用mount /dev/dek/cntndn /cdrom命令5使用lsf /cdrom命令浏览光盘上的内容,目录XSWHWCR1100/和XSWGR1100/即是补丁路径6首先安装文件XSWHWCR1100/ 命令为:swinstall -s /cdrom/XSWHWCR1100/7进入SD Install 界面,选中XSWHWCR/,在Action选项中选择Manage.,进入Manage Patch Selection界面,将上方的两个Automatically.项,全部选中为X状态。8选择OK,在出现的Configuration框中选YES,接下来的目标文件搜索过程有时需要几分钟,不要误以为死机。 9然后屏幕显示跟刚进入SD Istall时一样,只有一行 XSWHWCR1100/. 在Action中选Installation,出现一个以百分比显示安装进度的画面,表明安装正常,需10分钟左右10安装完毕,系统自动重启11相同的方法安装XSWGR/文件。Hostname:wndy_srvlvcreate -n lvol9 -L 5000 /dev/vg00newfs F vxfs /dev/vg00/rlvo9mkdir /Sybasemount /dev/vg00/lvol9 /Sybase#ioscan fnCdiskpvcreate B /dev/rdsk/c2t6d0vgextend /dev/vg00 /dev/dsk/c2t6d0mkboot /dev/vdsk/c2t6d0lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0lvextend -m 1 /dev/vg00/lvol2 /dev/dsk/c2t6d0lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t6d0lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t6d0lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t6d0lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c2t6d0lvextend -m 1 /dev/vg00/lvol7 /dev/dsk/c2t6d0lvextend -m 1 /dev/vg00/lvol8 /dev/dsk/c2t6d0lvextend -m 1 /dev/vg00/lvol9 /dev/dsk/c2t6d0mkboot -ahpun (;0)/stand/vmunix /dev/dsk/c2t6d0lvlnboot -b /dev/vg00/lvol1lvlnboot -r /dev/vg00/lvol3lvlnboot -s /dev/vg00/lvol2lvlnboot -d /dev/vg00/lvol2lvlnboot -vlvlnboot R#shutdown ry 0create PV#iosacn fnCdisk#pvcreate f /dev/rdsk/c3d0t0#pvcreate f /dev/rdsk/c5d0t0#mkdir /dev/vg01#mknod /dev/vg01/group c 64 0x010000vgcreat vg01 /dev/dsk/c3d0t0 /dev/dsk/c5d0t0 /dev/dsk/c7d0t0 /dev/dsk/c9d0t02create the LVlvcreate -n tss_data01 -L 5000 /dev/vg01lvcreate -n tss_data02 -L 5000 /dev/vg01lvcreate -n tss_data03 -L 5000 /dev/vg01lvcreate -n tss_data04 -L 5000 /dev/vg01lvcreate -n tss_data05 -L 5000 /dev/vg01lvcreate -n tss_data06 -L 5000 /dev/vg01lvcreate -n tss_data07 -L 5000 /dev/vg01lvcreate -n tss_data08 -L 5000 /dev/vg01lvcreate -n tss_back01 -L 10000 /dev/vg01lvcreate -n tss_back02 -L 10000 /dev/vg01lvcreate -n tss_log01 -L 2000 /dev/vg01lvcreate -n tss_log02 -L 2000 /dev/vg01lvcreate -n tss_log03 -L 2000 /dev/vg01lvcreate -n tss_log04 -L 2000 /dev/vg01lvcreate -n tss_log05 -L 2000 /dev/vg01lvcreate -n sybmaster_2k -L 100 /dev/vg01lvcreate -n sybmaster_4k -L 100 /dev/vg01lvcreate -n sybsysproc_2k -L 120 /dev/vg01lvcreate -n sybsysproc_4k -L 120 /dev/vg01newfs F vxfs /dev/vg01/rtss_back01mkdir /Sybase/tss_back01mount /dev/vg01/ tss_back01 /Sybase/ tss_back01#netstat i#netstat -r/etc/rc.config.d/netconfiRARP=0INTERFACE_NAME1=lan1IP_ADDRESS1=156.32.16.8SUBNET_MASK1=255.255.255.0BROADCAST_ADDRESS1= 156.32.16.255INTERFACE_STATE1=upDHCP_ENABLE1=0ROUTE_DESTINATION1=defaultROUTE_GATEWAY1= 156.32.16.6ROUTE_MASK1=255.255.255.0ROUTE_COUNT1=1ROUTE_ARGS1=Ndd set /dev/ip ip_send_source_quench 0 (only HP-UX11.0)Vi /etc/fstab/dev/vg00/lvol9 /sybase vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2/dev/vg01/tss_back01 /sybase/tssback vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2HP-UX系统安装和配置 2001-5-29 14:09:29 -以下内容是本人根据实际工作经验组织起来的,与大家共享!1.1 HP-UX系统安装HP-UX操作系统是预装的,由HP工程师进行配置。配置包括如下参数:主机名: CRCT1(上)CRCT2(下)此主机名可通过hostname或uname a 命令查看。1.2 创建用户帐号使用sam创建用户帐号halt、test、jzx、train和informix。并分别用passwd命令给各用户设置口令。1.3配置磁盘1.3.1 配置镜像磁盘Mirror Disk是HP-UX的一套软件包,当系统中安装有两个系统盘时,可以利用该软件的功能来做操作系统的镜像备份,以下是做镜像磁盘的步骤。1、 执行lvlnboot -v命令检查系统中的启动设备#lvlnboot -vBootBootSwapDump2、 创建第二块系统盘#pvcreate -B /dev/rdsk/c2t6d03、 扩展vg00,添加第二块硬盘#vgextend /dev/vg00 /dev/dsk/c2t6d04、 为第二块磁盘创建boot引导信息#mkboot /dev/dsk/c2t6d05、 扩展vg00中各逻辑卷,添加镜像磁盘lvextend -m /dev/vg00/lvol2 /dev/dsk/c2t6d0lvextend -m /dev/vg00/lvol3 /dev/dsk/c2t6d0lvextend -m /dev/vg00/lvol4 /dev/dsk/c2t6d0lvextend -m /dev/vg00/lvol5 /dev/dsk/c2t6d0lvextend -m /dev/vg00/lvol6 /dev/dsk/c2t6d0lvextend -m /dev/vg00/lvol7 /dev/dsk/c2t6d0lvextend -m /dev/vg00/lvol8 /dev/dsk/c2t6d0lvextend -m /dev/vg00/lvol9 /dev/dsk/c2t6d0lvextend -m /dev/vg00/lvol10 /dev/dsk/c2t6d06、 为第二块磁盘创建boot引导信息#mkboot -a hpux(;0)/stand/vmunix /dev/dsk/c2t6d07、 执行如下操作后重新启动系统#lvlnboot -b /dev/vg00/lvol1#lvlnboot -b /dev/vg00/lvol2#lvlnboot -b /dev/vg00/lvol3#lvlnboot -d /dev/vg00 /dev/dsk/c2t6d0#lvlnboot -R#shutdown -h -y 08、 在启动Main Menu出现时,从第二块磁盘启动Main Menu:seaP0 0/0/2/0.6 intscsia.6 Random access mediasP1 0/0/2/1.6 intscsia.6 Random access medias P0 0/4/0/0.0 Random access mediasP3 0/10/0/0.1 Random access mediasP4 1/10/0/0.5 Sequene access medias Main Menu:bo p19、 系统启动以后执行如下操作#lvlnboot -v1.3.2添加磁盘阵列柜使用sam命令添加物理磁盘:sam Disks and File Systems(CRCT1)选定某个磁盘,在该磁盘上执行:Disk DevicesActions Disk Array Maitainecebind出现的菜单可对选定的物理磁盘添加一个新的PV,共添加四个PV,其中两个64G,两个1GB。1.3.3添加VG02、VG03sam Disks and File Systems(CRCT1)Volumes GroupsActions CreateModifydelete出现菜单以后对上一步创建的两个64GB的PV配置为新的VG02,共128GB。将其中的一个1GB的PV配置为VG03。1.4配置磁带机1.4.1 配置磁带机1、 添加磁带机驱动程序tape2、 连接核心并重新启动系统3、 使用磁带机设备tar cvf /dev/rmt/0m /etc/*1.4.2 配置磁带库1、 添加磁带库驱动程序shrgr2、 连接核心并重新启动系统3、 查看磁带库设备ll /dev/ac/*1.5配置网络1.5.1使用sam配置网卡samNetwork ConfigrationIP Address on network devices选择该选项之后会出现网络设备的列表,可以选择在某个设备上配置网络地址或禁止该设备(disable)。1.5.2 手工配置网卡编辑/etc/rc.config.d/netconf文件,更改其中的网卡的IP地址。Lan0IP=192.168.1.10SUBNET=255.255.255.01.5.3 添加启动静态路由1、 生成文件/sbin/init.d/route#more /sbin/init.d/routeroute add default 192.168.3.12、 生成连接文件ln -s /sbin/init.d/route /sbin/rc2.d/S750route3、 查看路由信息netstat -r1.5.4 配置bootp远程启动协议1、 搜索系统中的网卡#/usr/bin/lanscan#ifconfig lan02、 备份原始文件#cp /etc/bootptab /etc/bootptab.bak3、 编辑/etc/bootptab文件#/usr/bin/vi /etc/bootptabadd a similar entry for each system to be served by this bootp serverrCRCT2:Ht=ether: Vm=rfc1048:Ha=080009000000:Ip=192.168.1.11Hn:Bf=lif2021.bin:4、 当CRCT1启动时按空格键中断其启动过程进入Main Menu状态,键入bo lan.192.168.1.10interact with IPL (Y,N,or Cancel)?N接下来就是远程启动的过程。二、MC/SG双机系统安装和配置2.1 MC/Service Guard的安装2.1.1 完全安装MC/SG1、 首先将MC/SG的安装光盘mount到某个目录下2、 运行命令swinstall3、 选择安装从本地的安装光盘中安装4、 选定 Auto Select Marked target 5、 选定MC/Service Guard软件包6、 执行Action中的install选项2.1.2 安装MC/SG 的PATCH包1、 首先确定操作系统的版本号#uname -aHP-UX 11.0 CRCT12、 再确定系统中已安装的MC/SG软件包及版本号#swlist3、 从最新的HP网上资源中下载 MC for N4000的补丁包该补丁包文件为X1_mobile_patches.depot,大小为254,648,320Bytes,将该文件传输到/tmp目录下4、 安装该补丁包#swinstall -s /tmp/X1_mobile_patches.depot5、 查看已安装的补丁包#swlist|grep MCPHSS_11.230 MC/Service Guard2.2 MC/SG的配置2.2.1 网络设置使用lanscan可以查找系统中有几块网卡及其相关的信息,在本工程中可以看到每台机器上有lan0、lan1、lan2等三块网卡,其作用如下:1、 lan0:心跳线heart beating network双机心跳线使用10 Base-T网卡,配置在同一网段196.1.1.0,使用直连线连接。(直连线的制作需要自己动手,HP不提供,请参阅有关文档)2、 lan1:工作用网卡可通过系统工具sam进行将网卡IP地址更改到需要的工作网段上,并可通过查看/etc/rc.config.d/netconf文件来查看当前网络的配置情况,在配置完工作网卡的IP地址后,要选定一个工作用的IP地址,应和工作网卡在同一个网段,如:CRCT1: 192.168.1.10CRCT2: 192.168.1.11CRCT: 192.168.1.153、 lan2:备份网卡备份用网卡不配置IP地址。4、 信任访问设置/.rhosts文件设置CRCT rootCRCT1 rootCRCT2 root/etc/hosts.equiv文件设置CRCT1 rootCRCT1 informixCRCT1 trainCRCT1 jzxCRCT2 rootCRCT2 informixCRCT2 trainCRCT2 jzxCRCT2 root5、 拷贝文件为MC的节点目录列表文件cp /etc/hosts.equiv /etc/cmcluster/cmclnodelistrcp /etc/hosts.equiv CRCT1:/etc/hosts.equivrcp /etc/hosts.equiv CRCT1:/etc/cmcluster/cmclnodelist2.2.2 锁盘设置1、 在CRCT1和CRCT2主机上创建一个200M的VGLOCK1) 创建PVpvcreate -f -s 200M /dev/rdsk/c3t0d4 /dev/rdsk/c4t1d42) 创建VGmkdir /dev/vglockmknod /dev/vglock/group c 64 0x040000 vgcreate /dev/vglock /dev/dsk/c3t0d4 /dev/dsk/c4t1d43) 显示VG#vgdisplay -v vglock/de

温馨提示

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

评论

0/150

提交评论