Feed on
Subscription

Install group of large Linux (2) : Configure service and installation



From the hardware of many independence and software,Include System X%26#8482;With IBM TotalStorage%26reg;System,Found a Linux that can move%26reg;Group.This series includes many shares,The article is part of among them 2,Elaborated the management in how configuring group server and how to install node.

Brief introduction

The article is the part of 2 in series article,This series covered installation and the entire content that set group of computer of a large Linux.The resource that concerns the Linux(R) group that how establishs to be able to move from the hardware of many independence and software is very much,This series do one's best rises the up to date information in the resource in these public domains to consult in order to offer you centrally.This series article is offerred for you innocently about the ABC that how designs a group of new large Linux;The knowledge that should win run-of-mill framework respect,The relevant reference material that in asking referenced article, mentions and Redbooks%26#8482; .

This series is to be aimed at systematic framework division and systematic engineer to use IBM EServer%26#8482;Frame of Cluster 1350 (about the more information of this frame,Refer to reference material please) plan and implement Linux group and design.Among them one part content may be concerned with the daily group operation of group manager.

The operation that the part of 1 of this series elaborated setting group hardware in detail is direct.The follow-up step that part of 2 will take you to kiss all previous hardware to configure:Install software,This can use software of management of IBM Systems, Cluster Systems Management (CSM) and node installation among them.

The content that the introduction of follow-up ministry branch of this series stores about group back end,The installation that includes to store hardware configuration and IBM share file system General Parallel File System (GPFS) and configuration.

Configuration manages a server

The software that sets group needs two level:Above all,According to this series place of part of 1 narrates installation group to manage a server,Next,The odd part that installs group,Be like " installation node " a place is shown.The odd part that abides by such measure to undertake the server will help configuration group operating making you OK use government,And can special the maintenance after conducing to installation and operation.

Install Linux

Brand-new operating system is installed on administrative server.Affirmatory management server has following configuration.What this exemple uses is machine of System X 346,A server of typical IBM management,Red Hat Enterprise Linux (RHEL) 3 moves on its,Of course you also can be used run version of other Linux,For instance Suse Linux Enterprise Server (SLES) ,other computer.System X 346 has 64 processing capability,The X86_64 framework that the operating system that installs so is RHEL 3,Take card of ServeRAID 7k and double disk mirror.Of course,Your environment can differ to it,But the basic configuration that installs server of CSM management should be general be like with and so on.

With support of newest IBM ServeRAID server of CD guiding is RAID 1 (mirror) configuration board holds disk,Premise is there are two disks at least inside the server,And need enables disk breakdown for the operating system protect.

After disk configuration is single mirror,With guiding of the first RHEL CD the server installs RHEL operating system.According to console different,The surface that you may need to change installation.For example,To the console of a low resolution,After the likelihood needs to guide clew accord with through be in, you are keyed inlinux vga=normal Will guide CD.When seeing Linux installs GUI,Install according to the following and directive on the rails please:

    Type of graph of choice language, clavier, mouse.


    Configuration disk is divisional,Following place are shown:128Mb/boot Advocate divisional.2 GB exchanges partition.the rest dimensional allocation gives LVM partition and do not undertake the format is changed


    Executive logic coils (LVM) is installed,Following place are shown:Name a group the system.Add logic to coil,Place of the 1 that be like a watch is shown.


    Setting network interface,Following place are shown:According to the file of lead plane of give typical examples of above,Address of fixed IP is had on activation Boot192.168.0.253/24 Eth0.leader name the setting ismgmt001.cluster.com..In this phase,Do not need to install gateway / DNS,If have news of exterior IP,Can undertake configuration to its again in installing a process.


    firewall the setting isno firewall In order to allow all link.If need IP to express,Can face after undertake configuration.


    Applied this locality is installed,The time zone with right choice.


    Password of setting Root;The password in this exemple iscluster.


    Custom-built installation bag makes include following content:KDE of system of X Window (namely,Environment of K desktop) development of software of bequeath of server of network of server of FTP of tool of configuration of server of Graphical Internet manages a tool


    Begin to install.


Express 1. Logistic sari bureau




Logic coilsHang hold a placeSize
Root/
8192MBVar/var
8192MBUsr/usr
8192MBOpt/opt
4096MBTmp/tmp
2048MBCsminstall/csminstall
10240MB

After installation is finished,The setting screen after need one by one handles all installation.What undertake installation hind to managing a server in the light of your own environment is custom-built.For instance,The suits you oneself KVM that you may need to configure X server to make (clavier, video and mouse) install.

Install CSM

More or less is software of installation Cluster Systems Management (CSM) compared as a whole on supportive system simple.In library of documentation of group of IBM Linux (refer to reference material) the relevant documentation that can find HTML format and PDF pattern.

The first pace is duplicate software to manage a server.Because must want to be carried out with identity of Root user,install,Can store its so catalog of Root root.Watch 2 gave out a kind of appropriate catalog structure.


Express 2. CSM software




CatalogDescription
/ Root/manuals/csm/The CSM of PDF format documentation/ Root/manuals/gpfs/The GPFS of PDF format documentation/ Root/manuals/rsct/The RSCT of PDF format documentation/ Root/csm/CSM software (CSM reduces the content of the bag)/ Root/csm/downloads/RPMS For CSM opening a source downloads (for exampleautorpm)

Should install CSM,Need to install Csm.core I386 RPM to wrap.This packets also apply to framework of The X86_64.After installing this to wrap,Can install server of CSM management.Above all,Will/etc/profile.d/Csm.sh Introduce current Shell to obtain new way to install.Next,Moveinstallms Command and use CSM permit the system.The command that is need input below:




rpm -ivh /root/csm/csm.core*.i386.rpm

0. / Etc/profile.d/Csm.sh
installms -p /root/csm/downloads:/root/csm
csmconfig -L %26lt;Your License File%26gt;


Notice:If do not have file of CSM licence,Can move likewisecsmconfig -L The try out licence that the command accepts 60 day.After the probation of 60 day passes,You must want to use formal CSM permit in order to continue CSM function.

Undertake optimizing in the light of large group

CSM itself is had but retractility.Red Hat Linux also can work normally well below a lot of standard conditions.But to make large group environment can successful move,Still need to undertake to managing a server a few optimize.Listed a few examples that optimize a method below:

Monitor requests in the DHCP on specific interface.
Editor/etc/sysconfig/dhcpd DHCPD Configuration file is appropriate interface with making DHCPDARGS is installed.Of Red Hat Linux of consist in of variable DHCPDARGS/etc/init.d/dhcpd In the DHCPD script that start,With will start the DHCP that has specific parameter to defend a program.To can be ineth0 Monitor,Ensure many parameter already all were included please it is in quote,Following place are shown:
DHCPDARGS=%26quot;eth0%26quot;


Increase ARP to express size and overtime setting.
If very much or whole group is had on the same stature net of a very large network,ARP is expressed may overload,The response that can let a person feel CSM and network request rate is too slow.To avoid afore-mentioned appearances,Need is changed to running medium system to be done as follows,Change these add/etc/sysctl.conf File,Change in order to make can abiding and effective:
net.ipv4.conf.all.arp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.neigh.default.gc_thresh1 = 512
net.ipv4.neigh.default.gc_thresh2 = 2048
net.ipv4.neigh.default.gc_thresh3 = 4096
net.ipv4.neigh.default.gc_stale_time = 240


The amount that increases NFS to defend a program.
Acquiescent,CSM fan of the standard gives a value to be 16.This means the command that crosses group to move to be able to run 16 node,Node installation also is such.The setting of standard NFS of Red Hat Linux is 8 the guardianship program that can run at the same time.You can expand NFS,The method is to increase Cheng of NFSD line to count 16 to give a value in order to match acquiescent CSM fan.If increase fan to give a value,The line Cheng that you also can think possibly to increase NFS is counted.Popularly,Fan gives a value to be 32, number of Cheng of NFS line is 32 to making sure speed and dependability are already enough,And the individual Rack that still can allow to install node of apparel 32 at the same time.Should achieve this one goal,Found configuration file/etc/sysconfig/nfs Add following travel:
RPCNFSDCOUNT=16


Server of setting NTP.
Configuration of acquiescent Red Hat Linux also should apply to NTP server.To/etc/ntp.conf The node that file of NTP configuration adds a configuration to go up in order to allow group network all right can as synchronous as the clock that runs a server,Following place are shown:
restrict 192.168.0.253 mask 255.255.255.0 notrust nomodify notrap


If manage a server to be able to connect external clock server,Server of the clock that runs this the server through adding following group to come and this exterior clock is synchronous:
server server.full.name


Ensure through following instructions NTP server is in move and can start automatically when guide:
chkconfig ntpd on
service ntpd start

Install node

After completing all settings and configuration step,Server of CSM management ended with respect to installation.Before installing node,The kind that need achieves a few additional configuration to define node to install on server of CSM management.The installation measure that implements this section place to show on server of CSM management.

Definition node

Page of manual of node of OK and referenced concerned definition will define node.But a kind of when define a large number of node more simple method is to pass node to define a file.Particular way is to found file of a Stanza first,The node that delivers it CSM to define all listing as parameter next.It is very easy to found Stanza file.

Detailed list 1 gave out a node of brief give typical examples defines a file.If other node is had to it same property,They can be defined in the coping of file of acquiescent Stanza.Later,Every Stanza should call-over on behalf of a section,Follow below specific the attribute at node.This example showed these three machines in how should defining group of give typical examples -- two computation node,Server of a memory.


Detailed list 1. Node of give typical examples defines a file




  default:
ConsoleMethod = mrv
ConsoleSerialDevice = ttyS0
ConsoleSerialSpeed = 9600
InstallAdapterName = eth0
InstallCSMVersion = 1.4.1
InstallMethod = kickstart
InstallOSName = Linux
InstallPkgArchitecture = x86_64
ManagementServer = mgmt001.cluster.com
PowerMethod = bmc
node001.cluster.com:
ConsolePortNum = 1
ConsoleServerName = term002
HWControlNodeId = node001
HWControlPoint = node001_d.cluster.com
InstallDistributionName = RedHatEL-WS
InstallDistributionVersion = 4
InstallServiceLevel = QU1
node002.cluster.com:
ConsolePortNum = 2
ConsoleServerName = term002
HWControlNodeId = node002
HWControlPoint = node002_d.cluster.com
InstallDistributionName = RedHatEL-WS
InstallDistributionVersion = 4
InstallServiceLevel = QU1
stor001.cluster.com:
ConsolePortNum = 2
ConsoleServerName = term001
HWControlNodeId = stor001
HWControlPoint = stor001_d.cluster.com
InstallDistributionName = RedHatEL-AS
InstallDistributionVersion = 3
InstallServiceLevel = QU5



To large group,The script of node definition file should compare this exemple this medium script is a lot of longer.If will the following command is delivered,should give CSM,It can found node quickly:




definenode -f %26lt;node-def-filename%26gt;



Attentionnode-def-filename But by instead the file name that your amid stores node defines a file,For example,definenode -f //tmp/my_nodes.def.

Database of CSM node should include all node now.To group of this diminutive in this exemple,Node database should include 16 computational node, 1 user node, 1 attemper implement node and 1 memory server.Server of CSM management does not appear inside CSM database.Can examine node list through Lsnodes command.Still can uselsnode -F The command will examine more detailed list,This list can use node of backup CSM to define.If this jussive output is weighed directional to a file,You can be useddefinenode -f The command comes redefine node.

Define node group

CSM allows to undertake to node through a few conditions in group,Such,Can be aimed at some group node to applied CSM to command later.For the circumstance of the congener node that has same property to needing to cite,This will be very useful.

CSM supports dynamic node group to support static node group again already.A when static node group includes node name fixed list,This list can be moved by administrator hand safeguard.For instance,Group of node of use static state,You must the node that the hand uses will new definition is added in relevant node group.In large group,Dynamic node form is more common,And if can be installed to return well,can economic many time is mixed reduce the input inside command travel.Dynamic node group defined list of such a node,The member in this list is defined by specific requirement,And if a node (the node that includes new definition) satisfy this given condition,It can be put automatically to relevant node group.Watch 3 gave out the definition of group of a few dynamic node.


Express 3: Dynamic node group




Definition commandAnnotate
Nodegrp -w "Hostname Like 'node%'" ComputeNodesFoundComputeNodes Node groupNodegrp -w "Hostname Like 'schd%'" SchedulerNodesFoundSchedulerNodes Node groupNodegrp -w "Hostname Like 'stor%'" StorageNodesFoundStorageNodes Node groupNodegrp -w "Hostname Like 'user%'" UserNodesFoundUserNodes Node groupNodegrp -w %26quot;Hostname Like 'node%' %26amp;%26amp;ConsoleServerName=='term002'%26quot; Rack02 Nodegrp -w %26quot;Hostname Like 'node%' %26amp;%26amp;ConsoleServerName=='term003'%26quot; Rack03 Nodegrp -w %26quot;Hostname Like 'node%' %26amp;%26amp;ConsoleServerName=='term. . . '" Rack. . . Be based onHostname AndConsoleServerName Establish group of a node for every Rack.Suppose every Rackautorpm Have server of a console.

Preparative Linux is released edition

The entire content that all Linux that server of CSM management should include need to cross group to install release the CD of edition to go up.It also should undertake to be on client computer CSM installs ready-made,This is to be in what before any installation undertake, must want to do.CSM offerred two orders for this,The Linux that you must want to install for every is released edition should run these two commands.

Want to use preparation of requires CSM data/csminstall/Linux Tree,Can movecopycsmpkgs Command.For example:




copycsmpkgs -p /path/to/csm:/path/to/downloads InstallDistributionName=RedHatEL-WS 
InstallDistributionVersion=4 InstallServiceLevel=QU1
copycsmpkgs -p /path/to/csm:/path/to/downloads InstallDistributionName=RedHatEL-AS
InstallDistributionVersion=3 InstallServiceLevel=QU5



The Linux that should need with place releases preparation of edition CD/csminstall/Linux Tree,Can movecopycds Command,For example:




copycds InstallDistributionName=RedHatEL-WS InstallDistributionVersion=4 
InstallServiceLevel=QU1
copycds InstallDistributionName=RedHatEL-AS InstallDistributionVersion=3
InstallServiceLevel=QU5



Once be these CD to set good catalog structure,In installing a process, undertake installing or you are updated with respect to the custom-built bag that can add random,For example:


Copy To/csminstall/Linux/.../x86_64/install To Ensure They Are Installed. Copy To/csminstall/Linux/.../x86_64/updates To Install Only If An Existing Version Is Present.

So that be installed only or RPMS is updated on specific node group,can found subdirectory with node team name (if need so if doing) .

Install CFM

CSM has the mechanism that calls Configuration File Manager (CFM) ,Can use cross group distributinging file.Use CFM can cross group to send same document.If be in,good setting is become before node is installed,The file can be distributed in installing a process.

The link that CFM can include the file in the other table of contents to administrative server.These links are in be being sent is to follow when node come over is not be duplicated to come over.This are very useful to the file of Hosts and so on,Following place are shown:




mkdir /cfmroot/etc
ln -s /etc/hosts /cfmroot/etc/hosts



Besides linking a file,OK still and duplicate file to CFM,For example:


The NTP of duplicate acquiesce configures a file to arrive/cfmroot/ntp.conf
To manage a server to add a server to go,Following place are shown:
/cfmroot/etc/ntp
echo %26quot;management.server.full.name%26quot; gt; /cfmroot/etc/ntp/step-tickers



The file will cross group to distribute.

When the specific drop to group sending a few documents in need,Can use CFM.But if be a large number of documents that should issue large group to go up,Had better not use CFM.For example,Do not use CFM to install additional software from file of file of a Tar.If be in large group is extortionary use CFM,CFM can spend very long time to move,Those who make is unusually difficult with.Be sure to insist to install a mechanism to install software with what get support please.For example,File of Tar of and rather than of use RPM will install software and file of only duplicate configuration (the document that those probable meetings let time and alters namely) to CFM.

Custom-built node compose is built

To you plan installation is for the operating system of every node,The interface that CSM has standard network to install a mechanism,For instanceNIM On AIX%26reg; ,autoYaST On Suse Linux andkickstart On Red Hat Linux.How is here used for exemple specification with Red Hatkickstart Andkickstart Configuration file undertakes node is installed.

Beginning to installkickstart Before,Should check you to whether have all pair of node firstrpower Control counterpoises.The UUID that this conduces to CSM acquiring the computer,In the CSM edition that replacing especially.If UUID is not usable,Or CSM version under 1.4.1.3,CSM obtains MAC address from the equipment of the first Ethernet of node with respect to meeting attempt.Can use to make address of CSM MAC is collected,Terminal server configuration must match the setting in node BIOS.Userconsole The command can check terminal server to join.Build when the successrpower Control and terminal server join (if appropriate word ? ) later,Can continuekickstart Configured.

CSM is in file/opt/csm/install/kscfg.tmpl.* The Kickstart pattern plate that acquiesce offerred in.If need,The file that can duplicate these pattern plate to differ tries custom-built ask with satisfying your own environment better.These pattern plate are a very good start,Generally speaking,Have custom-built kind to these pattern plate files and you should be adopted is not to use any other levelskickstart File.The reason is these pattern plate include all sorts of CSM function (the script after running an installation for example) grand.CSM is met before generating final Kickstart document to be used for node normally parse document of Kickstart pattern plate first,This is very helpful to Kickstart process.Final document is included all and analytic those who pass grand the whole scenario that contains all content that are aimed at the definition inside pattern plate.

Normally,Can pass following means to undertake changing to pattern plate:


Change disk partition,The bag list that the likelihood needs to include LVM to change acquiescent password editor to want to be installed

The editor is overkickstart After pattern plate,MoveCSM setup Command a future life is become finalkickstart File,Show by following place undertake original UUID or MAC address are collected:




csmsetupks -n node001 -k /opt/csm/install/your.kickstart.file -x



Notice:Need to use-x Switch,Because moved beforecopycds Command.

Update driver

The hardware that although the operating system was installed in group,cannot support directly,Also still may corresponding driver can be used.Be in necessary when,This process also applies to driver to update.If install the RAM disk that uses with the place when installing an operating system finally,need updates driver,CSM can include the driver that add or replaces automatically to come in.

When the example of hardware of use System X,You can hope to obtain normally board the performance that the place of driver of Broadcom network that holds adapter of Broadcom Ethernethard provides and stability.Should achieve this one goal,Can operate by following measure,What these measure use is Broadcombcm5700 Driver is not the standard that Red Hat Linux providestg3 Network driver:

    Because of processing is module of a kernel,The kernel source that should ensure in the light of the target the system is installed so matchs kernel grade and type (UP or SMP) .


    From Broadcom (consult reference material) the Bcm57xx driver with newest download solves packet of driver source code.


    The Src catalog of the Bcm driver after be being wrapped from solution movesmake Will be aimed at current moving kernel to undertake compose is built.


    Propose form driver (Bcm5700.ko For 2.6 Kernel or Bcm5700.o For 2.4 Kernels) duplicate to manage a server to go up/csminstall/csm/drivers/lt;kernel versiongt;/x86_64.


    If want to have form in the light of other kernel version,build,Can movemake clean Will keep clear of present form is built,Move again nextmake LINUX=/path/to/your/kernel/source.

CSM when compose builds image of RAM disk,Use catalog structure/csminstall/csm/drivers/lt;kernel versiongt;/lt;architecturegt The driver under;When kernel version matchs version of kernel of RAM disk,These image use a system.When the attention should found driver to install image, must take care:The kernel version number that installs a kernel may different.For example Red Hat can add a word in version string tail normallyBOOT.If kernel version and place install moving kernel photograph of the system,match,Driver is usable also to current operating system.If you cannot affirm the version of the kernel,Can study deep further inside image of RAM disk,Be like the following a place is narrated.

Disk of modification RAM

Normally,This one measure is not recommended use.But occasionally must so do,The condition that cannot acknowledge kernel version for instance.When needing as a result of newer application process or other condition to study reflection of RAM disk deep,The following command will be very helpful.

Should use adapter of mainframe bus line (HBA) is gone to memory repeatedly directly when system of Red Hat Linux,Memory driver (for exampleqlogic qla2300 Driver) may be in ServeRAID driver (use at internal system disk namely operating system disk) before to load.If so,Meant installation to go up in wrong disk./dev/sda The representing's is the LUN on disk of this locality of and rather than of additional memory medium.Below this kind of circumstance,When installing new operating system,To rescripting the data on disk of this locality of the and rather than on SAN should take care all the more.To avoid its to happen,Use from CSM please found the acquiescent Red Hat RAM that guides image move on disk exceptqlogic Driver.Of course,Driver also needs when the system moves,Use additionally one kind of mechanism please so,For examplepost Installation foot is the operating system in moving to install driver originally.As a result of acquiescent Red Hatqlogic Driver is not breakdown move driver normally,Recommend so use afore-mentioned methods.

For example,Move from the image of disk of acquiescent RAM of Red Hat Enterprise Linux Advanced Server Version 3 exceptqla2300 Driver.The command that watch 4 gave out to be able to achieve this goal.


Express 4: RAM disk commands




CommandPurpose
Cd /csminstall/Linux/RedHatEL-AS/3/x86_64/RedHatEL-AS3-QU5/images/pxebootThat catalog that turns to the image of RAM disk that includes place to need to change.Cp Initrd.img Initrd.img.origBackup is primitive image.Mkdir MntFound to hang hold a place.Gunzip -S.img Initrd.imgSolution includes this image.Mount -o Loop Initrd.img /mntHang this image carry hang hold a place.The hand uses measureThe hand is moved move divide all going tomnt/modules/* Mediumqla[23]00 cite.Cp Mnt/modules/modules.cgzDuplicate module file file from image present list.Gunzip -c Modules.cgz | Cpio -ivdSolution includes file of this module file.Rm Modules.cgzDelete file of this module file.Rm 2.4.21-32.EL/ia32e/qla2*Delete from inside the module file file after solution is wrappedqlogic Module.Find 2.4.21-32.EL -type F | O -H Crc of Cpio - - | Gzip -c -9%26gt;Modules.cgzDeleteqlogic After module,Bale odd module.Rm -rf 2.4.21-32.ELThe module file file after deleting solution to wrap.Mv -f Modules.cgz Mnt/modulesReplace old module file document with new module file document.Umount MntUninstall image of disk of this RAM.Rmdir MntMove except hang hold a place.Gzip -S.img InitrdBale again image of disk of this RAM.

Notice:The RAM disc that wants modification Suse or SLES,Must ensureips(ServeRAID driver) appear inINITRD_MODULES Under Stanza/etc/sysconfig/kernel Before the driver of all HBA inside the file.The Suse that is used at establishing image of RAM disk or SLES mechanism can ensure driver by ordinal to load.

Before installation guides afresh, mix the script after guiding afresh

Because every environment and group are not identical,The foot is original after you may need to use a few installation according to your own specific requirement custom-built operating system is installed.Can be before the system that leads new setup afresh or later have these operations.Reserve to configuration for network adapter,This is very useful,CSM offerred scenario of a give typical examples in the light of this purpose.Because double network is installed (have network of a computation and network of a memory to every node) reason,Group of this give typical examples uses need reserve adapter is configured.Concrete step is shown as follows:

    The acquiescent adapter that offers CSM configures script to duplicateinstallprereboot When script carries out catalog to be installed in order to make script can be in, move,Ensure it can move,Following place are shown:
    cp /csminstall/csm/scripts/adaptor_config_Linux /csminstall/csm/scripts/
    installprereboot/100_adapter_config._LinuxNodes
    chmod 755 /csminstall/csm/scripts/installprereboot/100_adaptor_config._LinuxNodes



    Make file of adapter Stanza/csminstall/csm/scripts/data/Linux_adapter_stanza_file,Can be shown as follows write the head:
    default:
    machine_type=secondary
    network_type=eth
    interface_name=eth1
    DEVICE=eth1
    STARTMODE=onboot
    ONBOOT=yes
    BROADCAST=192.168.1.255
    NETMASK=255.255.255.0
    MTU=9000



    This meeting configures all reserving (eth1) adapter is started when guide,Use the acquiescent setting that is aimed at size of code of attack by surprise of broadcast address, network and MTU.In additional it is OK to be returned inside Stanza travel with one kind defines a file with node identical means configuration is specific the network detail at the computer,Following place are shown:
    for node in $(lsnodes)
    do
    ip=$(grep $node /etc/hosts | head -n 1 | awk '{print $1}')
    echo -e %26quot;$node:\n IPADDR=$ip%26quot; gt;gt; Linux_adaptor_stanza_file
    done



    The IP address that this meeting increases output to file of adapter Stanza to think every computer configuration is different,Following place are shown:
    node001.cluster.com:

    IPADDR:
    192.168.1.1
    node002.cluster.com:

    IPADDR:
    192.168.1.2
    node003.cluster.com:

    IPADDR:
    192.168.1.3

Installation

There are variables of two main Shell environment in node installation process:CSM_FANOUT AndCSM_FANOUT_DELAY.A variable control sends CSM to dictate at the same time to how many node,For instance how many node is guided afresh from administrative server.A variable control is in after the CSM when guiding below one group of node that want installation afresh should await how long (it is an unit with the second) .These two variable settings are 16 respectively node is used fan goes out and 20 should await before guiding below one group of node afresh minute.These acquiescent values are installed to great majority for it is OK those who accept,But also can increase somewhat in the light of large group.

Should install group with traditional pattern,Complete the following step please:

    Configure this installation and show installation computation node by following place:
    csmsetupks -N ComputeNodes -k 
    /opt/csm/install/your.kickstart.file.nodes -x
    installnode -N ComputeNodes



    Configure this installation and show installation user node by following place:
    csmsetupks -N UserNodes -k /opt/csm/install/your.kickstart.file.user -x
    installnode -N UserNodes





    Configure this installation and show installation to attemper by following place implement node:
    csmsetupks -N SchedulerNodes -k 
    /opt/csm/install/your.kickstart.file.schd -x
    installnode -N SchedulerNodes





    Configure this installation and show installation memory node by following place:
    csmsetupks -N StorageNodes -k 
    /opt/csm/install/your.kickstart.file.stor -x
    installnode -N StorageNodes




To the installation of large group,Server of need use installation will undertake grading is installed,Show by following place make install a process to run paralell undertake:

    In the setting inside CSMInstallServer Attribute.To each node that thinks from installation the server is installed,WillInstallServer The installs a server leader name that attribute setting uses for this node place.If did not install this one attribute,Can use its acquiesce to be worth,Install from central management server namely.In large group environment,Say for example,Every Rack has 32 node,The installation server that the node that can choose bottom of every Rack regards this as group.In this exemple,Want Rack 1 mediumnode002 Tonode032 Configuration is become fromnode001 Install and letnode001 From administrative server installation,Can use following orders:
    chnode -n node002-node032 InstallServer=node001



    Show the dynamic node group that the dynamic node group that establishs to include all installation server includes client computer with by following place:
    				

    nodegrp -w %26quot;InstallServer like '_%'%26quot; InstallServers
    nodegrp -w %26quot;InstallServer not like '_%'%26quot; InstallClients



    Configure this installation and show installation to install a server by following place:
    csmsetupks -N InstallServers -x
    installnode -N InstallServers



    Should make full use of the bandwidth that installation server offers,Can increase CSM fan to give a value to guide more node afresh at the same time.In the example of node of this every Rack 32,The optimal fan of CSM gives a value should be 32 is multiplied in order to install server measure (or in every Rack the circumstance of a node falls,The amount that is Rack) .In this exemple,The number of Cheng of NFS line that you also can install every the server to go up increases 32 to expand better NFS.Use this kind of method,You can install thousands of station machines at the same time.


    Configure this installation and show installation to install client computer by following place:
    csmsetupks -N InstallClients -x
    installnode -N InstallClients

Last word

After all before completing this series two measure that give out partly,You are installed with respect to the hardware that completed group and software,Include to install systematic management software and node installation.The full course that the follow-up part of this series will take you to kiss all previous to install back end to store,Specific for,Carry out memory hardware configuration and installation and configuration IBM to share file system General Parallel File System (GPFS) namely.



Related:

    Submit: