Tenon Intersystems Please see text links at bottom of page for navigation Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation
Google
Search this site:



iTools 9 : Installing, Upgrading or Removing : Moving iTools from PPC to Intel back to FAQ
Question:I have a new machine. How can I move iTools from my old PowerPC machine to my new Intel box?
Answer:The instructions for moving iTools from PPC to Intel are a little complicated, because you can only move portions of the PPC installation to the Intel box. On the other hand, if you are changing machines, but keeping the same processor, the entire Tenon folder can be moved intact.


First, install iTools and associated packages on the new machine and verify that iTools AdminServer and WebServer are running.

Second, backup data from the old machine and move tar images to new machine, as described below.

The backup should include (as applicable):
a. WebSites data
sudo tcsh
cd /Library/Tenon/WebServer/
tar czvf /Library/Tenon/WebSites.tgz WebSites
tar czvf /Library/Tenon/Configuration.tgz Configuration

b. Logs
tar czvf /Library/Tenon/WebServer/Logs.tgz Logs
cd /Library/Tenon/WebLog
tar czvf /Library/Tenon/webLogCron.tgz webLogCron

c. MySQL databases (if using MySQL)
If you are already running MySQL 5.x on the PPC:
cd /Library/Tenon/MySQL
tar czvf /Library/Tenon/MySQL-var.tgz var

If you are still running MySQL 4.x on the PPC:
Export databases using the mysqldump command.
(See MySQL documentation.)

d. DNS records (if you are hosting DNS)
cd /Library/Tenon/DNSServer
tar czvf /Library/Tenon/Configuration.tgz Configuration

These steps (a thru d) create .tgz files in /Library/Tenon on the old machine. Moving .tgz files preserves the ownership and permissions. Move all the 'tgz' files from /Library/Tenon on the old machine to /Library/Tenon on the new machine. Then follow the instructions below to untar the various elements (your configuration and web content) to the correct locations on the new machine.

a. WebSites data
sudo tcsh
cd /Library/Tenon/WebServer/
mv WebSites WebSites-ORIG
tar xzvf /Library/Tenon/WebSites.tgz
mv Configuration Configuration-ORIG
tar xzvf /Library/Tenon/Configuration.tgz

b. Logs
tar xzvf /Library/Tenon/Logs.tgz
cd /Library/Tenon/WebLog
mv webLogCron webLogCron-ORIG
tar xzvf /Library/Tenon/webLogCron.tgz

c. MySQL databases (if using MySQL)
If you are already running MySQL 5.x on the PPC:
cd /Library/Tenon/MySQL
mv var var-ORIG
tar xzvf /Library/Tenon/MySQL-var.tgz var

If you are still running MySQL 4.x on the PPC:
Import databases using the mysqldump command.
(See MySQL documentation.)
d. DNS records (if you are hosting DNS)
cd /Library/Tenon/DNSServer
mv Configuration Configuration-ORIG
tar xzvf /Library/Tenon/Configuration.tgz

Restart the WebServer on new machine. Test web sites and verify that they are working properly.

When testing is complete, change hostname and IP address of new machine (if necessary).



last updated 11.01.2011
Powered by FAQEngine V4.07.4 ©2001-2005 Bösch EDV-Consulting