From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdb0e,cdca3dc8d6167cd4 X-Google-Attributes: gidfdb0e,public X-Google-Thread: 1164f8,cdca3dc8d6167cd4 X-Google-Attributes: gid1164f8,public X-Google-Thread: f7344,a808e23c428d1184 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2001-12-19 16:51:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-proxy.baileynm.com!citadel.in.taronga.com!not-for-mail From: peter@taronga.com (Peter da Silva) Newsgroups: comp.os.vms,alt.sys.pdp10,comp.sys.dec Subject: Re: VMS missing features (was how to do deamons on VMS) Date: 20 Dec 2001 00:31:12 GMT Organization: TSS Inc. Message-ID: <9vrbgg$1ojg$1@citadel.in.taronga.com> References: <3roT7.207043$tf5.13617499@bin5.nnrp.aus1.giganews.com> NNTP-Posting-Host: citadel.in.taronga.com X-Trace: citadel.in.taronga.com 1008808272 57968 10.0.0.43 (20 Dec 2001 00:31:12 GMT) X-Complaints-To: usenet@taronga.com NNTP-Posting-Date: 20 Dec 2001 00:31:12 GMT X-Newsreader: trn 4.0-test72 (19 April 1999) Xref: archiver1.google.com comp.os.vms:56125 alt.sys.pdp10:8353 comp.sys.dec:9793 In article , Rob Young wrote: > It proved it was a better solution for most folks. Now that > the shoe is on another foot (Windows versus Unix) we will see > how much ground Windows gains at Unix' expense. After all, W2K > is technologically far superior to Unix. Windows is crippled by the Win32 API, which is relentlessly single-instance in areas that are vitally important to servers: 1. Single application instance. On UNIX, applications traditionally keep all their libraries, support files, and configurations in known and controllable places in the file system, and for the few that don't you can force them into a new file system image using chroot. VMS applications typically use symbolic names to find their configurations and support files, which provides a different but functionally equivalent mechanism to achieve the same ends. In Windows NT, applications depend on support files and configurations stored in three statically named places outside the user's control: First, %systemroot%. The problem caused by conflicting file version in here is so common that it's got it's own name, "DLL HELL", and increasingly complex mechanisms to keep it under control. Second, the registry. This is generally the primary source of an application's configuration, and there is a single set of names hardcoded in the application itself that drive it. You can't simply go ahead and tell an application to use "HKLM\...\Software\Fredsoft\Fredserver 2" instead of "...\Fredserver" if you need to run two instances of Fredserver on the same machine. Third, "Program Files\". This one's actually configurable. Unfortunately, it's configured in the registry. 2. Single user instance. Many elements in the namespace, such as logical drives, are associated with a single user's rights. If you have programs running under multiple SIDs running on a single machine, rights tend to "leak" from one to another, or some SIDs simply don't get the right to interact with the display or network. Terminal Server has managed to come up with workarounds for some of these issues, but not all, and that doesn't help application servers. 3. Single session instance. Terminal Server, again, has come up with workarounds, but in general you can't have a typical program that has a user interface running unless you're logged in with the rights that program needs on the console. We have some servers that actually need someone to log in and run a program, before an application can come up. And then don't forget to lock them. (yes, there are workarounds, but they're all workarounds: you can autologin, but then you can't use the console as another user; you can run vmware sessions: but they themselves need the screen!) I can take a UNIX (or, I'm sure, VMS) box and stick a little extra work for it in /etc/rc.d (or the VMS equivalent)... if I want to do the same thing on NT, every new service I want to provide internally means coming up with a business case for another $2k thin server and $1k set of Microsoft NT Server licences, and eventually even the friendliest CFO is going to get grumpy. -- Rev. Peter da Silva, ULC. "Cave cuniculos lagana ferentes" "Be conservative in what you generate, and liberal in what you accept" -- Matthew 10:16 (l.trans)