Virtual TapeServer for NonStop Servers Installation Guide HP Part Number: 514105-002 Published: June 2009 Edition: All J06 release version updates (RVUs), all H06 RVUs, and all G06 RVUs
© Copyright 2009 Hewlett-Packard Development Company, L.P. Legal Notice Confidential computer software. Valid license from HP 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. The information contained herein is subject to change without notice.
Contents Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .v About this guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v Supported release version updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
iv | Contents
Preface Welcome to the Virtual TapeServer Installation Guide. This guide provides configuration information for Virtual TapeServer (VTS). VTS enables host systems to read from and write to a local or SAN-attached file system. The virtual tape drive emulates the type of tape drive specified during the initial installation and setup process. About this guide The Virtual TapeServer Installation Guide is designed to help you configure VTS.
Related documentation In addition to this installation guide, the following documentation is provided: • Virtual TapeServer Quick Setup Guide, which provides instructions for installing the hardware and configuring VTS on the network. • Virtual TapeServer Operations and Administration Guide, which describes how to use the VTS web interface to manage VTS. • Virtual TapeServer Release Notes, which provides information about system support, known issues, and other information about the current release.
Overview of Configuration Tasks After completing the procedures provided in the Virtual TapeServer Quick Setup Guide, you can continue the initial configuration of the VTS server. This guide provides those configuration procedures. The following steps outline the a general tasks that you must complete to configure Virtual TapeServer (VTS). 1. Validate or change the standard vault layout as described in Reconfiguring Vaults on page 3. 2.
2 | Overview of Configuration Tasks
Reconfiguring Vaults By default, vault storage is configured on the Virtual TapeServer (VTS) server. Prior to using this storage, you may want to review and change the configuration. For example, you may want to define additional vaults, which provide a convenient way to separate data for different applications or users. You may want to reconfigure vault storage before creating virtual tape drives (VTDs) or using VTS, though you can use VTS without reconfiguring vaults.
Changing vault storage To modify the configuration, complete these steps: 1. Insert the HP SmartStart CD or DVD into the VTS server’s DVD drive and reboot the VTS server. 2. Navigate to Array Configuration Utility. 3. Select the appropriate controller for your system, which is typically the P400. The current configuration is displayed. 4. Complete the steps in the “Modifying an existing configuration” section of HP Array Configuration Utility User Guide. 5. Save the configuration. 6.
If the disk partition is 2-4TB in size, complete these steps: a. Start the partition editor, which is an interactive program similar to fdisk: parted /dev/cciss/c0d2 b. Create a GPT disk label, which is a GUID partition table: mklabel gpt c. Create a 4TB primary partition at the beginning of the disk: mkpart primary 0 4000G Or, you can create the partition to consume all disk space: mkpart primary 0 100% d. Quit parted. quit 9. Create file systems on the newly created partitions.
6 | Reconfiguring Vaults
Configuring Licensing Before you can use VTS, you must enable virtual tape drive (VTD) licensing. You can also enable licensing for optional features — SecureVTS, AutoCopy, and Instant DR. To request license keys, contact the HP VTS Program Manager, Glenn Garrahan, at glenn.garrahan@hp.com. VTS software license keys are associated with the serial number of the VTS server, so any server hardware replacement or upgrade will requires new license keys.
4. If SecureVTS is licensed, type the license key in the Secure VTS Key field. 5. If Instant DR or Autocopy is licensed, type the license key in the IDR Key field. 6. In the VTD Key field, type the license key. 7. Click SUBMIT. 8. On the pop-up dialog, click OK to confirm that you want to add the key. 9. Restart the TapeServer service. Click Supervisor Functions on the navigation pane. On the Supervisory Functions page, click Stop TapeServer and then click Start TapeServer.
Creating Virtual Tape Drives After Virtual TapeServer (VTS) is deployed, you must create virtual tape drives (VTDs). Up to 32 VTDs are supported per VTS server, and your VTD license determines how many VTDs you can create. If you must modify a VTD after it is created, refer to the Virtual TapeServer Operations and Administration Guide. Creating a VTD The following table describes the properties that you must set when defining the VTD.
The first four properties are collectively referred to as the BTLI. The BTLI enables the host server to precisely identify the VTD; it provides an exact address of the VTD on the bus. Remember that the host is connected to VTS by a single cable. The BTLI thereby enables you to multiplex the cable to identify multiple VTDs over a single cable. The following procedure describes how to create a VTD using the Manage Connections page.
6. Select the media format from the Tape Type drop-down list. This property defines the type of tape that the VTD emulates. Note Do not select RAID; this option is provided for physical tapes only. 7. From the Bus drop-down list, select the bus ID to which the host server is connected. To determine the bus ID, you must find the PCI slot number on the back of the VTS server module where the SCSI or Fibre Channel cable connects from the card to the target. Labels indicate the bus number for each port. 8.
• For NonStop Integrity (NS) and BladeSystem servers Up to four tape devices are supported per port, therefore you can assign values 0–3 to the LUN. 0 is typically assigned to the LUN for the first tape device, 1 is typically assigned for the second tape device, 2 for the third, and 3 for the fourth. • UNIX servers In general, set the LUN to any value between 0 and 7. Begin with 0 and increment the LUN for each additional VTD that is added on a bus.
6. If steps 4 and 5 are successful, issue the SCF command to add a tape. Here is an example: SCF ADD TAPE $VFHP00, SENDTO STORAGE, CLIM S1002531, LUN 1, PRIMARYCPU 2,BACKUPCPU 2. 7. Start the virtual tape drive. If a 224 error occurs, delete the drive and make sure steps 4 and 5 are successful. Validating backups from the NonStop server to the VTS server To validate that the NonStop server can back up to configured VTDs in VTS, you must configure the NonStop server to add the VTD.
To start the virtual tape drive, enter the following command on the NonStop server: SCF START TAPE $VTD This command should return messages similar to the following if successful: SCF - T9082G02 - (06JAN06) (31OCT05) - 01/19/2007 08:42:11 System \DEV3 (C) 1986 Tandem (C) 2006 Hewlett Packard Development Company, L.P.
Configuring Access Control If you have system administrator privileges, you can configure access control to grant or limit access to specific VTS functions. Each login ID belongs to a group and each group has a unique set of privileges. Note VTS provides a user that has administrator privileges. You can log in as admin if no other administrative user is created on the system. The default password for this user is virtual.
3. Under Defaults and Undo, click the Restore CLOSED Defaults button, which restores all default users, groups, and rights. 4. Click OK on the pop-up dialog box to confirm that you want to restore closed defaults. Below are closed system defaults: • • Users — The following users are defined.
Rights Administration Group Upload VPD X VTS/Linux Configuration Backup X VTS/Linux Configuration Restore Supervisor Group X X View log files X View/Manage Configuration X Virtual Tape Operations Operations Group X X X X Scan and Cleanup Control Panel X X Virtual Tape Cartridge Maintenance X X Delete Cartridges X X Virtual Tape Import and Export X X Virtual Tape Instant DR X X Virtual Tape Mounts and Locks X X Virtual Tape Pool Maintenance X X Erase Cartridges X
Managing users You can add users to VTS or modify settings of an existing user. The following sections describe how to create, modify, and delete users. Note In the following procedures, if the Users and Groups and Rights sections of the Access Control page are not available, you must enable a closed system. These sections are not displayed if the system is configured as open access. Creating a user Requires the System Access Controls access right To create a user 1.
3. Click + to expand Users and Groups. 4. Click ADD. The name and password fields are displayed. 5. Type a username in the name field. Usernames cannot contain spaces and cannot duplicate existing usernames, group names, or reserved names. Also, they must be alphanumeric, though they can include an _ (underscore) character. 6. Type a password in the password field.
7. Click APPLY. The user is added and additional buttons are displayed. 8. To assign the user to a group, click CHANGE GROUP. The Group drop-down list is displayed. Note The user cannot perform functions until you assign the user to a group. 9. Select a group from the drop-down list and click APPLY.
Changing any user’s password It is highly recommended that you change the passwords of the default users. Requires the System Access Controls access right to change any user’s password To change a user’s password 1. Click Access Control on the navigation pane. 2. When prompted, log in. After logging in, the Access Control page is displayed.
3. Click + to expand Users and Groups. 4. Select the user from the Users drop-down list. 5. Click SET PASSWORD. The Password field is displayed. 6. Type a new password in the field. 7. Click APPLY.
Changing your password Requires the User Access Controls access right to change your password only To change your own password 1. Click Access Control on the navigation pane. 2. When prompted, log in. After logging in, the User Access Control page is displayed. 3. Type your current password in the Old password field. 4. Type a new password in the New Password field. 5. Type the new password again in the New Password (again) field. 6. Click APPLY.
Assigning a user to a group Requires the System Access Controls access right To assign a user to a group 1. Click Access Control on the navigation pane. 2. When prompted, log in. After logging in, the Access Control page is displayed. 3. Click + to expand Users and Groups.
4. Select the user from the Users drop-down list. The SET PASSWORD and CHANGE GROUP buttons are displayed. 5. To assign the user to a group, click CHANGE GROUP. 6. Select a group from the drop-down list and click APPLY. Deleting a user Requires the System Access Controls access right To delete a user 1. Click Access Control on the navigation pane. 2. When prompted, log in. After logging in, the Access Control page is displayed.
3. Click + to expand Users and Groups. 4. Select the user from the Users drop-down list. 5. Click REMOVE. 6. When prompted, click OK to confirm that you want to remove the selected user.
Configuring groups Groups define the access rights that are assigned to users. Three groups are provided: Administration, Operations, and Supervisor. For a list of the default rights assigned to these groups, see page 16. You can modify the access rights that are assigned to these groups. You can also save your changes as a set of custom defaults, which can be restored later if necessary.
3. Click + to expand Rights. 4. To modify access rights assigned to the Administration group, select the checkbox next to each access right in the Administration column. Note The rights are organized in categories. If you grant access to a category, all rights in the subcategories are granted by default, though you can remove individual rights in the subcategories.
Right User Access Controls Description Enables the user to change his or her password only within Access Control Block and Unblock TapeServer Displays the Block & Unblock TapeServer link on Supervisory Functions page, which enables the user to block and unblock VTS functions Database Download Enables the user to download the database from the Supervisory Functions page Database Upload Enables the user to upload a database from the Supervisory Functions page Edit VTS Configuration File Enables the u
Right Description Scan and Cleanup Control Panel Grants access to the Virtual Media - Scan/ Cleanup page Virtual Tape Cartridge Maintenance Grants access to the Virtual Media - Cartridge Maintenance page Delete Cartridges Enables the user to delete virtual tapes from the Virtual Media - Operation and Virtual Media - Cartridge Maintenance pages Virtual Tape Import and Export Grants access to the Virtual Media - Import/ Export page Virtual Tape Instant DR Grants access to the Virtual Media - Insta
5. To modify access rights assigned to the Operations group, select the checkbox next to each access right in the Operations column. See step 4 for a description of each right. 6. To modify access rights assigned to the Supervisor group, select the checkbox next to each access right in the Supervisor column. See step 4 for a description of each right. 7. Click APPLY above the table to save your changes.
2. When prompted, click OK to confirm that you want to save the settings as the custom defaults. The Restore CUSTOM Defaults button becomes available in the Defaults and Undo section of the page. To restore the custom default settings Click the Restore CUSTOM Defaults button to restore the custom configuration and discard changes made since the custom defaults were last saved.
Configuring EMS Communication To automate the process of mounting and dismounting virtual tapes, you must configure the Event Management System (EMS) on Virtual TapeServer (VTS). The EMS service starts the EMS distributor on the NonStop server by issuing a Tandem Advanced Command Language (TACL) command. The distributor notifies the VTS EMS service when an EMS message is posted on the NonStop server.
c. Click Show General Settings. The following fields are displayed: d. To enable EMS, select the Enable EMS checkbox. e. f. To configure VTS to generate EMS messages for notifications, set the following: • To enable VTS to send notification messages back to the NonStop host from EMS messages, select Enable Host Notifications. • If you enabled notifications, set the notification level from the Notification Level drop-down list.
5. Click Save EMS Configuration to save the settings. 6. Define the EMS hosts that identify the NonStop servers for which a Telnet session will be established. a. Click the New EMS Host button. The following fields are displayed: b. Specify a name for the host in the Host ID field. This is used for display purposes only. c. In the Host Name or IP field, specify a hostname or IP address of the NonStop server for which a Telnet session will be established.
d. To define the service settings, set the following: e. • In the Service Prompt field, specify the service selection prompt to which the EMS login process responds and begins. Specify any search pattern as a Perl regular expression, and the special %username% and %password% values may be used in responses to equate to those values (see step 8 on page 38 for values). Example: /^Enter Choice>\s*$/i • In the Service Answer field, specify the service response.
g. In the Notify Wait Timeout field, specify the number of seconds to allow the host to process commands before VTS expects to prompt for another command. Typically, this should be 2-3 seconds but it causes no harm to allow more time for the host. h. In the Notify Logout Timeout field, specify the number of seconds to wait after issuing the LOGOUT command and before closing the socket connection. i.
8. Set the username and password for each EMS host: a. Click Supervisor Functions on the navigation pane. b. Click Manage Passwords. The following page is displayed: c. From the drop-down list, select the EMS host. Note If the EMS hostnames are not in the list, EMS may not be enabled. d. In the Username field, type a username for that host. e. In the New Password field, type a password for the user. f. Retype the password in the New Password (again) field. g. Click Update. h.
Credentials Here is a list of the user accounts for the VTS operating system (Linux). Username Default Password root bbill bill bbill The first time you log in to the VTS operating system using one of these usernames, you are prompted to change the password. Acceptable passwords must be at least 8 characters in length and include uppercase and lowercase alphanumeric characters.
40 | Credentials
Index A E access control overview 15 saving and restoring custom defaults 31 access rights, See rights assigning groups to a user 24 rights to a group 27 audience v AutoCopy licensing 7 automating mounts 33 EMS configuring 33 user accounts 38 enabling closed system 15 Event Management System, See EMS B G groups assigning rights 27 default rights 16 I BTLI 10 Instant DR licensing 7 C L CLIM configuring VTDs 12 closed (access) system 15 configuring access control 15 EMS 33 EMS user accounts 38 grou
R related documentation vi rights assigning to groups 27 descriptions 28 S SecureVTS licensing 7 Support vi T typographical conventions v U users assigning groups 24 creating 18 default accounts 16 deleting 25 EMS 38 of VTS v V validating NonStop-to-VTS server backups 13 virtual tape drives configuring the CLIM 12 creating 9 42 | Index