Nfs shares – HP Storage Mirroring Software User Manual

Page 355

Advertising
background image

Workload protection

Page 354 of 677

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.

rem Commands for NFS share 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 NFS service

net start "Server for NFS"

In the event of a failure, the clients must remount the shares in order to access them.

Advertising