<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=895142916-20022007><FONT face=Arial
color=#0000ff size=2>Hi Ismael,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=895142916-20022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=895142916-20022007><SPAN
class=895142916-20022007><FONT face=Arial color=#0000ff size=2>I do not have any
experience setting up a clustered configuration but have done some preliminary
investigation into the requirements. Here's some information that may
help:</FONT></SPAN></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=895142916-20022007><SPAN
class=895142916-20022007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=895142916-20022007><FONT face=Arial
color=#0000ff size=2>The repository can only be accessed by a single process at
any given time so active/active is not currently possible. Active/passive
might be possible with some work. The filesystem where the repository is
located must be fully posix compliant and support locking. NFS and Samba
shares are not fully compliant. Something like Oracle OCFS2 or RedHat GFS
would be more appropriate. This would allow both machines to see the
repository. However, only a single MapGuide Server process can access
the repository at any given time. You would have to manage
MapGuide Server process startup and shutdown using external monitoring
scripts.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=895142916-20022007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=895142916-20022007><FONT face=Arial
color=#0000ff size=2>If you are installing from sources on Linux, it is possible
to run MapGuide under a user account. Grant the user account full access
to /usr/local/mapguideopensource and /usr/local/fdo-3.2.0. Then build and
install using that user account and startup Apache and mgserver using the same
user account. Daemonizing the mgserver process (mgserverd.sh) may not
work but you should be able to use nohup with the mgserver.sh script.
</FONT></SPAN></DIV>
<DIV><SPAN class=895142916-20022007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=895142916-20022007><FONT face=Arial color=#0000ff
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=895142916-20022007><FONT face=Arial color=#0000ff
size=2>Trevor</FONT></SPAN></DIV>
<DIV dir=ltr align=left><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Ismael Cams
[mailto:mapguide2007@gmail.com] <BR><B>Sent:</B> Tuesday, February 20, 2007 2:41
AM<BR><B>To:</B> mapguide-users@lists.osgeo.org<BR><B>Subject:</B>
[mapguide-users] Cluster configuration support on Linux<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hello all,</DIV>
<DIV> </DIV>
<DIV>is there any chance to have the MapGuide installed in a cluster
configuration on Linux ? Could this be done for example by sharing the
repository between two mapguide servers. I have been experimenting with this for
a while but could not come to a good solution, e.g. information stored by one
server in the repository is not directly accessible to the other server (restart
is needed). In a perfect scenario I would like to use the two servers in an
active, active scenario (loadbalancing) but I would already be very happy if I
could get to a solution for the first problem. </DIV>
<DIV> </DIV>
<DIV>Does anyone has experience with mapguide in a cluster configuration ?</DIV>
<DIV> </DIV>
<DIV>
<DIV>BTW is it possible to run the mapguide server not under root (but e.g. a
user mapguide) ?</DIV></DIV>
<DIV> </DIV>
<DIV>Kind regards,</DIV>
<DIV>Ismaël</DIV></BODY></HTML>