Apple Mac OS X manual AFP Configuration

Page 71

AFP Configuration

To migrate the AFP configuration:

1Restore the afpconfig file.

2Open Server Admin and make sure that AFP isn’t running.

3Open NetInfo Manager, located in /Applications/Utilities.

4Authenticate and go to /config.

5Choose Directory > New SubDirectory to create a record in /config.

6Change the name of the new record from “newdirectory” to “AppleFileServer” by selecting the name property’s value and editing it.

7In the Terminal application, run the following command from the directory in which the afpconfig file resides:

sudo niload -r /config/AppleFileServer . < afpconfig

8Type the 51_afpconfigmigrator command:

sudo /System/Library/ServerSetup/MigrationExtras/51_afpconfigmigrator

9In Server Admin, start AFP service.

WebObjects Applications and Frameworks

To migrate WebObjects:

1Copy saved applications and frameworks to:

Â/Library/WebObjects/

Â/System/Library/WebObjects/

2Add the following line to the new httpd.conf file:

Include /System/Library/WebObjects/Adaptors/Apache/apache.conf

3Earlier versions of WebObjects stored Apache-specific information in the file webobjects.conf, located in /System/Library/WebObjects/Adaptors/Apache/. If necessary to restore your settings, copy information out of this file into apache.conf.

4WebObjects application projects need to be manually updated to use the version of the Java Virtual Machine (VM) included with version 10.4.

If you’re using WebObjects 5, open the project in Xcode. In the Expert View for the main target’s settings, change the property value for “JAVA_VM” to “java”.

If you’re using WebObjects 4.5, you’ll need to update the source code of your applications to use Java instead of Objective-C. See the Java Converter documentation on the WebObjects 5 Developer disc for more information.

Chapter 6 Migrating From Mac OS X Server Version 10.1

71

Image 71
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 VersionStep-by-Step Instructions To upgrade the master and its replicasUpgrading an Open Directory Master and Its Replicas Perform an upgrade installation to version Update your server to versionUpgrading Mac OS X Server Version Upgrading Mac OS X Server Version Secure Sockets Layer SSL Certificates Make Adjustments as needed after initial server setupTo update a WebObjects project WebObjectsGroups To upgrade a group recordDirectory Services NetBoot ImagesMacintosh Manager Print ServiceOpen Directory Upgrade Log Web ServiceVersion 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 Create archive files Export users and groupsTo export users and groups Mail Database Web Configuration DataWeb Content MySQL DataTomcat Data FTP Configuration FilesWebmail Data WebObjects Applications and FrameworksQuickTime Streaming Server Files and Folders IP FirewallUser Data To prepare the server to store home directories To transfer tar files or disk images using FTPSet up the home directory infrastructure Copy archive files to the new serverImport 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 Dhcp configuration DNS ConfigurationTo migrate the DNS configuration Dhcp SettingsTo test the new server Set up share points and privilegesTo create a share point and set privileges 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 To export user information from Asip Provide Internet Aliases if necessaryExport user and group information if necessary To mount the Asip server Mount the Asip server on Mac OS X 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