- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: UNIX to OpenVMS Script translation
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
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
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
тАО06-02-2011 10:50 PM
тАО06-02-2011 10:50 PM
UNIX to OpenVMS Script translation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2011 02:04 AM
тАО06-03-2011 02:04 AM
Re: UNIX to OpenVMS Script translation
May be you could explain in pseudo-code what this script should do, as sed, syslog, armdsp, model or trace event do not have strict equivalence in OpenVMS (even if sed has been ported).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2011 04:00 AM
тАО06-03-2011 04:00 AM
Re: UNIX to OpenVMS Script translation
".rtf"? Did this script begin on a Windows
system, or was that your idea?
> [...] sed, syslog, armdsp, model or trace
> event do not have strict equivalence in
> OpenVMS [...]
At least. Also "/usr/sbin/ioscan",
"/usr/sbin/cmviewcl", and a host of others.
Define "translate to OpenVMS". What are you
actually trying to do?
> [...] is there a tool available [...]
No.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2011 06:01 AM
тАО06-03-2011 06:01 AM
Re: UNIX to OpenVMS Script translation
The VMS equivalent of
/usr/sbin/ioscan
is
$ mc sysman io auto
if memory serves me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2011 06:48 AM
тАО06-03-2011 06:48 AM
Re: UNIX to OpenVMS Script translation
This script provides a primitive web-based front end for an application that processes the network configuration and the hardware configuration, as well as looking at the server logs in some detail.
From what I see of it, it'll be a complete rewrite.
Most everything that this script is doing is specific to Unix, and a whole lot of what I see here is specific to HP-UX on PA-RISC and Integrity servers.
You'll need a programmer here that's somewhat familiar with bash HP-UX and very familiar with OpenVMS I/O and device configuration, and this "port" will be a complete rewrite of this script. As part of this "port", I'd look to move to a scripting language supported on all of the target platforms, and toward (somewhat) common source code.
All of the VMS scripting languages are either down-revision, or unsupported. Perl, php, Python, Lua, etc. And a DCL port would be full-parallel maintenance of two scripts.
As for the GNV bash implementation, that's a headache. Often a large one. All headaches and bash problems and limitations and omissions aside, this target task and involving tools such as ioscan, sasmgr, sautil and other HP-UX tools, will find GNV and its bash entirely inadequate. These tools are all platform-specific.
I'd likely also look at integrating this work with SNMP, but there may well be other scripts around that provide this path into the server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-03-2011 11:49 AM
тАО06-03-2011 11:49 AM
Re: UNIX to OpenVMS Script translation
ps: the target OpenVMS box here will also either need to have a web server configured and running (usually Apache or WASD) or the converted shell script will need to embed a web server.
(And yes, there are scripting languages around with libraries for easily embedding http services without requiring a web server. This approach is particularly useful if you can't load or can't assume or can't tie into a "traditional" web server on the target OpenVMS systems, and for whatever reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2011 04:36 AM
тАО06-05-2011 04:36 AM
Re: UNIX to OpenVMS Script translation
For starters, forget the Unix commands.
Just look at the output generated and see how you might generate similar, or the same, data for OpenVMS.
Some things will not map, many will.
This is not going to be a '5 minutes' job though!
Get ready for some tedious interpretationa and re-formatting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2011 12:31 PM
тАО06-05-2011 12:31 PM
Re: UNIX to OpenVMS Script translation
crashinfo ioscanSummary syslogSummary
This may or may not be useful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2011 03:13 PM
тАО06-05-2011 03:13 PM
Re: UNIX to OpenVMS Script translation
Kind Regards, Andre