To set up IBM-Informix Storage Manager (ISM) to run on UNIX follow these steps:
1.Log in as informix to the machine where your engine is installed. Set up your environment to use the engine.
2. Create a directory in which to store the savesets for logical log backup. This step is only needed if you want to be able to save storage spaces or logical logs to files.
3. In the ONCONFIG configuration file of the engine, specify the volume pool names for storage spaces and logical logs by adding the following:
ISM_DATA_POOL datapool
ISM_LOG_POOL logpool
datapoolIf you are going to archiving your storage spaces to tape devices then use the value ISMData here.
If you are going to archiving your storage spaces to files then use the value ISMDiskData here.
logpoolIf you are going to be backing up your logical logs to tape devices then use the value ISMLogs here.
If you are going to be backing up your logical logs to files then use the value ISMDiskLogs here.
Example:
These parameters are for a system where devices will be used to archive storage spaces but the logical logs will be backed up to files.
ISM_DATA_POOL ISMData
ISM_LOG_POOL ISMDiskLogs
4. Set the LTAPEDEV parameter in the ONCONFIG file to anything but /dev/null.
5. Log in as root. Set up your environment to use the engine.
6. From the command line type: 7. Add user informix as an administrator by using the ism_add command with the following syntax:
ism_add-admin informix@machine_name
machine_nameHost machine name. The name should be the fully qualified name for the machine of which include the domain name.
8. Add the storage devices to the ISM server by using the ism_add command with the following syntax:
ism_add-device device_name -type Media_type_name
media_type_nameType of media used by the storage device. Choose the appropriate value from this table. The case of the letters in the media_type value are not important.
media_type | Device's media type |
himt | Half-inch magnetic tape drives |
qic | Quarter-inch cartridge tape drives |
4mm | Four-millimeter (DAT) tape drives |
8mm | Eight-millimeter tape drives |
5GB | Eight-millimeter five-gigabyte tape drives 8mm |
3480 | 3480 tape drives |
3570 | 3570 tape drives |
4890 | 4890 tape drives |
9490 | 9490 Timberline tape drives |
dlt | Digital linear tape drives |
File | Filesystem |
Optical | Optical disk drives |
VHS | VHS tape drives |
If you do not see a media_type for your device check the "Choosing and Configuring Storage Devices" chapter of the IBM Informix
Storage Manager Administrator’s Guide and also the release notes for your engine to see if a new media_type has been added.
Type of storage device. Check ISM user guide for list of valid devices.
Example:
This command adds an 8mm DAT as a storage device. The device is located at /dev/rmt/0mn in the filesystem. ism_add -device /dev/rmt/0mn -type 8mm This command adds the directory /tmp/logfiles.bak as a storage device.
ism_add -device /tmp/logfiles.bak -type file
9. Label the devices by using the ism_op command with this syntax:
ism_op-label device_name-volume volume_name
-pool pool_name
device_nameFull path name to the device.
pool_nameThe name of the volume pool to which the storage volume will belong. You must assign at least one device to each volume pool that you used in step 3.
volume_nameVolume name. Any descriptive name for this volume.
Examples:
This command labels the device /dev/rmt/0mn with a volume name of ISMData and puts it in the pool ISMData.
ism_op -label /dev/rmt/0mn -pool ISMData -volume ISMData
This command labels the directory /tmp/logfiles.bak with a volume name of ISMLogs and puts it in the pool ISMDiskLogs.
ism_op -label /tmp/logfiles.bak -pool ISMDiskLogs -volume ISMLogs
10. Mount the devices by using ism_op command with this syntax:
ism_op -mount device_name
device_nameFull path name to the device.
Example:
To mount the device /dev/rmt/0mn use this command:
ism_op -mount /dev/rmt/0mn
To mount the device /tmp/logfiles.bak use this command:
ism_op -mount /tmp/logfiles.bak
The set up is complete. Test the backup and restore using onbar commands.
Source from:https://www-304.ibm.com/support/docview.wss?uid=swg21105298
此文章由 flyinweb 于 2011-08-11 10:28:52 编辑
本日志由 flyinweb 于 2011-08-11 10:24:42 发表,目前已经被浏览 914 次,评论 0 次;
作者添加了以下标签: ISM,Informix Storage Manager;
引用通告:http://www.517sou.net/Article/645/Trackback.ashx
评论订阅:http://www.517sou.net/Article/645/Feeds.ashx