Re: detect VMREAD or CPREAD

2008-10-21 Thread Aisik Chang
Thanks for the info.

Ann

On Fri, Oct 17, 2008 at 12:53 PM, Alan Altmark [EMAIL PROTECTED]wrote:

 On Friday, 10/17/2008 at 10:26 EDT, Aisik Chang [EMAIL PROTECTED] wrote:
  Is there way to  monitor  the service machine is in VMREAD or CPREAD.
  The service machine was  in VMREAD, but it was not noticed.

 - Write a program that connects to the *VMEVENT system service.
 - Use SCIF to monitor the virtual machine's console (automated with
 something like PROP)
 - Purchase a systems automation product such as IBM Operations Manager for
 z/VM (which monitors *VMEVENT)

 Alan Altmark
 z/VM Development
 IBM Endicott



Re: detect VMREAD or CPREAD

2008-10-20 Thread Hal Schmitigal
You can use the READCHEK function in Performance Toolkit to get the 
following status conditions of a virtual machine.  Note that your PERFSVM
 
must be in monitor mode, collecting data.  See HELP FCX CBASVMCF.  So 

you could, for example, create a small EXEC to watch a list of critical 

service machines that wakes up every 15 minutes and does READCHEKs for 

them and sends a warning message, or whatever, for any that do not get a 

RC = 57 from READCHEK.

RC   5: Missing argument: User-ID not specified
RC  22: Not authorized for 'LOCATE userid' cmd.
RC  45: User is not logged on
RC   0: User is not disconnected
RC   1: User is in VM or CP read state
RC   4: User is in disabled wait state
RC   6: User set to log off (read state or disabled wait state)
RC   2: User is in CP read state
RC   3: CP function active
RC 145: User has been forced
RC  57: User is disconnected and running

Note also that AUDITOR can watch service virtual machines and is capable 

of detecting a userid in a disabled wait.  However Perfkit gives you more
 
options.

Hal Schmitigal
Perot Systems Corporation


detect VMREAD or CPREAD

2008-10-17 Thread Aisik Chang
Good morning,

Is there way to  monitor  the service machine is in VMREAD or CPREAD.
The service machine was  in VMREAD, but it was not noticed.

Thanks for your help !

Ann


Re: detect VMREAD or CPREAD

2008-10-17 Thread Alan Altmark
On Friday, 10/17/2008 at 10:26 EDT, Aisik Chang [EMAIL PROTECTED] wrote:
 Is there way to  monitor  the service machine is in VMREAD or CPREAD.
 The service machine was  in VMREAD, but it was not noticed. 

- Write a program that connects to the *VMEVENT system service.
- Use SCIF to monitor the virtual machine's console (automated with 
something like PROP)
- Purchase a systems automation product such as IBM Operations Manager for 
z/VM (which monitors *VMEVENT)

Alan Altmark
z/VM Development
IBM Endicott


Re: detect VMREAD or CPREAD

2008-10-17 Thread Aisik Chang
Thank s for the  information.

On Fri, Oct 17, 2008 at 12:53 PM, Alan Altmark [EMAIL PROTECTED]wrote:

 On Friday, 10/17/2008 at 10:26 EDT, Aisik Chang [EMAIL PROTECTED] wrote:
  Is there way to  monitor  the service machine is in VMREAD or CPREAD.
  The service machine was  in VMREAD, but it was not noticed.

 - Write a program that connects to the *VMEVENT system service.
 - Use SCIF to monitor the virtual machine's console (automated with
 something like PROP)
 - Purchase a systems automation product such as IBM Operations Manager for
 z/VM (which monitors *VMEVENT)

 Alan Altmark
 z/VM Development
 IBM Endicott