Re: [Hypercontent-users] remote publish + loadbalancing
Brought to you by:
alexvigdor
From: tom t. <j_l...@ya...> - 2007-05-09 06:15:11
|
I changed the hypercontent.properties repository.base property to the mounted directory, working all right. Thanks --- Alex Vigdor <al...@bi...> wrote: > You can also keep the bootstrap repository remotely, > just update / > properties/Projects.xml in the classpath with the > correct path. > > NFS mounted filesystems work just like a regular > filesystem, so you > can still use local-editioning. > > On Apr 27, 2007, at 12:55 AM, tom tom wrote: > > > Does this mean that bootstrap details in the same > > server as in HC and only the other projects data > kept > > remotely? > > > > If so what if we change pipeline.xml of the > bootstrap > > project in an load balanced situation.? > > > > Thanks, > > > > --- Alex Vigdor <al...@bi...> wrote: > > > >> You'll need to edit the mount file under > /projects/ > >> in the bootstrap > >> repository, e.g. > >> /projects/my-project/filesystem.xml. Just update > the > >> > >> path to point to the NFS mounted repository. > >> > >> Alex > >> > >> On Apr 26, 2007, at 10:24 PM, tom tom wrote: > >> > >>> Alex, > >>> When it comes to the remote repository with a > load > >>> balancer, Should I introduce a new repository > >> entry in > >>> the project definition. > >>> > >>> Currenly in my project definition .xml there is > no > >>> reference to the repository, but following url > >> refers > >>> to such an entry. Currenly my repository is in > the > >>> same machine as HC. > >>> > >>> > >> > > > http://hypercontent.sourceforge.net/docs/manual/develop/ > >> > >>> filesystems.html > >>> > >>> > >>> If I have to insert such an entry what is the > >> contant > >>> value should I have to enter for type and also > >> other > >>> arguments (argument0,1,2, etc) if necessary. > >>> > >>> I am hoping to achieve it by creating an NFS > >>> share on a SAN. > >>> > >>> > >>> Currently top part of my project definition > looks > >> as > >>> follows > >>> > >>> <cms-project> > >>> â > >>> <build> > >>> â > >>> <filesystem-def name="Author" type="local"> > >>> <argument index="0" > >>> value="/var/www/html/documentsHC/author"/> > >>> </filesystem-def> > >>> </build> > >>> â > >>> <publish> > >>> â > >>> <filesystem-def name="Publish" type="local"> > >>> <argument index="0" > >>> value="/var/www/html/documentsHC/publish"/> > >>> </filesystem-def> > >>> </publish> > >>> â > >>> <resource-directory create="manual" > label="html" > >>> path="/**/*.html" publish="true"> > >>> <content type="text/html"/> > >>> <content type="image/jpeg"/> > >>> </resource-directory> > >>> â > >>> <resource-directory create="manual" label="css" > >>> path="/**/*.css" publish="true"> > >>> <content type="text/plain"/> > >>> </resource-directory> > >>> â > >>> <xml-doctype create="manual" definition="" > >>> label="Page" path="/**/*.xml" root="html"> > >>> â > >>> <output basedir="/plain/" > >> content-type="text/html"> > >>> â > >>> <transform > >> source="/config/skins/plain/common.xsl"> > >>> <with-param name="link-base" value="/plain"/> > >>> </transform> > >>> </output> > >>> </xml-doctype> > >>> â > >>> > >>> > >>> > >>> Thanks > >>> > >>> > >>> --- Alex Vigdor <al...@bi...> wrote: > >>> > >>>> In response to the prior message, re-read my > >> reply > >>>> and understand > >>>> that build and publish are just special cases > of > >>>> filesystem "mounts" > >>>> in HC 2.0. They are special to be backwards > >>>> compatible with 1.x, but > >>>> map to mounts at "/build/" and "/publish/" > >>>> specifically. You can now > >>>> specify any number of mounted filesystems that > >> can > >>>> be used as read or > >>>> write targets for workflow scripts, etc. > >>>> > >>>> You can load balance fine, I suggest creating > an > >> NFS > >>>> share on a SAN > >>>> and mounting it on all app servers. You can > keep > >>>> all the > >>>> repositories there, thats what Columbia and > >> others > >>>> do. > >>>> > >>>> Alex > >>>> > >>>> On Apr 22, 2007, at 8:45 PM, tom tom wrote: > >>>> > >>>>> Hi , > >>>>> > >>>>> Is it possible to have remote repository and > >>>> shared by > >>>>> two load balanced servers. > >>>>> > >>>>> Currently we got one hypercontent server > running > >>>> with > >>>>> local editioning. > >>>>> > >>>>> We need to introduce two hypercontent servers > as > >>>>> uPortal servers. and share a one remote > >>>> repository. > >>>>> > >>>>> If this is possible pls let us know which > files > >> to > >>>>> edit, please provide with sample entries. > >>>>> > >>>>> > >>>>> Also let us know any other institute running > HC > >> in > >>>>> load balanced way with no issues? > >>>>> > >>>>> > >>>>> > >>>>> We did not get a reply for my previous mail > >>>> titiled > >>>>> [Hypercontent-users] remote publish. We are > >>>> waiting on > >>>>> that as well. > >>>>> > >>>>> > >>>>> We are hoping to do both these in the coming > >>>> release, > >>>>> hence your feedback will be appreciated. > >>>>> > >>>>> Thanks, > >>>>> > >>>>> > >>>>> Current > >>>>> > === message truncated === ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ |