Index  | Recent Threads  | Unanswered Threads  | Who's Active  | Guidelines  | Search
 

Quick Go »
No member browsing this thread
Thread Status: Active
Total posts in this thread: 12
Posts: 12   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 2163 times and has 11 replies Next Thread
Mamajuanauk
Master Cruncher
United Kingdom
Joined: Dec 15, 2012
Post Count: 1900
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Read app_config.xml from command line? [Resolved]

How do I get BOINC to read the app_config.xml from command line?

I'm running CEP2 and don't want to restart the service as this would lose any none-checkpointed work and restart too many tasks at the same time which will cause issues and errors.

I have no GUI access to these machines and want to change the app_config file, but how do I get boinc to read it?

Thanks
----------------------------------------
Mamajuanauk is the Name! Crunching is the Game!



----------------------------------------
[Edit 1 times, last edit by Mamajuanauk at May 24, 2015 12:32:13 PM]
[May 24, 2015 7:09:49 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Read app_config.xml from command line?

The read command is integrated with the cc_config in the GUI, so expect that if you do this via the command line, the app_configs in the project folders are tagged on. Let us know the outcome of your trial.
[May 24, 2015 7:45:57 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Crystal Pellet
Veteran Cruncher
Joined: May 21, 2008
Post Count: 1403
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Read app_config.xml from command line?

I suppose Rob is saying, try it with the command

boinccmd --read_cc_config

I too think that all app_config.xml's will reread also.
[May 24, 2015 7:50:56 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Mamajuanauk
Master Cruncher
United Kingdom
Joined: Dec 15, 2012
Post Count: 1900
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Read app_config.xml from command line?

Thanks Rob, will do...
----------------------------------------
Mamajuanauk is the Name! Crunching is the Game!



[May 24, 2015 7:51:07 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Read app_config.xml from command line?

And indeed, when doing boinccmd --read_cc_config the event log shows...

13548 5/24/2015 9:47:22 AM Re-reading cc_config.xml
13549 5/24/2015 9:47:22 AM Not using a proxy
...
13567 5/24/2015 9:47:22 AM log flags: file_xfer, sched_ops, task, checkpoint_debug, cpu_sched, sched_op_debug
13568 World Community Grid 5/24/2015 9:47:22 AM Found app_config.xml


Spock's spirit is still alive and well ;>)
[May 24, 2015 7:51:50 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Read app_config.xml from command line?

Just a thought on staggered starting, if scripted skillfully, this is a possible way to make it happen... increment the <max_concurrent> value in loop with pauses of whatever seconds. This could work at both a clean start [after running dry] and a client restart.
[May 24, 2015 7:56:57 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Mamajuanauk
Master Cruncher
United Kingdom
Joined: Dec 15, 2012
Post Count: 1900
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Read app_config.xml from command line?

OK, so I tried that the message returned was:

retval 0

How can I check the tasks that are actually running?

--get_state - returns a list of all 400 odd tasks but, I can't see the running ones...
----------------------------------------
Mamajuanauk is the Name! Crunching is the Game!



[May 24, 2015 8:07:33 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Mamajuanauk
Master Cruncher
United Kingdom
Joined: Dec 15, 2012
Post Count: 1900
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Read app_config.xml from command line?

Just a thought on staggered starting, if scripted skillfully, this is a possible way to make it happen... increment the <max_concurrent> value in loop with pauses of whatever seconds. This could work at both a clean start [after running dry] and a client restart.
Nice idea Rob, however, that's well beyond me! lol

CEP2 never appears to have a problem with supply so shouldn't have a problem.

Also I only define the number of CEP2 tasks and let Boinc do the rest of the cores/threads
----------------------------------------
Mamajuanauk is the Name! Crunching is the Game!



[May 24, 2015 8:11:42 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Former Member
Cruncher
Joined: May 22, 2018
Post Count: 0
Status: Offline
Reply to this Post  Reply with Quote 
Re: Read app_config.xml from command line?

The retval 0 is the 'correct' response.

boinccmd --get_messages seqno

(Never understood why manuals are written, and still don't know why ;)
[May 24, 2015 8:16:22 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Mamajuanauk
Master Cruncher
United Kingdom
Joined: Dec 15, 2012
Post Count: 1900
Status: Offline
Project Badges:
Reply to this Post  Reply with Quote 
Re: Read app_config.xml from command line?

The retval 0 is the 'correct' response.

boinccmd --get_messages seqno
thanks Rob


(Never understood why manuals are written, and still don't know why ;)
so someone has a job, they're not for reading are they? biggrin
----------------------------------------
Mamajuanauk is the Name! Crunching is the Game!



[May 24, 2015 8:27:04 AM]   Link   Report threatening or abusive post: please login first  Go to top 
Posts: 12   Pages: 2   [ 1 2 | Next Page ]
[ Jump to Last Post ]
Post new Thread