UBC Physics & Astronomy
omegav3.phas.ubc.ca
142.103.236.23

Machine Type: Virtual Host on omega

System Info


10-11-23 Currently 3 disk slots used with 146GB (15K) disks (FRU 42D0678).    9 free slots.   146 GB, 10K disks are FRU 43W7538.
some info...

Disaster Recovery

Error in openscholar installation
Upon running Openscholar web-based installation, I got a message saying that the connection to the mysql dbase had failed. i.e. could not connect to the (remote) mysql server from the php-code.
Could not connect: Can't connect to MySQL server on 'MYSQL.SERVER' (13)
When I trid to connect from command line on the same server the connection succeeded.
The problem turned out to be SElinux. Had to run the following command:
setsebool -P httpd_can_network_connect_db=1

DISASTER RECOVERY
  1. Create new virtual machine using RHEL6.2
Additional, non-critical items to take care of:
  1. Install APCUPSD
DISASTER RECOVERY

need to update stuff below

  1. Install a new server.
  2. Load RHEL V5  (or newer).
  3. Make sure you select to install the web server and associated modules.
  4. Make sure you select to install the mysql server and associated modules.
  5. Copy over backup files from alpha:/home/backups/www (these files are rsync'd daily).
  6. Make sure mysqld and httpd are started.
  7. Make sure to set a root password for mysqld (admin -u root password newpassword).
  8. Install phpMyAdmin. Create phpMyAdmin dbases: mysql -u root -p < create_tables_mysql_4_1_2+.sql
  9. Install php-mbstring package from redhat network package archive so phpMyAdmin doesn't complain.
  10. Get include files installed into /php/includes.
  11. Check /etc/php.ini configuration file.
  12. Check /etc/http/conf configuration files including certificate files.
    /etc/http/conf/ssl.crt/www.phas.ubc.ca.crt
                   /etc/http/conf/ssl.crt/gd_bundle.crt
                   /etc/http/conf/ssl.key/www.phas.ubc.ca.key
              
  13. Install MySQL-zrm.
Additional, non-critical items to take care of:
  1. Install APCUPSD
  2. Check webalizer installation (web stats).


08-08-xx
-


08-08-xx
08-01-xx
webmaster@phas.ubc.ca [Dept. Home Page] last updated: 12/01/25