Distributing In-House Engineering Code? 49
caswelmo asks: "My company has recently moved from Solaris workstations to Windows workstations (Ohhh, the humanity). As an engineering focused company, we use our computers to run many in-house (command line) codes to analyze and design our products. We currently use NAS storage to store everything and use batch files and init scripts to run the correct codes over the network. This makes sure everyone is running the latest version. This also stinks. I know this isn't an original problem, so what are some other solutions for rolling out lots of simple codes like this?"
Let me get this straight (Score:5, Funny)
I don't know what is worse - that you went to Windows, or you had no idea how the heck to go to windows.
Re:Let me get this straight (Score:2)
Really? (Score:2)
Heh (Score:3, Funny)
I read that as "Disturbing In-House Engineering Code". Any chance we can talk about that, too?
Re:Heh (Score:2)
Too easy (Score:2, Funny)
Spyware, worms, and IE exploits. DUH!!
I hear QBasic is good... (Score:4, Funny)
From what I hear, it's quite capable for simple "shell scripting" style tasks in Windows like:
"command.com
and
"echo ^G"
Have fun!
Re:I hear QBasic is good... (Score:2)
cygwin (Score:5, Informative)
step 2: install cygwin on all the machines (http://sources.redhat.com/ [redhat.com])
alternately: use ms's unix system services (go digging on the m$ website) theoretically this will give you a "real unix" running inside windows.
at least this way you don't have to spend as much effort porting your old tools.
Re:cygwin (Score:2)
Re:cygwin (Score:5, Informative)
Simon Peyton Jones, a Microsoft researcher in England who does a lot of work on Haskell (for Microsoft?), has a cheat sheet that "summarises all the things I do to make my Win2k machine more useful to me."
www.research.microsoft.com/~simonpj/win32-cheat.ht ml [microsoft.com]
It's rather funny, as much of what he does is make the system more like Unix, with tools like:
He describes how to set things up so he can:
And more. Useful stuff in general for when you're forced to work on Win machines.
Re:cygwin (Score:2)
Re:cygwin (Score:2)
Re:cygwin (Score:1)
Step 3: ???
Step 4: Profit!
Re:cygwin (Score:2)
Re:cygwin (Score:1)
Huh? (Score:2, Funny)
Hey, that's funny! (Score:4, Funny)
Didn't check it first to see if critical work could be done?
Okay, here's what you do:
1. Send the person who made this decision to Singapore to be caned;
2. Send his boss to Singapore to be caned and send the boss' dog for caning too as the dog may be the true decision-maker here;
3. Get yourselves someone who has more than a two digit I.Q. to be your boss;
4. Profit!
Ciao.
Re:Hey, that's funny! (Score:2)
Re:Hey, that's funny! (Score:3, Informative)
Re:Hey, that's funny! (Score:2)
Re:Hey, that's funny! (Score:2)
The Caning of Sumner (Score:2)
By the news from Washington it will be seen that Senator Sumner has been savagely and brutally assaulted, while sitting in his seat in the Senate chamber, by the Hon. Mr. Brooks of South Carolina, the reason assigned therefore being that the Senator's remarks on Mr. Butler of South Carolina, who is uncle to the man who made the attack. The particulars show that Mr. Sumner was struck unawares over the head by a loaded cane and stunned, and then the ruffianly attack was continu
Re:Hey, that's funny! (Score:2)
Didn't check it first to see if critical work could be done?
Those responsible have been sacked!
Re:Hey, that's funny! (Score:2)
My cousin was bitten by a moose once
omg! (Score:1)
#1 Sign Your Pointy-Haired Boss Doesn't Know.... (Score:5, Funny)
As an engineering focused company, we use our computers to run many in-house (command line) codes to analyze and design our products. We currently use NAS storage to store everything and use batch files and init scripts to run the correct codes over the network. This makes sure everyone is running the latest version. This also stinks. I know this isn't an original problem, so what are some other solutions for rolling out lots of simple codes like this?"
Re:#1 Sign Your Pointy-Haired Boss Doesn't Know... (Score:2)
Re:#1 Sign Your Pointy-Haired Boss Doesn't Know... (Score:3, Informative)
Re:#1 Sign Your Pointy-Haired Boss Doesn't Know... (Score:3, Informative)
Old-school FORTRAN types often refer to single-purpose batch programs, like FEA jobs, as "codes". If you look in engineering magazines, HPC vendors often promise to run your "codes" faster than ever, etc.
Re:#1 Sign Your Pointy-Haired Boss Doesn't Know... (Score:2, Informative)
Re:#1 Sign Your Pointy-Haired Boss Doesn't Know... (Score:3, Informative)
To SMB or not to SMB.. (Score:2, Insightful)
If you really need the speed, you can push out the code to the client machines and put a system in place to audit the distribution. It can end up being a bitch to maintain depending on how you dist and audit. You can write a script with rsync/robocopy and log errors and fix them or buy a commercial software package and check errors and fix them.
You spend the money to go to Copper Gbit and get some more speed, and keep the code centralized over CIFS. If you o
Re:To SMB or not to SMB.. (Score:2)
If he has the money, Copper Gbit with journaling RAID and FC drivers from VRTS and you're LUNS will hum.
YMMV, and you may LOL, but I still thing detached NAS is the best solution.
Trying for a serious answer. (Score:4, Informative)
said script has dedicated local directory like: c:\ourscripts\
and synchs everything from the network at launch. Script remains running and checks via xml-rpc for updates and will throughout the day get updates to particular files. If you do the xml-rpc check every minute, you'll have near-realtime distribution of cli scripts to windows clients.
I am assuming you have less than 1k people to do that with in your org. One server could easily handle it.
by the way, redhat autoupdate uses xml-rpc.
This has the advantage not to need any local machine deployments of software packages.
Let me know privately if you need this sort of solution built. Or ask the python mailing list.
use the tools that Bill sold you. (Score:3, Informative)
Re:use the tools that Bill sold you. (Score:2)
Also, you can achieve the same result with a shared drive, but it assumes you launch the script from the icon.
Re:use the tools that Bill sold you. (Score:4, Informative)
Generic question about distributed application (Score:3, Interesting)
Hmmm. It couldnt have been more unclear. Solaris most frequently runs on sparc architectures. Surely the code must be sitting one place, executing on another machine, and somehow the windows machines grab hold of the results...
So depending on your REAL situation:
(1) Run apache on the solaris box and display results.
(2) Run the code on a terminal server machine (Windows2000 terminal services or X11)
(3) Use rsync or the windows equivalent to redistribute code to all machines
(4) Use CVS
(5) Recompile the code for win32.
To get any more useful advice from slashdot, specify your problem better.
Well.... (Score:2, Interesting)
Why did you switch to Windows workstations? Is it the Windows operating system itself, or is the hardware just cheaper? Surely it's not
Maybe use a VM (Score:1)
My company has recently moved from Solaris workstations to Windows workstations
One giant step backwards. You will find your admin costs are going to be higher with Windows. Life is no longer going to be as simple as "install_cluster" or "pkgadd".
To address some of your problems consider Linux/VMWare underneath Windows. This does a couple of things. You can then backup and recover windows in a short period of time. Especially important to recover windows as it becomes as simple as copying in the old f
Some helpful resources: (Score:1)
WSH (a brand new Windows shell, sort-of available now) may be an option, but you can just as well download Cygwin as someone mentioned and just use the tools you're familiar with.
--(())
yea, remote-mounted /usr/local/Applications ... (Score:2)
Sorry, what's the interesting/difficult part of this question, other than you moved an engineering shop from Unix to Windows and are thus having issues?