I have mounted a separate R/W filesystem at the /usr/lpp/internet/server_root . 
If you have "something" in /usr/lpp/internet/server_root, then copy that data 
into the new filesystem by mounting the new filesystem at a temporary mount 
point (such as /tmp/server_root) and use something to copy the data (I use pax 
as root). Example:

mkdir /tmp/server_root
zfsadmin define -aggregate ..zfs-vsam-dataset-name.. -kilobytes ..size-in-kb..
zfsadmin format -aggregate ..zfs-vsam-dataset-name.. -compat -group 0 -owner 0 
-perms o755
mount -f ..zfs-vsam-dataset-name.. /tmp/server_root
pax -peWx -rw /usr/lpp/internet/server_root /tmp/
unmount /tmp/server_root
mount -f ..zfs-vsam-dataset-name.. /usr/lpp/internet/server_root

Update your BPXPRMnn member to mount this new zFS dataset. 

Note that the "x" in the pax options (-peWx) requires that the userid (RACF) 
have the AUDITOR attribute in RACF.

Also, doing it this way allows a shared HTTP configuration if you are in a 
sysplex and have UNIX sysplex sharing active. That is SYSPLEX(YES) in your 
BPXPRMnn member. If you are step up in UNIX sysplex mode, but want unique 
per-system HTTP environments, that is a bit more complicated. But not real 
complicated. I'll go into it if you need it. I have some subdirectories set up 
as "sysplex wide" and others as "per system".

-- 
John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets®

9151 Boulevard 26 • N. Richland Hills • TX 76010
(817) 255-3225 phone •
[email protected] • www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets® is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. –The Chesapeake Life Insurance 
Company®, Mid-West National Life Insurance Company of TennesseeSM and The MEGA 
Life and Health Insurance Company.SM


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]]
> On Behalf Of Dana Mitchell
> Sent: Thursday, September 20, 2012 1:24 PM
> To: [email protected]
> Subject: Installing IMWEBSRV on a system with R/O root
> 
> I'm working on installing HTTP server  IMWEBSRV on a system with a read
> only root zfs.  The setup.sh wants to create directories under
> /usr/lpp/internet/server_root   which obviously doesn't work when /usr
> is in a RO root.   Has anyone dealt with this somehow?
> 
> thanks
> Dana
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to