As Dr. Boyes suggests, using the open source IUCV driver is a very good
way of solving this type of problem. You can find it here:
http://www.sinenomine.net/vm/fsiucv
Another approach that might be applicable here is to have a simple
client, running on the Linux guest, and listening on a specific TCP
port. A server, running on VM, can then connect to the client and send
the client any number of Linux commands to execute. The client executes
the commands and routes the responses back to the server, sort of like
rsh. However, things like encryption of the data sent and authentication
of the server can easily been done with this framework.
I have an example set of code for both the client and the server here,
if anybody's really interested.
Have a good one.
DJ
David Boyes wrote:
Use the IUCV driver Neale developed. There is an application supplied
with it that lets Linux listen to *MSG and either write it to stdout or
syslog. Then you can just TELL the Linux guest, and you do the
automation where you chose to write the output from *MSG.
You also get the ability to connect to any other CP IUCV service, both
read and write.
David Boyes
Sine Nomine Associates
-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of
Romanowski, John (OFT)
Sent: Wednesday, September 06, 2006 9:16 AM
To: [email protected]
Subject: How to signal a Linux guest from z/VM?
From z/VM I'd like to "signal" a SLES 9 guest somehow and have the
guest
respond by running a shell script (CP SIGNAL SHUTDOWN is not what I
want
to do).
I don't want to use SECUSER and CP SEND, my Linux console isn't at a
shell prompt, it's at the Login: prompt.
Does Linux have a facility to process external interrupts sent via
the
CP EXTERNAL command?
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390