Re: Performence Toolkit not working.

2011-08-05 Thread saurabh khandelwal
Thanks every one for replying me .

I have noticed one thing in our setup.

We have two z/VM running and their DASD are in shared mode.In both the
system Performance tool kit user PERFSVM  contain 191 ( Disk) , which part
of same 540RES volume.

I think this might be a reason to cause problem , that two system pointing
to same RES volume

Please correct me, if my understanding is wrong.

Regards
Saurabh

On Fri, Aug 5, 2011 at 9:27 PM, Dave Jones  wrote:

> Hello, Saurabh.
>
> In this case, the CMS HELP command is your friendtry doing a
>
> HELP DMSDKD1307T
>
> From the help text, you will see that the error being reported is from
> the DMSAUD module in the TRKAL function. Return code 8 from the TRKAL
> function means:
>
>  8   No blocks are allocated and user area is unmodified. This is
> generally an indication of one of the following:
>
>   - The number of blocks marked as available in the allocation map
> does not match block counts indicated in the minidisk label
> record.
>
>   - Virtual storage for the disk's allocation map has been
> corrupted.
>
>   - The allocation map on disk has been damaged due to
> pre-existing corruption.
>
> It appears that your 191 minidisk on the PERFSVM machine has been
> corrupted somehow, or that the virtual storage holding the minidisk's
> allocation map has been corrupted.
>
> You might first want to try increasing PERFSVM's virtual storage from
> its default of 64M to something biggerlike 256M.
> Hope this helps.
>
> DJ
>
> On 08/05/2011 10:47 AM, saurabh khandelwal wrote:
> > Hello,
> >   We have zVM 5.4 System. And I am trying to login with PERFSVM
> id,
> > I get below error while connecting.
> >
> > LOGON PERFSVM
> > ENTER PASSWORD  (IT WILL NOT APPEAR WHEN TYPED):
> >
> > 21:38:57 z/VM Version 5 Release 4.0, Service Level 1001 (64-bit),
> > 21:38:57 built on IBM Virtualization Technology
> > 21:38:57 There is no logmsg data
> > 21:38:57 FILES:   NO RDR,   NO PRT,   NO PUN
> > 21:38:57 LOGON AT 21:38:57 PDT THURSDAY 08/04/11
> > 21:38:57 GRAF L0004 LOGON  AS  PERFSVM  USERS = 21FROM 10.159.14.88
> > z/VM V5.4.02010-02-16 14:54
> > DMSACP723I B (201) R/O
> > DMSACP723I D (1CC) R/O
> > DMSACP723I F (29D) R/O
> > 21:38:57 Command complete
> > 21:38:57 Command complete
> > 21:38:57 Command complete
> > 21:38:57 Command complete
> > DMSDKD1307T File system error detected by DMSAUD at address 00F1D940
> (offset
> > 000
> > 007A8):
> > DMSDKD1307T TRKAL request failed with code 8 during an I/O operation
> using
> > virtu
> > al device 191 (mode 'A')
> > 21:38:57 HCPGIR450W CP entered; disabled wait PSW 000A 00F082CA
> >
> > To isolate this, I tried checking user directory for PERFSVM for 191 mini
> > disk.
> >
> > USER PERFSVM  PERFSVM 64M 512M ABDEG
> >  MACHINE ESA
> >  XAUTOLOG AUTOLOG1
> >  ACCOUNT 
> >  NAMESAVE MONDCSS
> >  IUCV *MONITOR MSGLIMIT 255
> >  IUCV *IDENT FCXRES00 GLOBAL
> >  IUCV *IDENT FCXSYSTM GLOBAL
> >  IUCV ALLOW
> >  SHARE ABS 3%
> >  IPL CMS PARM AUTOCR
> >  OPTION QUICKDSP DIAG88
> >  CONSOLE 0009 3215
> >  SPOOL 000C 2540 READER *
> >  SPOOL 000D 2540 PUNCH A
> >  SPOOL 000E 1403 A
> >  LINK MAINT 190 190 RR
> >  LINK MAINT 19D 19D RR
> >  LINK MAINT 19E 19E RR
> >  LINK 5VMPTK40 200 200 RR
> >  LINK 5VMPTK40 201 201 RR
> > LINK 5VMPTK40 1CC 1CC RR
> > LINK 5VMPTK40 29D 29D RR
> > MDISK 191 3390 6250 120 540RES  MR READ WRITEMULTIPLE
> > MDISK 195 3390 6370 060 540RES  MR READ WRITEMULTIPLE
> >
> > Also I logged using MAINT and enabled this product again .
> > *set product prodid 5vmptk40 state enabled
> > *
> > But, still I am getting same error for evice 191 (mode 'A').
> >
> > Can you help me resolve this isse, so tht I can run performence took lit
> >
>
> --
> Dave Jones
> V/Soft Software
> www.vsoft-software.com
> Houston, TX
> 281.578.7544
>



-- 
Thanks & Regards
Saurabh Khandelwal


Re: XEDIT Macro and Command Line Input

2011-08-05 Thread Les Koehler
One idea (from my memory): Use EXTRACT /CURSOR/ to see if 
the cursor is past the first character of the cmdline. If so 
then READ CMDLINE should put the cmdline data on the stack 
so you can PARSE PULL it.


When in doubt about how something like READ actually works, 
use the HELP command.


A lot of the XEDIT details have faded from my memory, so you 
might have to experiment or wait for a post from a more 
active XEDIT user. These days I pretty much use it to 
compare THE on the pc against it.


Les

Bob wrote:

I'm struggling trying to write an XEDIT macro and hoping someone can help
 me 
over a tiny stumbling block.


I want a pfkey set to a macro.  ie. SET PF6 BEFORE MACRO SCROLL

And I want to be able to accept an *optional* command line parameter.

If there is always a command line parameter I seem to be able to use
"READ CMDLINE" to get it.  However, this does not seem to work 
when there is no command line parameter at all.  I just get hung

at the "READ CMDLINE" until I hit . Also, when there is a
parameter I not only what to read it, but I want to "consume" it so that
it is no longer on the command line after my macro.

Is there a way to do this?

Thanks!
Bob 



Re: SSL Configuration on z/VM 6.1

2011-08-05 Thread Alan Altmark
To avoid confusion, "implicit" means NON-negotiated SSL, at least as far as VM 
documentation is concerned.

Sorry for not being clear on this.


Regards,

Alan Altmark
IBM Lab Services

-
Sent from my BlackBerry Handheld.


- Original Message -
From: Betsy Jeffery [betsy_jeff...@mgic.com]
Sent: 08/05/2011 03:03 PM EST
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: [IBMVM] SSL Configuration on z/VM 6.1



It is finally working.  I discovered that the TLSLABEL and SECURECONNECTI=

ON
INTERNALCLIENTPARMS are for implict (dynamic) connections.  Taking these =


out corrected my problem.
Thanks to all.


Re: DASD utilization question

2011-08-05 Thread Ticona, Luis
This looks good to me. Unfortunately we cannot have this product yet.
I was trying to see how much of dasd is being used by the product that
was installed under Suse Linux.

Thank you;

Luis

-Original Message-
From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On
Behalf Of Barton Robinson
Sent: Thursday, August 04, 2011 10:11 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: DASD utilization question

would you be looking for something from a really good performance
monitor:

  Screen: ESAHST2  Velocity Software - VSIVM4 ESAMON 3.808 08/04
  1 of 1  LINUX HOST Storage Analysis Report  NODE R* LIMIT 500
   <-Utilization->  <-Storage-->
 Pct  Alloc 

  Time Server   Index  Size  Used Full  Errors  Units Description 

    - - -   --  - 
  07:07:00 RMTLINUX33   465   291 62.6   0   4096 /opt 

   329361 65.7   0   4096 / 

   31   372   334 89.9   0   1024 /Linux-s390 

72323  100   0   1024 Cached memory 

6   250 1  0.5   0   1024 Memory buffers


3   250   220 88.2   0   1024 Virtual memory


1   250   220 88.2   0   1024 Physical 
memory
   RH5Z3161 4 10904  2966 27.2   0   4096 / 

3  409551  1.3   0   1024 Swap Space 

2   497   493 99.1   0   1024 Real Memory 

1   497   126 25.3   0   1024 Memory Buffers


   RH5Z2161 4 10904  2966 27.2   0   4096 / 

3  409551  1.3   0   1024 Swap Space 

2   497   493 99.1   0   1024 Real Memory 

1   497   126 25.3   0   1024 Memory Buffers


   RH5Z161  4 10904  2966 27.2   0   4096 / 

3  409551  1.3   0   1024 Swap Space 

2   497   493 99.1   0   1024 Real Memory 

1   497   126 25.3   0   1024 Memory Buffers




Ticona, Luis wrote:
> Is there any tool  that will allow me to display zVM DASD utilization.

> 
> I am trying to get similar to the below information   but from a
zLINUX 
> server running as a guest under zVM 5.4.
> 
>  
> 
> q 
> disk

> 
> 
> LABEL  VDEV M  STAT   CYL TYPE BLKSZ   FILES  BLKS USED-(%) BLKS LEFT

> BLK TOTAL
> 
> MNT191 191  A   R/W   175 3390 4096  254   8934-28  
> 22566  31500
> 
> MNT5E5 5E5  B   R/W 9 3390 4096  131   1290-80
> 330   1620
> 
> MNT2CC 2CC  C   R/W 5 3390 4096   60407-45
> 493900
> 
> MNT51D 51D  D   R/W26 3390 4096  306   1575-34   
> 3105   4680
> 
> MNT193 193  H   R/W   167 3390 4096 1093  21035-70   
> 9025  30060
> 
> MNT190 190  S   R/O   100 3390 4096  691  14921-83   
> 3079  18000
> 
> MNT19E 19E  Y/S R/O   250 3390 4096 1021  28225-63  
> 16775  45000
> 
> Ready; T=0.01/0.01 20:19:56  
> 
>  
> 
>  
> 
> I go into one of our zLinux servers running under zVM 5.4 and did the 
> same display command and the only thing I received is just
> 
> Information about their label, vdev, mode. The stat column information

> was only OS. Didn't get info for the files, used-(%), blks left and
blk 
> total columns.
> 
> The volumes in this server are 3390-27.
> 
>  
> 
> The last thing I will attempt to do is dump these dasd to tape using 
> INNOVATION FDRABR and then get the information about the tracks being 
> dumped from the small report after the JCL job output is completed.
> 
>  
> 
> Thank you;
> 
> 
> 
>  
> 
> *Luis Ticona*
> 
> Management Information Systems Division
> 
> 1 Police Plaza
> 
> New York, NY 10038
> 
>  
> 
> ltic...@nypd.org or 646-610-5304
> 
>  
> 
> cid:image001.gif@01C911AB.7C344550
> 
>  
> 


Re: SSL Configuration on z/VM 6.1

2011-08-05 Thread Betsy Jeffery
It is finally working.  I discovered that the TLSLABEL and SECURECONNECTI
ON 
INTERNALCLIENTPARMS are for implict (dynamic) connections.  Taking these 

out corrected my problem.
Thanks to all.


XEDIT Macro and Command Line Input

2011-08-05 Thread Bob
I'm struggling trying to write an XEDIT macro and hoping someone can help
 me 
over a tiny stumbling block.

I want a pfkey set to a macro.  ie. SET PF6 BEFORE MACRO SCROLL

And I want to be able to accept an *optional* command line parameter.

If there is always a command line parameter I seem to be able to use
"READ CMDLINE" to get it.  However, this does not seem to work 
when there is no command line parameter at all.  I just get hung
at the "READ CMDLINE" until I hit . Also, when there is a
parameter I not only what to read it, but I want to "consume" it so that
it is no longer on the command line after my macro.

Is there a way to do this?

Thanks!
Bob


Re: Q STOR command results

2011-08-05 Thread Martin, Terry R. (CMS/CTR) (CTR)
Bruce,

Does the RESERVE work the same for z/OS? 

Thank You,

Terry Martin
Lockheed Martin
CMS - CITIC
3300 Lord Baltimore Drive, Suite 200, 21244  
Engineering Computing
Mainframe Support
Cell - 443 632-4191


-Original Message-
From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf 
Of Bruce Hayden
Sent: Friday, August 05, 2011 11:39 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Q STOR command results

If you want to allow any LPAR to "grab" all of the unused memory, then
you can set the reserve memory to the available unused memory in all
LPARs.  What is actually available will show up as STANDBY storage in
z/VM and the rest as RESERVED.  Note that the amount of STANDBY
displayed may be the same on all LPARs, because the same unused
storage "pool" is available to all the LPARs.

On Fri, Aug 5, 2011 at 9:39 AM, Martin, Terry R. (CMS/CTR) (CTR)
 wrote:
> Alan,
>
> When you add up all of the RESERVE memory for all LPARS does it need to add 
> up to or below the amount of available unused memory or can each LPAR be 
> defined the max amount of memory that is available and unused?
>
> Thank You,
>
> Terry Martin
> Lockheed Martin
> CMS - CITIC
> 3300 Lord Baltimore Drive, Suite 200, 21244
> Engineering Computing
> Mainframe Support
> Cell - 443 632-4191
>
>
>
> -Original Message-
> From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On 
> Behalf Of Alan Altmark
> Sent: Thursday, August 04, 2011 10:20 AM
> To: IBMVM@LISTSERV.UARK.EDU
> Subject: Re: Q STOR command results
>
> On Thursday, 08/04/2011 at 10:06 EDT, Richard Baek 
> wrote:
>> We're trying to add additional storage to some of our zVM LPARs without
>> IPLing the system.
> :
>> Anyone have any idea what we might be doing
>> wrong ?
>
> You need to change the LPAR image profile to have some amount of storage
> defined as "reserved".  If you don't do that, the LPAR can't see the
> unused memory on the box.   So make that change, then repeat the
> deactivation/reactivation sequence.  Note that you can set the "Reserved"
> value to a maximum value, even if all that memory isn't on the box.  Then
> you can specify how much of that "reserved" memory CP will bring online.
>
> Alan Altmark
>
> Senior Managing z/VM and Linux Consultant
> IBM System Lab Services and Training
> ibm.com/systems/services/labservices
> office: 607.429.3323
> mobile; 607.321.7556
> alan_altm...@us.ibm.com
> IBM Endicott
>



-- 
Bruce Hayden
z/VM and Linux on System z ATS
IBM, Endicott, NY


Re: CMS/PDF

2011-08-05 Thread Alan Altmark
PDF is part of ISPF, which is a separate product.  It's not part of the base VM 
installation.


Regards,

Alan Altmark
IBM Lab Services

-
Sent from my BlackBerry Handheld.


- Original Message -
From: clifford jackson [cliffordjackson...@msn.com]
Sent: 08/05/2011 12:27 PM AST
To: IBMVM@LISTSERV.UARK.EDU
Subject: [IBMVM] CMS/PDF




I seem to remember a CMS/PDF function under z/VM if so where can I find it..




Cliff Jackson
Senior Systems Programmer
703-607-1393  

Re: CMS/PDF

2011-08-05 Thread clifford jackson

Yes, I was looking for the TXT2PDF function sorry for the vagueness
 



Date: Fri, 5 Aug 2011 10:32:02 -0600
From: rogerbo...@gmail.com
Subject: Re: CMS/PDF
To: IBMVM@LISTSERV.UARK.EDU

On my z/VM system, the PDF command brings up the same main menu as ISPF.  Is 
that what you meant? 
--Roger 


On Fri, Aug 5, 2011 at 10:27 AM, clifford jackson  
wrote:



I seem to remember a CMS/PDF function under z/VM if so where can I find it..
 
 
 
 
Cliff Jackson
Senior Systems Programmer
703-607-1393 

  

Re: CMS/PDF

2011-08-05 Thread Roger Bolan
On my z/VM system, the PDF command brings up the same main menu as ISPF.  Is
that what you meant?
--Roger

On Fri, Aug 5, 2011 at 10:27 AM, clifford jackson <
cliffordjackson...@msn.com> wrote:

>  I seem to remember a CMS/PDF function under z/VM if so where can I find
> it..
>
>
>
>
> Cliff Jackson
> Senior Systems Programmer
> 703-607-1393
>


Re: CMS/PDF

2011-08-05 Thread Frank M. Ramaekers
Are you referring to:  http://www.homerow.net/rexx/txt2pdf/

 

 

 

Frank M. Ramaekers Jr.

 

 



From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On
Behalf Of clifford jackson
Sent: Friday, August 05, 2011 11:27 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: CMS/PDF

 

I seem to remember a CMS/PDF function under z/VM if so where can I find
it..
 
 
 
 
Cliff Jackson
Senior Systems Programmer
703-607-1393 


_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.


CMS/PDF

2011-08-05 Thread clifford jackson

I seem to remember a CMS/PDF function under z/VM if so where can I find it..
 
 
 
 
Cliff Jackson
Senior Systems Programmer
703-607-1393  

Re: Performence Toolkit not working.

2011-08-05 Thread Doug
Possibly your A disk is full

Sent from my iPhone

On Aug 5, 2011, at 11:47, saurabh khandelwal  
wrote:

> 
> Hello,
>   We have zVM 5.4 System. And I am trying to login with PERFSVM id, I 
> get below error while connecting.
>
> LOGON PERFSVM
> ENTER PASSWORD  (IT WILL NOT APPEAR WHEN TYPED):
> 
> 21:38:57 z/VM Version 5 Release 4.0, Service Level 1001 (64-bit),
> 21:38:57 built on IBM Virtualization Technology
> 21:38:57 There is no logmsg data
> 21:38:57 FILES:   NO RDR,   NO PRT,   NO PUN
> 21:38:57 LOGON AT 21:38:57 PDT THURSDAY 08/04/11
> 21:38:57 GRAF L0004 LOGON  AS  PERFSVM  USERS = 21FROM 10.159.14.88
> z/VM V5.4.02010-02-16 14:54
> DMSACP723I B (201) R/O
> DMSACP723I D (1CC) R/O
> DMSACP723I F (29D) R/O
> 21:38:57 Command complete
> 21:38:57 Command complete
> 21:38:57 Command complete
> 21:38:57 Command complete
> DMSDKD1307T File system error detected by DMSAUD at address 00F1D940 (offset 
> 000
> 007A8):
> DMSDKD1307T TRKAL request failed with code 8 during an I/O operation using 
> virtu
> al device 191 (mode 'A')
> 21:38:57 HCPGIR450W CP entered; disabled wait PSW 000A 00F082CA
> 
> To isolate this, I tried checking user directory for PERFSVM for 191 mini 
> disk.
> 
> USER PERFSVM  PERFSVM 64M 512M ABDEG
>  MACHINE ESA
>  XAUTOLOG AUTOLOG1
>  ACCOUNT 
>  NAMESAVE MONDCSS
>  IUCV *MONITOR MSGLIMIT 255
>  IUCV *IDENT FCXRES00 GLOBAL
>  IUCV *IDENT FCXSYSTM GLOBAL
>  IUCV ALLOW
>  SHARE ABS 3%
>  IPL CMS PARM AUTOCR
>  OPTION QUICKDSP DIAG88
>  CONSOLE 0009 3215
>  SPOOL 000C 2540 READER *
>  SPOOL 000D 2540 PUNCH A
>  SPOOL 000E 1403 A
>  LINK MAINT 190 190 RR
>  LINK MAINT 19D 19D RR
>  LINK MAINT 19E 19E RR
>  LINK 5VMPTK40 200 200 RR
>  LINK 5VMPTK40 201 201 RR
> LINK 5VMPTK40 1CC 1CC RR
> LINK 5VMPTK40 29D 29D RR
> MDISK 191 3390 6250 120 540RES  MR READ WRITEMULTIPLE
> MDISK 195 3390 6370 060 540RES  MR READ WRITEMULTIPLE
> 
> Also I logged using MAINT and enabled this product again .
> set product prodid 5vmptk40 state enabled
> 
> But, still I am getting same error for evice 191 (mode 'A').
> 
> Can you help me resolve this isse, so tht I can run performence took lit
>   
> -- 
> Thanks & Regards
> Saurabh Khandelwal


Re: Performence Toolkit not working.

2011-08-05 Thread Jonathan Quay
Use the CMS file system diagnosis sample tool MDCHECK which can be found on
either MAINT's 193 or 3B2 disk.


Re: Performence Toolkit not working.

2011-08-05 Thread Dave Jones
Hello, Saurabh.

In this case, the CMS HELP command is your friendtry doing a

HELP DMSDKD1307T

>From the help text, you will see that the error being reported is from
the DMSAUD module in the TRKAL function. Return code 8 from the TRKAL
function means:

 8   No blocks are allocated and user area is unmodified. This is
 generally an indication of one of the following:

   - The number of blocks marked as available in the allocation map
 does not match block counts indicated in the minidisk label
 record.

   - Virtual storage for the disk's allocation map has been
 corrupted.

   - The allocation map on disk has been damaged due to
 pre-existing corruption.

It appears that your 191 minidisk on the PERFSVM machine has been
corrupted somehow, or that the virtual storage holding the minidisk's
allocation map has been corrupted.

You might first want to try increasing PERFSVM's virtual storage from
its default of 64M to something biggerlike 256M.
Hope this helps.

DJ

On 08/05/2011 10:47 AM, saurabh khandelwal wrote:
> Hello,
>   We have zVM 5.4 System. And I am trying to login with PERFSVM id,
> I get below error while connecting.
> 
> LOGON PERFSVM
> ENTER PASSWORD  (IT WILL NOT APPEAR WHEN TYPED):
> 
> 21:38:57 z/VM Version 5 Release 4.0, Service Level 1001 (64-bit),
> 21:38:57 built on IBM Virtualization Technology
> 21:38:57 There is no logmsg data
> 21:38:57 FILES:   NO RDR,   NO PRT,   NO PUN
> 21:38:57 LOGON AT 21:38:57 PDT THURSDAY 08/04/11
> 21:38:57 GRAF L0004 LOGON  AS  PERFSVM  USERS = 21FROM 10.159.14.88
> z/VM V5.4.02010-02-16 14:54
> DMSACP723I B (201) R/O
> DMSACP723I D (1CC) R/O
> DMSACP723I F (29D) R/O
> 21:38:57 Command complete
> 21:38:57 Command complete
> 21:38:57 Command complete
> 21:38:57 Command complete
> DMSDKD1307T File system error detected by DMSAUD at address 00F1D940 (offset
> 000
> 007A8):
> DMSDKD1307T TRKAL request failed with code 8 during an I/O operation using
> virtu
> al device 191 (mode 'A')
> 21:38:57 HCPGIR450W CP entered; disabled wait PSW 000A 00F082CA
> 
> To isolate this, I tried checking user directory for PERFSVM for 191 mini
> disk.
> 
> USER PERFSVM  PERFSVM 64M 512M ABDEG
>  MACHINE ESA
>  XAUTOLOG AUTOLOG1
>  ACCOUNT 
>  NAMESAVE MONDCSS
>  IUCV *MONITOR MSGLIMIT 255
>  IUCV *IDENT FCXRES00 GLOBAL
>  IUCV *IDENT FCXSYSTM GLOBAL
>  IUCV ALLOW
>  SHARE ABS 3%
>  IPL CMS PARM AUTOCR
>  OPTION QUICKDSP DIAG88
>  CONSOLE 0009 3215
>  SPOOL 000C 2540 READER *
>  SPOOL 000D 2540 PUNCH A
>  SPOOL 000E 1403 A
>  LINK MAINT 190 190 RR
>  LINK MAINT 19D 19D RR
>  LINK MAINT 19E 19E RR
>  LINK 5VMPTK40 200 200 RR
>  LINK 5VMPTK40 201 201 RR
> LINK 5VMPTK40 1CC 1CC RR
> LINK 5VMPTK40 29D 29D RR
> MDISK 191 3390 6250 120 540RES  MR READ WRITEMULTIPLE
> MDISK 195 3390 6370 060 540RES  MR READ WRITEMULTIPLE
> 
> Also I logged using MAINT and enabled this product again .
> *set product prodid 5vmptk40 state enabled
> *
> But, still I am getting same error for evice 191 (mode 'A').
> 
> Can you help me resolve this isse, so tht I can run performence took lit
> 

-- 
Dave Jones
V/Soft Software
www.vsoft-software.com
Houston, TX
281.578.7544


Re: Performence Toolkit not working.

2011-08-05 Thread Frank M. Ramaekers
You could check 191 disk readability.   Define a TDISK of the same size
DDR 191 to it...see if a problem occurs.

At a CMS level (format the TDISK for CMS) then copy all of the files
from the 191 to this TDISK to see if CMS can read them. 

 

 

Frank M. Ramaekers Jr.

 

 



From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On
Behalf Of saurabh khandelwal
Sent: Friday, August 05, 2011 10:47 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Performence Toolkit not working.

 


Hello,
  We have zVM 5.4 System. And I am trying to login with PERFSVM
id, I get below error while connecting.
   
LOGON PERFSVM
ENTER PASSWORD  (IT WILL NOT APPEAR WHEN TYPED):

21:38:57 z/VM Version 5 Release 4.0, Service Level 1001 (64-bit),
21:38:57 built on IBM Virtualization Technology
21:38:57 There is no logmsg data
21:38:57 FILES:   NO RDR,   NO PRT,   NO PUN
21:38:57 LOGON AT 21:38:57 PDT THURSDAY 08/04/11
21:38:57 GRAF L0004 LOGON  AS  PERFSVM  USERS = 21FROM 10.159.14.88
z/VM V5.4.02010-02-16 14:54
DMSACP723I B (201) R/O
DMSACP723I D (1CC) R/O
DMSACP723I F (29D) R/O
21:38:57 Command complete
21:38:57 Command complete
21:38:57 Command complete
21:38:57 Command complete
DMSDKD1307T File system error detected by DMSAUD at address 00F1D940
(offset 000
007A8):
DMSDKD1307T TRKAL request failed with code 8 during an I/O operation
using virtu
al device 191 (mode 'A')
21:38:57 HCPGIR450W CP entered; disabled wait PSW 000A 00F082CA

To isolate this, I tried checking user directory for PERFSVM for 191
mini disk.

USER PERFSVM  PERFSVM 64M 512M ABDEG
 MACHINE ESA
 XAUTOLOG AUTOLOG1
 ACCOUNT 
 NAMESAVE MONDCSS
 IUCV *MONITOR MSGLIMIT 255
 IUCV *IDENT FCXRES00 GLOBAL
 IUCV *IDENT FCXSYSTM GLOBAL
 IUCV ALLOW
 SHARE ABS 3%
 IPL CMS PARM AUTOCR
 OPTION QUICKDSP DIAG88
 CONSOLE 0009 3215
 SPOOL 000C 2540 READER *
 SPOOL 000D 2540 PUNCH A
 SPOOL 000E 1403 A
 LINK MAINT 190 190 RR
 LINK MAINT 19D 19D RR
 LINK MAINT 19E 19E RR
 LINK 5VMPTK40 200 200 RR
 LINK 5VMPTK40 201 201 RR
LINK 5VMPTK40 1CC 1CC RR
LINK 5VMPTK40 29D 29D RR
MDISK 191 3390 6250 120 540RES  MR READ WRITEMULTIPLE
MDISK 195 3390 6370 060 540RES  MR READ WRITEMULTIPLE

Also I logged using MAINT and enabled this product again .
set product prodid 5vmptk40 state enabled

But, still I am getting same error for evice 191 (mode 'A').

Can you help me resolve this isse, so tht I can run performence took lit
  
-- 
Thanks & Regards
Saurabh Khandelwal


_
This message contains information which is privileged and confidential and is 
solely for the use of the
intended recipient. If you are not the intended recipient, be aware that any 
review, disclosure,
copying, distribution, or use of the contents of this message is strictly 
prohibited. If you have
received this in error, please destroy it immediately and notify us at 
privacy...@ailife.com.


Re: Performence Toolkit not working.

2011-08-05 Thread Scott Rohling
Looks like a corrupted disk..   if you have a backup - I would format the
disk and restore it..

If not - you can try and copy as many files off of it as you can (you will
likely be able to copy some files, but one or more will cause the system
file error to occur).

Corruption can be caused by things like two users linking the disk RW - or
overlapping disks..

Scott Rohling

On Fri, Aug 5, 2011 at 9:47 AM, saurabh khandelwal <
sourabhkhandelwal...@gmail.com> wrote:

>
> Hello,
>   We have zVM 5.4 System. And I am trying to login with PERFSVM id,
> I get below error while connecting.
>
> LOGON PERFSVM
> ENTER PASSWORD  (IT WILL NOT APPEAR WHEN TYPED):
>
> 21:38:57 z/VM Version 5 Release 4.0, Service Level 1001 (64-bit),
> 21:38:57 built on IBM Virtualization Technology
> 21:38:57 There is no logmsg data
> 21:38:57 FILES:   NO RDR,   NO PRT,   NO PUN
> 21:38:57 LOGON AT 21:38:57 PDT THURSDAY 08/04/11
> 21:38:57 GRAF L0004 LOGON  AS  PERFSVM  USERS = 21FROM 10.159.14.88
> z/VM V5.4.02010-02-16 14:54
> DMSACP723I B (201) R/O
> DMSACP723I D (1CC) R/O
> DMSACP723I F (29D) R/O
> 21:38:57 Command complete
> 21:38:57 Command complete
> 21:38:57 Command complete
> 21:38:57 Command complete
> DMSDKD1307T File system error detected by DMSAUD at address 00F1D940
> (offset 000
> 007A8):
> DMSDKD1307T TRKAL request failed with code 8 during an I/O operation using
> virtu
> al device 191 (mode 'A')
> 21:38:57 HCPGIR450W CP entered; disabled wait PSW 000A 00F082CA
>
> To isolate this, I tried checking user directory for PERFSVM for 191 mini
> disk.
>
> USER PERFSVM  PERFSVM 64M 512M ABDEG
>  MACHINE ESA
>  XAUTOLOG AUTOLOG1
>  ACCOUNT 
>  NAMESAVE MONDCSS
>  IUCV *MONITOR MSGLIMIT 255
>  IUCV *IDENT FCXRES00 GLOBAL
>  IUCV *IDENT FCXSYSTM GLOBAL
>  IUCV ALLOW
>  SHARE ABS 3%
>  IPL CMS PARM AUTOCR
>  OPTION QUICKDSP DIAG88
>  CONSOLE 0009 3215
>  SPOOL 000C 2540 READER *
>  SPOOL 000D 2540 PUNCH A
>  SPOOL 000E 1403 A
>  LINK MAINT 190 190 RR
>  LINK MAINT 19D 19D RR
>  LINK MAINT 19E 19E RR
>  LINK 5VMPTK40 200 200 RR
>  LINK 5VMPTK40 201 201 RR
> LINK 5VMPTK40 1CC 1CC RR
> LINK 5VMPTK40 29D 29D RR
> MDISK 191 3390 6250 120 540RES  MR READ WRITEMULTIPLE
> MDISK 195 3390 6370 060 540RES  MR READ WRITEMULTIPLE
>
> Also I logged using MAINT and enabled this product again .
> *set product prodid 5vmptk40 state enabled
> *
> But, still I am getting same error for evice 191 (mode 'A').
>
> Can you help me resolve this isse, so tht I can run performence took lit
>
> --
> Thanks & Regards
> Saurabh Khandelwal
>


Performence Toolkit not working.

2011-08-05 Thread saurabh khandelwal
Hello,
  We have zVM 5.4 System. And I am trying to login with PERFSVM id,
I get below error while connecting.

LOGON PERFSVM
ENTER PASSWORD  (IT WILL NOT APPEAR WHEN TYPED):

21:38:57 z/VM Version 5 Release 4.0, Service Level 1001 (64-bit),
21:38:57 built on IBM Virtualization Technology
21:38:57 There is no logmsg data
21:38:57 FILES:   NO RDR,   NO PRT,   NO PUN
21:38:57 LOGON AT 21:38:57 PDT THURSDAY 08/04/11
21:38:57 GRAF L0004 LOGON  AS  PERFSVM  USERS = 21FROM 10.159.14.88
z/VM V5.4.02010-02-16 14:54
DMSACP723I B (201) R/O
DMSACP723I D (1CC) R/O
DMSACP723I F (29D) R/O
21:38:57 Command complete
21:38:57 Command complete
21:38:57 Command complete
21:38:57 Command complete
DMSDKD1307T File system error detected by DMSAUD at address 00F1D940 (offset
000
007A8):
DMSDKD1307T TRKAL request failed with code 8 during an I/O operation using
virtu
al device 191 (mode 'A')
21:38:57 HCPGIR450W CP entered; disabled wait PSW 000A 00F082CA

To isolate this, I tried checking user directory for PERFSVM for 191 mini
disk.

USER PERFSVM  PERFSVM 64M 512M ABDEG
 MACHINE ESA
 XAUTOLOG AUTOLOG1
 ACCOUNT 
 NAMESAVE MONDCSS
 IUCV *MONITOR MSGLIMIT 255
 IUCV *IDENT FCXRES00 GLOBAL
 IUCV *IDENT FCXSYSTM GLOBAL
 IUCV ALLOW
 SHARE ABS 3%
 IPL CMS PARM AUTOCR
 OPTION QUICKDSP DIAG88
 CONSOLE 0009 3215
 SPOOL 000C 2540 READER *
 SPOOL 000D 2540 PUNCH A
 SPOOL 000E 1403 A
 LINK MAINT 190 190 RR
 LINK MAINT 19D 19D RR
 LINK MAINT 19E 19E RR
 LINK 5VMPTK40 200 200 RR
 LINK 5VMPTK40 201 201 RR
LINK 5VMPTK40 1CC 1CC RR
LINK 5VMPTK40 29D 29D RR
MDISK 191 3390 6250 120 540RES  MR READ WRITEMULTIPLE
MDISK 195 3390 6370 060 540RES  MR READ WRITEMULTIPLE

Also I logged using MAINT and enabled this product again .
*set product prodid 5vmptk40 state enabled
*
But, still I am getting same error for evice 191 (mode 'A').

Can you help me resolve this isse, so tht I can run performence took lit

-- 
Thanks & Regards
Saurabh Khandelwal


Re: HCPDPM1280E with STK 9840C Tape Drive

2011-08-05 Thread Mike Rydberg
Jeff,

That's good news. The behavior you are seeing with writes working only beyond 
the VOL1/HDR1/HDR2  label is likely due to the 9840C volser std label 
protection feature being enabled in the drive setup.

Regards,

Mike
Brocade

From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf 
Of Jeff Gribbin
Sent: Friday, August 05, 2011 9:01 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: HCPDPM1280E with STK 9840C Tape Drive

Success (of a kind):

Rewind the tape
TAPE MODESET ( 3590C
TAPE WVOL1 volser
REW 181
TAPE FSF



If I attempt to write anything other than the volume label (using TAPE WVOL1) 
at the beginning of the tape then the write fails.

My tape operator has now gone home for the weekend, so further experimentation 
will have to keep until Monday. My plan is to try to repeat the above but with 
'TAPE MODESET ( 3590B' - just to see what happens.

Also, hopefully, we'll be able to get firmware levels checked later in the week.

Teatime methinks!
Have a good weekend folks.

Jeff


Re: Q STOR command results

2011-08-05 Thread Bruce Hayden
If you want to allow any LPAR to "grab" all of the unused memory, then
you can set the reserve memory to the available unused memory in all
LPARs.  What is actually available will show up as STANDBY storage in
z/VM and the rest as RESERVED.  Note that the amount of STANDBY
displayed may be the same on all LPARs, because the same unused
storage "pool" is available to all the LPARs.

On Fri, Aug 5, 2011 at 9:39 AM, Martin, Terry R. (CMS/CTR) (CTR)
 wrote:
> Alan,
>
> When you add up all of the RESERVE memory for all LPARS does it need to add 
> up to or below the amount of available unused memory or can each LPAR be 
> defined the max amount of memory that is available and unused?
>
> Thank You,
>
> Terry Martin
> Lockheed Martin
> CMS - CITIC
> 3300 Lord Baltimore Drive, Suite 200, 21244
> Engineering Computing
> Mainframe Support
> Cell - 443 632-4191
>
>
>
> -Original Message-
> From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On 
> Behalf Of Alan Altmark
> Sent: Thursday, August 04, 2011 10:20 AM
> To: IBMVM@LISTSERV.UARK.EDU
> Subject: Re: Q STOR command results
>
> On Thursday, 08/04/2011 at 10:06 EDT, Richard Baek 
> wrote:
>> We're trying to add additional storage to some of our zVM LPARs without
>> IPLing the system.
> :
>> Anyone have any idea what we might be doing
>> wrong ?
>
> You need to change the LPAR image profile to have some amount of storage
> defined as "reserved".  If you don't do that, the LPAR can't see the
> unused memory on the box.   So make that change, then repeat the
> deactivation/reactivation sequence.  Note that you can set the "Reserved"
> value to a maximum value, even if all that memory isn't on the box.  Then
> you can specify how much of that "reserved" memory CP will bring online.
>
> Alan Altmark
>
> Senior Managing z/VM and Linux Consultant
> IBM System Lab Services and Training
> ibm.com/systems/services/labservices
> office: 607.429.3323
> mobile; 607.321.7556
> alan_altm...@us.ibm.com
> IBM Endicott
>



-- 
Bruce Hayden
z/VM and Linux on System z ATS
IBM, Endicott, NY


Re: SSL Configuration on z/VM 6.1

2011-08-05 Thread Betsy Jeffery
I do Alan:
INTERNALCLIENTPARMS
  PORT 992
  SECURECONNECTION REQUIRED
  INACTIVE 18000
  TLSLABEL zvmcert
ENDINTERNALCLIENTPARMS

(I removed port 23)

I'm running into the same error.  I turned on the tracing and see that th
e 
TLSLABEL is getting translated to upper case.  Would this be the problem?



Re: RESERVED field on the HMC for IFLs on LPAR

2011-08-05 Thread Martin, Terry R. (CMS/CTR) (CTR)
Malcolm,

I assume that while the IFLs are in Standby the Hypervisor is not including 
them in his calculations when scheduling the Processors correct so they are not 
considered in terms of overhead correct? 



Thank You,

Terry Martin
Lockheed Martin
CMS - CITIC
3300 Lord Baltimore Drive, Suite 200, 21244  
Engineering Computing
Mainframe Support
Cell - 443 632-4191



-Original Message-
From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf 
Of Malcolm Beattie
Sent: Friday, August 05, 2011 9:37 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: RESERVED field on the HMC for IFLs on LPAR

Martin, Terry R. (CMS/CTR) (CTR) writes:
> I my configuring my z/VM LPARS on our new z196. We have 25 IFLs but I am not 
> assigning all of them to all LPARS. So if I set the Initial # of processors 
> to 10 for an LPAR and set the rest 15 in reserved can I VARY the IFLs in the 
> reserved state online via the VARY command without a disruption?

Yes. (Don't anybody say my answers are always too verbose :-)

--Malcolm

-- 
Malcolm Beattie
Mainframe Systems and Software Business, Europe
IBM UK


Re: HCPDPM1280E with STK 9840C Tape Drive

2011-08-05 Thread Jeff Gribbin
Success (of a kind):

Rewind the tape
TAPE MODESET ( 3590C
TAPE WVOL1 volser
REW 181
TAPE FSF



If I attempt to write anything other than the volume label (using TAPE
WVOL1) at the beginning of the tape then the write fails.

My tape operator has now gone home for the weekend, so further
experimentation will have to keep until Monday. My plan is to try to repeat
the above but with 'TAPE MODESET ( 3590B' - just to see what happens.

Also, hopefully, we'll be able to get firmware levels checked later in the
week.

Teatime methinks!
Have a good weekend folks.

Jeff


Re: Q STOR command results

2011-08-05 Thread Martin, Terry R. (CMS/CTR) (CTR)
Alan,

When you add up all of the RESERVE memory for all LPARS does it need to add up 
to or below the amount of available unused memory or can each LPAR be defined 
the max amount of memory that is available and unused?  

Thank You,

Terry Martin
Lockheed Martin
CMS - CITIC
3300 Lord Baltimore Drive, Suite 200, 21244  
Engineering Computing
Mainframe Support
Cell - 443 632-4191



-Original Message-
From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf 
Of Alan Altmark
Sent: Thursday, August 04, 2011 10:20 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Q STOR command results

On Thursday, 08/04/2011 at 10:06 EDT, Richard Baek  
wrote:
> We're trying to add additional storage to some of our zVM LPARs without
> IPLing the system. 
:
> Anyone have any idea what we might be doing
> wrong ?

You need to change the LPAR image profile to have some amount of storage 
defined as "reserved".  If you don't do that, the LPAR can't see the 
unused memory on the box.   So make that change, then repeat the 
deactivation/reactivation sequence.  Note that you can set the "Reserved" 
value to a maximum value, even if all that memory isn't on the box.  Then 
you can specify how much of that "reserved" memory CP will bring online.

Alan Altmark

Senior Managing z/VM and Linux Consultant
IBM System Lab Services and Training 
ibm.com/systems/services/labservices 
office: 607.429.3323
mobile; 607.321.7556
alan_altm...@us.ibm.com
IBM Endicott


Re: RESERVED field on the HMC for IFLs on LPAR

2011-08-05 Thread Malcolm Beattie
Martin, Terry R. (CMS/CTR) (CTR) writes:
> I my configuring my z/VM LPARS on our new z196. We have 25 IFLs but I am not 
> assigning all of them to all LPARS. So if I set the Initial # of processors 
> to 10 for an LPAR and set the rest 15 in reserved can I VARY the IFLs in the 
> reserved state online via the VARY command without a disruption?

Yes. (Don't anybody say my answers are always too verbose :-)

--Malcolm

-- 
Malcolm Beattie
Mainframe Systems and Software Business, Europe
IBM UK


RESERVED field on the HMC for IFLs on LPAR

2011-08-05 Thread Martin, Terry R. (CMS/CTR) (CTR)
Hi

I my configuring my z/VM LPARS on our new z196. We have 25 IFLs but I am not 
assigning all of them to all LPARS. So if I set the Initial # of processors to 
10 for an LPAR and set the rest 15 in reserved can I VARY the IFLs in the 
reserved state online via the VARY command without a disruption?

I am never sure about the RESERVED in this case!

Thank You,

Terry Martin
Lockheed Martin
CMS - CITIC
3300 Lord Baltimore Drive, Suite 200, 21244
Engineering Computing
Mainframe Support
Cell - 443 632-4191




Re: Question about Linux shutdown

2011-08-05 Thread David Boyes
SIGNAL SHUTDOWN (if configured in the Linux guest) will run the equivalent of 
"shutdown -h now", so as long as you provide the Linux guest  time enough to 
execute a normal shutdown, it's safe to do that. 90 seconds may not be enough 
time - do a test shutdown manually to determine a rough idea of how long the 
system takes to shut down normally and add about 30 seconds for safety.

As far as startup, the system will run the normal startup scripts when 
autologged, so as long as the applications are configured to be started by init 
normally, you're fine.


Re: Question about Linux shutdown

2011-08-05 Thread Rob van der Heij
On Fri, Aug 5, 2011 at 1:18 PM, Michael MacIsaac  wrote:

>> I would normally set the default to 600 seconds
> We just moved from 5 minutes (SET SIGNAL SHUTDOWN 300) to 10 minutes (SET
> SIGNAL SHUTDOWN 600) as some of our systems were not shutting down within 5
> minutes.

Systems with high memory overcommit benefit from lowering LDUBUF. This
makes the penguins leave in a more orderly fashion when they remain
seated on the eligible list until there are sufficient resources to
complete their exit.

At one installation we actually did the evacuations by groups of
servers rather than rush them all to the exit at the same time. Based
on the monitor data you could even come up with the proper pacing.

Another interesting approach is be to trigger drop_caches as part of
the shutdown process and then inflate and deflate the CMM balloon
according to the resources that it frees. I take donations from those
with copious spare time ;-)

Rob van der Heij
Velocity Software
http://www.velocitysoftware.com/


Re: Question about Linux shutdown

2011-08-05 Thread Rich Smrcina

On 08/05/2011 06:18 AM, Michael MacIsaac wrote:


> you'll be waiting over 9 hours for a machine to just be logged off.
*up to* more than 9 hours, right?  If the machine shuts down in two minutes for 
example, won't it halt and signal back to z/VM that it's done? (whether it then gets 
logged off is another matter)


Yes, of course.  But his question was related to if there's a problem during shutdown 
and a termination process hangs or something sinister like that.



--
Rich Smrcina
Velocity Software, Inc.
http://www.velocitysoftware.com

Catch the WAVV! http://www.wavv.org
WAVV 2012 - April 13-17, 2012 Covington, KY


Re: Question about Linux shutdown

2011-08-05 Thread Michael MacIsaac
> you'll be waiting over 9 hours for a machine to just be logged off.
*up to* more than 9 hours, right?  If the machine shuts down in two 
minutes for example, won't it halt and signal back to z/VM that it's done? 
(whether it then gets logged off is another matter)

> I would normally set the default to 600 seconds
We just moved from 5 minutes (SET SIGNAL SHUTDOWN 300) to 10 minutes (SET 
SIGNAL SHUTDOWN 600) as some of our systems were not shutting down within 
5 minutes.

"Mike MacIsaac"(845) 433-7061

Re: HCPDPM1280E with STK 9840C Tape Drive

2011-08-05 Thread Jeff Gribbin
Thankyou Mike for that info ... I'll get the firmware levels checked out.

Update for any viewers / interested parties; this morning, for a short
while, the drive behaved itself and I was able to write to it using TAPE,
PIPE and MOVEFILE ... then it once again, 'just stopped working' ...
symptoms that certainly indicate to me that the hardware / firmware route is
the one that we should currently be devoting the bulk of our attention to.

I've been using the same cartridge for all the tests so I'm currently not
thinking media although the docs all indicate that media can be a big issue
with this technology ... I may revisit this possibility in due course, but
the same cartridge has successfully been written on the same drive using
z/OS.

Meanwhile, the sun is shining and it'll soon be lunchtime ... life could be
worse :-)

Jeff


Re: Trapping SMSG messages

2011-08-05 Thread Les Koehler
The "heartbeat problem" has been around, and solved, for 
years. I remember it even being written up in one of the IBM 
Journals by someone at Yorktown *lots* of years ago.


These days you simply go to your friendly VM Download 
Library and pick one of the Disconnected Service Machine 
packages, like VMSERVE (now owned by Bruce Hayden, since 
I've retired), or the more modern PIPESERVE (sp?) and only 
worry about the application side of the problem.


As a bonus, you get a general purpose DSM that you can use 
to automate (or test) any number of mundane tasks, like 
checking that all the other dsm's had closed their console 
spool file (via the TIMES file) on the hour, by it's arrival 
in the rdr. In a network of cpu's, that even helps watch 
that RSCS is working.


I do realize, from following this list, that there is now a 
lot of automation commercially available, but sometimes a 
quick 'out of your back pocket' solution is reassuring to 
management and can be used as a Proof Of Concept that leads 
to a Requirement. Not to mention that telling your manager 
"I can solve that problem before lunch and don't need a 
maintenance window to do it." doesn't hurt your reputation!


Les

Frank M. Ramaekers wrote:

Well, I did try using just the WAKEUP RESET (which changes the SMSG to
ON from SMSG IUCV), but I still missed the first IUCV MSG.

 

 


Frank M. Ramaekers Jr.

 

 




From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On
Behalf Of Scott Rohling
Sent: Thursday, August 04, 2011 12:45 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Trapping SMSG messages

 


You might try 'WAKEUP RESET' just before you do the 'WAKEUP +0 (IUCVMSG'
(You didn't say, but assuming you tried this and it worked?).   You
should also end your routine with WAKEUP RESET (just before you restore
msg values - RESET does a SET MSG ON, which may not be what it was).
It's not clear in the doc - but I 'think' doing a RESET clears IUCV..

 

Scott Rohling 


On Thu, Aug 4, 2011 at 11:37 AM, Frank M. Ramaekers
 wrote:

Good points.  I've had the problem with MSG/SMSGs still in limbo and the
WAKEUP receives those first.  Is there a way to clear these prior to
issuing the WAKEUP (or sending the SMSG)?

 

 


Frank M. Ramaekers Jr.

 

 




From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On
Behalf Of Scott Rohling
Sent: Thursday, August 04, 2011 10:55 AM


To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Trapping SMSG messages

 

Another couple of points --   

 


-  Since you can't control who might send a message to you when - you
probably want to loop until there are no more rc=5.It could be a msg
from another user is stacked in IUCV.   


-  DESBUF is kind of brute force -- it wipes out the stack -- and there
could conceivably be things stacked and needed by whatever calls you.
Better to do a 'MAKEBUF';buf=rc   ...   and then 'DROPBUF' buf ...
then you only drop the things in your 'own' stack.. and you aren't
affected by what may already be in the stack for whatever called you.  

 


Scott Rohling

On Thu, Aug 4, 2011 at 9:44 AM, Scott Rohling 
wrote:

Try turning the 'SET MSG IUCV' to 'WAKEUP +0 (IUCVMSG' ..   I think this
gets WAKEUP ready - and also issues the SET MSG IUCV.   The example
under 'HELP WAKEUP' shows it done this way and I seem to recall needing
to do it in something I'd written. 

 


Scott Rohling

 


On Thu, Aug 4, 2011 at 9:28 AM, Frank M. Ramaekers
 wrote:

I don't quite understand why I'm missing the first IUCV MSG sent to my
virtual machine after an IPL.   The basics of this program is:

 


1)   Send a SMSG to VMUTIL of 'RUOKAY'

2)   VMUTIL, if alive, will send back a MSG response
"IMOKAY"

3)   If the proper response is received the RC is set to
zero, all other cases it's set to 1

 


My short REXX:

 

  Trace "O"  

  "PIPE LITERAL QUERY SET",  

  "|  CP",   

  "|  SPLIT AT ,",   

  "|  STRIP",

  "|  FIND MSG"||,   

  "|  SPEC W2 1",

  "|  VAR SETMSG"

  "CP SET MSG IUCV"  

  "CP SMSG VMUTIL RUALIVE"   

  "WAKEUP +00:02 (QUIET IUCVMSG CONS"

  wurc=rc

  XRC=1  /* Assume bad */

  Select 

When wurc==5 then  /* Message arrived */ 

  Do queued()

  

Re: Question about Linux shutdown

2011-08-05 Thread Rich Smrcina
The timer can be set up to 32767 seconds. You probably don't want to go that 
high in
practice, you'll be waiting over 9 hours for a machine to just be logged off.

Set the timer for normal shutdown times with some extra. If they fail to 
terminate
cleanly, investigate the cause and resolve the problem. I would normally set 
the default
to 600 seconds, that worked the vast majority of the time. Of course, different 
software
has different needs.

On 08/05/2011 03:47 AM, Lu GL Gao wrote:
>
> Thanks! Because we have many applications and softwares on linux, maybe some 
> of them
> have pending stop, or maybe some have problem to fail stop. Even though I set 
> a big
> timer, it is possible that system shutdown is prior to software's normal 
> stop. How to
> solve this situation?
>
>
> Best Regards!
>
> Gao Lu (高路)
> I/T Specialist
> Global Technology Services
> IBM Global Services (China) Company Limited.
> Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang 
> District,
> Beijing, 100101
> 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101
> BeiJing 100027, PRC
> Cell Phone: 15001327619
> Internet ID: lu...@cn.ibm.com
>
> Inactive hide details for Rich Smrcina ---2011-08-05 16:28:28---CP SIGNAL 
> SHUTDOWN
> causes the standard Linux shutdown process tRich Smrcina ---2011-08-05 
> 16:28:28---CP
> SIGNAL SHUTDOWN causes the standard Linux shutdown process to be executed, 
> through
>
> *Rich Smrcina *
> Sent by: The IBM z/VM Operating System 
> 
>
> 2011-08-05 16:28
> Please respond to
> The IBM z/VM Operating System 
>
>   
>
> To
>   
> IBMVM@LISTSERV.UARK.EDU
>
> cc
>   
>
> Subject
>   
> Re: Question about Linux shutdown
>
>   
>
>
> CP SIGNAL SHUTDOWN causes the standard Linux shutdown process to be executed, 
> through
> the init scripts.
>
> If the software you mention contains quiesce or shutdown commands in the init 
> scripts,
> it will be executed with SIGNAL SHUTDOWN.
>
> The big question then is of the time frame. Is 90 seconds enough time to 
> guarantee that
> the software is all shutdown before CP pulls the rug out from under the 
> virtual machine?
> THAT is what you need to make sure of. Your shutdown timer may have to be 
> changed.
>
> The shutdown timer can be set system wide, so that it does not need to be 
> specified on
> each command.
>
> On 08/05/2011 12:42 AM, Lu GL Gao wrote:
> >
> > If many softwares run on our z/Linux such as OCFS2, OMEGAMON XE Agent and 
> > DB2, does
> > command 'CP SIGNAL SHUTDOWN TSTLNX1 WITHIN 90' impacts those softwares?
> >
> > I mean, because thoes software were not stop by normal steps but shutdown 
> > linux
> > directly, do thoes softwares will start normally once z/Linux boots again?
> >
> > The reason why I ask this question is that I need to automatically backup 
> > linux system
> > by Operation Manager for z/VM, before backing-up, linux should be 
> > shutdowned. I just
> > wonder how to automatically stop softwares running on linux to be backup.
> >
> >
> >
> > Best Regards!
> >
> > Gao Lu (高路)
> > I/T Specialist
> > Global Technology Services
> > IBM Global Services (China) Company Limited.
> > Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang 
> > District,
> > Beijing, 100101
> > 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101
> > BeiJing 100027, PRC
> > Cell Phone: 15001327619
> > Internet ID: lu...@cn.ibm.com
> >
>
>
> -- 
> Rich Smrcina
> Velocity Software, Inc.
> http://www.velocitysoftware.com
>
> Catch the WAVV! http://www.wavv.org
> WAVV 2012 - April 13-17, 2012 Covington, KY
>


-- 
Rich Smrcina
Velocity Software, Inc.
http://www.velocitysoftware.com

Catch the WAVV! http://www.wavv.org
WAVV 2012 - April 13-17, 2012 Covington, KY


Re: Question about Linux shutdown

2011-08-05 Thread Lu GL Gao
Thanks! Because we have many applications and softwares on linux, maybe
some of them have pending stop, or maybe some have problem to fail stop.
Even though I set a big timer, it is possible that system shutdown is prior
to software's normal stop. How to solve this situation?


Best Regards!

Gao Lu (高路)
I/T Specialist
Global Technology Services
IBM Global Services (China) Company Limited.
Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang
District, Beijing, 100101
地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101
BeiJing 100027, PRC
Cell Phone: 15001327619
Internet ID: lu...@cn.ibm.com


   
 Rich Smrcina  
  To 
 Sent by: The IBM  IBMVM@LISTSERV.UARK.EDU 
 z/VM Operating cc 
 System
   Re: Question about Linux shutdown   
   
   
 2011-08-05 16:28  
   
   
 Please respond to 
   The IBM z/VM
 Operating System  
   
   
   




CP SIGNAL SHUTDOWN causes the standard Linux shutdown process to be
executed, through
the init scripts.

If the software you mention contains quiesce or shutdown commands in the
init scripts,
it will be executed with SIGNAL SHUTDOWN.

The big question then is of the time frame. Is 90 seconds enough time to
guarantee that
the software is all shutdown before CP pulls the rug out from under the
virtual machine?
THAT is what you need to make sure of. Your shutdown timer may have to be
changed.

The shutdown timer can be set system wide, so that it does not need to be
specified on
each command.

On 08/05/2011 12:42 AM, Lu GL Gao wrote:
>
> If many softwares run on our z/Linux such as OCFS2, OMEGAMON XE Agent and
DB2, does
> command 'CP SIGNAL SHUTDOWN TSTLNX1 WITHIN 90' impacts those softwares?
>
> I mean, because thoes software were not stop by normal steps but shutdown
linux
> directly, do thoes softwares will start normally once z/Linux boots
again?
>
> The reason why I ask this question is that I need to automatically backup
linux system
> by Operation Manager for z/VM, before backing-up, linux should be
shutdowned. I just
> wonder how to automatically stop softwares running on linux to be backup.
>
>
>
> Best Regards!
>
> Gao Lu (高路)
> I/T Specialist
> Global Technology Services
> IBM Global Services (China) Company Limited.
> Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang
District,
> Beijing, 100101
> 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101
> BeiJing 100027, PRC
> Cell Phone: 15001327619
> Internet ID: lu...@cn.ibm.com
>


--
Rich Smrcina
Velocity Software, Inc.
http://www.velocitysoftware.com

Catch the WAVV! http://www.wavv.org
WAVV 2012 - April 13-17, 2012 Covington, KY


Re: Question about Linux shutdown

2011-08-05 Thread Rich Smrcina
CP SIGNAL SHUTDOWN causes the standard Linux shutdown process to be executed, 
through
the init scripts.

If the software you mention contains quiesce or shutdown commands in the init 
scripts,
it will be executed with SIGNAL SHUTDOWN.

The big question then is of the time frame. Is 90 seconds enough time to 
guarantee that
the software is all shutdown before CP pulls the rug out from under the virtual 
machine?
THAT is what you need to make sure of. Your shutdown timer may have to be 
changed.

The shutdown timer can be set system wide, so that it does not need to be 
specified on
each command.

On 08/05/2011 12:42 AM, Lu GL Gao wrote:
>
> If many softwares run on our z/Linux such as OCFS2, OMEGAMON XE Agent and 
> DB2, does
> command 'CP SIGNAL SHUTDOWN TSTLNX1 WITHIN 90' impacts those softwares?
>
> I mean, because thoes software were not stop by normal steps but shutdown 
> linux
> directly, do thoes softwares will start normally once z/Linux boots again?
>
> The reason why I ask this question is that I need to automatically backup 
> linux system
> by Operation Manager for z/VM, before backing-up, linux should be shutdowned. 
> I just
> wonder how to automatically stop softwares running on linux to be backup.
>
>
>
> Best Regards!
>
> Gao Lu (高路)
> I/T Specialist
> Global Technology Services
> IBM Global Services (China) Company Limited.
> Address:18/F, Pangu Plaza, No.27, Central North 4th Ring Road, Chaoyang 
> District,
> Beijing, 100101
> 地址:北京市朝阳区北四环中路27号盘古大观写字楼18层,100101
> BeiJing 100027, PRC
> Cell Phone: 15001327619
> Internet ID: lu...@cn.ibm.com
>


-- 
Rich Smrcina
Velocity Software, Inc.
http://www.velocitysoftware.com

Catch the WAVV! http://www.wavv.org
WAVV 2012 - April 13-17, 2012 Covington, KY