[GE users] Automated installation

tmac tmacmd at gmail.com
Sat Aug 5 14:30:43 BST 2006


    [ The following text is in the "ISO-8859-1" character set. ]
    [ Your display is set for the "ISO-8859-10" character set.  ]
    [ Some special characters may be displayed incorrectly. ]

On 8/5/06, V01D <phreakuencies at gmail.com> wrote:
>
> Hi,
> your mail got me a little lost since I don't really know how to setup
> gridengine by CLI. I'm a little spoiled from the GUI (qmon) and the
> installation on another cluster that uses RocksClusters. I'll comment on
> each part:
>
> tmac wrote:
> > I got this working sort of...
> >
> > It was a combination of kickstart, %post scripts and expect.
> >
> > I found through trial and error, that the install of sge_exe requires a
> > name
> > service to be availble. There is none during a kickstart.
>
> I do have name service (I figure you mean DNS) available while
> kickstarting.


Ah. I do not. I only use NIS, but not during kickstart.

>
> > I created a service called runonce and chkconfig it on during kickstart.
> At
> > the reboot, the runonce script calls three thrings:
> > 1. set the host as an admin host
> > 2. run the install program
> > 3. set site-specifc complex variables.
>
> What does chkconfig do?


It enables or disables a service at boot time.

>
> > Each of these use expect. After much trial and error, I got the right
> combo
> > where the expect script will
> > (in the case of 1)
> > ssh to the master and run a script with an argument of the hostname and
> > make
> > it an admin host.
> >
> > (in the case of 2)
> > run a local expect script that does the installation
> >
> > (in the case of 3)
> > ssh to the master and create the complex variables.
>
> I figured that this would involve ssh'ing to the master node and make it
>   install the exec node, so this sound like I was thinking on doing.
>
> I asked on the first place about this because I wanted to know if SGE
> didn't already support this somehow through its inst_sge script. I mean,
> is there a way of using this script (running it on the kickstarting
> node) so it does this installation on the master host automatically?


Do'nt know. I only use inst_sgeexe via kickstart.

>
> > The way I make this happen:
> > I have source files for the kickstart. Anyplace where a hostname should
> be
> > though, it says XXX. During the kickstart, I run sed against it and
> > substitue the hostname for XXX.
> >
> > Need more info?
> >
> > I might be able to help.
> >
> > I cannot help with the master though. I think there are too many little
> > things to tinker with to automate well.
>
> Isn't just a matter of calling the inst_sge script? I'm doing automated
> installation and it seems to be working ok. I also make ArchLinux
> execute the resulting settings.sh for all users by adding a call to it
> in /etc/profile.d/.
>
> So, to sum it up: I should ssh from the node to the master and execute
> inst_sge with proper parameters/config file so that it adds the new host
> and queue, right?
>
> Thank you,
> Matt.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
> For additional commands, e-mail: users-help at gridengine.sunsource.net
>
>


-- 
--tmac

Principal Consultant, RABA Technologies
240-373-3926 (office) 301-688-4705 (Lab)
           443-363-0208 (eFAX)



More information about the gridengine-users mailing list