Apple Mac OS X manual Web Content

Page 56

56

A log of the changes made to the files is created in /Library/Logs/Migration/ webconfigmigrator.log. The version 10.2 files in /etc/httpd/ are renamed to httpd.conf.obsolete, httpd_macosxserver.conf.obsolete, and mime_macosxserver.types.obsolete. A new httpd.conf file is created and a sites directory is created.

5If you’ve modified /etc/httpd/workers.properties, reapply your changes to the version of the file that’s installed with server version 10.4. The version 10.4 workers.properties file has a new entry for Weblog service.

6In Server Admin, start web service.

Web Content

Copy saved web content to:

Â/Library/WebServer/Documents/

Â/Library/WebServer/CGI-Executables/

MySQL Data

If you backed up your MySQL data using mysqldump, you can restore the data using:

mysql -p table < backup-file.sql

or

mysql database < backup-file.sql

If the MySQL database you’re migrating is still using the deprecated ISAM table format from MySQL 3.23, now is a good time to update it. Refer to the documentation on the MySQL website for migration details:

www.mysql.com/doc/en/Upgrading-from-3.23.html

This site suggests:

ÂRunning mysql_fix_privilege_tables to enable new security privilege features.

ÂRunning either mysql_convert_table_format (if all existing tables are ISAM or MyISAM) or ALTER TABLE table_name TYPE=MyISAM on all ISAM tables (to avoid the deprecated ISAM table format).

Mail Database

To migrate the mail database:

1Make sure that mail service is not running.

Open Server Admin, then click Mail. If it isn’t grayed out, click Stop Service.

2Click Maintenance, then click Migration.

3Place the saved database on the version 10.4 server. Make sure that no extra files are in the location you select.

If you place the database in the default location (/Library/AppleMail Server/), its location and accounts are displayed.

Chapter 5 Migrating From Mac OS X Server Version 10.2

Image 56
Contents Mac OS X Server Apple Computer, Inc Apple Computer, Inc. All rights reserved Contents Migrating From AppleShare IP IndexAbout This Guide What’s in This GuideUsing This Guide Using Onscreen HelpMac OS X Server Suite This guide Tells you how toGetting Documentation Updates Getting Additional InformationServers From Which You Can Upgrade or Migrate Before You BeginMigrating From a Pre-Version 10.4 Server to Version Migrating Users and Groups Migrating From Windows NTUID Here is a list of the predefined group accounts Before You Begin Version Understanding What Can Be ReusedStep-by-Step Instructions To upgrade the master and its replicasUpgrading an Open Directory Master and Its Replicas Update your server to version Perform an upgrade installation to versionUpgrading Mac OS X Server Version Upgrading Mac OS X Server Version Make Adjustments as needed after initial server setup To update a WebObjects projectWebObjects Secure Sockets Layer SSL CertificatesTo upgrade a group record Directory ServicesNetBoot Images GroupsPrint Service Open Directory Upgrade LogWeb Service Macintosh ManagerVersion Step-by-Step Instructions Upgrading Mac OS X Server Version Upgrading Mac OS X Server Version Make Adjustments as needed after initial server setup Groups Print Service Upgrading Mac OS X Server Version Before You Begin Understanding What You Can Migrate To reestablish the master and its replicasTo set up See Tools You Can UseGroup info User export file Create archive files Export users and groupsTo export users and groups Web Configuration Data Web ContentMySQL Data Mail DatabaseFTP Configuration Files Webmail DataWebObjects Applications and Frameworks Tomcat DataQuickTime Streaming Server Files and Folders IP FirewallUser Data To transfer tar files or disk images using FTP Set up the home directory infrastructureCopy archive files to the new server To prepare the server to store home directoriesTo import users and groups using Workgroup Manager Import users and groups and other dataTo migrate the web configuration Relocate saved data filesTo migrate the mail database AFP Configuration To migrate WebObjectsIP Firewall Configuration To migrate the IP firewall configurationDNS Configuration To migrate the DNS configurationDhcp Settings To migrate the Dhcp configurationSet up share points and privileges To create a share point and set privilegesTest the new server To test the new serverVersion Tools You Can Use Infrastructure Export users and groups Web Configuration Data Nidump -r /config/AppleFileServer . afpconfig Dhcp Import users and groups and other data Relocate saved data files Web Content To migrate the AFP configuration WebObjects Applications and Frameworks Server Admin, start firewall service Test the new server Version Tools You Can Use Export user Export users and groups AFP DNS Copy archive files to the new server Import exported users and groups and other data Relocate saved data files Mail Database AFP Configuration Tomcat Data User Data Migrating From Mac OS X Server Version AFP and NFS services File services administration guide Tools You Can Use Workgroup Manager or dsimport tool Export user and group information To export user and group informationCreate archive files To transfer tar files using FTP Import users and groups and other data Relocate saved data files QuickTime Streaming Server Files and Folders Migrating From Mac OS X Server Version Migrating From AppleShare IP Migrating From AppleShare IP Create Internet aliases for users Meichen,mei Mei chen Users To export user information from Asip Provide Internet Aliases if necessaryExport user and group information if necessary Mount the Asip server on Mac OS X Server To mount the Asip serverTo use the AppleShare IP Migration utility Copy the Users & Groups Data FileTo copy this file To import users and groups using Workgroup Manager Copy data to the new server To migrate the Asip mail database Migrate mailTo have users copy mail Migrating From AppleShare IP Index Index Reasons for migrating 10 requirements