Redhat_HPC安装指南
Redhat_HPC安装指南运行安装配置脚本# opt/kusu/sbin/pcm-setup以下是安装的输出内容,省略了部分内容。红色部分为用户输入的内容Short hostnamemasterTimezoneAsia/shanghaiUTC timeDetected network interfacesetho三三三三三三三三三三三三三三三三三三三三三三三=三==三==三=============IP=192.168.10.10Enabled= TrueNetwork=192.168.10.0Subnet=255.255.255.0MAC54:52:00:5C:98:4 E Gateway=DHCP FalseBoot1Do you wish to continue [N/y?yPCM creates a DNs domain for all nodes it installs. This node will function as a primary DNsserver for this domainEnter the private dns domain to create [default: pcm]: cae dpcaPCM requires a depot directory to store kits, images and other filesA minimum of 10Gbytes is neededWould you like to use the default /depot directory [Ny]? yStarting postgresql service:L OKSetting permissionsThe os media is needed at this time. Do you have Os media onDisks, ISO, or Filesystem?(Disk Iso File) [Disk] FileEnter the fully qualified path to the iso file, or the directory containing the files:/var/rhelCopying the media. Please wait this will take some timeAny more disks for this os kit? [y/n]Please insert next disk if installing from phys. media Now(URI for next Iso blank if phys. media n to finish)N第页共页Setting up repository. Please waitKit: rhel5. 4, version 5, architecture x86_64, has been added to repo: rhel5_x86_64. Rememberto refresh with -uKit: base, version 5. 4, architecture noarch has been added to repo: rhel5_X86_64. Rememberto refresh with -uRefreshing repo: rhel5_86_64. This may take a whileAll existing repos in /etc/yum. repos.d have been disabled. Please re-enableany required repos manually.Run yum search pcm-kit to see a listing of available kits to installCongratulations The base kit is installed and configured to provision on:Network 192.168.10.0 on interface etho运行完成后,HPC的base-k就安装完成了,接下来可以进行计算节点的分发部署。Red hat hPc在安装过程屮会提示设置安装目录的位置,默认情况下该目录为/ depot,如果使用其他目录,那么会自动为这个目录建立一个名为/ depot的软链接。pcm安裝程序使用系统安装盘来建立一个本地软件安装源,当其他节点通过安裝节点来安裝的时候,将会使用这个软件安装源来安装操作系统。警pcm会新建一个DNs区域用于集群内部解析,不要和外部网络使用相同的DNS区域」2.3设置计算节点的起始IP在HPC中,计算节点的eth0的IP地址都是有管理节点自动分配的,因此需要预先定义IP地址分配的规则。运行如下命令netedit按照如下图示编辑网络设置第页共页rotamase文件E)编辑迮〕查看{)终端()标签()帮助(HNetwork edit version 5.3Network EditorWe come to the kusu Network editor please make a choiceDEVICENETWORKSUBNETDESCE工PT工0Netho192,168,122,0255,255255,0工 staller net ethletho168.10.0255.255.255.0 Nodes v1 th eth0an19NeEdi七DeleteQu立tCopyright(C) 2009 PLatform Computing IncPress Fl2 to quitrootiarmaster:口x文件()编辑〔)查看〕终端(工〕标签()帮助(HNetworkEdit exis ting networkPLease edit any of the network in formation belowNetwork:192.168.10,Q5 u bnet:255.255,255,0Gateway:192.168.10.10Device: ethoStarting IP:192.168.10.50Suffix:-ethoIncrement: 1optionsDescription: des with etho on 192.168.10.0Use DHCP Interface TypepublicJrov⊥S⊥OKCancelCopyrightcancel第页共页2.4编辑计算节点的配置在HPC屮计算节点配置是按照组别来进行划分的,管理节点安装完成后会自动建立几个组。一般计算解点都属于 compute-rhel组。使用如卜命令来修改计算节点的具体配置ngedit广oot回aste文件(E)编辑〔)查看終端工)标签)帮助H〕lode Group EditorNode Group EditorNODE GROUPDESC工PT工oNunmanagedinstalleros Installerscompute-rhelRed Hat Node installed by packagescompu te- imaged Nodes installed from an imagecompu te-diskLess DiskLess Nodes盪W■鯊EditCopyDeleteExitSele设置计算节点的名称格式rootanaster件()编辑迮)查看)终端(工〕标签()帮助(H〕Node Group EditGeneral InfoNode Group Name: compute-rheLNode Group Desc: at Node installed by packagesNode Name Format: node-*RR-#NNNextCancelCopyright(C) 2009 PLatform Computing IncPress F12 to quit第页共页设置计算节点的软件安装源r○○tr文件()编辑迮)查看)终端〔工)标签B)帮助(HNode Group editRepos toryRepoNameRepositoryOSTyperhet5 x86 64 /depot/repos/1000 rheL-5-X86 64盪嚣NextBackCancelCopy设置计算节点的内核以及启动参数文件E)编辑迮〕查看()終端(工〕标签()帮助(HNode Group EditBoot Time Parameterskernel「heL5,45-×8664Kernel: kernel, disked 3kernel, diskless. 4initrd disked. 3. imgInitrd: initrd, diskless. 4. imginitrd-rhe15.4-5-X86_64.imgKernel Params text noipv6 kssendmac selinux=oInstall Type:(+) Package BasedNextBackCancelCopyright(C) 2009 PLatform Computing Inc.Press Fl2 to quit第页共页选择计算节点的安装组件,保持默认即可co圆stert间文件()编辑迮)查看()终端工)标签)帮助(HNode Group EditComponentsPLease seLect components from the List belowrhel5. 4[*]rheL5,4-5-×8664base1 component-base-installercomponent-base- nodecomponent-gnome-desk top aI component-icr- facilitator ExNextBackCancelpyright(c) 206to quit选择计算节点通过哪个网卡分发rootamaster文件〕编辑〔)查看(〕终端江〕标签)帮助(Hde Group EditNetworksDEVICE NETWORISUBNETDESCRIPTIONeth0192,168.122,0255,255.255,0 Installer Net eth*]Pth0192,168,10,0255:255250 Nodes with etho0n192.168,10.0NextBackRestoreCancelCo第页共页选择计算节点的额外软件包,保持默认即可t间co圆ster文件)编辑)查看{)終端(工)标签)帮助(HNodOptional Packages<十≥G<+≥工<十≥N0X+≥bCNextBackToggLe viewCancelCop设置计算节点安装完成后自动运行的脚本,保持默认即可root回 raster∵文件(E)编辑迮〕查看()終端(工)标签)帮助(HNode Group EditCus tom scriptsCurrently no scripts assoclatedNew ScriptNextBackAddDeleteCancelCopyright(c) 2009 PLatform Computing IncPress Fl2 to qult第页共页设置计算节点的分区大小r○○tr文件()编辑迮)查看)终端〔工)标签B)帮助(HNode Group EditPartition SchemaDeviceSize(MB yypeMount pointDisk 1dpl31920已Xt3dlp216000 Linux-swapNextBackNewEd立七DeletCancelCopyright(C) 2009 PLatform Computing IncPress F12 to quit保存之前的设置文件E)编辑迮〕查看()終端(工〕标签()帮助(HNode Group EditSummary of ChangesNAMEF ORMAT, node-RR-#NNPARTITIONS: schema changedAcceptBackCancelCopyright(c) 2009 PLatform Computing IncPress Fl2 to quit第页共页
用户评论