Current time: 04-26-2024, 04:54 PM Hello There, Guest! (LoginRegister)


Post Reply 
[HowTo] VHCS System Rebuild
Author Message
grungy Offline
Junior Member
*

Posts: 190
Joined: Dec 2006
Reputation: 6
Post: #1
[HowTo] VHCS System Rebuild
Found it in google cache:

VHCS System Rebuild

If you liked to generate again various VHCS system entries, (e.g. after Apache and/or Bind Template adjustments) you proceed as follows:

Make changes into the VHCS Templates - Apache, bind, etc. and/or in vhcs2.conf (e.g.. Secondary DNS change).

Then you sould set ?[Domain status] in the VHCS database to "CHANGES", for the Domain which are to be updated and/or rebuilt. Launch the ?[VHCS engine] manually, then then desired system entries are generated again and your changes will applied.

IE, to rebuild dns files :

Code:
root#/etc/init.d/vhcs2_daemon stop
    root#mysql -u root -p<password>
    mysql>USE vhcs2
    mysql>UPDATE `domain` SET `domain_status` = 'change' WHERE `domain_status` = 'ok';
    mysql>UPDATE `domain_aliasses` SET `alias_status` = 'change' WHERE `alias_status` = 'ok';
    mysql>UPDATE `subdomain` SET `subdomain_status` = 'change' WHERE `subdomain_status` = 'ok';
    mysql>quit
    root#/var/www/vhcs2/engine/vhcs2-rqst-mngr
    root#/etc/init.d/vhcs2_daemon start


You should note that this Procedure only for Domain, then Domain alias and at the end for Subdomains.
(This post was last modified: 04-11-2007 08:57 PM by grungy.)
04-11-2007 08:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[HowTo] VHCS System Rebuild - grungy - 04-11-2007 08:56 PM
RE: [HowTo] VHCS System Rebuild - chanwork - 04-11-2007, 09:12 PM
RE: [HowTo] VHCS System Rebuild - grungy - 04-11-2007, 09:21 PM
RE: [HowTo] VHCS System Rebuild - Daff - 05-30-2007, 05:11 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)