On 15 Aug 2012, at 12:05, Johnny Billquist wrote:
Not sure that a batch submission is that much different from your network connection though. Neither is really similar to an ssh session, unless I'm missing something.
Long story short, the log pulling is initiated from a Unix box over SSH to a VMS box, which asks the nodes to export the logs and then copy them over.
Once this is complete, the Unix box SCPs the exported logs over.
This way I am sure the log export has finished before initiating the SCP.
Sampsa
I am aware of this - I am using this to pull some logs from a couple of boxes to another, all VMS.
Sampsa
On 15 Aug 2012, at 12:05, Johnny Billquist wrote:
On 2012-08-15 10:57, Sampsa Laine wrote:
Yes, I was aware of the batch submission, but wanted to do it the "ssh way" for a particular reason..
Ok. Note, however, that the solution you came up with now is not really generally usable in DECnet, but is rather VMS-specific. But on the other hand, more or less any solution will be rather specific...
Not sure that a batch submission is that much different from your network connection though. Neither is really similar to an ssh session, unless I'm missing something.
Johnny
Sampsa
On 15 Aug 2012, at 11:55, Johnny Billquist wrote:
On 2012-08-15 08:36, Sampsa Laine wrote:
Guys,
I remember there's a clean / elegant way of telling another node to run a DCL script for me, but have totally forgotten how to do it.
Basically, I have three nodes, A, B and C.
I've set up proxies for user FOO across all of them.
Now I want node A (as user FOO) to be able to tell node B and C to run a script on them, as user FOO.
How do I do this?
I notice that you figured out one way, which is to use network communication to a named task.
Another is to submit a batch job on another node. A third is (I seem to remember) the ability to just request a program to be run on a remote node, but that might some RSX specific thing. I can check in manuals if you want to know more, as my memory is fuzzy on the specifics.
Johnny
On 2012-08-15 10:57, Sampsa Laine wrote:
Yes, I was aware of the batch submission, but wanted to do it the "ssh way" for a particular reason..
Ok. Note, however, that the solution you came up with now is not really generally usable in DECnet, but is rather VMS-specific. But on the other hand, more or less any solution will be rather specific...
Not sure that a batch submission is that much different from your network connection though. Neither is really similar to an ssh session, unless I'm missing something.
Johnny
Sampsa
On 15 Aug 2012, at 11:55, Johnny Billquist wrote:
On 2012-08-15 08:36, Sampsa Laine wrote:
Guys,
I remember there's a clean / elegant way of telling another node to run a DCL script for me, but have totally forgotten how to do it.
Basically, I have three nodes, A, B and C.
I've set up proxies for user FOO across all of them.
Now I want node A (as user FOO) to be able to tell node B and C to run a script on them, as user FOO.
How do I do this?
I notice that you figured out one way, which is to use network communication to a named task.
Another is to submit a batch job on another node. A third is (I seem to remember) the ability to just request a program to be run on a remote node, but that might some RSX specific thing. I can check in manuals if you want to know more, as my memory is fuzzy on the specifics.
Johnny
Yes, I was aware of the batch submission, but wanted to do it the "ssh way" for a particular reason..
Sampsa
On 15 Aug 2012, at 11:55, Johnny Billquist wrote:
On 2012-08-15 08:36, Sampsa Laine wrote:
Guys,
I remember there's a clean / elegant way of telling another node to run a DCL script for me, but have totally forgotten how to do it.
Basically, I have three nodes, A, B and C.
I've set up proxies for user FOO across all of them.
Now I want node A (as user FOO) to be able to tell node B and C to run a script on them, as user FOO.
How do I do this?
I notice that you figured out one way, which is to use network communication to a named task.
Another is to submit a batch job on another node. A third is (I seem to remember) the ability to just request a program to be run on a remote node, but that might some RSX specific thing. I can check in manuals if you want to know more, as my memory is fuzzy on the specifics.
Johnny
On 2012-08-15 08:36, Sampsa Laine wrote:
Guys,
I remember there's a clean / elegant way of telling another node to run a DCL script for me, but have totally forgotten how to do it.
Basically, I have three nodes, A, B and C.
I've set up proxies for user FOO across all of them.
Now I want node A (as user FOO) to be able to tell node B and C to run a script on them, as user FOO.
How do I do this?
I notice that you figured out one way, which is to use network communication to a named task.
Another is to submit a batch job on another node. A third is (I seem to remember) the ability to just request a program to be run on a remote node, but that might some RSX specific thing. I can check in manuals if you want to know more, as my memory is fuzzy on the specifics.
Johnny
And just answered my own question: The permissions on KUHAVX::SYS$MANAGER:TELL.COM were wrong, it needed W:RE.
Sampsa
On 15 Aug 2012, at 10:38, Sampsa Laine wrote:
So I installed TELL.COM from Freeware on both SOLAR5 and KUHAVX in SYS$MANAGER and followed the NCP instructions, but still get this:
SOLAR5$ tell kuhavx dir
Establishing link to remote node KUHAVX::
%DCL-E-OPENIN, error opening KUHAVX::"task=tell" as input
-RMS-E-ACC, ACP file access failed
-SYSTEM-F-NOSUCHOBJ, network object is unknown at remote node
Any ideas gents?
--
Sampsa
On 15 Aug 2012, at 09:36, Sampsa Laine wrote:
Guys,
I remember there's a clean / elegant way of telling another node to run a DCL script for me, but have totally forgotten how to do it.
Basically, I have three nodes, A, B and C.
I've set up proxies for user FOO across all of them.
Now I want node A (as user FOO) to be able to tell node B and C to run a script on them, as user FOO.
How do I do this?
Sampsa
So I installed TELL.COM from Freeware on both SOLAR5 and KUHAVX in SYS$MANAGER and followed the NCP instructions, but still get this:
SOLAR5$ tell kuhavx dir
Establishing link to remote node KUHAVX::
%DCL-E-OPENIN, error opening KUHAVX::"task=tell" as input
-RMS-E-ACC, ACP file access failed
-SYSTEM-F-NOSUCHOBJ, network object is unknown at remote node
Any ideas gents?
--
Sampsa
On 15 Aug 2012, at 09:36, Sampsa Laine wrote:
Guys,
I remember there's a clean / elegant way of telling another node to run a DCL script for me, but have totally forgotten how to do it.
Basically, I have three nodes, A, B and C.
I've set up proxies for user FOO across all of them.
Now I want node A (as user FOO) to be able to tell node B and C to run a script on them, as user FOO.
How do I do this?
Sampsa
Guys,
I remember there's a clean / elegant way of telling another node to run a DCL script for me, but have totally forgotten how to do it.
Basically, I have three nodes, A, B and C.
I've set up proxies for user FOO across all of them.
Now I want node A (as user FOO) to be able to tell node B and C to run a script on them, as user FOO.
How do I do this?
Sampsa
On Tue, Aug 14, 2012 at 3:45 PM, Mark Benson <md.benson at gmail.com> wrote:
On 14 Aug 2012, at 15:51, Gregg Levine wrote:
Hello!
Good enough. I guess I can arrange for the troll invasion to be called
off. They have better things to do. Like covering an area in the UK
instead.
Pah. Trolls. If you think I'll be bothered by them you haven't seen me playing Skyrim, clearly ;)
--
Mark Benson
http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK
Online Resource & Mailing List for DEC Enthusiasts.
Hello!
They aren't going after you. They are going into a different area, One
team did. Something about hunting for clumsy people who use older
methods of transportation.
-----
Gregg C Levine gregg.drwho8 at gmail.com
"This signature fought the Time Wars, time and again."
On 14 Aug 2012, at 15:51, Gregg Levine wrote:
Hello!
Good enough. I guess I can arrange for the troll invasion to be called
off. They have better things to do. Like covering an area in the UK
instead.
Pah. Trolls. If you think I'll be bothered by them you haven't seen me playing Skyrim, clearly ;)
--
Mark Benson
http://DECtec.info
Twitter: @DECtecInfo
HECnet: STAR69::MARK
Online Resource & Mailing List for DEC Enthusiasts.