[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Condor + EC2



Your command returns blank:
condor_status -l | grep HibernationSupportedStates
HibernationSupportedStates = ""

does it mean that my Condor configuration can not hibernate/poweroff? If yes, how can I enable it? What could be missing?

On Thu, Nov 17, 2011 at 1:16 PM, Lukas Slebodnik <slebodnik@xxxxxxxx> wrote:
You can test with next command, whether shutdown state is supported:
condor_status -f "%s " Name -f "%s" HibernationSupportedStates -f "\n" NewLine

Daemon condor_startd initially invokes hibernation plug-in to determine what
low power setting to use on further invocations of the plug-in. With attribute
HibernationMethod you can specifies a string which describes the mechanism used
by the plug-in. Default order is 1st "pm-utils", 2nd "/sys", 3rd "/proc"

I tried default setting and only "S3" and "S4" states was detected.
"S5" was detected only with "/sys" method and not with default "pm-utils"
I tested it manualy with command  power_state -m /sys ad

Regards,
Lukas

On Thu, Nov 17, 2011 at 09:38:22AM -0500, Tim St Clair wrote:
> You can set the hibernation level:
>
> "S5", "5", "SHUTDOWN", "OFF": Shutdown (soft-off)
>
> http ://research.cs. wisc . edu /condor/manual/v7.7/3_3Configuration. html #18332
>
> Cheers,
> Tim
>
> ----- Original Message -----
>
> > From: " Tiago Macarios " < tiagomacarios @ gmail .com>
> > To: "Condor-Users Mail List" <condor-users@cs. wisc . edu >
> > Sent: Wednesday, November 16, 2011 7:40:16 PM
> > Subject: Re: [Condor-users] Condor + EC2
>
> > Finally got everything working an will post it here when it is
> > cleaned up.
> > I was just wondering is there is a way in condor to power off the
> > machines if they idle for a while.
>
> > I saw in the power management section of the documentation that you
> > can hibernate using " ShouldHibernate ", but I could not find a "
> > ShouldPoweroff ". Any non distro specific ideas?
>
> > On Tue, Nov 15, 2011 at 7:56 AM, Tiago Macarios < tiagomacarios @
> > gmail .com > wrote:
>
> > > Hi Matthew,
> >
>
> > > I saw your blog, i just did not had the time to test your steps. I
> > > am
> > > downloading the debian package and will try that using ubuntu .
> >
> > > If I dont get it running and I have to go for fedora then...
> >
>
> > > Is it really necessary to use condor_shared_port? I saw here ( http
> > > :// www . isi . edu /~ gideon /condor-ec2/ ) that you can just
> > > specify a port range.
> >
> > > Anyway you gave me an idea, would it be possible to use
> > > condor_shared_port and tunnel all the communication trough ssh? how
> > > difficult would that be?
> >
>
> > > Thanks for your help
> >
>
> > > On Tue, Nov 15, 2011 at 3:36 AM, Matthew Farrellee < matt @ redhat
> > > .com > wrote:
> >
>
> > > > On 11/15/2011 01:27 AM, Tiago Macarios wrote:
> > >
> >
>
> > > > > Hi all,
> > > >
> > >
> >
>
> > > > > I am trying to get condor to run on amazon ec2. I am trying to
> > > > > use
> > > >
> > >
> >
> > > > > ubuntu and the standard apt-get ubuntu (7.2.4), but I saw at
> > > > > some
> > > > > places
> > > >
> > >
> >
> > > > > that this version may be a bit old for that. Did any of you
> > > > > guys
> > > > > made
> > > > > it
> > > >
> > >
> >
> > > > > work using this configuration?
> > > >
> > >
> >
>
> > > > > Would you have any suggestion of distros I could try? I found
> > > > > this
> > > > > link
> > > >
> > >
> >
> > > > > that seems to be what I wanted to do, but I am not familiar
> > > > > with
> > > > > Fedora
> > > >
> > >
> >
> > > > > and wanted to try ubuntu first:
> > > >
> > >
> >
> > > > > http :// spinningmatt . wordpress . com/2011/11/10/getting-
> > > > > started-condor-and-ec2-ec2- execute-node/
> > > >
> > >
> >
>
> > > > > To be honest I am new to condor, have been playing around for
> > > > > about
> > > > > 2
> > > >
> > >
> >
> > > > > weeks on a couple of virtual machines. I tried installing the
> > > > > last
> > > >
> > >
> >
> > > > > stable release of condor in ubuntu , but I failed is there a
> > > > > tutorial
> > > > > for
> > > >
> > >
> >
> > > > > installing it on ubuntu ?
> > > >
> > >
> >
> > > > > I saw this version here: http :// neuro . debian .net/ pkgs /
> > > > > condor.
> > > > > html did
> > > >
> > >
> >
> > > > > anyone tried it out?
> > > >
> > >
> >
>
> > > > > Please help me out. I am more than willing to write a
> > > > > documentation
> > > >
> > >
> >
> > > > > about it if I get things running.
> > > >
> > >
> >
>
> > > > > --
> > > >
> > >
> >
> > > > > Tiago
> > > >
> > >
> >
>
> > > > If you want to run your whole pool in EC2 then you should try
> > > > following,
> > >
> >
>
> > > > http :// spinningmatt . wordpress . com/2010/07/26/getting-
> > > > started-installing-a-single- node-condor-pool/
> > >
> >
>
> > > > then,
> > >
> >
>
> > > > https :// spinningmatt . wordpress .com/2011/06/21/
> > > > getting-started-multiple-node- condor-pool-with-firewalls/
> > >
> >
>
> > > > The primary difference for the instructions in EC2 is that you
> > > > need
> > > > to authorize ports in the instance's security group as well as
> > > > iptables .
> > >
> >
>
> > > > The instructions talk about using the condor_shared_port feature,
> > > > which isn't available in 7.2.4 ( IIRC ).
> > >
> >
>
> > > > If you're itching for Ubuntu , you could try UW's debian
> > > > repository
> > > > from,
> > >
> >
>
> > > > http :// www .cs. wisc . edu /condor/ debian /
> > >
> >
>
> > > > Otherwise, I'd suggest just trying the Fedora AMIs ,
> > >
> >
>
> > > > http :// fedoraproject .org/ wiki / Cloud_images
> > >
> >
>
> > > > A gotcha[0] is resolved in the updates-testing repository.
> > >
> >
>
> > > > Best,
> > >
> >
>
> > > > matt
> > >
> >
>
> > > > [0] https :// bugzilla . redhat .com/ show_bug. cgi ?id=656562
> > >
> >
>
> > > --
> >
>
> > --
>
> > _______________________________________________
> > Condor-users mailing list
> > To unsubscribe , send a message to condor-users-request@cs. wisc .
> > edu with a
> > subject: Unsubscribe
> > You can also unsubscribe by visiting
> > https ://lists.cs. wisc . edu /mailman/ listinfo /condor-users
>
> > The archives can be found at:
> > https ://lists.cs. wisc . edu /archive/condor-users/

> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/



--