We do a less sofisticated but stable method: (This is for readonly data) The disk that should be shared is first prepared from a Linux, then unmounted and snapshotted to another VMuser as 400, that never boots, it just owns the disks.
All servers links to a shared disk in read mode only. LINK 400 RR When we want to change contents on that disk: - the orginal one is updated from that Linux server - VMuser neverboot disk 400 is renamed to 401. This is safe to do, VM keeps the old real disk device address for currently logged on users. - The updated disk from the Linux server is unmounted and snapshotted to VMuser neverboot disk 400. - Done ! Next time Linux servers that links to VMuser neverboot disk 400 logoff and login they will use the new 400 disk. Makes upgrading easy and safe, if need of backout just LINK 401 RR and restart, and you will have the old disk again. Cordialement / Vriendelijke Groeten / Best Regards / Med Vänliga Hälsningar Tore Agblad Volvo Information Technology Infrastructure Mainframe Design & Development SE-405 08, Gothenburg Sweden E-mail: [email protected] http://www.volvo.com/volvoit/global/en-gb/ ________________________________________ From: Linux on 390 Port [[email protected]] On Behalf Of Ronald van der Laan [[email protected]] Sent: Thursday, October 08, 2009 07:43 To: [email protected] Subject: Re: How to share files/disk between 2 LPARS Bernie, First, use CSE (XLINK part) on the VM level, so that VM handles linking (and locking) across the lpars. When the disk is used read-only on all Linux guests, you can just let all the guests link it read only (use link mode "R") and do the same as you're doning on a single z/VM system. If you want to write to it to, then you should, just like with the single z/VM system make sure that only one Linux guests writes, and that NO other Linux guests can access the disk at the same time (link mode "W"). Or, you can use on SLES 10 SP2 the OCFS2 filesystem to make the disk shared write across the Linux systems (link mode "MW"). Note however, that you do not have Posix locking on OCFS2 with SLES 10 yet, but if you migrate to SLES 11, you can choose between GFS and OCFS2 and get Posix locking, so that for instance the HA functionality of MQSeries 7.0.1 can be used with Linux. Ronald van der Laan ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
