PDA

View Full Version : Clients folders and virtualization


SamTzu
14th November 2009, 15:04
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, 22: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 (http://trichomes.org/marijuana-strains/green-crack)
________
LINCOLN LIDO PICTURE (http://www.ford-wiki.com/wiki/Lincoln_Lido)
________
Volcano vaporizer (http://volcanovaporizer.net/)

Niels
15th November 2009, 02:21
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, 10: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.

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, 13: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, 18: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.