Think about it this way. How will the r/o guy know the content has changed? If it changes out from under him, he will surely find errors and something won't be happy.
Now, i suppose you come up with some scripting to Umount from r/o 2nd server Remount as r/w on 1st server Make your changes Remount as r/o on both servers marcy -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Diep, David (OCTO-Contractor) Sent: Wednesday, October 23, 2013 8:35 AM To: [email protected] Subject: Re: [LINUX-390] Whats the best way to share z/VM Volumes between two Redhat guest machines Thanks for the feedback. Let me understand this... so, if the system that has RW (call this the master) to the volume crashes, the system that has RO (call this the client) will not have access to the serve the data housed in that volume? I want the content and the servers to be live simultaneously, but any updates to the data can only be completed through master system (through samba or ftp). But as for the content, it can be accessed by either server. Thanks! Serve DC is proud to present NeighborGood, a new, free tool to help residents engage in meaningful service and connect with the causes and organizations they care about. Visit NeighborGood at <http://serve.dc.gov/service/neighborgood> -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of David Boyes Sent: Wednesday, October 23, 2013 11:28 AM To: [email protected] Subject: Re: Whats the best way to share z/VM Volumes between two Redhat guest machines If you want both of the servers live at the same time, you need the content volume r/o to both systems, or a cluster file system, or to mount the content from a 3rd machine via NFS. If you're OK with a single point of failure, you can set up one system as a NFS master and then mount the filesystem from the master on the other system. Naturally if the NFS server fails, you're SOL. You should also disable fsck on boot on the r/o system. > -----Original Message----- > From: Linux on 390 Port [mailto:[email protected]] On Behalf Of > Diep, David (OCTO-Contractor) > Sent: Wednesday, October 23, 2013 11:18 AM > To: [email protected] > Subject: Whats the best way to share z/VM Volumes between two Redhat > guest machines > > Hi, > > First time posting here... I hope I found the right place. > > I have two web servers, they are duplicates of each other, serving the > same webpage. They are 'clustered' by a network load balancer. I want > to see if I can have them share the same volume in z/VM. > > One of the RHEL servers will be the primary, having RW authority, > while the other will have RO authority. What do I need to do in RHEL > to make this work? Without doing anything to the RO authorized RHEL > server, this is what happens when I try to start him up: > > [FAILED] > > *** An error occurred during the file system check. > *** Dropping you to a shell; the system will reboot > *** when you leave the shell. > Give root password for maintenance > (or type Control-D to continue): > > Any ideas would be most appreciated! > > > > > > Serve DC is proud to present NeighborGood, a new, free tool to help > residents engage in meaningful service and connect with the causes and > organizations they care about. Visit NeighborGood at > http://serve.dc.gov/service/neighborgood > > > ---------------------------------------------------------------------- > 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 more information on Linux on System z, visit > http://wiki.linuxvm.org/ ---------------------------------------------------------------------- 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 more information on Linux on System z, visit http://wiki.linuxvm.org/ ---------------------------------------------------------------------- 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 more information on Linux on System z, visit http://wiki.linuxvm.org/ ---------------------------------------------------------------------- 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 more information on Linux on System z, visit http://wiki.linuxvm.org/
