Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
RE: [Xgrid] RE: xgrid novice question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xgrid] RE: xgrid novice question



That makes perfect sense!  I'll give it a try and let you know what
happens...

Thanks!!

-----Original Message-----
From: Mark Bate [mailto:email@hidden]
Sent: Mon 12/17/2007 6:40 PM
To: Kinsella, John R.
Cc: email@hidden
Subject: Re: [Xgrid] RE: xgrid novice question

Is the ruby (.rb) file able to be edited?
I don't have a copy of Leopard Server running at the moment, so can't check
my end

if so you could just do a puts of the variables out to file (probably best
to back up the original before hacking around)

but something like:

open("myfile.txt", 'w') do | artdebug |
artdebug.puts("Shared Filesystem:
#{whatever_apple_called_the_Shared_Filesystem_variable}\n",
"Server UUID: #{whatever_apple_called_the_Server_UUID_variable}\n")

artdebug.flush


should do it.
basically says open "myfile.txt" in w(rite) mode, refer to it as "artdebug"
and do the following.
puts while put a string to the file.
#{var_name} will put the variable "var_name" into the string.
and flush will make sure the file is written before the rest of the code
goes on & does anything funny with the variables.

hopefully that helps..
thanks,
mark


On 18/12/2007, at 7:01 AM, Kinsella, John R. wrote:


Thanks for all the help so far!  I checked out the art.rb file in my
workflow(s) and it indeed is simply checking for OS version and for access
to the shared file system.  I'm thinking that the ART is returning 0 because
of a problem accessing the shared file system, but I'm at a loss as to how
to troubleshoot that issue.  I'm having a hard time figuring out HOW the
agent tries to access that shared file system.
Is that driven by the pcastagentd.plist preference file on the Controller
and/or the Agent?
Does anyone know the method it's trying to use to connect to that shared
file system? (ex via file sharing over AFP/SMB/FTP or some other method.)
Since Shared Filesystem and Server UUID are variables passed to the art.rb
file by PcP, any suggestions how I might be able to capture those variables
and manually test access to the shared file system from the agent?  I think
I have them already (I know the share file system name and found the server
UUID in one of the pcatagent.plist files but I'm not sure how to use/test
them...

Again, thanks for all the help so far!
John Kinsella
Academic Technology Consultant
University of St. Thomas
St. Paul MN USA

--------------
Message: 3
Date: Fri, 14 Dec 2007 14:38:05 -0800
From: Ernest Prabhakar < email@hidden>
Subject: Re: [Xgrid] xgrid novice question - Podcast Producer
To: Charles Parnot < email@hidden>
Cc: ?xgrid-users-lists-apple-com? < email@hidden>
Message-ID: < email@hidden>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Hi John,

On Dec 14, 2007, at 12:53 PM, Charles Parnot wrote:


the ART is the executable that runs on the agent to check if the


agent is deemed "usable" for the task at hand (tutorial coming on


MacResearch!). This means Podcast Producer is using Scoreboard to


select  which agents are worthy of using. It might be documented by


Podcast producer (e.g. agent specs), or it might be something you


need to figure out from the Podcast Producer developers.



Podcast Producer requires that all the Xgrid agents be Leopard
machines. The ARTs are in the Tools folder of the workflows. For
example the art for the Blog.pwf workflow can be found at:
/System/Library/PodcastProducer/Workflows/Blog.pwf/Contents/Resources/
Tools/art.rb

These ARTs check that the Xgrid agent machine is running Leopard and
has access to the Podcast Producer Shared File system.

Here is a link to the official PcP requirements:

http://docs.info.apple.com/article.html?artnum=306737

Hope this helps,

-- Ernie P.


<mime-attachment> _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xgrid-users mailing list      ( email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xgrid-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.