Create a Racktables server

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(Created page with "* Add the misc::racktables group to server * Copy the directory /srv/org/wikimedia/racktables from the old server to the new server * Reload apache * Look at the inc/secret.php f...")
 
 
(2 intermediate revisions by one user not shown)
Line 4: Line 4:
 
* Look at the inc/secret.php file - it contains the password and database backend information. Securely store this information.  
 
* Look at the inc/secret.php file - it contains the password and database backend information. Securely store this information.  
 
* Backup the current database, in case of mishap.
 
* Backup the current database, in case of mishap.
 +
* If you are not naming the new host racktables.wikimedia.org , got to the apache sites-available directory and edit the racktables.wikimedia.org file to have the correct host name
 
* go to https://newhost/install.php - click through the steps and put the correct backend database information in.
 
* go to https://newhost/install.php - click through the steps and put the correct backend database information in.
  
 
If you want to upgrade
 
If you want to upgrade
* If you want to upgrade to the (current as of 2011/12) .19 branch, you must first upgrade to .18.4 branch.
+
* If you want to upgrade to the (current as of 2011/12) .19 branch, you must first upgrade to .18.7 branch.
 
* Grab the .tar.gz from the racktables repository. Untar this.  
 
* Grab the .tar.gz from the racktables repository. Untar this.  
 
* Copy the files over to the current directory. By default this is /srv/org/wikimedia/racktables
 
* Copy the files over to the current directory. By default this is /srv/org/wikimedia/racktables
 
* Go to https://newhost/upgrade.php - click through the steps again.  
 
* Go to https://newhost/upgrade.php - click through the steps again.  
* Repeat as necessary to upgrade to the latest version.
+
 
 +
Upgrading to the .19 branch
 +
The .19 branch is special.  When you unpack the tarball, you only need the wwwroot directory. 
 +
* Copy the wwwroot directory to /srv/org/wikimedia/racktables
 +
* Go to https://newhost/index.php
 +
* Click on the upgrade link and through all of the steps.
 +
 
 +
[[Category:How-To]]
 +
[[Category:Operations]]

Latest revision as of 09:57, 29 June 2012

  • Add the misc::racktables group to server
  • Copy the directory /srv/org/wikimedia/racktables from the old server to the new server
  • Reload apache
  • Look at the inc/secret.php file - it contains the password and database backend information. Securely store this information.
  • Backup the current database, in case of mishap.
  • If you are not naming the new host racktables.wikimedia.org , got to the apache sites-available directory and edit the racktables.wikimedia.org file to have the correct host name
  • go to https://newhost/install.php - click through the steps and put the correct backend database information in.

If you want to upgrade

  • If you want to upgrade to the (current as of 2011/12) .19 branch, you must first upgrade to .18.7 branch.
  • Grab the .tar.gz from the racktables repository. Untar this.
  • Copy the files over to the current directory. By default this is /srv/org/wikimedia/racktables
  • Go to https://newhost/upgrade.php - click through the steps again.

Upgrading to the .19 branch The .19 branch is special. When you unpack the tarball, you only need the wwwroot directory.

  • Copy the wwwroot directory to /srv/org/wikimedia/racktables
  • Go to https://newhost/index.php
  • Click on the upgrade link and through all of the steps.
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox