Re: CF1 can not linked as MR

2011-07-06 Thread Kris Buelens
Beware when you give CP RR access to CF1: CP can have to read files from
there while it is running.  The most obvious are the logon LOGO files.  If
you change them on the fly while CP has RR access, CP can get the problem we
know as CMS users: 'error 3 reading file'.

*CPLISTFILE * * A STAT* will show you which files are read how many times

To avoid that problem, you can tell CP to chache certain files (explained in
CP Installation and Planning Guide, "Understanding the CP File System".  You
can issue *CPCACHE fnsel ftsel fm* to have some files chached, or
create a CPCACHE
FILES on the CFx disks to have them cached automatically each time that CFx
disk is CPACCESSed.

Once that's done, you can change the SYSTEM CONFIG to access CFn in RR
mode.  That's how I set up my famous -and former- customer's VM systems.

2011/7/6 Ronald van der Laan 

> Gao,
>
> Your SYSTEM CONFIG (on the MAINT 0CF1) probably contains:
> CP_Access  MAINTCF1  A
>
> Normally you want to issue "CPREL A" before you update the parm disk,
> followed by a "CPACC MAINT 0CF1 A" to reaccess it again.
> But you can also change the SYSTEM CONFIG line into:
> CP_Access  MAINTCF1  A RR
>
> That will make CP link its parm disk with RR instead of the default SR and
> will allow you to update the disk while CP still has it accessed.
> The normal single writer, multiple reader rules for CMS disks apply, so it
> is your foot and your gun.
> And don't forget to let CP know that you updated the disk by issueing a
> "CPACC MAINT CF1 A RR".
>
> Ronald van der Laan
>



-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: CF1 can not linked as MR

2011-07-05 Thread Ronald van der Laan
Gao,

Your SYSTEM CONFIG (on the MAINT 0CF1) probably contains:
CP_Access  MAINTCF1  A

Normally you want to issue "CPREL A" before you update the parm disk,
followed by a "CPACC MAINT 0CF1 A" to reaccess it again.
But you can also change the SYSTEM CONFIG line into:
CP_Access  MAINTCF1  A RR

That will make CP link its parm disk with RR instead of the default SR and
will allow you to update the disk while CP still has it accessed.
The normal single writer, multiple reader rules for CMS disks apply, so it
is your foot and your gun.
And don't forget to let CP know that you updated the disk by issueing a
"CPACC MAINT CF1 A RR".

Ronald van der Laan


Re: CF1 can not linked as MR

2011-07-05 Thread Mike Walter
The system (by default) links and accesses the CF1 disk as its A-disk and the 
CF2 disk as its B-disk during IPL - when it loads the CPLOAD MODULE, and reads 
in and processes the SYSTEM CONFIG file. It also reads some other files at IPL, 
and some as-needed (e.g. LOGO files).

See the CP Commands.manual for CPREL and CPACC commands (off the top of my head 
- names may be slightly different).

Mike Walter
Aon Corporation

Sent from the wee keyboard of a Blackberry.

From: Lu GL Gao [mailto:lu...@cn.ibm.com]
Sent: Tuesday, July 05, 2011 10:17 PM
To: IBMVM@LISTSERV.UARK.EDU 
Subject: CF1 can not linked as MR


I load 1st level z/VM system with EXTENT 1. Then log on MAINT user.
Usually we can link cf1 by 'link * cf1 cf1 mr'. But our system response 
following message to this command:
HCPLNM101E DASD 0CF1 forced R/O; R/O by SYSTEM; stable by SYSTEM

Why SYSTEM catch it?


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


CF1 can not linked as MR

2011-07-05 Thread Lu GL Gao

I load 1st level z/VM system with EXTENT 1. Then log on MAINT user.
Usually we can link cf1 by 'link * cf1 cf1 mr'. But our system response
following message to this command:
HCPLNM101E DASD 0CF1 forced R/O; R/O by SYSTEM; stable by SYSTEM

Why SYSTEM catch it?


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