Hi, It is easy to group CMS and CP into the same box when you are running a Linux guest. The hcp command will pass CP commands down to the layer below you. The CP command is sent to the host system as if you had entered it from the virtual machine console.
When you first LOGON to your virtual machine, you have the option of starting Linux (which you have done) or starting CMS (you probably had to IPL CMS when you first started setting things up in this virtual machine). When you started Linux, you replaced the CMS image that was running in your virtual machine. Now, while your virtual machine is running Linux, the CP layer is still below you... and is shared by all the other virtual machines who are logged on... but your instance of CMS has been replaced by an instance of Linux. If you IPL CMS while your Linux image is running, CMS will replace Linux and there will NOT be an opportunity for Linux to write buffers to dasd, etc. On the next IPL, your Linux system would entertain you with a scan of your entire minidisk. It's not much fun after the first five times. The only commands in your profile exec that would be useful to you are CP commands. If you need to do something non-disruptive with a CP command you could write a bash script to issue the hcp commands (e.g. "hcp couple 500 to othervm 500"). Regards, Dennis Musselwhite ([EMAIL PROTECTED]) IBM z/VM Development -- CP Network Simulation Tzafrir Cohen <[EMAIL PROTECTED]>@VM.MARIST.EDU> on 03/13/2003 10:59:03 AM Please respond to Linux on 390 Port <[EMAIL PROTECTED]> Sent by: Linux on 390 Port <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] cc: Subject: [LINUX-390] reset a computer Hi Short version of the question: How do do a "hard-reset" to a linux guest from within linux? Note that I don't mean to IPL the boot specific device: I need to re-run profile.exec from cms . I know I can do that using hcp. (I have an environment in which for some users those things are very different) Any pointers to FMs (that answer this) would be appreciated. Thanks in advance -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir/
