HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Feature Requests (http://www.howtoforge.com/forums/forumdisplay.php?f=31)
-   -   Clients folders and virtualization (http://www.howtoforge.com/forums/showthread.php?t=40986)

SamTzu 14th November 2009 16:04

Clients folders and virtualization
 
In the future it would be better to have the /var/www/clients folders that were not identical but rather have server specific paths.

ie. /var/www/server51/clients/client1/web2/web/etc

This would allow us to have easy way to virtualize the webcontent on multiple servers.

DUCKFACE 14th November 2009 23:46

it will be better if when u made mistake not to senr all of ur items to clent0 or site 0 .... :)
________
GREEN CRACK PICTURES
________
LINCOLN LIDO PICTURE
________
Volcano vaporizer

Niels 15th November 2009 03:21

Quote:

Originally Posted by SamTzu (Post 210690)
In the future it would be better to have the /var/www/clients folders that were not identical but rather have server specific paths.

ie. /var/www/server51/clients/client1/web2/web/etc

This would allow us to have easy way to virtualize the webcontent on multiple servers.

I prefer this:

/var/www/[client username]/domain.tld/subdomain/web

In that way www.domain.tld and test.domain.tld would be:

/var/www/[client username]/domain.tld/www/web
/var/www/[client username]/domain.tld/test/web

FTP for a client could point in the [client username] folder. That would also remove the /folder from website to make subdomain what I think is a stupid way to do it.

till 15th November 2009 11:34

This would mean that you client gets in big trouble if the clientname gets changed or the domain gets changed e.g. if its a test setup that goes live as most cms systems store the paths where they are installed in their config files. For that reason we use ID's for the directorys and only the domain name for reasier shell navigation as symlinks.

Quote:

That would also remove the /folder from website to make subdomain what I think is a stupid way to do it.
Just create a new website instead of a subdomain and you get a new folder for every subdomain which is not inside the web.

SamTzu 15th November 2009 14:32

Interesting dilemma. Is it possible to enhance the system without creating more problems? The virtual domain.tld link is good but the clientNR needs improvement to better fit virtualization needs. How about if the clientNR would be clientCREATION-TIME or maybe CLIENT-NAME+CREATION-TIME? Or something similar...

This would allow virtualisation something like is discussed by smeat in this thread...
http://www.proxmox.com/forum/showthread.php?t=2546

till 15th November 2009 19:17

As far as I can see, there is no problem with the client number as in a ispconfig cluster, the client number is unique even if you run hundreds of severs from one ispconfig controlpanel.


All times are GMT +2. The time now is 05:06.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.