<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rebooting using telnet from a VMS box in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796862#M77118</link>
    <description>Hassan,&lt;BR /&gt;&lt;BR /&gt;Try this command in TCPIP:&lt;BR /&gt;&lt;BR /&gt;TCPIP&amp;gt; CREATE_SESSION ip-address  23 /PERMANENT/PROTOCOL=TELNET  999&lt;BR /&gt;&lt;BR /&gt;This will create a TNA999: device to use to interact with the FEP.  Then you can use a DCL Open command as follows:&lt;BR /&gt;&lt;BR /&gt;OPEN/READ/WRITE FEP_CHAN TNA999:&lt;BR /&gt;&lt;BR /&gt;Then you can read using the command:&lt;BR /&gt;&lt;BR /&gt;READ FEP_CHAN LINE&lt;BR /&gt;&lt;BR /&gt;and useing the f$loc lexical function you look for your menu prompts.  Once you get your menu prompts, then use&lt;BR /&gt;&lt;BR /&gt;WRITE FEP_CHAN "menu-option-desired"&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Phil</description>
    <pubDate>Wed, 14 Jun 2006 14:35:30 GMT</pubDate>
    <dc:creator>Phillip Thayer</dc:creator>
    <dc:date>2006-06-14T14:35:30Z</dc:date>
    <item>
      <title>Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796840#M77096</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;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 ?</description>
      <pubDate>Tue, 30 May 2006 10:09:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796840#M77096</guid>
      <dc:creator>Sk Noorul  Hassan</dc:creator>
      <dc:date>2006-05-30T10:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796841#M77097</link>
      <description>You may find the scripting capabilties of kermit are sufficent for this.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 30 May 2006 10:35:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796841#M77097</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2006-05-30T10:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796842#M77098</link>
      <description>Hassan,&lt;BR /&gt;&lt;BR /&gt;I do not know what is hidden behind that menu.&lt;BR /&gt;&lt;BR /&gt;If is is a&lt;BR /&gt;$ @SYS$SYSTEM:SHUTDOWN&lt;BR /&gt;, then it will NOT work.&lt;BR /&gt;&lt;BR /&gt;If, however, it is a&lt;BR /&gt;$ MCR SYSMAN SHUT NODE REBOOT&lt;BR /&gt;then it should work OK.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;</description>
      <pubDate>Tue, 30 May 2006 10:39:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796842#M77098</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2006-05-30T10:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796843#M77099</link>
      <description>Jan/Ian,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 May 2006 10:45:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796843#M77099</guid>
      <dc:creator>Sk Noorul  Hassan</dc:creator>
      <dc:date>2006-05-30T10:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796844#M77100</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;asking the same question again will probably get you the same answers:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=982892" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=982892&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You cannot do 'scripting' with OpenVMS TELNET.&lt;BR /&gt;&lt;BR /&gt;KERMIT is most likely the best tool to do this. Please have a look here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.columbia.edu/kermit/ck80.html" target="_blank"&gt;http://www.columbia.edu/kermit/ck80.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 30 May 2006 11:24:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796844#M77100</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-05-30T11:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796845#M77101</link>
      <description>Hassan,&lt;BR /&gt;&lt;BR /&gt;I concur with the others. C-Kermit is more than likely the best tool for what you are trying to accomplish.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 30 May 2006 15:43:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796845#M77101</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2006-05-30T15:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796846#M77102</link>
      <description>The book (and Kermit) are very good, and Kermit is probably the easiest route to automating the process.&lt;BR /&gt;&lt;BR /&gt;Alternatively, if you have any Perl skills in your organisation, it should be possible to use Perl to script the reboot.&lt;BR /&gt;&lt;BR /&gt;Note that you can cannot generally redistribute Kermit - see the Columbia web-site for details:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.columbia.edu/kermit/licensing.html" target="_blank"&gt;http://www.columbia.edu/kermit/licensing.html&lt;/A&gt;</description>
      <pubDate>Wed, 31 May 2006 06:05:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796846#M77102</guid>
      <dc:creator>Sebastian Bazley</dc:creator>
      <dc:date>2006-05-31T06:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796847#M77103</link>
      <description>If the other box is a *nix you can try nohup.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 31 May 2006 07:00:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796847#M77103</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T07:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796848#M77104</link>
      <description>Correct Jan's statement to :&lt;BR /&gt;mc sysman shut node /auto&lt;BR /&gt;&lt;BR /&gt;And it doesn't work on my system because I kill all users.&lt;BR /&gt;&lt;BR /&gt;Better to go with a detached process.&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 31 May 2006 07:10:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796848#M77104</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-05-31T07:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796849#M77105</link>
      <description>Hassan, is the telnet protocol a hard requirement ? &lt;BR /&gt;I suppose if system has telnet, then it also has rsh or rexec available (or ssh): &lt;BR /&gt;then You simply cann send a single shutdown comand (whatever it is).&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jun 2006 04:50:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796849#M77105</guid>
      <dc:creator>Joseph Huber_1</dc:creator>
      <dc:date>2006-06-01T04:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796850#M77106</link>
      <description>Thanks for your suggestions. As far as KERMIT is concerned, I am  not in a position to load it on my VMS boxes.  &lt;BR /&gt;&lt;BR /&gt;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.</description>
      <pubDate>Thu, 01 Jun 2006 05:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796850#M77106</guid>
      <dc:creator>Sk Noorul  Hassan</dc:creator>
      <dc:date>2006-06-01T05:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796851#M77107</link>
      <description>You can certainly write your own TELNET client program - I know there was an example in the HP internal TIMA database once.&lt;BR /&gt;&lt;BR /&gt;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...&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 01 Jun 2006 05:16:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796851#M77107</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-06-01T05:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796852#M77108</link>
      <description>Yes Volker,&lt;BR /&gt;I am able to create on TNA1: device using TELNET/CREATE_SESSION IP Address [port] [unit]&lt;BR /&gt;&lt;BR /&gt;Now what should me my approach ?</description>
      <pubDate>Thu, 01 Jun 2006 05:28:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796852#M77108</guid>
      <dc:creator>Sk Noorul  Hassan</dc:creator>
      <dc:date>2006-06-01T05:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796853#M77109</link>
      <description>Can you try $ SET HOST/DTE/ESC=D TNAx: ? Do you get to your FEP and the menue ?&lt;BR /&gt;&lt;BR /&gt;Does OPEN/READ/WRITE x TNAx: also work and can you then READ x line and WRITE x command ?&lt;BR /&gt;&lt;BR /&gt;Using KERMIT would be really much easier...&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 01 Jun 2006 05:32:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796853#M77109</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-06-01T05:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796854#M77110</link>
      <description>Volker, I am getting Connected message but not my FEP menu.</description>
      <pubDate>Thu, 01 Jun 2006 06:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796854#M77110</guid>
      <dc:creator>Sk Noorul  Hassan</dc:creator>
      <dc:date>2006-06-01T06:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796855#M77111</link>
      <description>I tried this and it works for me:&lt;BR /&gt;&lt;BR /&gt;TELNET&amp;gt; create_sess vaxvms 23&lt;BR /&gt;%TELNET-S-CRSES, Session created on TNA397&lt;BR /&gt;TELNET&amp;gt;  Exit&lt;BR /&gt;AXPVMS $ set host/dte/esc=d tna397:&lt;BR /&gt;&lt;BR /&gt;%REM-I-TOQUIT, connection established&lt;BR /&gt;&lt;BR /&gt;Press Ctrl/D to quit, Ctrl/@ for command mode&lt;BR /&gt;&lt;BR /&gt;  { {&lt;BR /&gt;&lt;BR /&gt;          Welcome to OpenVMS/VAX Operating System, Version V6.2&lt;BR /&gt;&lt;BR /&gt;Username:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;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 ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 01 Jun 2006 06:09:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796855#M77111</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-06-01T06:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796856#M77112</link>
      <description>Volker,&lt;BR /&gt;&lt;BR /&gt;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 &amp;amp; port 23</description>
      <pubDate>Thu, 01 Jun 2006 06:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796856#M77112</guid>
      <dc:creator>Sk Noorul  Hassan</dc:creator>
      <dc:date>2006-06-01T06:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796857#M77113</link>
      <description>This is what I said:&lt;BR /&gt;&lt;BR /&gt;&lt;QUOTE&gt;&lt;BR /&gt;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&lt;BR /&gt;&lt;/QUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Back to square 1: why can't you use KERMIT ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Thu, 01 Jun 2006 06:49:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796857#M77113</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-06-01T06:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796858#M77114</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;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.   &lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 14 Jun 2006 02:52:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796858#M77114</guid>
      <dc:creator>Sk Noorul  Hassan</dc:creator>
      <dc:date>2006-06-14T02:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Rebooting using telnet from a VMS box</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796859#M77115</link>
      <description>I would check what the menu is exactly doing. If you try to reboot a node via the network, the protocol (IP) may shutdown before the node is crashed and thus the reboot sequence may get aborted.&lt;BR /&gt;&lt;BR /&gt;You should have a way to login on the console port (e.g. console manager or cockpit).&lt;BR /&gt;&lt;BR /&gt;Wim</description>
      <pubDate>Wed, 14 Jun 2006 03:24:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/rebooting-using-telnet-from-a-vms-box/m-p/3796859#M77115</guid>
      <dc:creator>Wim Van den Wyngaert</dc:creator>
      <dc:date>2006-06-14T03:24:12Z</dc:date>
    </item>
  </channel>
</rss>

