Vous êtes sur la page 1sur 6

Softek TDMF for UNIX Quick Reference Card

TDM-U30QC-001

Version 3.0
This quick reference card is NOT intended for first–time installation purposes. Softek highly recommends that new users read
all Softek TDMF manuals for complete details on installation procedures, requirements, usage, and functionality.

NOTE: Softek TDMF migrations can be performed through Where:


the Softek Common Console. For more information H <REL> is the release name in X.X.X.X format.
on useing the Softek Common Console, refer to the
Softek Common Console 2.5 User Guide for Softek H <Build> is the build number.
TDMF 3.0 (SCC-W25UG). The output regarding the install status is displayed.
Included in this output is a listing of a job used to
Installing Softek TDMF display information about the kernel rebuild.
4. Run the swjob command listed in the output from
AIX swinstall.
1. Login as root. For example: swjob -a log hp-0092 @hp:/
2. Mount the Softek TDMF Media CD, and mount the This outputs the log generated during install (by the
swinstall command); the log provides status
CD-ROM as follows:
information about the kernel rebuild and driver load.
mount -rv cdrfs /dev/cd0 /cdrom
NOTE: On HP-UX 11.11, this information can be found in
3. Type the following commands to install Softek TDMF: the swagent.log file located in /var/adm/sw/.
a.mkdir /var/opt/SFTKtdmf/
b.installp -a -V 4 -e /var/opt/SFTKtdmf/
tdmfinstall.log -d /cdrom/Softek/TDMF/ Solaris
AIX/<OS>/ 1. Login as root.
SFTKtdmf_aix_<Version>_<REL>__<Build>.bf
f tdmf 2. Load and mount the Softek TDMF CD-ROM. If the /
usr/sbin/vold process is running, the CD is
Where <OS> is the AIX version, <Version> is the AIX automatically mounted.
version you want to install in X.X.X.X format, <REL> is
the release name in X.X.X.X format, and <Build> is 3. Type the following command:
the build number. pkgadd -d /cdrom/Softek/TDMF/solaris/
4. Add /usr/SFTKtdmf/bin/ to the PATH environment <Version>/
variable, to access Softek TDMF commands. SFTKtdmf_solaris_<Version>_<REL>_<Build>.p
kg SFTKtdmf
<Version> is the Solaris version you want to install,
HP-UX <REL> is the release name in X.X.X.X format, and
<Build> is the build number.
1. Login as root.
4. Add opt/SFTKtdmf/bin to the PATH environment
2. Load and mount the Softek TDMF Media CD. If you variable.
do not know the name of the CD-ROM device, issue
the following command:
ioscan -funC disk | pg
Licensing
This displays a list of CD-ROM devices. Look for the Adding
relevant device and mount it:
mount -F cdfs -o ro /dev/dsk/c2t1d0 /cdrom
D Type the following command to enter the license key:
tdmf license [-s <license_string>]
3. Use one of the following to install Softek TDMF:
where -s is the flag to set the license and
a. For HP-UX 11.00 <license_string> is the license key obtained from
swinstall -s /cdrom/Softek/TDMF/HPUX/11/ Softek.where -s is the flag to set the license and
SFTKtdmf_hpux_B.11.00_<REL>_<Build>.depot <license_string> is the license key obtained from
SFTKtdmf Softek.
b. For HP-UX 11.11
swinstall -s /cdrom/Softek/TDMF/HPUX/11i/
SFTKtdmf_hpux_B.11.11__<REL>__<Build>.depo Querying
t SFTKtdmf D Type the following command to query the state of a
c. For HP-UX PA-RISC 11.23 current license:
swinstall -s /cdrom/Softek/TDMF/HPUX/ tdmf licensing Up for Migration
1123pa/
SFTKtdmf_hpux_B.11.23_<REL>_<Build>.depot
SFTKtdmf
d. For HP-UX 11.23 Itanium
swinstall -s /cdrom/Softek/TDMF/HPUX/
1123ipf/
SFTKtdmf_hpux_B.11.23_<REL>_<Build>.depot
SFTKtdmf
Creating Migration Volumes Adding Target Volumes
1. Decide on grouping of volumes to be migrated. Each migration volume can have one or more targets,
2. Decide on naming standard for migration volumes. but no two migration volumes can have the same target
volume. Adding a target will overwrite all data that
3. Create the migration volumes using tdmf create: currently exists on the target volume. The target volume
tdmf create [-n] [-g <group_tag>] must be un-mounted and must contain no usable data.
<migration_volume> <source_volume_path> A maximum of eight target volumes may be added to
[<target_volume_path> …] any migration volume.
Where: 1. Type the following command:
H -n: Sets Start on System Boot to False. tdmf add <migration_volume>
H -g <group_tag>: Assigns the migration volume <target_volume> [<target_volume> …]
to the specified group; the group is created if it Where:
does not already exist. H<migration_volume>: is the Softek TDMF virtual
H <migration_volume>: is the Softek TDMF virtual device that defines the relationship between
device that defines the relationship between source and target volume(s).
source and target volume(s). H <target_volume_path> is one or more target
H <source_volume_path> is the source volume volumes eligible to be the target device for the
that will be assigned to the migration volume. migration.
H <target_volume_path> is one or more target 2. Repeat for all migration volumes.
volumes eligible to be the target device for the
migration.
Managing the Migration Environment
Changing the Mount Points Deleting Migration Volumes
D Unmount all filesystems on the affected source 1. Unmount the file system associated with the
volumes. migration volume that you want to delete by issuing
Automatically the following command:
D Type the following command: Umount <mount_path>
migmodfs -m|-s [-dp] -a|-g where <mount_path> is the path to the mount point
<group_tag>|<migration_volume name> ... migration volume.
Where: 2. Update the mount point table (/etc/filesystems
on AIX, /etc/fstab on HP-UX, and /etc/vfstab
H -m: Change mount points from original source
on Solaris)
volumes to migration volumes.
H -s: Change mount points from migration volumes
3. Type the following command to delete the migration
back to source volumes. volume:
H -d: Delete all backup copies of /etc/
tdmf delete <migration_volume>
filesystems on AIX, /etc/fstab on HP-UX, where <migration_volume> indicates the migration
and /etc/vfstab on Solaris volume to be removed.
H -p: Make changes without asking for verification. 4. Remount the file system on the source or target
H -a: Change entries for all defined migration volume by issuing following command:
volumes. mount <mount_path>
H -g: Change entries for migration volumes with where <mount_path> is the path to the source or
specified <group_tag>. target volume.
H <migration_volume>: is the Softek TDMF virtual
device that defines the relationship between
source and target volume(s). Removing Target Volumes
Manually D Type the following command to remove one or more
target volumes from a migration volume:
In some circumstances, it may be preferable to change
the mount point table manually and should be edited tdmf remove -a | -g <group_tag> |
according to the appropriate file system specifications. <migration_volume> [<target_volume_path>
[<target_volume_path> ...]]
D On AIX, the mount point table is located under NOTE: If either the -a or -g <group_tag> options, or a
/etc/filesystems migration volume name is specified with no target
D On HP-UX, the mount point table is located under / volume path, the first target volume for each
etc/fstab migration volume included will be removed.
D On Solaris, the mount point table is located under
/etc/vfstab
Once you have updated the mount point table, you must
unmount the file system off the source volumes and re-
mount them on the newly created migration volumes
using the mount command.
Managing Migration Groups 3. Check that the SOURCE and UPTODATE volumes have
switched:
The tdmf group command can be used to transfer an
existing migration volume from one migration group to tdmf status -l -a
another; add an existing migration volume to a migration
group; or remove a migration volume from a migration
group. Status Monitoring
D Type the following command:
D Progress of the copy can be monitored by using the
tdmf status command:
tdmf group <group_tag> [-r] [-a]]
<migration_volume> [<migration_volume> tdmf status [-l] -a | -g <group_tag> |
...] <migration_volume_name>
[<migration_volume_name> ...]
Using Softek TDMF
Target Volume States
Starting a Copy D SCRATCH: A target volume that is not in a usable state.
D Type the following command: A copy operation has not completed, or has never
tdmf copy [-f] [-x] [-s <100th's_secs>] been started.
[-b <blocksizeKB>] [-t<num_of_threads>] -a D COPYING: A target volume that has been the subject of
| -g <group_tag> | <migration_volume_name> a tdmf copy command which is not yet complete. It is
[<migration_volume_name]...] also receiving mirrored writes by applications to the
Where: migration volume.
H -f: Forces a copy to start at the beginning for all
D UPTODATE: A target volume that has been the subject
target volumes. of a successful tdmf copy command. It is part of an
active migration configuration and is being written to
H -x: Performs an automatic switchover upon
synchronously with the source volume. It is being
completion of the copy operations, redesignating maintained as an up-to-date copy of the source
the first target volumes as the new source volumes volume.
for each migration volume.
D MIXED: Applies to a migration volume with multiple
H -s: Throttles the copy operation by ensuring that a
target volumes which are not in the same state.
minimum amount of time elapses between each Examine the state of each individual target to
copy I/O to each target volume (the default is 10 determine what action to take. For example MIXED
(100th's of a second)). will be shown if some of the target volumes for a
H -b: Sets the size of the buffer for each copy migration volume are in SCRATCH state and some are
operation (the default is 256 KB). in COPYING state. The -l option will show the
H -t: Sets the number of concurrent threads details of each target volume.
performing the copy operation in parallel for the
migration volumes indicated (the default is 4). Softek TDMF Commands and
NOTE: To resume a terminated copy operation, issue the Switches
tdmf copy command without the -f option.

tdmf add
Stopping a Copy
D The tdmf copy command can be terminated at any tdmf add <migration_volume_name>
time with either of the following UNIX commands: <target_volume_path>
[<target_volume_path> ...]
$ kill %<job_number> or $ kill <process_id>
where <job_number> is the job number and where:
<process_id> the process id. D <migration_volume_name>: indicates one or more
migration volumes.
<target_volume_path> is one or more target
Resuming a Copy D
volumes.
D To restart the copy operation with a reduced sleep
value, enter the following command without the tdmf agent
–f option:
tdmf agent [launch |kill]
$ tdmf copy –s 0 migvol1 &
tdmf agent set [-l|-d][-e
This will restart copy operation from the point it was <Collector_IP>[:<Collector_Port>] [-i
‘killed’ but with no sleep value. <Agent_IP>]
[-t <Transmit_Interval>]
Switching I/O to the Migrated Devices where:
1. Make the tdmf copy operation has completed and D launch: Starts the Softek TDMF UNIX agent.
the state of the target volume is UPTODATE. D kill: Stops the Softek TDMF UNIX agent.
2. Type the following command to switch primary D -l: Displays the current Softek TDMF UNIX agent
I/O from the source volume to the target volume parameters.
without any impact to running applications: D -d: Unconfigures the Softek TDMF UNIX agent so it
tdmf switchover -a | -g <group_tag> | will not run on reboot.
<migration_volume_name> D -e <Collector_IP>[:<Collector_Port>]:
[<new_source_volume_path>] Specifies the IP address of the Data Collector and
[<migration_volume_name> Database.
[<new_source_volume_path>] ...]
D -i <Agent_IP>: Specifies the IP address of the tdmf create
Softek TDMF UNIX agent. This is used by the Data
Collector and Database when there are multiple IP tdmf create [-n] [-g <group_tag>]
addresses on the machine where the Softek TDMF <migration-volume_name>
UNIX is installed. <source_volume_path>
[<target_volume_path>
D -t <Transmit_Interval>: The time interval in [<target_volume_path> ...]]
minutes that the Softek TDMF UNIX agent waits
before transmitting status information back to the where:
Data Collector and Database.
D -n is for setting Start on System Boot to false. The

tdmf copy default value is set to true.


D -g <group_tag>: assigns the migration volume to
tdmf copy [-f] [-x] [-n the specified group <group_tag>,
<num_concurrent_migvols>][-s
D <migration_volume> indicates the volume to be
<100th's_secs>] [-o skipblock
<block_count>][-o mount][-o size] [-b added and <target_volume>.
<blocksizeKB>] [-t <num_of_threads>] -a | D <source_volume_path> is the source volume.
-g <group_tag> | <migration_volume_name> D <target_volume_path> is one or more target
[<migration_volume_name]...] volumes.
where:
tdmf dbdump
D -f : Forces a copy to start at the beginning for all
target volumes. tdmf dbdump [<filename>]
D -x : Performs an automatic switchover upon
where:
completion of the copy operations, re-designating
the first target volumes as the new source volumes D <filename>: name of the file to print the contents of
for each migration volume. the migration volume database.

D -s : Throttles the copy operation by ensuring that a tdmf delete


minimum amount of time elapses between each tdmf delete -a | -g <group_tag> |
copy I/O to each target volume (the default is 10 <migration_volume_name>
(100th's of a second)). [<migration_volume_name> ...]
D -o skipblock <block_count>: This override flag
is used to skip the first <block_count> number of where:
blocks. The range <block_count> can be set is H -a: Deletes all migration volumes for the system.
between 1 and 2048. This flag is primarily used on
Solaris with devices that do not support the reading H -g <group_tag>: Deletes all migration volumes

of block zero. belonging to the group, one or more individual


migration volumes names.
D -o mount: This override flag overrides the restriction
H <migration_volume_name>: Indicates one or
that prevents copying migration volumes that have
mounted targets. more migration volumes.
D -o size: This override flag overrides the restriction tdmf group
that prevents copying migration volumes that have a
larger source volume than a target volume. tdmf group <group_tag> [-r] [-a]]
D -b: Sets the size (in kilobytes) of the buffer for each <migration_volume_name>
copy operation (the default is 256 KBytes). [<migration_volume_name> ...]
D -n <num_concurrent_migvols>: Sets the number where:
of concurrent copy threads running for each
migration volume. The default number is one and H <group_tag> is the name of the new or existing
the maximum number is 4. group.
D -t: Sets the number of concurrent threads H -r: Removes the migration volume(s) from the
performing the copy operation in parallel for the group.
migration volumes indicated (the default is 4). H -a: Removes all migration volumes from the
D -a: to indicate all migration volumes defined for the group.
system. H <migration_volume> indicates the migration
D -g <group_tag>: to indicate all migration volumes volume to be moved or removed.
in a specific group.
D <migration_volume_name>: indicates one or more
tdmf help
migration volumes. tdmf help
tdmf init tdmf remove
tdmf init -b | -a | -g <group_tag> | tdmf remove -a | -g <group_tag> |
<migration_volume_name> <migration_volume_name>
[<migration_volume_name> ...] [<target_volume_path>
[<target_volume_path> ...]]
where:
H -b: Option used when the system is first booted.
where:
H -a: Deletes the first (added) target volume for all
CAUTION: This option should not be used without first
consulting Softek Technical Support. migration volumes on the host system.
H -g <group_tag>: Deletes the first (added) target
H -a: Deletes all migration volumes for the host
system. volume for all or specific migration volumes within
the specified group <group_tag>.
H -g <group_tag>: Deletes all or specific
H <migration_volume> indicates the volume to be
migration volumes belonging to the group.
removed>.
tdmf license H <target_volume_path> is one or more target
volumes.
tdmf license [-s <license_string>]
tdmf status
tdmf list
tdmf status [-l] -a | -g <group_tag> |
tdmf list <location> [[-A][-B][-D][-F] <migration_volume_name>
[-G][-O][-R][-S]] [<include_string>] [<migration_volume_name> ...]
where: where:
H <location> is either a directory path or H -l: Reports status information for each source
+ALLVMGROUPS, +VMGROUP and target volume associated with the specified
<include_string>, +ALLVMVOLUMES, migration volume(s).
+ALLMIGGROUPS, +MIGGROUP
H -a: Reports status information for all migration
<include_string>, +ALLMIGVOLUMES
volumes defined for the host system.
H - A returns any file type.
H -g <group_tag>: Reports status for all or
H - B returns block volume device paths. specific migration volumes associated with the
H - D returns directories. specified group.
H - F Returns file pathname.
H - G returns group names or paths. tdmf switchover
H - O returns other special file types (for example, tdmf switchover -a | -g <group_tag> |
pipes). <migration_volume_name>
H - R returns raw special character volume device [<new_source_volume_path>]
[<migration_volume_name>
paths [<new_source_volume_path>] ...]
H - S returns symbolic link paths.
where:
H <include_string> restricts the output of the list
H -a: Redesignates the first (added) target volume
to files that contain this optional string in their
name or path. for all migration volumes on the host system, as
the specified source.
tdmf modfs H -g <group_tag>: Redesignates the first
(added) target volume for all or specific migration
migmodfs -m|-s [-dp] -a|-g volumes on the host system, as the specified
<group_tag>|<migration_volume name> ... source.
where: tdmfdebugcapture
H -m: Change mount points from original source
volumes to migration volumes. tdmfdebugcapture
H -s: Change mount points from migration volumes tdmfdebugcapture produces a compressed tar file,
back to source volumes. in the /tmp directory, using the format:
H -d: Delete all backup copies of /etc/ <SystemName>.<Date>-<time>.tar.Z
filesystems on AIX, /etc/fstab on HP-UX, where:
and /etc/vfstab on Solaris.
H <SystemName> is the name of the system ,
H -p: Make changes without asking for verification. H <Date>: The date tdmfdebugcapture ran in the
H -a: Change entries for all defined migration format Year Month Day.
volumes. H <time>: The time at which tdmfdebugcapture ran.
H -g: Change entries for migration volumes with
specified <group_tag>.
4. Type the following command to remove Softek TDMF
tdmf vary from the server:
tdmf vary autostart on|off -a | -g swremove SFTKtdmf
<group_tag> | <migration_volume_name> NOTE: License key information and existing configurations
[<migration_volume_name> ...] will remain on the server. To completely remove
tdmf vary migration on|off -a | -g Softek TDMF, delete the directory /etc/opt/
<group_tag> | <migration_volume_name> SFTKtdmf.
[<migration_volume_name> ...] The swremove SFTKtdmf command rebuilds the
kernel to remove the Softek TDMF driver; as a
where: result, you will need to reboot the system for the
H -a: Modifies all migration volumes for the host
new kernel to take effect.
system.
H -g <group_tag>: Modifies all or specific
migration volumes belonging to the group.
Solaris
NOTE:
tdmf version 1. Login as root.
tdmf version 2. Ensure that all migrations are completed and have
stopped.
3. Type tdmf del -a to delete all migration volumes.
4. Type pkgrm SFTKtdmf to remove Softek TDMF and
Uninstalling Softek TDMF to display the installation status of Softek TDMF.
5. Type y to remove the package.
CAUTION: All migration devices must be deleted before
Softek TDMF can be removed from the system. 6. Type y to remove Softek TDMF from the server.
AIX NOTE: License key information and existing configurations
will remain on the server. To completely remove
1. Login as root. Softek TDMF, delete the directory /etc/opt/
SFTKtdmf.
2. Ensure that all migrations are completed and have
stopped.
3. Type tdmf del -a to delete all migration volumes.
4. Type the following command to remove Softek TDMF
from the server: installp -u tdmf.rte
NOTE: License key information and existing configurations
will remain on the server. To completely remove the
product, delete the directory /etc/opt/SFTKmig.

HP-UX
NOTE:
1. Login as root.
2. Ensure that all migrations are completed and have
stopped.
3. Type tdmf del -a to delete all migration volumes.

Softek TDMF Online Documentation


NOTE: Softek TDMF documentation is available on the Media CD, and on our Web site at:
http://www.softek.com/en/support/tdmf/unix
D Softek TDMF 3.0 Administration and User Guide for AIX, HP-UX, and Solaris (TDM-U30AU)
D Softek TDMF 3.0 Release Notes for AIX, HP-UX, and Solaris (TDM-U30RN)
D Softek Common Console 2.5 User Guide for Softek TDMF 3.0 (SCC-W25UG)

Ordering Hardcopy Documentation


http://www.softek.com/en/support/docorder/
© 2006 Softek Storage Solutions Corporation. All rights reserved. Technical Support
All specifications are subject to change without notice. Printed in U.S.A.
Part Number: TDM-U30QC-001 http://www.softek.com/en/support/

Vous aimerez peut-être aussi