HP StorageWorks Storage Mirroring for Linux Getting Started (T2558-96077, February 2008)

2
Configuring Your Storage Mirroring Installation
After you have installed Storage Mirroring, you need to configure your installation prior to using the software. Storage
Mirroring contains a DTSetup menu-driven application to provide easy access to the installation configuration.
1. Run the DTSetup command from the shell prompt.
2. The first time you run DTSetup after an installation or upgrade, you will be prompted to review the HP license
agreement. Review the agreement and accept the terms of agreement by typing yes. You cannot use Storage Mirroring
without agreeing to the licensing terms.
3. When the DTSetup menu appears, select the option that you want to configure.
! Setup tasks—Use these tasks to modify your Storage Mirroring configuration.
! Activation code—For each server, you must specify an activation code, which is a16-character, alpha-numeric
code that applies the appropriate Storage Mirroring license to your installation.
! Security groups—Storage Mirroring uses the native operating system to provide security. Privileges are
granted through membership in user groups defined on each machine running Storage Mirroring. To gain access
to a particular Storage Mirroring source or target, the user must provide a valid operating system user name
and password and the specified user name must be a member of one of the Storage Mirroring security groups.
The dtadmin group provides full privileges and the dtmon group provides a subset of privileges.
! Replication mount points—In order to use Storage Mirroring replication, data that will be replicated must
reside on a Storage Mirroring partition, which is specially mounted with the Storage Mirroring file system
(DTFS) driver. DTFS is a virtual file system that monitors the storage file system so that data changes can be
captured. DTFS is a transparent file system. Existing mount points may be available for replication, but the data
on those mount point can only be replicated if they are DTFS mount points. The DTSetup utility allows you to
specify which mount points should be DTFS mount points.
! IP addresses—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.
! Configuration 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.
! Performance settings
! Storage Mirroring daemonThe Storage Mirroring daemon will start automatically after Storage Mirroring is
installed and the server is rebooted. You must also restart the daemon after you mount DTFS on a mount point.
You can start and stop the Storage Mirroring daemon using this built-in DTSetup script.
! DTText—You can launch the Storage Mirroring Text Client from DTSetup. The Text Client is a full-screen,
text-based client that manages and monitors Storage Mirroring components. The interface uses DTCL commands
entered one line at a time. The Text Client offers command line editing capabilities, such as backspace cursor
movement and forward/backward command history scrolling. All connection information is displayed in columnar
text format on the screen.
NOTE: Do not run DTSetup using the sudo command. Use a real root shell to launch DTSetup instead, either
by logging in as root on the console or by using the login session of a non-privileged user to run
su - to
start a root shell.
NOTE: Storage Mirroring supports the ext2 and ext3 file systems. Storage Mirroring is compatible with
NFS and Samba as long as they are mounted on top of Storage Mirroring. Storage Mirroring
should be mounted just above the storage file system.
Do not select the root as a replication mount point.
If you have a single drive system, mount DTFS to any of the subdirectories directly under root
that you want to replicate.
If you are using Konquerer, you can only unmount a replication mount point by rebooting the
server.