Archive Backup System
for OpenVMS
OpenVMS VAX Version 6.2, 7.1, 7.2 and 7.3
OpenVMS Alpha Version 6.2, 7.1-2, |
|
Media, Device and Management |
|
© 2003 Hewlett-Packard Development Company, L.P.
Confidential computer software. Valid license from hp and/or its subsidiaries required for possession, use, or
copying.
Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor's standard commercial license.
Neither hp nor any of its subsidiaries shall be liable for technical or editorial errors or omissions contained herein. The information in this document is provided "as is" without warranty of any kind and is subject to change without notice. The warranties for hp products are set forth in the express limited warranty statements accompanying such products. Nothing herein should be construed as constituting an additional warranty.
2.1 Decide Where to Install ABS/MDMS software 2-1
2.1.1 ABS/MDMS Server Software 2-1
2.1.2 ABS/MDMS Client Software 2-1
2.1.2.3 Tru64 UNIX Clients 2-2
2.2.2 Required OpenVMS Operating System Subclasses 2-2
2.2.3 Hardware, Software, and System Requirements 2-3
2.2.3.4 Required System Parameters 2-5
2.2.3.5 Required Process Account Quotas 2-5
2.2.3.6 Required Processes 2-6
2.2.3.7 Verify the Node is in the MDMS Database 2-8
3.1 Installing Archive Backup System for OpenVMS Software 3-1
3.1.1 Installing ABS/MDMS Server Software 3-2
3.1.2 Installing ABS OpenVMS Client Software 3-4
3.1.3 Installing and Configuring ABS Windows Clients 3-4
3.1.4 Configuring ABS Tru64 UNIX Clients 3-6
3.1.4.1 Modifying the Appropriate Tru64 UNIX Files 3-7
3.1.4.2 Transferring the Tru64 UNIX Backup Agent Sources 3-8
4.1 Installing ABS for the First Time 4-2
4.3 Verifying ABS Installation 4-2
4.4 Providing Automatic Start Up and Shut Down 4-3
4.5 ABS and MDMS Startup Queues 4-3
4.6 Modifying ABS and MDMS Command Procedures 4-3
4.7 Removing SLS/MDMS V2.x Automatic Startup 4-4
4.8 Meeting OpenVMS Cluster Requirements 4-4
4.10 Convert ABS Policy Database to MDMS Database 4-5
4.11 Configure Remote Tape Drives 4-5
4.12 Granting the Appropriate ABS/MDMS Access Right Identifiers 4-6
4.12.1 Revoking An Access Rights Identifier 4-7
4.13 Verifying Windows and Tru64 UNIX Client Quotas 4-7
4.14 Adding Windows Parameter 4-7
4.15 Allowing ABS Access to All Files on the Windows Systems 4-8
4.16 ABS/MDMS Graphical User Interface (GUI) Installation 4-8
4.16.1 Installing the GUI on OpenVMS Alpha 4-9
4.16.2 Installing the GUI on Intel Windows NT/95/98 4-10
4.17.1 Running the GUI on OpenVMS Alpha 4-10
4.17.1.1 Running the GUI on Windows NT/95/98 4-11
4.18 How to Remove ABS/MDMS to Version 4.0 Files 4-11
4.19 Configuration of ABS/MDMS for System Backup to Tape for Oracle Databases 4-11
A Examples of Authorizing Windows and Tru64 UNIX Clients
A.1 Adding Client Licenses A-1
A.2 Modifying Client Licenses A-1
A.3 Showing Client Licenses A-2
A.4 Removing Client Licenses A-3
B Upgrading ABS From the ABS-OMT License
C How to Delete ABS/MDMS From Your System
D.2 Converting SLS/MDMS V2.X Symbols and Database D-2
D.2.1 Executing the Conversion Command Procedure D-3
D.2.2 Resolving Conflicts During the Conversion D-3
D.2.3 Things to Look for After the Conversion D-5
D.2.4 Upgrading the Domain to MDMS V4 D-10
D.2.5 Convert from MDMS Version 3 to a V2.X Volume Database D-10
D.3 SLS V2.x to ABS V4.0 Conversion Process D-11
D.3.1 Steps for Conversion D-11
D.3.1.1 Convert the MDMS Database D-11
D.3.1.2 Determine your use of SLS D-11
D.3.1.3 Converting SLS System Backups to ABS D-11
D.3.1.4 Converting User Backup policy D-17
D.3.1.5 Monitor ABS Activity D-17
D.3.1.6 Restoring from SLS History Sets D-17
D.3.2 Conversion Utility Reference D-18
D.3.2.2 Output Command File naming and contents D-18
D.3.3 SBK Symbols in ABS Terminology D-19
D.3.4 ABS Policy Attributes in SBK Terminology D-22
D.4 Converting ABS V2.x Catalogs to V4.0 Format D-26
D.5 Converting ABS V2.x/V3.x RDB Policy Database to ABS V4.0 (MDMS Server Database) D-26
D.6 Converting ABS V3.x RMS Policy Database to ABS V4.0 (MDMS Server Database) D-27
Table 2-1 Required Software 2-4
Table 2-2 Optional Software 2-4
Table 2-3 System Parameters - Minimum Values 2-5
Table 2-4 Required Installing Account Process Quotas 2-6
Table 2-5 How to Start DECnet and the OpenVMS Queue Manager 2-7
Table 2-6 How to Register Your ABS Licenses Using VMSLICENSE.COM 2-11
Table 3-1 Stages of Installing ABS Software 3-1
Table 3-2 How to Install ABS Software 3-3
Table 3-3 Installing ABS OpenVMS Client Software 3-4
Table 3-4 Stages of Installing an ABS Windows Client 3-5
Table 3-5 Installing and Configuring an ABS Windows Client 3-5
Table 3-6 Stages of Installing and Configuring an ABS Tru64 UNIX Client 3-6
Table 3-7 Modifying the Appropriate Tru64 UNIX Files 3-7
This document is intended for storage administrators who are experienced OpenVMS system managers. This document should be used in conjunction with the Introduction to OpenVMS System Management manual.
The following conventions are used in this document:
The following related products may be mentioned in this document:
HSM refers to Hierarchical Storage Management for OpenVMS software. |
|
MDMS refers to Media and Device Management Services for OpenVMS software. |
|
The following documents are part of Archive Backup System for OpenVMS documentation set:
If you are installing Archive Backup System (ABS)/Media Device and Management System (MDMS) for the first time, read through this installation guide before installing the products. Also refer to the Archive Backup System Guide to Operations for information on configuring ABS/MDMS.
If you are updating ABS/MDMS, you should review the release notes provided in the installation kit. You may extract the release notes by entering the command:
@SYS$UPDATE:VMSINSTAL kit_name kit_location OPTIONS N
The upgrade from ABS/MDMS V3.x to V4.0 requires a conversion of the ABS policy database. See Appendix D for instructions on the conversion procedure.
If you are upgrading from SLS V.2.x to ABS/MDMS V4.0, see the information in Appendix D about converting SLS to MDMS, and converting SLS backup procedures to ABS.
Install ABS/MDMS server software on a disk with adequate space. This disk may be the system disk or another disk dedicated to ABS/MDMS. Disk space required for the installation are listed in See Required Hardware. You should also take into account the space required for log files, catalogs and databases. Additional catalog disks may be added at a later time.
The ABS/MDMS server software should reside on a system which will be managing the policy and media databases for itself and any client nodes connected to it. The MDMS server provides access to the policy and media databases.
You must install ABS/MDMS server software on at least one OpenVMS node or OpenVMS cluster system.
There is one kit for both ABS/MDMS servers and clients. The installation will provide the appropriate configuration based on what server names are entered during the installation. The configuration may be modified at a later time by updating the node and server information in the MDMS database.
ABS/MDMS client software should be installed on any OpenVMS node that can communicate with the ABS/MDMS server and for which you want to create ABS save/restore requests. This communication may be done using DECnet or TCP/IP.
For Windows clients, you must install the ABS Windows software provided in the ABS/MDMS installation kit. You must also authorize access for Windows clients on the ABS server node. These tasks are described in Chapters 3 and 4.
Tru64 UNIX clients do not require a separate client installation. However, you must transfer the GNU tar files provided by the ABS/MDMS installation kit to the client system, and then you must build the executable images on the True64 system. You must also authorize the clients on the ABS server node. These tasks are described in Chapters 3 and 4.
Both Windows and True64 UNIX clients have their backup operations occur on the ABS server node. The ABS server communicates with the Windows and Tru64 UNIX clients for data transfer and control.
To install ABS, log on to the SYSTEM account or to an account that has SETPRV or, at a minimum, has the following privileges enabled:
Note that VMSINSTAL turns off the BYPASS privilege at the start of the installation procedure.
OpenVMS operating system comes with a variety of support options, or subclasses. Subclasses include such features as networking and RMS journaling. To use ABS, your system should have the following subclasses resident:
How to verify:
For information about verifying these components, refer to either OpenVMS VAX Installation Procedures or OpenVMS Alpha Installation Procedures.
To make sure that your system is ready for the installation, verify that your system meets the following requirements:
To install software, you must meet the following minimum hardware requirements:
Enter the following command to show the amount of used disk space on your disk:
Disk space required during an full installation on an Alpha system is 214,500 blocks with 167,400 required after the installation. Disk space required on a VAX is 204,000 blocks with 120,000 required after the installation.
Table 2-1 lists the software you must have installed on your system before you can install ABS.
DECnet Phase IV or |
This software must be up and running before you start the installation procedure if you will be using a network with ABS/MDMS |
|
a. See ABS Software Product Description (SPD) for supported versions.
Table 2-2 describes the optional software you can use with ABS software
Provides the ability to save data from Windows NT systems to ABS OpenVMS server system using ABS software (provided with ABS, not purchased separately). |
||
Provides the ability to build the executable files on Tru64 UNIX clients |
||
DCSC1(Digital Cartridge Server Component) |
If you have a StorageTek Automated Cartridge Server (ACS), you must install the DCSC software. |
|
Provides network support for Windows and Tru64 UNIX clients. |
ABS/MDMS OpenVMS Server,ABS/MDMS OpenVMS Clients, system where GUI will be run. |
|
Provides library and loader testing, diagnostics, and control. |
The OpenVMS system where the robotic device is physically connected |
|
The OpenVMS or Microsoft Windows system where the GUI will be run. |
To install ABS, the system parameters must be set to the minimum value or higher. Table 2-3 lists the minimum system parameter values required for the installation procedure to run successfully. Depending on the kinds of programs and applications running at your site, you may need higher values.
GBLPAGES2 |
||
To see the current system parameter values on your system, enter the following command:
Result:
Shows the current values of all the system parameters. If you need to modify one or more of the system parameters, see the following example:
$ MCR SYSGEN
SYSGEN> SET GLBPAGES 2000
SYSGEN> WRITE CURRENT
SYSGEN> EXIT
The changed parameters should be added to SYS$SYSTEM:MODPARAMS.DAT for future changes made with AUTOGEN. You must then reboot the system so the non dynamic parameter values are recognized.
More information:
Refer to OpenVMS System Manager's Manual: Managing System Parameters for detailed information about required system parameters.
The account you use to install ABS (typically the SYSTEM account) must have sufficient quotas to enable you to perform the installation. If your SYSTEM account quotas are the same as or higher than the default values provided with the OpenVMS operating system, then these values should be sufficient to install the software.
Table 2-4 summarizes the process quotas and the quotas that VMSINSTAL requires to perform the installation.
To see your current process quotas, see the following example:
$ MCR AUTHORIZE
UAF> SHOW SMITH
Result:
This command shows all your process quotas. If you need to increase your process account quotas, see the following example:
$ MCR SYS$SYTEM:AUTHORIZE
UAF> MODIFY SMITH/ENQLM=2048
UAF> EXIT
More information:
For detailed instructions about modifying account quotas, see the description of Authorize Utility in OpenVMS System Management Subkit.
Before beginning the installation procedure, check to see that DECnet Phase IV, DECnet Plus or TCP/IP and the OpenVMS Queue Manager are running. Network software is not required if you are on a standalone system and you will not be using the GUI. To see if these processes are active on your system, enter the following command:
The following information is displayed for DECnet Phase IV:
OpenVMS V7.1 on node NODE1 8-AUG-1997 13:39:28.23Uptime 0 23:36:26
Pid Process Name State Pri I/O CPU Page flts Page
.
.
.
20A0022C QUEUE_MANAGER HIB 8 72 0 00:00:00.83 751 1210
.
.
.
20A00212 NETACP HIB 10 285 0 00:00:02.84 338 666
The following information is displayed for DECnet Plus:
37C00215 NET$ACP HIB 4 629 0 00:27:23.22 1894 2465
.
.
.
37C0024A QUEUE_MANAGER HIB 8 3333 0 00:07:45.24 1246 1766
The following information is displayed for UCX (earlier version of TCP/IP)
The following information is displayed for TCP/IP:
If these processes are not active, follow the steps in Table 2-5.
If this installation is not the initial installation of MDMS, you need to verify that the node you are installing MDMS on is in the MDMS database. Enter the following command on a node that has MDMS already installed on it and verify that the node you are installing MDMS on is in the database:
$ MDMS SHOW NODE node_name_you_are_installing_on
%MDMS-E-NOSUCHOBJECT, specified object does not exist
If the node is not in the database, you receive the %MDMS-E-NOSUCHOBJECT error message and you should create the node using the following command:
$ MDMS CREATE NODE node_name_you_are_installing_on
See the Archive Backup System for OpenVMS MDMS Reference Guide for the qualifiers to use.
If the node you are adding is an MDMS server node, the installation procedure will create the node using the /DATABASE qualifier. In addition, you need to edit all SYS$STARTUP:MDMS$SYSTARTUP.COM files in your domain and add this node to the definition of MDMS$DATABASE_SERVERS.
For your storage application to work, the hardware it depends on must be installed, connected, and configured to function with the operating system. To configure your hardware, see the hardware manuals provided with the hardware device. Also see the Archive Backup System Guide to Operations for troubleshooting suggestions.
If you are installing tape jukeboxes for use with ABS/MDMS, you should verify that the hardware is working correctly before installing ABS/MDMS. You may use the Media Robot Utility (MRU) to verify the hardware. If you do not have this software installed, it may be downloaded from
http://www.support.compaq.com/sms/mru/
MDMS provides RDF software to facilitate operations that require access to remote, network connected tape drives. This allows you to copy data from a local site to a remote site, or copy data from a remote site to a local site. RDF requires that DECnet is installed and running.
RDF is not available if you are installing MDMS with the ABS-OMT license.
During the installation you will be asked questions on whether you want to install on this node, the software that will allow it to act as a server and/or client for the RDF software. You need to decide if you want the server and/or client installed on the node.
hp recommends that you perform a backup operation on the system disk before installing any software. For details about performing a backup operation on a system disk, see the OpenVMS System Manager's Manual.
To use ABS software, you must register and load the licenses before you begin the installation procedure. This information is supplied in the License PAK document which is packaged along with Archive Backup System for OpenVMS Cover Letter.
To register a license under OpenVMS, use the following procedure:
If you plan to use ABS on more than one node in an OpenVMS Cluster, you must load the licenses on other nodes after you install ABS. See Table 2-6, Step 10 for instructions.How to Register Your ABS Licenses Using the LICENSE REGISTER Command
Enter the LICENSE REGISTER command with the product name followed by a dash (-):
$ LICENSE REGISTER ABS-SERVER-VAX - |
|
Enter the /ISSUER qualifier information, assigning the value DEC between quotation marks. |
|
Enter the /AUTHORIZATION qualifier information, assigning it the value from the AUTHORIZATION NUMBER3 entry of the PAK: |
|
Enter the /PRODUCER qualifier information, assigning the value DEC in quotes: |
|
Enter the /UNITS qualifier information, assigning it the value from the UNITSa entry of the PAK |
|
Enter the /DATE qualifier information, assigning the product's release date value from the PRODUCT RELEASE DATEa entry of the PAK: |
|
Enter the /AVAILABILITY qualifier information, assigning the value from the AVAILABILITY TABLE CODEa entry of the PAK: |
|
Enter the /OPTIONS qualifier information, assigning the value from the KEY OPTIONSa entry of the PAK: |
|
Enter the /CHECKSUM qualifier information, assigning the value from the CHa entry of the PAK:
_$ /CHECKSUM=1-xxxx-xxxx-xxxx-xxxx |
|
See How to Register Your ABS Licenses Using VMSLICENSE.COM describes how to register your license using the command procedure.
This chapter contains instructions for installing Archive Backup System for OpenVMS software.
Before proceeding with the installation procedure, make sure you have completed all of the following preinstallation tasks:
See See Stages of Installing ABS Software for the stages of installing and configuring ABS/MDMS software.
Install ABS server software as described in See Installing ABS/MDMS Server Software. If you are installing ABS in a mixed architecture environment (VAX and Alpha systems resident in a single OpenVMS Cluster), install the software in a common location. This will place the database and catalog files in a common location for the entire cluster. Images will be placed on the system disks for each system. Install ABS/MDMS on each node. |
|
Install ABS OpenVMS client software as described in See Installing ABS OpenVMS Client Software. OpenVMS client support is not available with an ABS-OMT license. |
|
Install ABS Windows client software as described in See Installing and Configuring ABS Windows Clients. |
|
Install ABS Tru64 UNIX clients as described in See Configuring ABS Tru64 UNIX Clients. |
|
Authorize Windows and Tru64 UNIX clients as described in See Authorizing Windows and Tru64 UNIX Clients. |
|
ABS/MDMS installation procedure consists of a series of questions and informational messages. The procedure will give you an option of doing a standard installation or not. The standard installation will install the ABS/MDMS software in the following manner:
ABS will be installed with the following options:
Device for ABS/MDMS - SYS$COMMON (will use current values if either MDMS or ABS are already installed)
UIC for the ABS account - [311,311]
Nodes for the database severs - Current node or already existing server nodes
What scheduling option do you want - INTERNAL
Are you using backup-via-shelving - YES (If HSM is present)
MDMS will be installed with the following options:
Device for ABS/MDMS - SYS$COMMON (or current installed location)
UIC for MDMS Account - [312,312] (or will be constructed from ABS UIC)
Node for database servers - Current node or already existing server nodes
Do you want to replace MRD$RTL.EXE - YES
MDMS GUI will files will be installed with the following options:
Do you want the MDMS GUI installed on Alpha OpenVMS - YES (if on Alpha)
Do you want files extracted for Microsoft Windows on Intel - YES
Remote Device Facility (RDF) will be installed with the following options:
Do you want MDMS support for RDF Server - YES
Do you want MDMS support for RDF Client - YES
Questions always asked:
Do you want to purge files - YES
Do you want to run the IVP - YES (except if ABS-OMT installation)
If for any reason you need to abort the installation procedure, at any time you can press CTRL/Y and the installation procedure deletes all files it has created up to that point and then exits. From this point, you can restart the installation procedure again.
Follow the steps in See How to Install ABS Software to install ABS software.
When installing ABS software, notice that ABS does not provide two separate software kits. Instead, installation of ABS OpenVMS server or client software is determined by the OpenVMS node name that you enter during the installation procedure.
See Installing ABS OpenVMS Client Software describes how to install and configure an ABS OpenVMS client.
If you use FTP to copy the setup files to the Windows System, be sure to copy the files in binary mode.
See Stages of Installing an ABS Windows Client describes the stages of installing and configuring an ABS Windows client node.
Register ABS Windows license on ABS OpenVMS server node. See See Registering ABS Licenses for instructions. |
|
Install ABS Windows client software on Windows client system as described in See Installing and Configuring an ABS Windows Client.
Note: |
|
Authorize the Windows client systems that you plan to back up using ABS (described in See Authorizing Windows and Tru64 UNIX Clients and See . |
|
Create save and restore requests for the Windows client system by using the GUI on the Windows client system, or by using the GUI or DCL on ABS OpenVMS server node. See Archive Backup System for OpenVMS Guide to Operations and Archive Backup System For OpenVMS MDMS Reference Guide for instructions about creating save and restore requests for Windows clients. |
To install and configure the Windows client software, use the procedure in See Installing and Configuring an ABS Windows Client.
Copy all files from one of the following directory located on ABS OpenVMS server node to the Windows client system where you plan to install the Windows client software, or to a location accessible by the Windows client system.
|
|
Run SETUP.EXE from this location to install ABS Windows client software.
Result: Answer the prompts exactly as you answered them during ABS server installation procedure: ABS server node-Enter the node(s) on which ABS server software has been installed and will be providing ABS services for the Windows client backup operations. If multiple nodes are specified, separate them with semi-colons. This node also verifies connection requests. If a server node is multihomed (has more than one IP address/name), specify all the names which may be used during a backup request.
Local host port number-The Windows client system uses a TCP/IP port to communicate with ABS server to initiate save and restore requests. The default port number is 1800. If you decide to change the port number, it is limited to a range between 1024 and 65535. This port number is arbitrary, but it must match the port number you use when you authorize Windows clients, described in Appendix A.
Note: |
|
Authorize the Windows clients you plan to back up using ABS as described in See Authorizing Windows and Tru64 UNIX Clients and Appendix A. |
To allow ABS to perform backup and restore operations for Tru64 UNIX clients, you must configure access between the OpenVMS systems that run ABS server software and the Tru64 UNIX client systems that contain the files to be backed up. The stages of installing and configuring a Tru64 UNIX client is described in See Stages of Installing and Configuring an ABS Tru64 UNIX Client.
Register ABS Tru64 UNIX license on the ABS OpenVMS server node. See Section 2.11 for instructions. |
|
Register ABS Tru64 UNIX license on the ABS OpenVMS server node. See Section 2.11 for instructions. |
|
Modify the appropriate files on the Tru64 UNIX client system as described in the See Modifying the Appropriate Tru64 UNIX Files. |
|
Transfer the gtar and gzip sources from ABS OpenVMS server node to each Tru64 UNIX client system that you intend to back up using ABS. See See Transferring the Tru64 UNIX Backup Agent Sources. |
|
Build the executables on each Tru64 UNIX client system that you plan to back up using ABS as described in See Building the Tru64 UNIX Executables. |
|
Authorize the Tru64 UNIX clients as described in See Authorizing Windows and Tru64 UNIX Clients and Appendix A. |
|
Create save and restore requests for theTru64 UNIX client from the OpenVMS server node. See Archive Backup System for OpenVMS Guide to Operations and Archive Backup System for OpenVMS MDMS Reference Guide for instructions about creating save and restore requests for Tru64 UNIX clients. |
See Modifying the Appropriate Tru64 UNIX Files, lists the files that you need to modify on each Tru64 UNIX client system that ABS is going to back up, and it describes the modifications to make for those specific files.
/.rhosts 4 |
Replace the ASCII readable internet address with ABS OpenVMS server nodes. The file format is:
# readable ip address account
In this example, replace node01.vms.real.node with ABS OpenVMS server node names. The account name must stay the same (ABS), and it must be specified in capital letters.
node01.vms.real.node ABS
Requirement: |
List the numeric internet address and the ASCII readable internet address of ABS OpenVMS server nodes. The file format is:
# Internet Address Hostname # Comments
01.02.03.04 node01.vms.real.node # node01 running ABS
Note: |
During the installation of ABS server software, the installation procedure creates a directory named ABS$ROOT:[CLIENTS.UNIX] on ABS server node. This directory contains the following two uncompressed sources that make up the Tru64 UNIX backup agent:
To configure a Tru64 UNIX client, you must transfer the gtar and gzip sources to each Tru64 UNIX client system that ABS is going to back up, build the executables, and place them in /usr/bin.
Refer to See Transferring the Backup Agent Sources to transfer the gtar and gzip sources from ABS server node to theTru64 UNIX client system.
u_node> ftp node01 # Connect to the ABS OpenVMS Server Node
Connected to node01.vms.dec.com.
220 node01 FTP Server (Version 3.3) Ready.
Name (node01:user1): user1
331 Username USER1 requires a Password.
Password:
230 User logged in.
Remote system type is VMS.
ftp> cd abs$root:[clients.unix] # Change to the directory that contains the files
250 CWD command successful.
ftp> pwd
257 "ABS$ROOT:[CLIENTS.UNIX]" is current directory.
ftp> ls # List the files in this directory
200 PORT command successful.
150 Opening data connection for (16.82.16.75,1174)
gnu_general_public_license.txt;4
gnu_readme_where_to_get.txt;4
gzip-1_2_4.tar;4
tar-1_12.tar;4
226 NLST Directory transfer complete.
ftp> bin # set the file transfer mode to binary
200 TYPE set to IMAGE.
ftp> get # Get the sources
(remote-file) tar-1_12.tar
(local-file) tar-1_12.tar
200 PORT command successful.
150 Opening data connection for tar-1_11_8.tar (16.82.16.75,1178)
226 Transfer complete.
2662400 bytes received in 5.7 seconds (4.6e+02 Kbytes/s)
ftp> get # Get the sources
(remote-file) gzip-1_2_4.tar
(local-file) gzip-1_2_4.tar
200 PORT command successful.
150 Opening data connection for gzip-1_2_4.tar (16.82.16.75,1494)
226 Transfer complete.
798720 bytes received in 1.8 seconds (4.3e+02 Kbytes/s)
After you have transferred the gtar and gzip sources, you are required to build the executables on the Tru64 UNIX client system. With a Tru64 UNIX OS version upgrade, it is mandatory to rebuild ABSgtar and ABSgzip executables on the Tru64 UNIX client.
The following sections describe how to build the tar and gzip executables.
Use the following procedure to build the tar executable:
u_node> tar -xvf tar-1_12.tar 1
tar-1.12/README
tar-1.12/AUTHORS
.
u_node> cd tar-1.12 2
u_node> configure --disable-nls 3
creating cache ./config.cache
checking host system type... alpha-dec-osf3.2
u_node> make 4
for subdir in doc lib intl src scripts po; do \
echo making all in $subdir; \
(cd $subdir && make CC='gcc' CFLAGS='-g -O' LDFLAGS='' LIBS=''
prefix='/usr/local' exec_prefix='/usr/local'
bindir='/usr/local/bin' libexecdir='/usr/local/libexec'
infodir='/usr/local/info' infodir='/usr/local/info'
libexecdir='/usr/local/libexec' all) || exit 1; \
.
make[1]: Leaving directory `/usr/users/user1/tar-1.11.8/po'
u_node> ls src 5
Makefile checktar.sh extract.o list.c open3.h rmt.o tar.h
.
.
buffer.c diffarch.o gnu.c names.c rmt.c tar 5
u_node> cd src 6
u-node> file tar 7
tar: COFF format alpha dynamically linked, demand paged
executable or object module not stripped
- version 3.11-8
# cp tar /usr/bin/ABSgtar 9
# chmod ugo+x /usr/bin/ABSgtar 10
# ls -l /usr/bin/ABSgtar 11
-rwxr-xr-x 1 root system 655794 Jan 24 11:07 ABSgtar
# exit 12
u-node> cd .. 13
u-node> rm -rf tar-1_12 13
%rm -f tar-1_12.tar 13
Use the following procedure to build the gzip executable:
u_node> tar -xvf gzip-1_2_4.tar 1
gzip-1.2.4/README
.
gzip-1.2.4/primos/include/sysTypes.h
u_node> ./configure 3
checking for gcc
.
checking for gzip to derive installation directory prefix
chose installation directory prefix /usr/local
creating config.status
creating Makefile
u_node> make 4
gcc -c -DSTDC_HEADERS=1 -DHAVE_UNISTD_H=1 -DDIRENT=1 -O gzip.c
.
gcc -O -o gzip gzip.o zip.o deflate.o trees.o bits.o unzip.o
inflate.o util.o crypt.o lzw.o unlzw.o unpack.o unlzh.o getopt.o
/usr/ucb/ld:
Warning: Linking some objects which contain exception information sections and some which do not. This may cause fatal runtime exception handling problems (last obj encountered without exceptions was crypt.o).
rm -f gunzip zcat
ln gzip gunzip
ln gzip zcat
u_node> ls gzip 5
gzip
u_node> file gzip 6
gzip: COFF format alpha dynamically linked, demand paged executable or object module not stripped
- version 3.11-8
u-node> su 7
Password:
# cp gzip /usr/bin/ABSgzip 8
# chmod ugo+x /usr/bin/ABSgzip 9
# ls -l /usr/bin/ABSgzip
-rwxr-xr-x 1 root system 654785 Jan 24 11:08 ABSgzip
# ln -s /usr/bin/ABSgzip /usr/bin/gzip
# exit 10
u-node> cd .. 11
u-node> rm -rf gzip-1.2.4 11
u-node> rm -f gzip-1_2_4.tar 11
After you have registered and loaded the Windows or Tru64 UNIX client license on ABS server node, run the authorization executable file to authorize the Windows or Tru64 UNIX client node names that you intend to back up using ABS. You must authorize access on the ABS OpenVMS server system for each Tru64 UNIX and Windows system that you are going to back up using ABS.
See Authorizing NT and Tru64 UNIX Client Nodes describes how to authorize Windows and Tru64 UNIX client nodes.
More Information:
For an example of adding, modifying, removing and showing Windows or Tru64 UNIX clients, see See .
Complete ABS/MDMS postinstallation tasks described in this chapter after you have successfully installed ABS/MDMS OpenVMS server or client software:
If you are installing ABS as a new installation, database initialization programs may fail to run. To initialize the database with the default storage policies and execution policies, run the following executable:
If this is the initial installation of MDMS, you may need to create the node object in the MDMS node database for this node. Use the MDMS CREATE NODE command to create this initial database node. Refer to the command reference guide for the qualifiers for this command. The following is an example:
$ MDMS CREATE NODE NABORS -
! NABORS is the DECnet Phase IV node name or a
! name you make up if you do not use DECnet
! Phase IV in your network
/DATABASE_SERVER -
! a potential database node
! must also be defined in
! in SYS$STARTUP:MDMS$SYSTARTUP.COM
/TCPIP_FULLNAME=NABORS.SITE.INC.COM -
! the TCP/IP full node name if you
! are using TCP/IP you need this if
! you are using the GUI
/DECNET_FULLNAME=INC:.SITE.NABORS -
! this is the full DECnet Phase V node name
! do not define if you do not have DECnet Phase V on this node
! be sure to define if you have DECnet Phase V installed on this node
/TRANSPORT=(DECNET,TCPIP)
! describes the transports that listeners are
! started up on
If you did not execute the IVP during the installation procedure, you can execute it immediately after installing ABS/MDMS software. Enter the following command at the DCL system prompt:
If an error occurs during the IVP, the following message is displayed:
ABS Version V4.1 Installation Verification Procedure failed.
%VMSINSTAL-E-IVPFAIL, The IVP for ABS Version V4.1 has failed.
Errors can occur during the installation if any of the following conditions exist:
For descriptions of the error messages generated by these conditions, see the OpenVMS documentation on system messages, recovery procedures, and OpenVMS software installation. If you are notified that any of these conditions exist, you should take the appropriate action as described in the message.
You must edit the startup and shutdown files to provide automatic startup and shutdown of ABS/MDMS software. To make sure that ABS/MDMS automatically starts up and shuts down, follow these steps:
ABS$STARTUP uses the ABS$<node> queue to start the ABS processes. This queue will always exist after an ABS installation.
MDMS$STARTUP uses one of several queues to startup the MDMS$SERVER process. There is a logical name, MDMS$STARTUP_QUEUE, which may be defined in MDMS$SYSTARTUP.COM. This logical points to the queue which MDMS$STARTUP.COM will use. If you do not have this defined, it will attempt to use the ABS$<node> queue, then SYS$BATCH. If the logical is not defined and neither ABS$node or SYS$BATCH exist, the MDMS startup will fail.
If you are updating ABS/MDMS and you have made customizations to any of the ABS/MDMS command procedures, you may need to modify those procedures to work with ABS/MDMS V4.0. There are four procedures for which we provide template files. If the template files have changed, you should include your customizations in the new template files and then rename them to the command procedure name. The four procedures and the templates are:
SYS$STARTUP:ABS$SYSTARTUP.COM - SYS$STARTUP:ABS$SYSTARTUP.TEMPLATE
SYS$STARTUP:MDMS$SYSTARTUP.COM - SYS$STARTUP:MDMS$SYSTARTUP.TEMPLATE
MDMS$SYSTEM:MDMS$EXT_QUEUE_MANAGER.COM - MDMS$SYSTEM:MDMS$EXT_QUEUE_MANAGER.TEMPLATE
MDMS$SYSTEM:MDMS$EXT_SCHEDULER.COM - MDMS$SYSTEM:MDMS$EXT_SCHEDULER.TEMPLATE
If you have been using SLS/MDMS V2.x before and all your nodes running ABS and/or HSM now support the new MDMS make sure you remove this line from your system's start up file:
If "SYS$MANAGER:TAPESYMBOL.COM" has been included in SYS$MANAGER:SYLOGIN.COM or the User Login Command Procedure, ensure that you remove this line from the same.
If you installed ABS server software on an OpenVMS Cluster system, perform the steps in See Updating the DCL Tables on each node in the OpenVMS Cluster (excluding the installing node) where you want to use ABS.
Now that you have installed MDMS you need to configure the MDMS database. MDMS provides a command procedure that you can use to configure the MDMS database in a new installation. The procedure is completely self-documenting with a help facility, and all key object attributes are defined. The procedure guides you through the following configuration objects:
The procedure is activated using the following command:
$ @ MDMS$SYSTEM:MDMS$CONFIGURE.COM
Please refer to the Archive Backup System for OpenVMS Guide to Operations, Appendix "Configuration Example" for an example of using this procedure. If you are upgrading from SLS or ABS V2.9x, you should use the procedure MDMS$CONVERT_V2_TO_V3 instead. Refer to Appendix D.
Once MDMS is installed, and any conversions are performed, you may wish to adjust your configuration prior to performing MDMS operations.
In addition to configuring MDMS, you may also have to configure robots for jukeboxes you are planning to use. For MRD-controlled jukeboxes, the robot name is the OpenVMS device name of the robot device, and they normally fall into one of several formats:
If the jukebox is controlled by direct-connect SCSI (first option), the robot device must first be loaded on the system with one of the following DCL commands:
Alpha - $ MCR SYSMAN IO CONNECT GKxxx/NOADAPTER/DRIVER=SYS$GKDRIVER.EXE
VAX - $ MCR SYSGEN CONNECT GKxxx/NOADAPTER/DRIVER=GKDRIVER
and the device name must begin with GK. It is suggested that these commands be included in a system startup file so that they are automatically configured at boot time.
When upgrading from ABS/MDMS V3.n, you must convert the ABS Policy Database to MDMS Database. See Appendix D for information on how to do this procedure.
If you installed the RDF software, you need to configure the remote tape drives. RDF is not available if you are installing MDMS with the ABS-OMT license.
For each tape drive served with RDF Server software, make sure there is a drive object record in the MDMS database that describes it. Refer to the chapters on MDMS configuration in the Archive Backup System for OpenVMS Guide to Operations and the MDMS CREATE DRIVE command in the command reference guide.
For each node connected to the tape drive, edit the file TTI_RDEV:CONFIG_node.DAT and make sure that all tape drives are represented in the file. See the Archive Backup System for OpenVMS Guide to Operations for more information on remote drive setup.
During startup of MDMS, the RDF client and server are also started. The RDF images are linked on your system. If you see the following link errors on Alpha V6.2, this is not an RDF bug. The problem is caused by installed VMS patches ALPCOMPAT_062 and ALPCLUSIO01_062.
%LINK-I-DATMISMCH, creation date of 11-FEB-1997 15:16 in
shareable image SYS$COMMON:[SYSLIB]DISMNTSHR.EXE;3
differs from date of 4-MAY-1995 22:33 in shareable image library
SYS$COMMON:[SYSLIB]IMAGELIB.OLB;1
.
.
.
This is a known problem and is documented in TIMA. To correct the problem, issue the following DCL commands:
$ LIBRARY/REPLACE/SHARE SYS$LIBRARY:IMAGELIB.OLB SYS$SHARE:DISMNTSHR.EXE
$ LIBRARY/REPLACE/SHARE SYS$LIBRARY:IMAGELIB.OLB SYS$SHARE:INIT$SHR.EXE
$ LIBRARY/REPLACE/SHARE SYS$LIBRARY:IMAGELIB.OLB SYS$SHARE:MOUNTSHR.EXE
When ABS Server installation procedure is complete, the user account that performed the installation (typically the SYSTEM account) is granted the following ABS access rights identifiers. These identifiers are only needed if you use ABS DCL commands, or if you have the ABS_RIGHTS option turned on in the MDMS domain. For details on MDMS rights identifiers refer to Section 5.1 of ABS/MDMS Operations Guide.
To grant an access rights identifier to a user's account, run the AUTHORIZE utility.
$ SET DEFAULT SYS$SYSTEM
$ RUN AUTHORIZE
UAF>GRANT/IDENTIFIER ABS_LOOKUP_ALL USER1
%UAF-I-GRANTMSG, identifier ABS_LOOKUP_All granted to USER1
To remove an access right identifier, run AUTHORIZE utility and revoke the identifier from the user's account:
$ SET DEFAULT SYS$SYSTEM
$ RUN AUTHORIZE
UAF>REVOKE/IDENTIFIER ABS_BYPASS USER1
%UAF-I-REVOKEMSG, identifier ABS_BYPASS revoked from USER1
You can modify the other policy objects provided by ABS in the same manner. See Archive Backup System for OpenVMS Guide to Operations for instructions about adding users and enabling access controls.
Before using your storage policy, you may need to modify the MDMS related information in the policy. For example, you may wish to use a different media type than the default media type from your MDMS domain. When ABS is installed, the storage policies are initialized with the defaults from the domain. Issue an MDMS SHOW DOMAIN command to see the defaults. Make sure that your storage policy contains the desired settings before executing a save request.
If you are supporting Windows or Tru64 UNIX clients, to ensure successful save and restore operations, set the quotas to the following values on ABS OpenVMS server node:
Issuing multivolume SAVE requests to Windows client requires you to modify the Registry Path
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Sevices\Tcpip\Parameters
with the following Windows parameter (20 or greater is recommended).
TcpMaxDataRetransmissions REG_DWORD 20
This change to the default built in Windows parameter/subkey ensures that the TCP/IP connection is not prematurely terminated with send failure.
ABS must have access to all the files you wish to backup on your Windows system. There are two ways to do this:
This gives the SYSTEM account access to the files.
ABS, by default, uses the SYSTEM account to backup the files. If you wish to change the account used by ABS, you may do this by modifying the properties of the service:
The account that you select should be a member of the Administrator group. The administrator group should be able to access all the files on your Windows system, unless you set access denied for Administrator on a file.
This section describes how to install and run the Graphical User Interface (GUI) on various platforms.
As the GUI is based on Java, you must have the Java Runtime Environment (JRE) installed on the system where you are running the GUI. If you do not have the JRE installed on your system see the information below for kit locations.
The ABS/MDMS installation procedure extracts files from the kit and places them in MDMS$ROOT:[GUI...]. You can then move the Windows files to a Windows system and install them.
The GUI re quires the following in order to run:
Java Runtime Environment V1.2 or above - Since the ABS/MDMS GUI is a Java application, it requires the platform specific JRE. You can download the correct kit from the given URLs. For the OpenVMS installation, you may alternatively install the Standard Edition kit instead of the JRE kit. This is packaged as a PCSI kit, which is simpler to install. Issues concerning availability and installation can be directed to:
http://java.sun.com/products (for Microsoft Windows)
http://www.compaq.com/java (for OpenVMS Alpha)
Memory - On Windows systems, the hard drive space requirement is 4 MB for the MDMS GUI. The main memory space requirement for running the GUI is 10 MB.
During the ABS/MDMS installation, the following question will be asked:
Do you want the MDMS GUI installed on OpenVMS Alpha [YES]?
Reply "Yes" to the question if you want to install the GUI on OpenVMS. Files will be moved to MDMS$ROOT:[GUI.VMS] and the GUI installation will be complete.
If you have not already installed the JRE, you should install it by following the instructions provided at the download site, http://www.compaq.com/java. The version specific setup command procedure provided by the Java installation will establish defaults for the logical names and symbols on the system. You should add a command line to the
SYS$COMMON:[SYSMGR]SYLOGIN.COM
command procedure to run this Java setup command procedure at login.
The JAVA$CLASSPATH is defined for the GUI in the
MDMS$SYSTEM:MDMS$START_GUI.COM
command procedure provided during the installation. The call to Java to invoke the GUI is also included in this command procedure.
During the ABS/MDMS installation, the following question will be asked:
Do you want files extracted for Microsoft Windows [YES]?
Reply "Yes" if you want to install the GUI on a Microsoft Windows platform. Files will be moved to MDMS$ROOT:[GUI.WINTEL].
Move the file MDMS$ROOT:[GUI.WINTEL]SETUP.EXE to the Windows machine and run it to install the GUI.
If you have not installed the JRE, you should install it by following the instructions at the download site: http://java.sun.com/products.
Now that you have installed the GUI, you have to make sure that the server node is configured to accept communications from the GUI. The server node for the GUI must have:
To enable TCP/IP communications on the server, you have to set the TCP/IP Fullname attribute and enable the TCP/IP transport. See the command reference guide for information about setting these attributes on a node.
MDMS rights for the user must be enabled in the SYSUAF record so that the user may login to the server using the GUI. Refer to the command reference guide for information on MDMS rights.
The OpenVMS Alpha account which will be used to run the GUI should have the PGFLQUO account quota set to 200,000. Correspondingly, the system pagefile should contain enough space to handle the large pgflquo value. The account should also have a WSQUOTA value of at least 10,000. The sysgen parameter WSMAX should be 10,000 or higher. The system should also have a minumum of 128 meg of RAM, with a higher amount recommended.
To use the MDMS GUI on OpenVMS Alpha systems, use the following commands:
$ SET DISPLAY/CREATE/NODE=node_name/TRANSPORT=transport
For the SET DISPLAY command, the node_name is the name of the node on which the monitor screen exists. This allows you to use the GUI on systems other than those running OpenVMS Alpha V7.2 or higher. The transport must be a keyword of:
To use the ABS/MDMS GUI on Microsoft Windows platforms, double click on the batch file named MDMSView.bat in the MDMSView directory on the drive where you installed the GUI.
To view the ABS/MDMS GUI correctly, you must have the display property settings for the screen area set to 1024 X 768 or higher.
If you have Java installed in a location other than the normal default location, you will need to first edit the MDMSView.bat file to include the correct path. The default in this file is
Rolling back ABS/MDMS to V3.2A is only to be used in emergency situations. Any save requests done since the upgrade will be lost. Any MDMS database changes done since the upgrade will be lost. If tape volumes have been allocated, deallocated, or reused since the upgrade, these will not be reflected in the volume database after the rollback. Please use caution when deciding to do a rollback.
If you need to remove V4.0 files prior to reinstalling V3.2A, follow this procedure:
$ @ABS$SYSTEM:ABS$REMOVE_V40_FILES.COM
After the reinstall of ABS/MDMS V3.n, ABS and MDMS should be running as they were before the V4.0 installation. If any operations have been done (ie. moving a volume, creating a new save request), these will not be reflected in the restored database files.
If you are configuring ABS/MDMS for System Backup to Tape for Oracle Databases, refer to the System Backup to Tape for Oracle Databases section in the Archive Backup System for OpenVMS Guide to Operations.
Examples of Authorizing Windows and Tru64 UNIX Clients
This appendix contains examples of how to authorize Windows and Tru64 UNIX clients. This includes adding, modifying, showing, and removing Windows and Tru64 UNIX client licenses.
To use the license command as shown in the example in this appendix, you can define the following symbol at the system prompt:
$ LICENSE := $SYS$SYSTEM:ABS$CLIENT_LICENSE.EXE
All of the examples in the following sections use this symbol definition.
See Adding Client Licenses shows how to add a Tru64 UNIX or Windows client license
Would you like to Add/Modify/Remove/Show the Client License?: ADD
Enter Node Name: NTNODE
Client Node Type (UNIX or NT) [UNIX]: NT
Enter TCPIP Port Number [1800]: 1800
Client NTNODE successfully ADDED to License Database
License Count: 1 used of 6 total
Would you like to Add/Modify/Remove/Show the Client License?: ADD
Enter Node Name: UNIX_1
Client Node Type (UNIX or NT) [UNIX]: UNIX
Client UNIX_1 successfully ADDED to License Database
License Count: 1 used of 25 total
See Modifying a Client License shows how to modify the port number of an Windows or Tru64 UNIX client license.
Would you like to Add/Modify/Remove/Show the Client License?: MODIFY
Enter Node Name: NTNODE
Client Node Type (UNIX or NT) [UNIX]: NT
Current values
Type: Windows NT
Transport:TCP/IP
Port:1800
New Port #?: 1800
Client NTNODE successfully MODIFIED in License Database
License Count: 1 used of 6 total
Would you like to Add/Modify/Remove/Show the Client License?: MODIFY
Enter Node Name: UNIX_1
Client Node Type (UNIX or NT) [UNIX]: UNIX
Current values
Type: UNIX
Transport: TCP/IP
Port: 514
New Port #?: 1800
Client UNIX_1 successfully MODIFIED in License Database
License Count: 1 used of 25 total
See Showing Client Licenses illustrates how to show an Windows or Tru64 UNIX client license.
Enter Node Name or [ALL]: ALL
Client Node Type (UNIX or NT) [UNIX]: NT
Node Name Type Transport Port
--------- ---- --------- ----
NTNODE Windows NT TCP/IP 1800
License Count: 1 used of 6 total
Enter Node Name or [ALL]: ALL
Client Node Type (UNIX or NT) [UNIX]: UNIX
Node Name Type Transport Port
--------- ---- --------- ----
UNIX_1 UNIX TCP/IP 1800
License Count: 1 used of 25 total
See Removing Client Licenses shows how to remove Windows or Tru64 UNIX client licenses:
Would you like to Add/Modify/Remove/Show the Client License?: REMOVE
Enter Node Name: NTNODE
Client Node Type (UNIX or NT) [UNIX]: NT
Client NTNODE successfully REMOVED from License Database
License Count: 0 used of 6 total
Upgrading ABS From the ABS-OMT License
When upgrading ABS after using the ABS-OMT license, you only have to perform a couple of steps. Follow these steps, to upgrade ABS:
$ @SYS$MANAGER:ABS$SHUTDOWN.COM
$ @SYS$STARTUP:ABS$STARTUP.COM
How to Delete ABS/MDMS From Your System
To delete ABS software from your system, shut down ABS and delete it from the system:
$ @SYS$STARTUP:ABS$SHUTDOWN
$ @ABS$SYSTEM:ABS$DELETE_ABS
To delete MDMS software from your system, shut down MDMS and uninstall it from your system:
$ @SYS$STARTUP:MDMS$SHUTDOWN
$ @SYS$STARTUP:MDMS$UNINSTALL.COM
This appendix discusses the various conversion activities required when updating to ABS/MDMS V4.0.
SLS V2.x uses tapestart.com, volume and magazine databases, various data files, and SBK files to do backups. To go to ABS/MDMS V4.0, you may wish to convert your media information to MDMS databases and your SBK files into ABS/MDMS objects. Or you may decide to create all new information in ABS/MDMS V4.0 and skip the conversions. You may do one, both, or none of the conversions.
ABS/MDMS V2.x --> ABS/MDMS V4.0
ABS V2.x uses tapestart.com, volume and magazine databases, and various data files for media management and an ABS policy database for the ABS objects. You may wish to convert the media information into the MDMS databases or you may create new objects. In ABS/MDMS V4.0 the ABS Policy Engine has been moved into the MDMS Server. To upgrade to ABS V4.0 the ABS 2.x or 3.x Policy Database information must be exported to the MDMS Database. There are also some catalog modifications which must be done.
ABS V3.0B and MDMS 2.x--> ABS/MDMS V4.0
MDMS V2.x uses tapestart.com, volume and magazine databases. You may wish to convert them to the MDMS databases or create new objects. ABS V3.0B uses the ABS policy databases which must be moved to the MDMS database.
ABS/MDMS V3.1x or 3.2x--> ABS/MDMS V4.0
MDMS V3.x needs no conversions to work with ABS/MDMS V4.0. ABS V3.1 or V3.2 use the ABS policy database which must be moved into the MDMS database.
This section describes how to convert the SLS/MDMS V2.X symbols and database to Media and Device Management Services Version 4 (MDMS). The conversion is automated as much as possible, however, you will need to make some corrections or add attributes to the objects that were not present in SLS/MDMS V2.X.
Before doing the conversion, you should read the chapter about Media Management in the Archive Backup System for OpenVMS Guide to Operations to become familiar with configuration requirements.
All phases of the conversion process should be done on the first database node on which you installed MDMS V4. During this process you will go through all phases of the conversion:
When you install on any other node that does not use the same TAPESTART.COM as the database node, you only do the conversion of TAPESTART.COM
To execute the conversion command procedure, type in the following command:
$ @MDMS$SYSTEM:MDMS$CONVERT_V2_TO_V3
The command procedure will introduce itself and then ask what parts of the SLS/MDMS V2.x you would like to convert.
During the conversion, the conversion program will allow you to start and stop the MDMS server. The MDMS server needs to be running when converting TAPESTART.COM and the database authorization file. The MDMS server should not be running during the conversion of the other database files.
During the conversion of TAPESTART.COM the conversion program generates the following file:
$ MDMS$SYSTEM:MDMS$LOAD_DB_nodename.COM
This file contains the MDMS commands to create the objects in the database. You have the choice to execute this command procedure or not during the conversion.
The conversion of the database files are done by reading the SLS/MDMS V2.x database file and creating objects in the MDMS V4 database files.
You must have the SLS/MDMS V2.x DB server shutdown during the conversion process. Use the following command to shut down the SLS/MDMS V2.x DB server:
Because of the difference between SLS/MDMS V2.x and MDMS V4 there will be conflicts during the conversion. Instead of stopping the conversion program and asking you about each conflict, the conversion program generates the following file during each conversion:
$ MDMS$MDMS$LOAD_DB_CONFLICTS_nodename.COM
Where nodename is the name of the node you ran the conversion on. This file is not meant to be executed, it is there for you to look at and see what commands executed and caused a change in the database. This change is flagged because there was already an object in the database or this command changed an attribute of the object.
An example could be that you had two media types of the same name but one specified compressed and one other specified non compressed. This would cause a conflict. MDMS V4 does not allow two media types with the same name but different attributes. What you see in the conflict file would be the command that tried to create the same media type. You will have to create a new media type.
See Symbols in TAPESTART.COM shows the symbols in TAPESTART.COM file and what conflicts they may cause.
At the completion of the conversion of the database files, you will see a message that notes the objects that where in an object but not defined in the database. For example: the conversion program found a pool in a volume record that was not a pool object.
Because of the differences between SLS/MDMS V2.x and MDMS V4 you should go through the objects and check the attributes and make sure that the objects have the attributes that you want.
See Things to Look for After the Conversion shows the attributes of objects that you may want to check after the conversion.
Upgrading your SLS/MDMS V2 domain starts with the nodes, which have been defined as database servers in symbol DB_NODES in file TAPESTART.COM. Refer to the Installation Guide for details on how to perform the following steps.
If you had to change any of the logical name settings above you have to restart the server using '@SYS$STARTUP:MDMS$STARTUP RESTART'. You can type the server's logfile to verify that the DECnet listener for object SLS$DB has been successfully started.
This prevents a SLS/MDMS V2 server from starting the old database server process SLS$TAPMGRDB.
This section describes how to convert the MDMS V4 volume database back to a SLS/MDMS V2.X volume database.
If for some reason, you need to convert back to SLS/MDMS V2.X a conversion command procedure is provided. This conversion procedure does not convert anything other than the volume database. If you have added new objects, you will have to add these to TAPESTART.COM or to the following SLS/MDMS V2.X database files:
To execute the conversion command procedure, type in the following command:
$ @MDMS$SYSTEM:MDMS$CONVERT_V3_TO_V2
After introductory information, this command procedure will ask you questions to complete the conversion.
This chapter identifies the Conversion Process from SLS to ABS. First, the steps involved in converting from SLS to ABS are presented and explained. A Conversion Utility to help with the conversion is then presented.
This section identifies the steps involved in converting a site's backup management from SLS to ABS. These steps are intended as guidelines, since each site has different requirements and need for their backup management.
The first step in converting from SLS to ABS is to convert the volume, slot and magazine databases, and the media and device portions of TAPESTART.COM to MDMS databases. A command procedure is provided for this purpose and this procedure is documented in See Converting SLS/MDMS V2.X Symbols and Database . Please note that this version of ABS and all future versions require the accompanying version of MDMS included in the installation kit.
The next step in converting from SLS to ABS is to identify how you use SLS. There are three major uses of SLS:
ABS provides the same functionality as SLS System Backups and SLS User Backups. However, ABS cannot perform the same function as SLS Standby Archiving.
If you use SLS System Backups (as many sites do), then converting to ABS is fairly simple. If you use SLS User Backups, converting to ABS is slightly more involved, but is still fairly straightforward. If you use SLS Standby Archiving, ABS will not provide equivalent functionality.
This section describes how to convert SLS System Backups (SBK files) into ABS Policy.
At many sites, only a few of the SBK files which reside in SLS$SYSBAK are actually used. The other SBK files are a result of experimentation, false starts at configuring SLS, or are obsolete.
In order to simplify the conversion of SLS System Backups, you should first identify the SBK files which you actually use. Usually, SBK Files are used at your site if:
A simple way of finding the SBK files which are scheduled by SLS is to search the SBK files for the DAYS_1 symbol. Any SBK file which does not define DAYS_1, or defines it as blank, is not scheduled by SLS for automatic execution. These SBK files are prime candidates for obsolete or unused files.
After identifying the SBK files which are not automatically scheduled, carefully determine which of the files may be invoked manually by you or the Operator.
Once you have identified the obsolete or unused SBK files, you can remove them from SLS$SYSBAK (after backing them up in case of mistakes, of course).
Convert the Valid SBK Files to ABS Policy
Once you have cleaned up your SLS$SYSBAK directory to only contain those SBK files you actually use, it is time to convert these SBK files to ABS Storage Classes (Archives), Execution Environments and Save Requests.
hp provides a utility to help in this conversion process. The conversion utility is called SLS_CONVERT.COM, and is included as an installation kit on the ABS Kit. To install the SLS to ABS Conversion utility, issue the command:
$ @SYS$UPDATE:VMSINSTAL SLSTOVABS041 ABS$SYSTEM: ! VAX System OR
$ @SYS$UPDATE:VMSINSTAL SLSTOAABS041 ABS$SYSTEM: ! Alpha System
This command will install the conversion utility into ABS$SYSTEM:SLS_CONVERT.COM, and will create a subdirectory under the ABS$ROOT called SLS_CONVERSION. In addition, a logical name, ABS$SLS_CONVERSION will be defined to point to the work directory for the conversion effort.
The conversion utility creates DCL Command Procedures which issues appropriate ABS DCL commands equivalent to each SBK file. No changes are made to your ABS Policy Configuration directly. This allows you to experiment with the conversion utility safely, without affecting either the execution of your SLS SBK files, or starting ABS Save Requests inadvertently.
Once you have installed the conversion utility, you can create ABS command procedures for all of your SBK files by issuing the command:
The asterisk indicates you want to convert all SBK files to ABS DCL Commands. If you only want to convert one SBK file, you can specify the name of the SBK without the _SBK.COM or SLS$SYSBAK on the command line. For example, to convert NIGHTLY_SBK.COM, you would issue the command:
$ @ABS$SYSTEM:SLS_CONVERT NIGHTLY
Evaluate the ABS Conversion Command Files
After running the conversion utility, the ABS$SLS_CONVERSION directory will contain one ABS DCL Command Procedure for each SBK file converted. These output command files will contain:
You should not execute these command procedures blindly. The conversion utility attempts to duplicate the backup policy reflected in each SBK file, but you should carefully examine each command file produced to ensure that errors were not made, and that the ABS Policy to be created correctly reflects the backup policy you expect.
The things you should check for in the produced command procedures are:
The command procedure for each SBK file processed will contain the ABS DCL Commands to create one Storage Class (Archive), one Execution Environment and one or more Save Requests.
The name of the Storage Class (Archive) created for an SBK file will be the value of the CONTINUE symbol (if defined) followed by the suffix "_SC". If the CONTINUE symbol is not defined, the Storage Class (Archive) will be named the same as the SBK file with the "_SC" suffix.
The Environment created for an SBK will be named the same as the SBK file, but with an "_ENV" suffix. When a Save Request specifies a Storage Class (Archive) , the default Environment used will be the same name as the Storage Class (Archive), but with the "_ENV" suffix. Thus, the Environment created should be used by default.
Each SBK File will produce one or more ABS Save Requests. More than one ABS Save Request will be produced from an SBK file if all the following conditions are met:
For example, if an SBK file has QUALIFIER_1 defined as "/IM" indicating an Image (or Full) backup operation, but QUALIFIERS_2 is defined as "/SINCE=BACKUP" indicating an Incremental operation, then ABS will need two separate Save Requests to implement this policy. This is because an ABS Save Request will only do Full, Incremental or Selective operations, not a mix of them.
If all QUALIFIERS_n specify the same movement type and there are fewer than eight FILES_n, then ABS can combine all the operations into a single Save Request.
The Save Requests created will be named the same as the SBK file, but with "_FULL", "_INC" or "_SEL" to indicate the data movement type included in the Save Request. For example, if the SBK file NIGHTLY_SBK.COM defines FILES_1 through FILES_20, and all qualifiers include the "/IM" Image qualifier, then the conversion tool will create three Save Requests, called NIGHTLY_FULL_1 through NIGHTLY_FULL_3. Because ABS has a limit of 8 operations per save request, NIGHTLY_FULL_1 and NIGHTLY_FULL_2 would perform 8 Full backup operations, and NIGHTLY_FULL_3 would perform the last four. This limit has been removed in ABS/MDMS V4.0, so you may wish to include more operations per save request.
Consolidate ABS Policy Objects
The Conversion Utility shipped with ABS is a very simple utility. It converts each SBK file into the appropriate ABS DCL Commands to create the Storage Classes (Archives), Execution Environments and Save Requests necessary to reflect the backup policy in the SBK file.
No attempt is made to consolidate the Storage Classes (Archives) and Execution Environments, or to overlay the Save Requests for more optimum performance.
Before executing the command procedures to create the ABS Policy objects, you should try to consolidate Storage Classes (Archives) and Execution Environments. Save Requests may be combined if warranted by the intended policy, but in some cases, breaking a Save Request into several is better for reducing nightly backup time, simplifying an overall backup policy, or backing up different objects at different intervals.
Consolidating Storage Classes (Archives)
Consolidating the Storage Classes (Archives) is done by comparing their parameters. For each pair of Storage Classes (Archives), you can determine whether they can be combined by using the See Storage Class (Archive) Parameter. Note that in all cases, you can decide that one or the other parameter is correct for both, and consolidate based upon that decision.
Only the Administrator at a site can truly determine if two separate Storage Classes (Archives) can be consolidated based upon the intended use of the Storage Class (Archive).
Consolidating Execution Environments
Consolidating Execution Environments is again done by comparing the parameters of pairs of Environments, and then combining those Environments if your decisions indicate they can serve the same purpose.
Use See Execution Environment Parameter as a guide:
Will always be ABS from conversion utility, choose PRIVI LEGES best for intended Environment's use |
|
As with Storage Classes (Archives), only the Administrator at a site can truly determine if two separate Environments can be consolidated based upon the intended use of the Environment.
This section discusses the steps involved in implementing the ABS Policy as produced by the conversion utility and evaluated by the site Administrator.
Executing the Command Procedures
After you have examined the raw output command files from the conversion utility and done what consolidation or modifications seem appropriate, the command files can simply be executed using the at sign (@) operator at DCL. When each command procedure is invoked, it will:
Integrating the Prolog and Epilog Commands
There are several features of an SBK file which are not directly supported by ABS. The conversion utility creates a Prolog command file and an Epilog command file which implement some of these other features.
For example, ABS does not support the Offsite Date or Onsite Date in the SBK file directly. However, by issuing the appropriate MDMS SET VOLUME command, this can be implemented. The conversion utility writes these commands into the Prolog or Epilog command files.
When the conversion utility produces a Prolog and Epilog command procedure, they will be created in the ABS$SLS_CONVERSION directory, and will be called, the same name as the Save Request, but will have "_PROLOG" or "_EPILOG" appended. For example, if you convert the NIGHTLY_SBK.COM, you will end up with the Prolog and Epilog command files:
ABS$SLS_CONVERSION:NIGHTLY_ABS_PROLOG.COM
ABS$SLS_CONVERSION:NIGHTLY_ABS_EPILOG.COM
If you need the features implemented in the Prolog or Epilog command procedures, you should integrate these into your own Prolog and Epilog command procedures (if any). Both the Execution Environment and the Save Request may have Prolog and Epilog commands associated with them, which are usually the execution of a site specific command procedure. If you want the features implemented in the Prolog or Epilog command procedures produced by the conversion utility, you should invoke them from your site specific command procedure.
When executing an SBK file, SLS makes various DCL symbols accessible to the prolog and epilog command files you invoke. For example, SLS will define the DCL symbol DO_DISK as the name of the disk being backed up during an SBK execution. The objective is to allow the prolog or epilog commands to produce log messages, or perform other operations based upon the SBK file execution.
ABS provides logical names which provide similar functionality. For example, ABS defines the logical name ABS_OS_OBJECT_SET_1 as the set of files being backed up in the first data movement operation. Thus, it can be used in the place of the FILES_n symbol in an SBK file.
The conversion utility kit provides a command procedure, SLS_SYMBOLS.COM, which attempts to define many of the same DCL symbols as an SBK file does based upon the ABS logical names. For example, it defines the DO_DISK symbol based upon the ABS logical name ABS_OS_OBJECT_SET_1.
See ABS$SLS_CONVERSION:SBK_SYMBOLS.COM command procedure for details on the definition of each SBK symbol. Not all SLS DCL symbols defined are supported by the command procedure.
It is very important to note that once you have executed the DCL Command procedures produced by the conversion utility, the ABS Save Requests will be executing according to their schedules. This means that you will be doing both SLS and ABS backups if you do not disable the SLS SBK files.
The SLS SBK files can be disabled by changing their DAYS_n and TIME_n qualifiers to empty. This causes SLS to no longer schedule the SBK files for execution.
Since SLS and ABS use different media management subsystems, it is highly recommended that you do not use both products on the same node. If you do, you will find that the SLS and MDMS volume databases may get out of synchronization, and there may be contention and other unexpected troubles with drives and jukeboxes. If you wish to stage your SLS to ABS conversion across your network, the following approach is recommended:
Define your database server as your first set of nodes to convert; these nodes will run the MDMS database server
Perform the MDMS conversion on these nodes - see See Converting SLS/MDMS V2.X Symbols and Database.
Perform the ABS conversion on these nodes
On other client nodes still running SLS, define the appropriate TAPESTART.COM to point to nodes in the ABS/MDMS database server in the symbol DB_NODES
At this point, your volume, magazine and slot databases are being managed by MDMS, but your client systems are still able to use SLS as the backup paradigm. It is recommended that you convert the remainder of your systems to ABS/MDMS as soon as practical, because some of the more unusual features of SLS/MDMS are not supported by the new MDMS database server.
The conversion utility does not convert User Backup policy automatically. It is only intended to make converting SBK files easier or automatic.
To allow a particular user to do their own backups, follow the steps as outlined in Section . Note that there is no automatic way to set up archives for the entire user population, or a large set of users except by creating a DCL command procedure issuing the correct ABS DCL commands.
After implementing your backup policy in ABS, you should carefully monitor the activities of ABS until you are confident that your policy is being executed as intended.
There are three ways to monitor ABS activity:
ABS has the ability to restore data backed up by SLS. After you have implemented your backup policy using ABS, it may be necessary to restore data which was backed up using SLS prior to the conversion.
To restore from SLS history sets, you must create an ABS catalog for this purpose. These catalogs are not maintained by ABS and are used only for restore purposes.
ABS catalogs that are created for SLS provide the following features:
An ABS catalog created for SLS restore operations imposes the following restrictions:
To create a catalog for restoring data that was saved using SLS, follow these steps:
$ @ABS$SYSTEM:SLS_CONVERT <wildcard_SBK_spec> [<match1>] [<match2>...]
This parameter identifies the set of SBK files to be converted by this command. The string given should not include SLS$SYSBAK: or the _SBK.COM suffix. For example, if you want to convert the SBK file SLS$SYSBAK:NIGHTLY*_SBK.COM, you should issue the command:
$ @ABS$SYSTEM:SLS_CONVERT NIGHTLY*
These optional parameters allow you to search the SBK files defined by the <wildcarded_SBK_spec> and only process those files which contain ALL of the given strings. The strings must all appear on the same line in the SBK file, since the SLS_CONVERT command procedure uses a /MATCH=AND on the Search command.
The output of the SLS_CONVERT conversion utility is one DCL command procedure for each SBK file processed. The command procedures will be created in the ABS$SLS_CONVERSION directory.
Each command procedure will be named the same as the SBK file, but substituting "ABS" for "SBK". For example, if the SBK file SYSTEM_DISK_SBK.COM is converted, the output command procedure will be ABS$SLS_CONVERSION:SYSTEM_DISK_ABS.COM.
Although the command procedures can be executed immediately, it is highly recommended that you review their contents before executing them to ensure that the ABS Policy objects which will be created accurately reflect your intended backup policy.
Each output command file will contain:
See SBK Symbols in ABS Terminology, lists SBK Symbols in ABS Terminology.
See ABS Storage Class (Archives) and SLS SBK Equivalen, lists ABS Storage Class (Archive) object parameters and their SLS SBK Equivalents.
See ABS Execution Environment Parameter and SLS SBK Equivalent, lists ABS Execution Environment parameters and their SLS SBK Equivalents
See ABS Save Request Parameter and SLS SBK Equivalent, lists ABS Save Request parameters and their SLS SBK equivalents.
If you are upgrading from ABS V2.1, 2.1A or 2.1B, you must convert your catalog format before using them in V4.0.
The catalog upgrade utility upgrades catalogs from their previous format to the new V4.0 format and also deleted expired summary records from those catalogs. A log file named ABS_LOG:ABS_CATALOG_V22_UPGRADE.LOG is generated with information about all of the catalog entries it has modified or deleted.
The catalog upgrade has one update parameter: p1. The input to the p1 parameter is the name of the catalog you wish to upgrade.
You can use the catalog upgrade to upgrade a single ABS catalog or all ABS catalogs. To upgrade an ABS single catalog, specify the catalog name to the p1 parameter. To upgrade all catalogs, enter an asterisk (*) as the wildcard character, or do not supply anything to the p1 parameter.
To run the utility, use the following procedure:
1. Define the following symbol:
$ CATALOG_UPGRADE :== $ABS_SYSTEM:ABS$CATALOG_UPGRADE.EXE
2. Enter one of the following commands:
$ CATALOG_UPGRADE ! upgrades all ABS catalogs
$ CATALOG_UPGRADE * !equivalent to example above
$ CATALOG_UPGRADE ABS_CATALOG ! Upgrades a catalog named ABS_CATALOG
The ABS cagtalogs must be quiescent while executing the catalog upgrade utility. The catalog that is being upgraded will be locked; no save, restore, or lookup operations are allowed while the upgrade is occurring.
If you are still using an Rdb Policy Database, the command procedure to convert it to RMS was included in previous versions of ABS. You will have to either pull this command procedure from those kits, or contact hp Customer Support for assistance.
Conversion of ABS V2.x or 3.x RDB Policy Database is a two step process.
$ @ ABS$SYSTEM:ABS$CONVERT_TO_RMS
Before upgrading to V4.0, do ABS SHOW object_name/FULL of all your objects to an output file, for reference after the upgrade. Then upgrade to V4.0 and follow the steps below to convert the ABS policy database to V4.0.
Before running the conversion ensure that
Run the SYS$SYSTEM: ABS$CONVERT_V3_TO_V4.EXE utility to convert the ABS 3.x database to MDMS Database.
The utility exports only the highest version of the policy object. Details of new MDMS objects created are logged in ABS$CONVERT_V3_TO_V4.LOG.
$ RUN SYS$SYSTEM:ABS$CONVERT_V3_TO_V4.EXE
Enter the Path of ABS V3.x Policy Database Files [ABS$DATABASE:] :
Converting ENVIRONMENT Objects...
Configuration of ABS/MDMS for System Backup to Tape for Oracle Databases 4-11
Configure Remote Tape Drives 4-5
Convert ABS Policy Database to MDMS Database 4-5
Convert the MDMS Database D-11
Converting ABS V2.x Catalogs to V4.0 Format D-26
Converting ABS V2.x/V3.x RDB Policy Database to ABS V4.0 (MDMS Server Database) D-26
Converting ABS V3.x RMS Policy Database to ABS V4.0 (MDMS Server Database) D-27
Converting SLS System Backups to ABS D-11
Converting SLS/MDMS V2.X Symbols and Database D-2
MDMS$STARTUP_QUEUE Logical Name 4-3
Meeting OpenVMS Cluster Requirements 4-4