HP StorageWorks Storage Mirroring Recover User's Guide (T5437-96008, November 2009)

381 of 739
web site to the directory where Storage Mirroring Recover is installed.
4. Add the following to your failover script.
rem Commands for Macintosh-accessible volume failover
rem The chngname utility (chngname.exe) must be located in the same
rem directory where Storage Mirroring Recover is installed.
rem The following command temporarily changes the name of the server.
You
rem will need to replace <drive>:\<directory>\ with the location of
rem your Storage Mirroring Recover chngname utility and replace
rem 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
rem original name. You will need to replace <drive>:\<directory>\ with
rem the location of your Storage Mirroring Recover chngname utility.
<drive>\<directory>\chngname /t
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.
NFS 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 NFS shares, must be configured for failover
through the failover scripts or created manually on the target.
1. On your target, set the NFS 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 shared drive or directory on the target exactly as it exists on the
source. Configure each drive or directory as an NFS share by following these
steps.
a. Right-click the drive or directory that you want to share and select Sharing.
b. Click the NFS Sharing tab on the Program Files Properties dialog box.
c. Enable Share this folder, provide the name of the share, and click OK to
share the folder as an NFS share.
3. On the target machine, copy the chngname utility, chngname.exe, from the
\tools\Win2K directory of the Storage Mirroring Recover CD or from the HP support
web site to the directory where Storage Mirroring Recover is installed.
4. Add the following to your failover script.