HP StorageWorks Storage Mirroring for Linux User's Guide (T2558-96317, June 2009)

2 - 7
1.3.3.3. Manually attach DTLOOP to a block device—Enter the path to the
block device that is to be replicated and press Enter. Then, enter the
path to the loop device to use (/dev/loop#). DTLOOP can also use the
first one available. After pressing Enter, you will be asked if you want
to attach at an offset into the block device and if you want to use an
encrypted loop device. In general, these options can be left blank. See
the documentation for losetup for more information on using
encryption.
1.3.3.4. Manually detach DTLOOP from a block device—Enter the path of
the block device that needs to be removed from replication.
1.4. Configure iptables for Storage Mirroring—If you are using Storage Mirroring across
a router, you will need to configure the router ports to accommodate Storage Mirroring
traffic. Use this option to assist in IP address configuration.
1.4.1. Open Storage Mirroring ports in iptablesThis option attempts to open the
IP ports needed by Storage Mirroring: 1500 (TCP/UDP), 1505 (UDP), and 1506
(TCP). This option only works on RedHat firewalls with a default configuration
and is provided for administrators who are not familiar with configuring
firewalls. If possible, you should open the port yourself.
1.4.2. Close Storage Mirroring ports in iptablesThis option attempts to close the
ports that were opened in menu option 1.4.1.
1.5. Edit Storage Mirroring config file—Storage Mirroring program settings are the
user-definable options that control Storage Mirroring application settings and Storage
Mirroring processing settings. This includes options like the name of the verification log
file and the size of the Storage Mirroring memory pool. You can set these options using
DTSetup or the Storage Mirroring clients.
1.6. Configure Storage Mirroring driver performanceYou can configure various
throttling and memory settings from DTSetup, although changes to these settings
should be made with caution. Contact technical support for advice on the proper
settings for your specific environment.
2. Start/Stop Storage Mirroring daemonThe Storage Mirroring daemon will start
automatically after Storage Mirroring is installed and the server is rebooted. You can start
and stop the Storage Mirroring daemon using this built-in DTSetup script.
2.1. Start Storage Mirroring and process driver configThis option starts the Storage
Mirroring daemon and the auto replication configuration is processed.
2.2. Stop Storage Mirroring but preserve driver configThis option stops the Storage
Mirroring daemon but does not unload the drivers from the kernel or detach and
unmount replicated devices.
2.3. Restart service but preserve driver configThis option does a full stop and start of
the Storage Mirroring daemon but does not unload the drivers from the kernel or
detach and unmount replicated devices.
2.4. Restart service and reset driver configThis option does a full stop and start,
completely unloading the daemon and drivers and then reloading them. Do not unload
the driver if there are still processes using the DTFS mount point.
2.5. Stop the running service and teardown driver configThis option stops the
Storage Mirroring daemon and the drivers are unloaded from the kernel after detaching
and unmounting replicated devices. Do not unload the driver if there are still processes
using the DTFS mount point.
2.6. Go to Replication Configuration menuThis option takes you to menu option 1.3.3
and then returns you to this point when exit that menu.
3. Start User Interface (DTCL -i)—You can launch the Storage Mirroring interactive command
prompt which allows you to enter DTCL commands one at a time.
4. Documentation/Troubleshooting tasksThis menu provides access to Storage Mirroring
log files, a diagnostic collection tool, user documentation, and several legal documents.
4.1. View log files—Storage Mirroring logs alerts, which are proccessing notifications,
warnings, and error messages. The logs are written to disk.
4.1.1. View /var/log/DT/dtlog*.dtl in lessThis option uses the less file viewer
program to view all of the Storage Mirroring logs, starting from the most recent.
4.1.2. Follow the output of latest dtlogThis option uses tail -f to watch the output
of the Storage Mirroring logs in real-time.