Apple Mac OS X manual Relocate saved data files

Page 69

Step 7: Relocate saved data files

Place the files you saved from your version 10.1 server in their final location.

Web Configuration Data

To migrate the web configuration:

1Save the file /etc/httpd/servermgr_web_httpd_config.plist and the directory /etc/ httpd/sites_disabled/ and all its contents from the version 10.4 server.

2Replace the /etc/httpd/ directory and its files on the version 10.4 server with the /etc/ httpd/ directory and its contents that you saved on the former server. Also restore the saved /etc/webperfcache/webperfcache.conf.

3Copy the file /etc/httpd/servermgr_web_httpd_config.plist and the directory /etc/ httpd/sites_disabled/ and all its contents into the restored /etc/httpd/ directory.

4Open Server Admin and make sure that web service isn’t running.

5Open the Terminal application. As the root user, type the 49_webconfigmigrator command:

sudo /System/Library/ServerSetup/MigrationExtras/49_webconfigmigrator

A log of the changes made to the files is created in /Library/Logs/Migration/ webconfigmigrator.log. Original versions of changed 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.

6If 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.

7In 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

Chapter 6 Migrating From Mac OS X Server Version 10.1

69

Image 69
Contents Mac OS X Server Apple Computer, Inc Apple Computer, Inc. All rights reserved Contents Index Migrating From AppleShare IPWhat’s in This Guide About This GuideUsing Onscreen Help Using This GuideThis guide Tells you how to Mac OS X Server SuiteGetting Additional Information Getting Documentation UpdatesBefore You Begin Servers From Which You Can Upgrade or MigrateMigrating From a Pre-Version 10.4 Server to Version Migrating From Windows NT Migrating Users and GroupsUID Here is a list of the predefined group accounts Before You Begin Understanding What Can Be Reused VersionTo upgrade the master and its replicas Upgrading an Open Directory Master and Its ReplicasStep-by-Step Instructions Perform an upgrade installation to version Update your server to versionUpgrading Mac OS X Server Version Upgrading Mac OS X Server Version To update a WebObjects project Make Adjustments as needed after initial server setupWebObjects Secure Sockets Layer SSL CertificatesDirectory Services To upgrade a group recordNetBoot Images GroupsOpen Directory Upgrade Log Print ServiceWeb 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 To reestablish the master and its replicas Understanding What You Can MigrateTools You Can Use To set up SeeGroup info User export file Export users and groups To export users and groupsCreate archive files Web Content Web Configuration DataMySQL Data Mail DatabaseWebmail Data FTP Configuration FilesWebObjects Applications and Frameworks Tomcat DataIP Firewall User DataQuickTime Streaming Server Files and Folders Set up the home directory infrastructure To transfer tar files or disk images using FTPCopy archive files to the new server To prepare the server to store home directoriesImport users and groups and other data To import users and groups using Workgroup ManagerRelocate saved data files To migrate the web configurationTo migrate the mail database To migrate WebObjects AFP ConfigurationTo migrate the IP firewall configuration IP Firewall ConfigurationTo migrate the DNS configuration DNS ConfigurationDhcp Settings To migrate the Dhcp configurationTo create a share point and set privileges Set up share points and 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 To export user and group information 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 Provide Internet Aliases if necessary Export user and group information if necessaryTo export user information from Asip To mount the Asip server Mount the Asip server on Mac OS X ServerCopy the Users & Groups Data File To copy this fileTo use the AppleShare IP Migration utility To import users and groups using Workgroup Manager Copy data to the new server Migrate mail To have users copy mailTo migrate the Asip mail database Migrating From AppleShare IP Index Index Reasons for migrating 10 requirements