- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Rebooting using telnet from a VMS box
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
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
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
05-30-2006 03:09 AM
05-30-2006 03:09 AM
Rebooting using telnet from a VMS box
Please find the steps require to reboot a server(with proprietary o/s)from a VMS server using Telnet attached herewith. Is it possible to simulate the steps on to a DCL script ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 03:35 AM
05-30-2006 03:35 AM
Re: Rebooting using telnet from a VMS box
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 03:39 AM
05-30-2006 03:39 AM
Re: Rebooting using telnet from a VMS box
I do not know what is hidden behind that menu.
If is is a
$ @SYS$SYSTEM:SHUTDOWN
, then it will NOT work.
If, however, it is a
$ MCR SYSMAN SHUT NODE REBOOT
then it should work OK.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 03:45 AM
05-30-2006 03:45 AM
Re: Rebooting using telnet from a VMS box
The server which I want to reboot sitting on a VMS server using Telnet is not a VMS box. It is defined inside my VMS server in UCX database not in NCP. If u can please guide me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 04:24 AM
05-30-2006 04:24 AM
Re: Rebooting using telnet from a VMS box
asking the same question again will probably get you the same answers:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=982892
You cannot do 'scripting' with OpenVMS TELNET.
KERMIT is most likely the best tool to do this. Please have a look here:
http://www.columbia.edu/kermit/ck80.html
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 08:43 AM
05-30-2006 08:43 AM
Re: Rebooting using telnet from a VMS box
I concur with the others. C-Kermit is more than likely the best tool for what you are trying to accomplish.
In its most simple use, it is functionally equivalent to TELNET. However, it is fully scriptable. The scripting capability is fully described in the published book about C-Kermit.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2006 11:05 PM
05-30-2006 11:05 PM
Re: Rebooting using telnet from a VMS box
Alternatively, if you have any Perl skills in your organisation, it should be possible to use Perl to script the reboot.
Note that you can cannot generally redistribute Kermit - see the Columbia web-site for details:
http://www.columbia.edu/kermit/licensing.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 12:00 AM
05-31-2006 12:00 AM
Re: Rebooting using telnet from a VMS box
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 12:10 AM
05-31-2006 12:10 AM
Re: Rebooting using telnet from a VMS box
mc sysman shut node /auto
And it doesn't work on my system because I kill all users.
Better to go with a detached process.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 09:50 PM
05-31-2006 09:50 PM
Re: Rebooting using telnet from a VMS box
I suppose if system has telnet, then it also has rsh or rexec available (or ssh):
then You simply cann send a single shutdown comand (whatever it is).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 10:03 PM
05-31-2006 10:03 PM
Re: Rebooting using telnet from a VMS box
To use rsh or rexec, I do not have any single reboot/shutdown command to send. It is a menu driven proprietary o/s. To reboot I need to login using telnet and then selcting options as per requirement as attached in my question. Is there any other way to achive it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 10:16 PM
05-31-2006 10:16 PM
Re: Rebooting using telnet from a VMS box
You need some kind of scripting possibility and this can only be provided by an already existing program (KERMIT would the tool to use - why can't you ?) or by a new program to be written...
You could also try to experiment with outbound TELNET devices, though I don't know if your version of UCX/TCPIP correctly works with them. Then it might be able to read/write from such a TNA: device using DCL - IF this can be done in line mode.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 10:28 PM
05-31-2006 10:28 PM
Re: Rebooting using telnet from a VMS box
I am able to create on TNA1: device using TELNET/CREATE_SESSION IP Address [port] [unit]
Now what should me my approach ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 10:32 PM
05-31-2006 10:32 PM
Re: Rebooting using telnet from a VMS box
Does OPEN/READ/WRITE x TNAx: also work and can you then READ x line and WRITE x command ?
Using KERMIT would be really much easier...
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 11:00 PM
05-31-2006 11:00 PM
Re: Rebooting using telnet from a VMS box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 11:09 PM
05-31-2006 11:09 PM
Re: Rebooting using telnet from a VMS box
TELNET> create_sess vaxvms 23
%TELNET-S-CRSES, Session created on TNA397
TELNET> Exit
AXPVMS $ set host/dte/esc=d tna397:
%REM-I-TOQUIT, connection established
Press Ctrl/D to quit, Ctrl/@ for command mode
{ {
Welcome to OpenVMS/VAX Operating System, Version V6.2
Username:
Did you specify the IP address of your FEP and port 23 ? Can you just try it with your local host or another OpenVMS system ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 11:26 PM
05-31-2006 11:26 PM
Re: Rebooting using telnet from a VMS box
For any other VMS server also I am not getting the login prompt as described in your answer. Yes I mentioned the FEP ip address & port 23
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 11:49 PM
05-31-2006 11:49 PM
Re: Rebooting using telnet from a VMS box
You could also try to experiment with outbound TELNET devices, though I don't know if your version of UCX/TCPIP correctly works with them
I can confirm that I also can't get the username prompt of a remote OpenVMS server, if I use the outbound TELNET device from an OpenVMS VAX V6.2 UCX V4.2 ECO 1 system.
Back to square 1: why can't you use KERMIT ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 07:52 PM
06-13-2006 07:52 PM
Re: Rebooting using telnet from a VMS box
Sorry for the delayed response. I went through the various sites as suggested by you all. Although I could not install kermit in my VAX/VMS server due, it helped me in gaining knowledge on Kermit software.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 08:24 PM
06-13-2006 08:24 PM
Re: Rebooting using telnet from a VMS box
You should have a way to login on the console port (e.g. console manager or cockpit).
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2006 09:18 PM
06-13-2006 09:18 PM
Re: Rebooting using telnet from a VMS box
you could write your own
you should create the telnet session as suggested above, then check that you can access your server using set host /dte
you then have to write a program to simulate your interaction with the tna device
there are programs in older sys$examples called DTE* that you can use as a template.
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2006 05:00 AM
06-14-2006 05:00 AM
Re: Rebooting using telnet from a VMS box
In one of your earlier messages, you said that you "could not install Kermit". What is the precise nature of the problem?
Kermit is a normal user-mode program and does not require any privileges. You should not have encountered any problem (this is true both for the very outdated VAX Kermit and all versions of C-Kermit).
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2006 07:35 AM
06-14-2006 07:35 AM
Re: Rebooting using telnet from a VMS box
Try this command in TCPIP:
TCPIP> CREATE_SESSION ip-address 23 /PERMANENT/PROTOCOL=TELNET 999
This will create a TNA999: device to use to interact with the FEP. Then you can use a DCL Open command as follows:
OPEN/READ/WRITE FEP_CHAN TNA999:
Then you can read using the command:
READ FEP_CHAN LINE
and useing the f$loc lexical function you look for your menu prompts. Once you get your menu prompts, then use
WRITE FEP_CHAN "menu-option-desired"
To send the proper menu selection to your FEP. If you were to write LINE ot the secreen each time it is read you would simply echo the menu to the VMS terminal running the DCL procedure and allow the user to enter the menu selection they wanted. Each time they enter a menu selection you would go to the top of your code logic that reads and echos the menu to the VMS terminal.
This should do what you are looking for and more. If your FEP shutsdown the TNA999: will be closed automaticall and you can execute the DCL procedure again when it finishs rebooting.
One other caveat, you may need to use a number other than 999 unless there is a way that someone knows to determine how he can get a number greater than the dynamic numbers used by TELNET.
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2006 10:22 PM
06-14-2006 10:22 PM
Re: Rebooting using telnet from a VMS box
$ PIPE TELNET /CREATE host 23 >tempfile
the file will contain something like:
%TELNET-S-CRSES, Session created on TNA27
You can read the tempfile to find the TNA device and use that.
S.
P.S. There's probably a bootstrap version of Kermit written in DCL somewhere ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2006 10:51 PM
06-14-2006 10:51 PM
Re: Rebooting using telnet from a VMS box
Concerning Sebastian's comment, C-Kermit binaries are available via the Kermit www site at:
http://www.columbia.edu/kermit/ck80binaries.html
These can be downloaded directly via the www and used.
The Kermit Project home page is itself at
http://www.columbia.edu/kermit
The Kermit site contains complete documentation, albeit is in a less well formatted version than the book. The book is also easily available, and fairly complete.
- Bob Gezelter, http://www.rlgsc.com