Pages: [1]
Erotavlas [Toscana]
 
BAM!ID: 35605
Joined: 2007-09-30
Posts: 9
Credits: 26,876,722
World-rank: 18,907

2016-02-22 15:34:34

Hi,
I'm writing a script in order to install BOINC attached to BOINCstats for windows and GNU linux lubuntu. On windows BOINC uses the folder CrogramDataBOINC while on GNU linux lubuntu uses the folder BOINCData="/var/lib/boinc-client".
I created two standard folders with my username and password attached to BOINCstats. The folders are mostly empty except for configuration files without projects data. At the moment, the scripts copy the data folder into the system, BOINC works correctly, but all the PC have the same ID on BOINCstats.
Can be a problem? Or is it ok?
Is there any command line procedure that allows to install BOINC via script without plain password typed in the script?
Thank you

TeeVeeEss
  Donator
Tester - Translator - BOINCstats SOFA member
BAM!ID: 2648
Joined: 2006-06-27
Posts: 755
Credits: 12,062,526,640
World-rank: 246

2016-02-24 17:29:04

Not sure if I understand what you are trying to do with your script: is it both to install BOINC and activating BAM! on the host?
Anyway, copying files will mess up your host stats because (as you already noticed) the CPID and the BAM-id of the host is not unique anymore. To correct this you should (as far as I know, your mileage may vary!) delete the acct_mgr*.xml files and the client_state.xml file in the copied BOINCdata directories.
You should at least once be logged in at the host (remote or direct) and use the command :
Code:
boinccmd --join_acct_mgr URL name passwd
to attach the account manager which will create the needed unique CPID and BAM-id for the host.
Erotavlas [Toscana]
 
BAM!ID: 35605
Joined: 2007-09-30
Posts: 9
Credits: 26,876,722
World-rank: 18,907

2016-02-24 21:24:52

TeeVeeEss wrote:

Not sure if I understand what you are trying to do with your script: is it both to install BOINC and activating BAM! on the host?
Anyway, copying files will mess up your host stats because (as you already noticed) the CPID and the BAM-id of the host is not unique anymore. To correct this you should (as far as I know, your mileage may vary!) delete the acct_mgr*.xml files and the client_state.xml file in the copied BOINCdata directories.
You should at least once be logged in at the host (remote or direct) and use the command :
Code:
boinccmd --join_acct_mgr URL name passwd
to attach the account manager which will create the needed unique CPID and BAM-id for the host.



Yes, at the moment I'm using this syntax boinccmd --join_acct_mgr bam.boincstats.com/ user password and it works while by using boinccmd --join_acct_mgr bam.boincstats.com/ BAMID BAMWeakKey it does not works even if I copied the data from BOINCstats.
Thank you
Erotavlas [Toscana]
 
BAM!ID: 35605
Joined: 2007-09-30
Posts: 9
Credits: 26,876,722
World-rank: 18,907

2016-03-01 17:56:55

TeeVeeEss wrote:

Not sure if I understand what you are trying to do with your script: is it both to install BOINC and activating BAM! on the host?
Anyway, copying files will mess up your host stats because (as you already noticed) the CPID and the BAM-id of the host is not unique anymore. To correct this you should (as far as I know, your mileage may vary!) delete the acct_mgr*.xml files and the client_state.xml file in the copied BOINCdata directories.
You should at least once be logged in at the host (remote or direct) and use the command :
Code:
boinccmd --join_acct_mgr URL name passwd
to attach the account manager which will create the needed unique CPID and BAM-id for the host.


Hi,
the syntax is correct
Code:

boinccmd --join_acct_mgr "http://bam.boincstats.com/" 35605 "35605_25a601816e1971c60293a45f509a2fdb"

however it does not work and I get the following output:
Code:

pool status: operation in progress
pool status: operation in progress
pool status: operation in progress
pool status: unexpected XML tag or syntax

If I use the username and password it works well.
Any idea?
Thank you
TeeVeeEss
  Donator
Tester - Translator - BOINCstats SOFA member
BAM!ID: 2648
Joined: 2006-06-27
Posts: 755
Credits: 12,062,526,640
World-rank: 246

2016-03-01 20:35:03

Did you read the FAQ Use of Weak Authenticator ?
From that FAQ:
If you want to attach a host to BAM! using the weak authenticator, use the weak authenticator instead of the username and leave the password empty when asked for the user information.
noderaser
 
BAM!ID: 13859
Joined: 2006-12-03
Posts: 827
Credits: 165,608,088
World-rank: 5,119

2016-03-03 04:21:23

Erotavlas [Toscana wrote:
BOINC works correctly, but all the PC have the same ID on BOINCstats.
Can be a problem? Or is it ok?

Unless you want to control the hosts individually, it's probably not a problem.
Erotavlas [Toscana]
 
BAM!ID: 35605
Joined: 2007-09-30
Posts: 9
Credits: 26,876,722
World-rank: 18,907

2016-03-03 08:47:35

TeeVeeEss wrote:

Did you read the FAQ Use of Weak Authenticator ?
From that FAQ:
If you want to attach a host to BAM! using the weak authenticator, use the weak authenticator instead of the username and leave the password empty when asked for the user information.


Thank you for the answer. Yes I did. With this command boinccmd --join_acct_mgr https://bam.boincstats.com/ 35605_25a601816e1971c60293a45f509a2fdb
the boinccmd outputs Missing command-line argument followed by the help.
I'm quite sure that the correct syntax is this --join_acct_mgr URL name passwd as reported in the help.
Could be the weak authenticator deprecated?
Erotavlas [Toscana]
 
BAM!ID: 35605
Joined: 2007-09-30
Posts: 9
Credits: 26,876,722
World-rank: 18,907

2016-03-03 08:50:13

noderaser wrote:

Erotavlas [Toscana wrote:
BOINC works correctly, but all the PC have the same ID on BOINCstats.
Can be a problem? Or is it ok?

Unless you want to control the hosts individually, it's probably not a problem.

If I can, I will prefer to have separated hosts so I can decide fine-grane processing.
TeeVeeEss
  Donator
Tester - Translator - BOINCstats SOFA member
BAM!ID: 2648
Joined: 2006-06-27
Posts: 755
Credits: 12,062,526,640
World-rank: 246

2016-03-03 20:38:57

From the BOINC Wiki:
Using the Boinccmd
To attach to your account manager from the command line using Boinccmd, simply issue the command
boinccmd --join_acct_mgr URL name password
where URL is the URL provided by your selected account manager, name is either the name you use to sign into your account manager or your weak authenticator and password is either the password you use to sign into your account manager or, if you used a weak authenticator, it is a small random string (it will be ignored by the account manager).
So for BAM! it's:
Code:
boinccmd --join_acct_mgr bam.boincstats.com/ [your weak authenticator] foo

Erotavlas [Toscana]
 
BAM!ID: 35605
Joined: 2007-09-30
Posts: 9
Credits: 26,876,722
World-rank: 18,907

2016-03-04 21:40:45

TeeVeeEss wrote:

From the BOINC Wiki:
Using the Boinccmd
To attach to your account manager from the command line using Boinccmd, simply issue the command
boinccmd --join_acct_mgr URL name password
where URL is the URL provided by your selected account manager, name is either the name you use to sign into your account manager or your weak authenticator and password is either the password you use to sign into your account manager or, if you used a weak authenticator, it is a small random string (it will be ignored by the account manager).
So for BAM! it's:
Code:
boinccmd --join_acct_mgr bam.boincstats.com/ [your weak authenticator] foo




Thank you very much. It worked
Pages: [1]

Index :: CPID problems :: Installing BOINC multiple PC with same BAM ID
Reason: