HP StorageWorks Storage Mirroring user's guide (T2558-96073, February 2008)

16 - 9
Macintosh shares
A share is any volume, drive, or directory resource that is shared across a network. During failover, the target can assume or
add any source shares so that they remain accessible to the end users. Automatic share failover only occurs for standard
Windows file system shares. Other shares, including Macintosh volumes, must be configured for failover through the failover
scripts or created manually on the target.
1. On your target, set the File Server for Macintosh service to manual startup. This allows the post-failover script on the
target to control when the service starts on the target.
2. Create each volume on the target machine exactly as it exists on the source. Use the Shared Folder wizard to configure
each volume as a Macintosh-accessible volume. Follow these steps to start the wizard:
a. Open the Control Panel and click Administrative Tools.
b. Select Configure Your Server.
c. In the Configure Your Server window, click the File Server link.
d. Click Start the Shared Folder wizard to start the wizard, and then follow the directions provided by the wizard.
On the Create Shared Folders screen, you must enable
Apple Macintosh.
3. On the target machine, copy the chngname utility, chngname.exe, from the \tools\Win2K directory of the Storage
Mirroring CD or from the HP web site to the directory where Storage Mirroring is installed.
4. Add the following to your failover script.
Sample Post-Failover Script for Macintosh Shares
In the event of a failure, the Macintosh clients must remap the volume in order to access it. From the Macintosh client, use
the Chooser to select the volume that needs to be remapped.
NOTE: You can automate the creation of the volumes during the failover process by using the macfile volume
command in the post-failover batch file. For detailed information on how to use this command, see your
Windows 2000 reference guide.
rem Commands for Macintosh-accessible volume failover
rem The chngname utility (chngname.exe) must be located in the same directory where
rem Storage Mirroring is installed.
rem The following command temporarily changes the name of the server. You will need
rem to replace <drive>:\<directory>\ with the location of your Storage Mirroring chngname
rem utility and replace source_name with the name of the source machine.
<drive>\<directory>\chngname /s source_name
rem The following command starts the File Server for Macintosh service
net start "File server for Macintosh"
rem The following command changes the name of the server back to its original name.
rem You will need to replace <drive>:\<directory>\ with the location of your
rem Storage Mirroring chngname utility.
<drive>\<directory>\chngname /t