- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How to identify if system is a server or works...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 12:05 AM
тАО09-30-2008 12:05 AM
I want to find if an OpenVMS system is a Server or a Work Station.
Is there any DCL command or lexical function for this ?
Please help.
Thanks,
Vineet
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 12:28 AM
тАО09-30-2008 12:28 AM
Re: How to identify if system is a server or workstation
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 12:37 AM
тАО09-30-2008 12:37 AM
Re: How to identify if system is a server or workstation
a workstation can as well be a disk- and boot-server.
A workstation usually must run some window system to be recognized as such:
if f$getsyi("WINDOW_SYSTEM") .ne. 0 then -
"this is a workstation".
Server systems will have system parameters
MSCP_SERVE_ALL or TMSCP_SERVE_ALL /= 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 12:46 AM
тАО09-30-2008 12:46 AM
Re: How to identify if system is a server or workstation
Even the WINDOW_SYSTEM parameter probably is not enough: a server may have WINDOW_SYSTEM=1 to enable X11 client programs to display somewhere else.
So one has (in case of window_system == 1) to see if an X11 server is running:
once has to do a process-scan to see if a process with name beginning with "DECW$SERVER"
exists.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 12:50 AM
тАО09-30-2008 12:50 AM
Re: How to identify if system is a server or workstation
My 4100 and GS160 with 7.3 are workstations according to your rule.
In fact none of my stations and servers display are servers (all return 1).
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 12:56 AM
тАО09-30-2008 12:56 AM
Re: How to identify if system is a server or workstation
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 01:08 AM
тАО09-30-2008 01:08 AM
Re: How to identify if system is a server or workstation
As I have told: the distinction is not well defined.
If something is a potential workstation (because it has a graphic head), but has not enabled the software to use it, then I don't call (or count) it as a workstation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 01:10 AM
тАО09-30-2008 01:10 AM
Re: How to identify if system is a server or workstation
Yes, if they have a graphic head and run DECW$SERVER.
They most probably are servers as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 01:27 AM
тАО09-30-2008 01:27 AM
Re: How to identify if system is a server or workstation
couple of think involve on that.
Like what hardware you are using, and your license loaded in the system.
Well there is no such separate operating system called VMS workstation or
Server. It depends upon you, how you are using the VMS system as workstation or server.
Regards
Sanjay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 04:33 AM
тАО09-30-2008 04:33 AM
Re: How to identify if system is a server or workstation
$ ! Unless we are specifically skipping workstation specific setup,
$ ! or we know for a fact (as reported by SYS$STARTUP:LICENSE_CHECK.EXE
$ ! in an earlier stage of the startup process) that this system is not
$ ! correctly licensed, determine if this is a workstation
$ !
$ IF F$TRNLNM("DECW$IGNORE_WORKSTATION") .OR. (F$TRNLNM("DECW$LICENSE_CHECK") .EQS. "FALSE")
$ THEN
$ decw$device == "NONE"
$ ELSE
i.e. those 4100/GSnnn having a graphic console, but are considered as servers, which almost never use the graphics console, should define the logical DECW$IGNORE_WORKSTATION before DECW$STARTUP to inhibit start of DECW$SERVER.
Then by my definition they are not workstations (in the software meaning).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 07:10 AM
тАО09-30-2008 07:10 AM
SolutionItanium workstations were cancelled around (before?) OpenVMS was available on Itanium (and much fanfare and FID ensued), and the Alpha workstations got cancelled a decade or more ago. (IIRC, it was DEC that cancelled the Alpha workstation products.)
Ok; yes; that's a somewhat facetious (but factual) response.
Now what's your real question?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 07:42 AM
тАО09-30-2008 07:42 AM
Re: How to identify if system is a server or workstation
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 08:05 AM
тАО09-30-2008 08:05 AM
Re: How to identify if system is a server or workstation
What I haven't seen mentioned in this thread: it's entirely possible to have very nice DECwindows graphics from a box with NO graphics controller. None.
I can aim the X11 displays back at the local Mac OS X box, and do graphics work quite nicely.
So I can (and do) run DECwindows applications on one or more headless and graphics-less servers in parallel, aiming the graphics displays back an the local X11 server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 09:15 AM
тАО09-30-2008 09:15 AM
Re: How to identify if system is a server or workstation
the workstation is the MAC which acts as x11 display server.
I think the OP should explain what he wants to achieve by programmatically (DCL) determine which kind of system is in use:
conditionally (not )starting certain services ?
limiting number of interactive logins ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-30-2008 09:16 AM
тАО09-30-2008 09:16 AM
Re: How to identify if system is a server or workstation
Whether its used as a "workstation" or "server" is dependent on how you use it. We have "workstations" that only provide quorum votes and we have "workstations" that provided disk services and x-windowing for users (was our CDE servers).
What are you using this data for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2008 05:51 AM
тАО10-01-2008 05:51 AM
Re: How to identify if system is a server or workstation
"Server" was the big iron, humming in a conditioned environment, and you would do your work on these machines using connected dumb terminals.
When networks became more common, and workload could be distributed to smaller machines more and more intelligence was built in these terminals - growing to "Workstations" that would rely on the server for software, and, well, services. Quite often, these machines could do local processing in stead relying on teh remote system (causing huge load on the network). Think of graphical applications: Better do the presentation locally, but have the data be stored on, and prepared on the server.
Today, these "workstations" have at least the same processor power as the early servers, if not exceeding it. So they can be used as a server without a problem (in most cases). Most can, and do both.
Remains a FUNCTIONAL distinction, but that has nothing to with the hardware of OS.
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 02:57 AM
тАО10-02-2008 02:57 AM
Re: How to identify if system is a server or workstation
Sorry for my absence from this thread in the last few days.
Basically I am working for a product which finds out information about a remote system. This includes data about memory, processor, storage devices etc.
I am also supposed to show if the system is a "server" or a "workstation". There is a different icon for both in the GUI.
Hence I wanted to know if:-
1)OpenVMS does make that distinction? i.e. can OpenVMS be present on a server as well as a workstation?
2) Is there any command which can give me this information?
If as Hoff says there are no "workstations" it'll make my job easier but I need to be sure about that.
Thanks,
Vineet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 03:36 AM
тАО10-02-2008 03:36 AM
Re: How to identify if system is a server or workstation
There is no reliable distinction (a la Windows) between a server and a workstation. OpenVMS is OpenVMS.
The same hardware platform is often used as a server, a workstation, or both. If it has a graphics head, it is often referred to as a workstation, but that may be merely a matter of packaging, the machine in question may be the corporate DNS, email, www, or file server.
That said, for the purposes of iconography, perhaps a check for the presence of a graphics adapter would be appropriate (as noted earlier, X-Windows is present on quite a few server systems for the console and for remote access).
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 04:08 AM
тАО10-02-2008 04:08 AM
Re: How to identify if system is a server or workstation
Well, if you go back to old VAX hardware,
there were different license classes for
VAX/VMS on a MicroVAX (full-function), a
VAXserver (no interactive users), and a
VAXstation (graphics). A VAXstation 3100
with no keyboard plugged in was seen as a
VAXserver 3100, for example, and might fail
to work as expected because its VMS license
was then no good. Pull the graphics card(s)
from a VAXstation 3200, and it becomes a
MicroVAX 3600. (It's a miracle!)
However, the original question is pretty
close to completely meaningless. Around
here:
alp $ write sys$output f$getsyi( "hw_name")
COMPAQ Professional Workstation XP1000
So it calls itself a "Workstation", but it
could call itself anything and still do the
same work.
> I am also supposed to show if the system is
> a "server" or a "workstation". There is a
> different icon for both in the GUI.
Do what you want. If you can find a VMS user
who actually cares which icon you use for a
particular VMS system, be sure to report
back. Or if you can define the difference
between the two system types.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 07:29 AM
тАО10-02-2008 07:29 AM
Re: How to identify if system is a server or workstation
If this is not already abundantly clear: you'll almost certainly get this distinction wrong in some subset of the available cases, and you'll add support calls and support costs because of that. (That statement is not aimed at you personally, it's aimed at the difficulty of the problem itself. I'd have trouble with this.)
Display the system model name and move on to the next UI issue.
You could conceivably build a table that maps the system model id value to icon -- that table is very likely static for both Alpha and VAX. For the Integrity Itanium boxes, it's anyone's guess as to what systems are arriving.
You'll end up maintaining a table and shipping table updates from time to time -- and still getting it wrong for either the specific environment or for a new model on occasion. (For a variation of this matter, search for the "dynamic system recognition" (DSR) changes that were made to OpenVMS eons ago; OpenVMS punted this sort of a distinction out to the system hardware itself; out to the console.
Here, I'd simply use a default icon and let the end user select the icon for the particular system. Trump whole the issue and the whole process. Let the user select icons from their own local use. Give'm a box of pretty shiny and reasonably cogent icons, and they'll be happy.
A good first best task here is to go read Jakob Nielsen and Donald Norman's design books, too. I'd suggest a look at design processes involved here as a whole, too, because folks that work directly on software and hardware tend to be quite bad at UI design, and at icon design. Good UI design can differentiate an enterprise product, too.
There are good (free) tools that do this sort of system monitoring and related for OpenVMS, BTW. (Been meaning to get one of the better ones around that's not already tied into OpenVMS over, too.)