Company & its portlet

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Company & its portlet

Ted Vinke
Hi!

I've noticed that the default database structure comes with (in the
company table) one company: Liferay LLC with liferay.com etc.

Then during dotCMS' first startup companyid dotcms.org is added and set
as default company, because these settings I see when accessing the
Company portlet.

Question: now I added a new company to the company table with a SQL
query, but how do I access it - via the Company portlet?

Another two questions:
What is the key_ column used for, the one with the
'rO0ABXNyABRqYXZhLn...' value? While adding our own company I used the
key from the dotcms.org row, but I don't really know what it does of how
to generate/create it.

Maybe I get it by answers to above questions, but how many companies are
supported within one dotCMS instance? One instance is just for one
company, or one per host and how to access multiple companies then?

Regards, Ted


dotCMS: Opensource CMS goodness.
http://www.dotcms.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/dotcms/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/dotcms/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[hidden email]
    mailto:[hidden email]

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
Reply | Threaded
Open this post in threaded view
|

Re: Company & its portlet

Jason Tesser-2
I would recommend you not use a different company.  You can edit the
dotcms.org company Logo and stuff but you should use it while using
the dotCMS.

Also in liferay if you are to add a company you should not add it or
anything for that matter through SQL.

On Feb 4, 2008 6:09 AM, Ted Vinke <[hidden email]> wrote:

>
>
>
>
>
>
> Hi!
>
>  I've noticed that the default database structure comes with (in the
>  company table) one company: Liferay LLC with liferay.com etc.
>
>  Then during dotCMS' first startup companyid dotcms.org is added and set
>  as default company, because these settings I see when accessing the
>  Company portlet.
>
>  Question: now I added a new company to the company table with a SQL
>  query, but how do I access it - via the Company portlet?
>
>  Another two questions:
>  What is the key_ column used for, the one with the
>  'rO0ABXNyABRqYXZhLn...' value? While adding our own company I used the
>  key from the dotcms.org row, but I don't really know what it does of how
>  to generate/create it.
>
>  Maybe I get it by answers to above questions, but how many companies are
>  supported within one dotCMS instance? One instance is just for one
>  company, or one per host and how to access multiple companies then?
>
>  Regards, Ted
>  



--
Jason Tesser
dotmarketing, Lead Programmer
1-305-858-1422


dotCMS: Opensource CMS goodness.
http://www.dotcms.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/dotcms/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/dotcms/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[hidden email]
    mailto:[hidden email]

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
Reply | Threaded
Open this post in threaded view
|

Replication for HA/Load Balancing

Todd Reed-2
How are people deploying dotCMS in a HA/Load Balancing environment?   I
have 2 servers (with the potential to add a 3rd) that are in 2 different
datacenters.  So the idea of shared storage is out.  I was wondering if
this could be achieved via RSync?  I know there will be some delay until
the sync is complete.  I am mainly concerned about the file system of
dotCMS.  Our Db system is already configured for this.

 

Any advice would be appreciated.

 

Thanks,

TR

Reply | Threaded
Open this post in threaded view
|

Re: Replication for HA/Load Balancing

Jason Tesser-2
Using rsync could be a problem as not only is there a time difference
but the system would not be atomic.  Changes on both systems at around
the same time could cause problems.  Also the servers need to be able
to have multicast traffic between them so the cache stays up to date.
This would also cause you a problem I think.

On Feb 4, 2008 9:03 AM, Todd Reed <[hidden email]> wrote:

>
>
>
>
>
>
>
>
>
> How are people deploying dotCMS in a HA/Load Balancing environment?   I have
> 2 servers (with the potential to add a 3rd) that are in 2 different
> datacenters.  So the idea of shared storage is out.  I was wondering if this
> could be achieved via RSync?  I know there will be some delay until the sync
> is complete.  I am mainly concerned about the file system of dotCMS.  Our Db
> system is already configured for this.
>
>
>
> Any advice would be appreciated.
>
>
>
> Thanks,
>
> TR



--
Jason Tesser
dotmarketing, Lead Programmer
1-305-858-1422


dotCMS: Opensource CMS goodness.
http://www.dotcms.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/dotcms/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/dotcms/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[hidden email]
    mailto:[hidden email]

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
Reply | Threaded
Open this post in threaded view
|

RE: Replication for HA/Load Balancing

Todd Reed-2
Our 2 data centers are actually on the same subnet with several fiber
links between them.  Multicast, nor bandwidth, is not an issue.  When
changes are made to content, the administrators will only be making
changes on 1 server...not both.  This will be more-less setup with one
master and multiple slaves.

 

Does this change your answer any?  How are other people accomplishing
this?

 

--TR

 

 

 

From: [hidden email] [mailto:[hidden email]] On Behalf
Of Jason Tesser
Sent: Monday, February 04, 2008 8:11 AM
To: [hidden email]
Subject: Re: [dotcms] Replication for HA/Load Balancing

 

Using rsync could be a problem as not only is there a time difference
but the system would not be atomic. Changes on both systems at around
the same time could cause problems. Also the servers need to be able
to have multicast traffic between them so the cache stays up to date.
This would also cause you a problem I think.

On Feb 4, 2008 9:03 AM, Todd Reed <[hidden email]
<mailto:treed%40astate.edu> > wrote:

>
>
>
>
>
>
>
>
>
> How are people deploying dotCMS in a HA/Load Balancing environment? I
have
> 2 servers (with the potential to add a 3rd) that are in 2 different
> datacenters. So the idea of shared storage is out. I was wondering if
this
> could be achieved via RSync? I know there will be some delay until the
sync
> is complete. I am mainly concerned about the file system of dotCMS.
Our Db

> system is already configured for this.
>
>
>
> Any advice would be appreciated.
>
>
>
> Thanks,
>
> TR

--
Jason Tesser
dotmarketing, Lead Programmer
1-305-858-1422

 

Reply | Threaded
Open this post in threaded view
|

Re: Replication for HA/Load Balancing

Jason Tesser-2
If changes are only made in one place it could work.  You would need
to sync the files pretty quick though to avoid any problems

On Feb 4, 2008 9:25 AM, Todd Reed <[hidden email]> wrote:

>
>
>
>
>
>
>
>
>
> Our 2 data centers are actually on the same subnet with several fiber links
> between them.  Multicast, nor bandwidth, is not an issue.  When changes are
> made to content, the administrators will only be making changes on 1
> server…not both.  This will be more-less setup with one master and multiple
> slaves.
>
>
>
> Does this change your answer any?  How are other people accomplishing this?
>
>
>
> --TR
>
>
>
>
>
>
>
>
>
> From: [hidden email] [mailto:[hidden email]] On Behalf Of
> Jason Tesser
>  Sent: Monday, February 04, 2008 8:11 AM
>  To: [hidden email]
>  Subject: Re: [dotcms] Replication for HA/Load Balancing
>
>
>
>
>
>
> Using rsync could be a problem as not only is there a time difference
>  but the system would not be atomic. Changes on both systems at around
>  the same time could cause problems. Also the servers need to be able
>  to have multicast traffic between them so the cache stays up to date.
>  This would also cause you a problem I think.
>
>  On Feb 4, 2008 9:03 AM, Todd Reed <[hidden email]> wrote:
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  >
>  > How are people deploying dotCMS in a HA/Load Balancing environment? I
> have
>  > 2 servers (with the potential to add a 3rd) that are in 2 different
>  > datacenters. So the idea of shared storage is out. I was wondering if
> this
>  > could be achieved via RSync? I know there will be some delay until the
> sync
>  > is complete. I am mainly concerned about the file system of dotCMS. Our
> Db
>  > system is already configured for this.
>  >
>  >
>  >
>  > Any advice would be appreciated.
>  >
>  >
>  >
>  > Thanks,
>  >
>  > TR
>
>  --
>  Jason Tesser
>  dotmarketing, Lead Programmer
>  1-305-858-1422
>
>  



--
Jason Tesser
dotmarketing, Lead Programmer
1-305-858-1422


dotCMS: Opensource CMS goodness.
http://www.dotcms.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/dotcms/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/dotcms/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[hidden email]
    mailto:[hidden email]

<*> To unsubscribe from this group, send an email to:
    [hidden email]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 
Reply | Threaded
Open this post in threaded view
|

Re: Replication for HA/Load Balancing

wezell-2
Administrator
In reply to this post by Jason Tesser-2
Todd:

You pose a great question and challenge that we'd love to help you with.  I
think there would be a number of people on this list that would be very
interested in solving the problem of pushing content from a "publishing
server" to a "live server" and I can attest that this is a fairly big item
on our dotCMS roadmap that we will be presenting at the dotCMS conference.

I do know that this problem was solved by dotCMS users down under.  Fairfax
Digital (http://www.fairfax.com.au/) used the dotCMS to build out a number
of their sites, including http://www.cuisine.com.au/ and
http://www.sunherald.com.au/ and they developed a publishing model that most
probably could be used for redundancy.  We have been in contact with Fairfax
Digital to try and get them to commit their code back to the project, which
they are bound to do under the GPL licensing.  Sadly, after initially
promising to commit their code, they've stopped communicating with us.

I'll ask a question to the list.  Are there other dotCMS users who would be
willing to commit time and resources to help achieve the goal of separating
the admin content authoring tool (the portal) from the published website?
I  know we at dotCMS would be interested in exploring forming a consortium
of developers and backers to achieve this goal.  I'd like to hear other
thoughts.



--
Will Ezell

phone: 305.858.1422 ext. 286
direct: 978.296.4239

www.dotmarketing.com
www.dotcms.org





On 2/4/08, Jason Tesser <[hidden email]> wrote:

>
> Using rsync could be a problem as not only is there a time difference
> but the system would not be atomic.  Changes on both systems at around
> the same time could cause problems.  Also the servers need to be able
> to have multicast traffic between them so the cache stays up to date.
> This would also cause you a problem I think.
>
> On Feb 4, 2008 9:03 AM, Todd Reed <[hidden email]> wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > How are people deploying dotCMS in a HA/Load Balancing environment?   I
> have
> > 2 servers (with the potential to add a 3rd) that are in 2 different
> > datacenters.  So the idea of shared storage is out.  I was wondering if
> this
> > could be achieved via RSync?  I know there will be some delay until the
> sync
> > is complete.  I am mainly concerned about the file system of
> dotCMS.  Our Db
> > system is already configured for this.
> >
> >
> >
> > Any advice would be appreciated.
> >
> >
> >
> > Thanks,
> >
> > TR
>
>
>
> --
> Jason Tesser
> dotmarketing, Lead Programmer
> 1-305-858-1422
>
>
> dotCMS: Opensource CMS goodness.
> http://www.dotcms.org
> Yahoo! Groups Links
>
>
>
>


--
Will Ezell

phone: 305.858.1422 ext. 286
direct: 978.296.4239

www.dotmarketing.com
www.dotcms.org
Reply | Threaded
Open this post in threaded view
|

Re: Replication for HA/Load Balancing

Mr. Christopher Falzone
Will,
I would definitely be interested in this.  I don't know how much use I
would be on the development side though.

Todd,
I know your systems are not in the same place, but Edinboro is running 3
servers with redundant load-balancers.  So in that aspect it is
definitely possible.  However, they share the same assets.

Thanks,

Christopher F. Falzone
Technology & Communications
Edinboro University
(814) 732-1080
[hidden email]
http://www.edinboro.edu

Great Things Happen Here!



Will Ezell wrote:

>
> Todd:
>
> You pose a great question and challenge that we'd love to help you
> with.  I think there would be a number of people on this list that
> would be very interested in solving the problem of pushing content
> from a "publishing server" to a "live server" and I can attest that
> this is a fairly big item on our dotCMS roadmap that we will be
> presenting at the dotCMS conference.
>
> I do know that this problem was solved by dotCMS users down under.  
> Fairfax Digital (http://www.fairfax.com.au/ 
> <http://www.fairfax.com.au/>) used the dotCMS to build out a number of
> their sites, including http://www.cuisine.com.au/ 
> <http://www.cuisine.com.au/> and http://www.sunherald.com.au/ 
> <http://www.sunherald.com.au/> and they developed a publishing model
> that most probably could be used for redundancy.  We have been in
> contact with Fairfax Digital to try and get them to commit their code
> back to the project, which they are bound to do under the GPL
> licensing.  Sadly, after initially promising to commit their code,
> they've stopped communicating with us.
>
> I'll ask a question to the list.  Are there other dotCMS users who
> would be willing to commit time and resources to help achieve the goal
> of separating the admin content authoring tool (the portal) from the
> published website?  I  know we at dotCMS would be interested in
> exploring forming a consortium of developers and backers to achieve
> this goal.  I'd like to hear other thoughts.
>
>
>
> --
> Will Ezell
>
> phone: 305.858.1422 ext. 286
> direct: 978.296.4239
>
> www.dotmarketing.com <http://www.dotmarketing.com/>
> www.dotcms.org <http://www.dotcms.org/>
>
>
>
>
>
> On 2/4/08, *Jason Tesser* <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Using rsync could be a problem as not only is there a time difference
>     but the system would not be atomic.  Changes on both systems at around
>     the same time could cause problems.  Also the servers need to be able
>     to have multicast traffic between them so the cache stays up to date.
>     This would also cause you a problem I think.
>
>     On Feb 4, 2008 9:03 AM, Todd Reed <[hidden email]
>     <mailto:[hidden email]>> wrote:
>     >
>     >
>     >
>     >
>     >
>     >
>     >
>     >
>     >
>     > How are people deploying dotCMS in a HA/Load Balancing
>     environment?   I have
>     > 2 servers (with the potential to add a 3rd) that are in 2 different
>     > datacenters.  So the idea of shared storage is out.  I was
>     wondering if this
>     > could be achieved via RSync?  I know there will be some delay
>     until the sync
>     > is complete.  I am mainly concerned about the file system of
>     dotCMS.  Our Db
>     > system is already configured for this.
>     >
>     >
>     >
>     > Any advice would be appreciated.
>     >
>     >
>     >
>     > Thanks,
>     >
>     > TR
>
>
>
>     --
>     Jason Tesser
>     dotmarketing, Lead Programmer
>     1-305-858-1422
>
>
>     dotCMS: Opensource CMS goodness.
>     http://www.dotcms.org <http://www.dotcms.org>
>     Yahoo! Groups Links
>
>
>         (Yahoo! ID required)
>
>         mailto:[hidden email]
>     <mailto:[hidden email]>
>
>
>
>
>
>
> --
> Will Ezell
>
> phone: 305.858.1422 ext. 286
> direct: 978.296.4239
>
> www.dotmarketing.com <http://www.dotmarketing.com>
> www.dotcms.org <http://www.dotcms.org>
>  
Reply | Threaded
Open this post in threaded view
|

RE: Replication for HA/Load Balancing

Todd Reed-2
Yes,  I am mainly concerned with single failure point of the NAS/Shared
storage.  I'm willing to sacrifice a few moments of files being "out of
sync" to accomplish this.  I've done this with the database systems and
other file systems.  I'm just not familiar enough with dotCMS to
understand completely how it interacts with the file system and which
directories/configurations need to be synced, etc.

--TR

 

From: [hidden email] [mailto:[hidden email]] On Behalf
Of Christopher F. Falzone
Sent: Monday, February 04, 2008 10:43 AM
To: [hidden email]
Subject: Re: [dotcms] Replication for HA/Load Balancing

 

Will,
I would definitely be interested in this.  I don't know how much use I
would be on the development side though.

Todd,
I know your systems are not in the same place, but Edinboro is running 3
servers with redundant load-balancers.  So in that aspect it is
definitely possible.  However, they share the same assets.

Thanks,

Christopher F. Falzone
Technology & Communications
Edinboro University
(814) 732-1080
[hidden email]
http://www.edinboro.edu
 
Great Things Happen Here!



Will Ezell wrote:

Todd:

You pose a great question and challenge that we'd love to help you with.
I think there would be a number of people on this list that would be
very interested in solving the problem of pushing content from a
"publishing server" to a "live server" and I can attest that this is a
fairly big item on our dotCMS roadmap that we will be presenting at the
dotCMS conference.

I do know that this problem was solved by dotCMS users down under.
Fairfax Digital (http://www.fairfax.com.au/) used the dotCMS to build
out a number of their sites, including http://www.cuisine.com.au/ and
http://www.sunherald.com.au/ and they developed a publishing model that
most probably could be used for redundancy.  We have been in contact
with Fairfax Digital to try and get them to commit their code back to
the project, which they are bound to do under the GPL licensing.  Sadly,
after initially promising to commit their code, they've stopped
communicating with us.

I'll ask a question to the list.  Are there other dotCMS users who would
be willing to commit time and resources to help achieve the goal of
separating the admin content authoring tool (the portal) from the
published website?  I  know we at dotCMS would be interested in
exploring forming a consortium of developers and backers to achieve this
goal.  I'd like to hear other thoughts.



--
Will Ezell

phone: 305.858.1422 ext. 286
direct: 978.296.4239

www.dotmarketing.com <http://www.dotmarketing.com/>
www.dotcms.org <http://www.dotcms.org/>






On 2/4/08, Jason Tesser <[hidden email]> wrote:

Using rsync could be a problem as not only is there a time difference
but the system would not be atomic.  Changes on both systems at around
the same time could cause problems.  Also the servers need to be able
to have multicast traffic between them so the cache stays up to date.
This would also cause you a problem I think.

On Feb 4, 2008 9:03 AM, Todd Reed <[hidden email]> wrote:

>
>
>
>
>
>
>
>
>
> How are people deploying dotCMS in a HA/Load Balancing environment?
I have
> 2 servers (with the potential to add a 3rd) that are in 2 different
> datacenters.  So the idea of shared storage is out.  I was wondering
if this
> could be achieved via RSync?  I know there will be some delay until
the sync
> is complete.  I am mainly concerned about the file system of dotCMS.
Our Db

> system is already configured for this.
>
>
>
> Any advice would be appreciated.
>
>
>
> Thanks,
>
> TR



--
Jason Tesser
dotmarketing, Lead Programmer
1-305-858-1422


dotCMS: Opensource CMS goodness.
http://www.dotcms.org
Yahoo! Groups Links






--
Will Ezell

phone: 305.858.1422 ext. 286
direct: 978.296.4239

www.dotmarketing.com
www.dotcms.org

 

Reply | Threaded
Open this post in threaded view
|

Re: Replication for HA/Load Balancing

Jim Serio-2
Todd,

I've been researching the Linux HA/DRBD project for sometime (
http://www.linux-ha.org/DRBD). A colleague demoed his set for me and within
seconds of "pulling the plug" on system A, system B was taking over duties.
Changes on B were replicated to A once is was back up. Seems like a great
project but like many open source, the documentation is lacking.

Jim

On Feb 4, 2008 11:00 AM, Todd Reed <[hidden email]> wrote:

>  Yes,  I am mainly concerned with single failure point of the NAS/Shared
> storage.  I'm willing to sacrifice a few moments of files being "out of
> sync" to accomplish this.  I've done this with the database systems and
> other file systems.  I'm just not familiar enough with dotCMS to understand
> completely how it interacts with the file system and which
> directories/configurations need to be synced, etc.
>
> --TR
>
>
>
> *From:* [hidden email] [mailto:[hidden email]] *On Behalf
> Of *Christopher F. Falzone
> *Sent:* Monday, February 04, 2008 10:43 AM
> *To:* [hidden email]
> *Subject:* Re: [dotcms] Replication for HA/Load Balancing
>
>
>
> Will,
> I would definitely be interested in this.  I don't know how much use I
> would be on the development side though.
>
> Todd,
> I know your systems are not in the same place, but Edinboro is running 3
> servers with redundant load-balancers.  So in that aspect it is definitely
> possible.  However, they share the same assets.
>
> Thanks,
>
> Christopher F. Falzone
>
> Technology & Communications
>
> Edinboro University
>
> (814) 732-1080
>
> [hidden email]
>
> http://www.edinboro.edu
>
>
>
> Great Things Happen Here!
>
>
>
> Will Ezell wrote:
>
> Todd:
>
> You pose a great question and challenge that we'd love to help you with.
> I think there would be a number of people on this list that would be very
> interested in solving the problem of pushing content from a "publishing
> server" to a "live server" and I can attest that this is a fairly big item
> on our dotCMS roadmap that we will be presenting at the dotCMS conference.
>
> I do know that this problem was solved by dotCMS users down under.
> Fairfax Digital (http://www.fairfax.com.au/) used the dotCMS to build out
> a number of their sites, including http://www.cuisine.com.au/ and
> http://www.sunherald.com.au/ and they developed a publishing model that
> most probably could be used for redundancy.  We have been in contact with
> Fairfax Digital to try and get them to commit their code back to the
> project, which they are bound to do under the GPL licensing.  Sadly, after
> initially promising to commit their code, they've stopped communicating with
> us.
>
> I'll ask a question to the list.  Are there other dotCMS users who would
> be willing to commit time and resources to help achieve the goal of
> separating the admin content authoring tool (the portal) from the published
> website?  I  know we at dotCMS would be interested in exploring forming a
> consortium of developers and backers to achieve this goal.  I'd like to hear
> other thoughts.
>
>
>
> --
> Will Ezell
>
> phone: 305.858.1422 ext. 286
> direct: 978.296.4239
>
> www.dotmarketing.com
> www.dotcms.org
>
>
>
>
>  On 2/4/08, *Jason Tesser* <[hidden email]> wrote:
>
> Using rsync could be a problem as not only is there a time difference
> but the system would not be atomic.  Changes on both systems at around
> the same time could cause problems.  Also the servers need to be able
> to have multicast traffic between them so the cache stays up to date.
> This would also cause you a problem I think.
>
> On Feb 4, 2008 9:03 AM, Todd Reed <[hidden email]> wrote:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > How are people deploying dotCMS in a HA/Load Balancing environment?   I
> have
> > 2 servers (with the potential to add a 3rd) that are in 2 different
> > datacenters.  So the idea of shared storage is out.  I was wondering if
> this
> > could be achieved via RSync?  I know there will be some delay until the
> sync
> > is complete.  I am mainly concerned about the file system of
> dotCMS.  Our Db
> > system is already configured for this.
> >
> >
> >
> > Any advice would be appreciated.
> >
> >
> >
> > Thanks,
> >
> > TR
>
>
>
> --
> Jason Tesser
> dotmarketing, Lead Programmer
> 1-305-858-1422
>
>
> dotCMS: Opensource CMS goodness.
> http://www.dotcms.org
> Yahoo! Groups Links
>
>
>
>
>
>
> --
> Will Ezell
>
> phone: 305.858.1422 ext. 286
> direct: 978.296.4239
>
> www.dotmarketing.com
> www.dotcms.org
>
>  
>



--
Jim Serio
http://jserio.asu.edu/blog
Reply | Threaded
Open this post in threaded view
|

RE: Replication for HA/Load Balancing

Todd Reed-2
I've looked into DRBD.  It's a great idea for HA, but doesn't accomplish
the load balancing aspect.  DRBD only allows one server to control the
DRBD container at any given time.  The new version has an option to
allow a second server mount the volume as a read only, but it is still
in testing and doesn't exactly work as the developers/users would like.

 

--TR

 

From: [hidden email] [mailto:[hidden email]] On Behalf
Of Jim Serio
Sent: Monday, February 04, 2008 12:07 PM
To: [hidden email]
Subject: Re: [dotcms] Replication for HA/Load Balancing

 

Todd,

I've been researching the Linux HA/DRBD project for sometime
(http://www.linux-ha.org/DRBD). A colleague demoed his set for me and
within seconds of "pulling the plug" on system A, system B was taking
over duties. Changes on B were replicated to A once is was back up.
Seems like a great project but like many open source, the documentation
is lacking.

Jim

On Feb 4, 2008 11:00 AM, Todd Reed <[hidden email]> wrote:

Yes,  I am mainly concerned with single failure point of the NAS/Shared
storage.  I'm willing to sacrifice a few moments of files being "out of
sync" to accomplish this.  I've done this with the database systems and
other file systems.  I'm just not familiar enough with dotCMS to
understand completely how it interacts with the file system and which
directories/configurations need to be synced, etc.

--TR

 

From: [hidden email] [mailto:[hidden email]] On Behalf
Of Christopher F. Falzone
Sent: Monday, February 04, 2008 10:43 AM


To: [hidden email]
Subject: Re: [dotcms] Replication for HA/Load Balancing

 

Will,
I would definitely be interested in this.  I don't know how much use I
would be on the development side though.

Todd,
I know your systems are not in the same place, but Edinboro is running 3
servers with redundant load-balancers.  So in that aspect it is
definitely possible.  However, they share the same assets.

Thanks,

Christopher F. Falzone
Technology & Communications
Edinboro University
(814) 732-1080
[hidden email]
http://www.edinboro.edu
 
Great Things Happen Here!



Will Ezell wrote:

Todd:

You pose a great question and challenge that we'd love to help you with.
I think there would be a number of people on this list that would be
very interested in solving the problem of pushing content from a
"publishing server" to a "live server" and I can attest that this is a
fairly big item on our dotCMS roadmap that we will be presenting at the
dotCMS conference.

I do know that this problem was solved by dotCMS users down under.
Fairfax Digital (http://www.fairfax.com.au/) used the dotCMS to build
out a number of their sites, including http://www.cuisine.com.au/ and
http://www.sunherald.com.au/ and they developed a publishing model that
most probably could be used for redundancy.  We have been in contact
with Fairfax Digital to try and get them to commit their code back to
the project, which they are bound to do under the GPL licensing.  Sadly,
after initially promising to commit their code, they've stopped
communicating with us.

I'll ask a question to the list.  Are there other dotCMS users who would
be willing to commit time and resources to help achieve the goal of
separating the admin content authoring tool (the portal) from the
published website?  I  know we at dotCMS would be interested in
exploring forming a consortium of developers and backers to achieve this
goal.  I'd like to hear other thoughts.



--
Will Ezell

phone: 305.858.1422 ext. 286
direct: 978.296.4239

www.dotmarketing.com <http://www.dotmarketing.com/>
www.dotcms.org <http://www.dotcms.org/>





On 2/4/08, Jason Tesser <[hidden email]> wrote:

Using rsync could be a problem as not only is there a time difference
but the system would not be atomic.  Changes on both systems at around
the same time could cause problems.  Also the servers need to be able
to have multicast traffic between them so the cache stays up to date.
This would also cause you a problem I think.

On Feb 4, 2008 9:03 AM, Todd Reed <[hidden email]> wrote:

>
>
>
>
>
>
>
>
>
> How are people deploying dotCMS in a HA/Load Balancing environment?
I have
> 2 servers (with the potential to add a 3rd) that are in 2 different
> datacenters.  So the idea of shared storage is out.  I was wondering
if this
> could be achieved via RSync?  I know there will be some delay until
the sync
> is complete.  I am mainly concerned about the file system of dotCMS.
Our Db

> system is already configured for this.
>
>
>
> Any advice would be appreciated.
>
>
>
> Thanks,
>
> TR



--
Jason Tesser
dotmarketing, Lead Programmer
1-305-858-1422


dotCMS: Opensource CMS goodness.
http://www.dotcms.org
Yahoo! Groups Links






--
Will Ezell

phone: 305.858.1422 ext. 286
direct: 978.296.4239

www.dotmarketing.com
www.dotcms.org




--
Jim Serio
http://jserio.asu.edu/blog