mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Prime95 on ghosted machines (https://www.mersenneforum.org/showthread.php?t=5563)

lozcs 2006-03-03 16:58

Prime95 on ghosted machines
 
I want to run Prime95 on 6 machines that are on 24/7 but ghosted every night at 2am

Before I try loads of different things, what is the best way to do this?

Thoughts so far,

Run Prime95 from a \\servername\share

Have a schedule that copies the mersenne directory to a server and then back again once ghosted?

Thoughts please!

Lawrence......

Cruelty 2006-03-03 21:06

[QUOTE=lozcs]Run Prime95 from a \\servername\share[/QUOTE]
Looks like a good idea.

moo 2006-03-03 23:53

why not run prime95 straight from the server with a bat file.

lozcs 2006-03-04 01:54

[QUOTE=moo]why not run prime95 straight from the server with a bat file.[/QUOTE]

so set up the shares for each PC on the server

eg.

\\server\computername

the on the client simply call

\\server\%computername%\prime95.exe

That's it?

Prime95 2006-03-04 03:19

if your users logout, then you might not be able to run the prime95 as a service

moo 2006-03-04 06:05

lets play the game then
make a schduled task that runs each time the computer starts have it call
\\servername\%computername%\prime95.exe
have it run under admin account. if its xp all the better ok so use that as what program to call have it run on startup and you should be set. if you get to a client machine and get on msn i can show you clearly how to do it.

lozcs 2006-03-05 14:44

So I can use the variable %computername% in the scheduler - as long as the shares are in place?

[QUOTE=moo]lets play the game then
make a schduled task that runs each time the computer starts have it call
\\servername\%computername%\prime95.exe
have it run under admin account. if its xp all the better ok so use that as what program to call have it run on startup and you should be set. if you get to a client machine and get on msn i can show you clearly how to do it.[/QUOTE]

moo 2006-03-05 19:31

yes you should.

lozcs 2006-11-28 17:03

Hi,

Just added another 5 P4 machines to this network so working on this now...

I have created the shares on the server \\servername\01$ 02$ etc

first I mapped a M drive to the share then tried to install the ntprime service. This installed OK but couldn't start

So I tried to run prime95.exe from the share

\\servername\01$\prime95.exe

and I get the following error.

[SIZE="2"]ERROR: unable to open spool file
unable to open log file
ERROR: unable to open spool file
unable to open log file
ERROR: unable to open spool file
unable to open log file
ERROR: unable to open spool file
unable to open log file
Mersenne number primality test program version 24.14
Cannot write to file worktodo.ini
Error opening results file to output this message:
Unable to open log file.
Cannot write to file worktodo.ini
Unable to open log file.
Will try contacting server again in 60 minutes[/SIZE]

Can anyone help?

Thanks,

Lawrence......

[QUOTE=moo;74453]lets play the game then
make a schduled task that runs each time the computer starts have it call
\\servername\%computername%\prime95.exe
have it run under admin account. if its xp all the better ok so use that as what program to call have it run on startup and you should be set. if you get to a client machine and get on msn i can show you clearly how to do it.[/QUOTE]

S485122 2006-11-28 20:07

A service wil not be able to start from a share since the share will not be present at startup.

I see two possible causes :
- the clients do not have write access to their shares.
- more probable since I suppose you already checked that, prime95 cannot run from an unc location. So you must start prime95 from your M:\ drive not from the UNC.

You could use one share only with subdirectories per computer.

A batch file like this should do the job :
Prime95_start.cmd[CODE]net use M: \\SERVERNAME\PRIME95$
M:
cd \%computername%
start prime95.exe[/CODE]Next you put this batch file in the windows directory for instance and add the following to the registry of your ghost sources to have the batch file run at startup with the system account :[CODE]Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"Prime95"="C:\\Windows\\Prime95_start.cmd"[/CODE]

moo 2006-11-28 23:44

try this
right click on server share and click allow users to change my files
also you might want the main share to include a dollar sign after it
so sharename$ this will hide the share.

lozcs 2006-11-30 12:58

[QUOTE=Jacob Visser;92693]
- the clients do not have write access to their shares.
- more probable since I suppose you already checked that, prime95 cannot run from an unc location. So you must start prime95 from your M:\ drive not from the UNC.
[/QUOTE]

:unsure:

Doh...

Gave write access to share mapped a drive and added it to startup.

All working now!

:smile:

Thanks

jasong 2006-11-30 23:44

Couldn't find an online definition for "ghosted machine." Judging from the Google hits, it means to take the data on one machine, whether it be RAM, a hard drive, a cd, a thumb drive, etc., and exactly duplicate it in another location.

The question in my mind is, do you have to duplicate the entire cd, hard drive, RAM, whatever, for it to be called ghosting? What about a directory with a program that could benefit from running on more than one computer, like Prime95? Linguistically speaking(I hope I wrote that correctly) can you ghost a Prime95 directory?

sdbardwick 2006-12-01 00:44

In this context, ghosting refers to rewriting a computer hard drive from a stored image, ensuring that the system is restored to a known good state. The tool used is a disk imaging application, like [URL="http://www.symantec.com/home_homeoffice/products/overview.jsp?pcid=br&pvid=ghost10"]Norton Ghost[/URL].

moo 2006-12-01 04:44

[QUOTE=jasong;92930]Couldn't find an online definition for "ghosted machine." Judging from the Google hits, it means to take the data on one machine, whether it be RAM, a hard drive, a cd, a thumb drive, etc., and exactly duplicate it in another location.

The question in my mind is, do you have to duplicate the entire cd, hard drive, RAM, whatever, for it to be called ghosting? What about a directory with a program that could benefit from running on more than one computer, like Prime95? Linguistically speaking(I hope I wrote that correctly) can you ghost a Prime95 directory?[/QUOTE]

to answer your question
its like taking a picture with a film camera
the picture doesnt change but you can make copies of it.
thats how places with large ammounts of computers deploy them

i work after hours at my school as an intern now we keep about 500 or so im guessing computers going thats a lot when they go down we dont reinstall windows we ghost them which takes the time from 5 - 6 hours for a reinstall and configure to about 15 minute ghost 30 minute configure and patching can be done once its deployed.

battlemaxx 2007-02-23 16:29

I thought you could run Prime95 locally but point to data on a server.

From the readme:
-Wdirectory This tells prime95 to find all its files in a different
directory than the executable.

And if each machine didn't have its own share, I suppose you could use a single one with:

-An This is used to run two or more copies of prime95
from the same directory. Using this command line argument
causes prime95 to use a different set of filenames for the
INI files, the results file, the log file, and the spool file.
Just use a different value of n for each copy of
prime95.exe you start.

Just a thought, and I haven't tried this type of configuration.

crash893 2007-02-23 20:53

every time i run p95 over the network its slow as all get out

mabey you could by 6 small usb drives with and have them auto run or something

that way the info is local and should speed things up a bit


All times are UTC. The time now is 05:44.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.