Beruflich Dokumente
Kultur Dokumente
¶ÔÓÚÈÈ°®µÇɽµÄÈËÀ´Ëµ£¬Ñ©É½Ö®áÛÓÀÔ¶ÊÇÎÞ·¨¶ôÖƵÄÏòÍù¡£¡°
¿Õ¼ä×ÔÓÉ ÎªÊ²Ã´ÒªµÇɽ£¿¡±¡ª¡ª ¡°
ÒòΪɽÔÚÄÇÀ¡±Õâ¾äÖøÃûµÄ»Ø´ðÀ´×ÔÂíŵÀ¡ªµ±Ê±ÊÀ½çÉÏ×ʢÃûµÄµÇɽ¼Ò¡£
¹ØÓÚ×÷Õß
STK ACSLS and Veritas NetBackup media se
TABLE OF CONTENTS
1. LOGGING
1.1 LOG LOCATIONS
1.1.1 Event Logs
1.2 ACS PROCESS TRACING
1.2.1 ACSSSI Tracing on the VERITAS NetBackup ™ media server
ÐÕÃû£ºÉ½ÔÚÄÇÀï 1.2.2 ACSSS Tracing on the Library Server
Ö°Òµ£º¡°°¤Ìß¡± 2 ACS LIBRARY SERVER (ACSLS) FUNCTIONS AND COMMANDS
ÄêÁ䣺²»Òª³¤´ó 2.1 ACCESS CONTROL ON THE ACS LIBRARY SERVER (ACSLS)
λÖãºÕ¾ÔÚ±±Î³30¡ã 2.2 ACSSA COMMANDS ON THE ACS LIBRARY SERVER
¸öÐÔ½éÉÜ£ºÉ¶¸öÐÔµÄûÓÐ 2.2.1 Log on to the ACSLS Server
2.2.2 Query the Library Management Unit
|| << >> ||
2.2.3 Query the Cartridge Access Ports
ÎҵķÖÀà 2.2.4 Query silos (Library Storage Modules)
2.2.5 Query Drives
2.2.6 Query Volumes
2.2.7 Command to Start Request Processing
2.2.8 Vary on LSM
2.2.9 Logoff from ACSSA (ACSLS Server interface)
2.3 ACSLS TAPE CLEANING
3 DEVICE CONFIGURATION FOR ACSLS CONTROLLED TAPE DRIVES
3.1 DEVICE CONFIGURATION
3.1.1 SSO Device Configuration for ACSLS
3.1.2 NON-SSO Device Configuration for ACSLS
3.1.3 Initial configuration of StorageTek T9940A and T9940B tape drives
environment
4 ROBTEST FOR ACS LIBRARIES
4.1 INVOKING ROBTEST
4.2 ROBTEST SYNTAX
4.2.1 Command to Obtain Drive Status
4.2.2 Command to Query Volumes
4.2.3 Command to Mount a Volume
4.2.4 Command to Dismount a Volume
4.3 HOW TO DEFINE ACSLS SCRATCH POOLS AND ADD VOLUMES US
5 MEDIA
5.1 AVAILABLE MEDIA SCRIPT
5.2 HOW TO SPECIFY WHICH MEDIA ACCESS PORT (MAP) TO USE FO
6 COMMUNICATION
6.1 REMOTE PROCEDURE CALL
6.1.1 How to Start RPC on Different Operating Systems
6.1.2 How to Verify that RPC is Running
6.1.3 How to Verify the ACSSS Program Registration
6.1.4 Basic snoop Output
7 COMMON ACS ERROR MESSAGES
7.1 ACS (2) UNAVAILABLE: INITIALIZATION FAILED: UNABLE TO INITIA
7.2 ACS STATUS = 54, STATUS_IPC_FAILURE
7.3 ACS STATUS = 72, STATUS_PENDING
7.4 STATUS_NI_FAILURE
7.4.1 ACS status = 104, STATUS_NI_FAILURE
7.4.2 ACS status = 105, STATUS_NI_TIMEDOUT
1. LOGGING
This section covers ACSLS log locations and ACS process tracing.
Typical event log entries are cap operations, remote procedure call (RPC) and
robot errors, NI failures, and drive status changes.
1.2.2.1 To turn on the Library Server ability to trace the ONC RPC session
packets exchanged between the media server (SSI) and Library Server sy
To turn off tracing, use the same method used to turn on tracing. Tracing can b
multiple times using the same command.
For Windows:
Windows event logging is turned on using the mini_el and the ACSSEL functio
ACS product. The packet trace is controlled using the toggle_trace script. Both
Program Files\StorageTek\LibAttach\bin directory.
NOTE: Do not leave tracing on indefinitely because it may fill disk space over ti
Volume control can be done through the set owner command in the cmd_proc
ownership.assignment. A 'STATUS_INVALID_OPTION' status will return to c
rejected due to access control violations.
0/0 0/0
2.2.5 Query Drives
ACSSA> q drive all
2004-01-28 14:27:34 Drive Status
Identifier State Status Volume
0, 0, 0, 0 online available DL
0, 0, 0, 1 online available DL
0, 0, 0, 2 online available 98
0, 0, 0, 3 online available 98
2.2.6 Query Volumes
ACSSA> q volume all
2004-01-28 15:58:36 Volume Status
Identifier Status Current Location
000002 home 0, 0, 1, 0, 0
000003 home 0, 0, 0, 2, 0
000004 home 0, 0, 0, 3, 0
000005 home 0, 0, 1, 5, 0
000006 home 0, 0, 1, 8, 1
000008 home 0, 0, 0,23, 0
000009 home 0, 0, 1,12, 1
<snip!>
2004-01-28 15:58:37 Volume Status
Identifier Status Current Location
000047 home 0, 0, 1, 9, 0
000048 home 0, 0, 1,10, 1
000049 home 0, 0, 0, 7, 0
000050 home 0, 0, 0, 4, 0
FX0023 home 0, 0, 0, 0, 0
ACSSA> logoff
For UNIX:
/usr/openv/volmgr/database/NO_TAPEALERT
For Windows:
<install path>\volmgr\database\NO_TAPEALERT
The StorageTek library transport control unit tracks how much tape passes thro
and sends a message to ACSLS when a transport requires cleaning. If auto-
ACSLS automatically mounts a cleaning cartridge on the transport. If all the cle
expired (MAX_USAGE), ACSLS will post an error message 376N into the acss
cleaning is disabled, ACSLS logs a message in the event log and displays a m
cmd_proc when cleaning is required.
NOTE: You cannot use the acsss_config configuration program to enable aut
attached to a SCSI connected library storage module (LSM).
For more information regarding ACSLS tape cleaning, please contact StorageT
During setup (in the Device Configuration Wizard), NetBackup will attempt to d
drives available to it and, for robot types where serialization is available, their p
library.
NetBackup does not yet obtain drive serial numbers from the ACS robotic librar
1. Run the device configuration wizard on just one of the hosts where drives in
library are attached. Let the drives be added as standalone drives.
2. Add the ACS robot definition, and update each drive to indicate its appropria
robot. (Make the drive robotic, and add the ACS, LSM, Panel, and Drive inform
VERITAS Media Manager System Administration Guide, Configuring Storage D
the section "Co-relating Device Files to Physical Drives When Adding Drives."
3. Verify the drive paths, if this hasn't already been done in the previous step, b
documentation referenced above
4. Once the drive paths have been verified on one host, re-run the device confi
specify all hosts with ACS drives in the library to be scanned. The device config
add the ACS robot definition and the drives to the remaining servers automatic
device paths, assuming that the devices were successfully discovered, along w
numbers.
By following the above steps, the time savings can be significant. For example,
shared on 30 hosts, the above configuration steps require just 20 paths to be m
instead of 600 paths.
During setup (in the Device Configuration Wizard), NetBackup will attempt to d
drives available to it, and, for robot types where serialization is available, their p
library. Do not use the Device Configuration Wizard. NetBackup does not obta
numbers from the ACS robotic library control interface, so manual configuration
It is advised to separate the two drive types within the NetBackup Media Manag
configuration to alleviate density conflicts.
This issue surfaces because ACS treats the T9940A and T9940B drive media a
the T9940B version writes at a higher density therefore the T9940A drive canno
by a T9940B drive. So, when trying to use both drives within a single library, dif
be used for each drive. The same issue will occur with SDLT220 and SDLT320
ACS-based library.
Workaround:
Add the ACS robot to the NetBackup device configuration according to the step
the NetBackup Media Manager Device Configuration Guide.
Configure the STK 9940A drives as type hcart and configure the STK 9940B dr
Then define a NetBackup storage unit for each density, hcart and hcart2.
Disadvantages:
1. If for any reason, media is ejected from the library, verification is required wh
that it goes to the correct media type (hcart for 9940A, hcart2 for 9940B).
2. T9940B drives cannot be used to read the 9940A media; they have to be seg
SCSI commands:
unload <drive>|<drive_id> - Issue SCSI un
where:
<acs>=0-126, <lsm>=0-23, <cap>=0-2, <drive>=0-15, <p
<drive_id> = [<acs>,<lsm>,<panel>,<drive>]
<drive> = d1 if drive 1, d2 if drive 2, ..., d15 if
<lwm> = scratch pool low water mark
<hwm> = scratch pool high water mark
<cap_id> = <acs>,<lsm>,<cap>
<vol_list> = <vol1>[:<vol2>:...:<vol42>]
4.2.1 Command to Obtain Drive Status
drstat
Drive 1 information:
ID (acs,lsm,panel,drv): 0,0,0,0
drive type: DLT7000
volume ID: <none>
state: STATE_ONLINE
status: STATUS_DRIVE_AVAILABLE
Drive 2 information:
ID (acs,lsm,panel,drv): 0,0,0,1
drive type: DLT7000
volume ID: <none>
state: STATE_ONLINE
status: STATUS_DRIVE_AVAILABLE
Drive 3 information:
ID (acs,lsm,panel,drv): 0,0,0,2
drive type: 9840
volume ID: <none>
state: STATE_ONLINE
status: STATUS_DRIVE_AVAILABLE
Drive 4 information:
ID (acs,lsm,panel,drv): 0,0,0,3
drive type: 9840
volume ID: <none>
state: STATE_ONLINE
status: STATUS_DRIVE_AVAILABLE
DRIVE STATUS complete
m 000040 0,0,0,2
MOUNT complete
On UNIX:
# /usr/openv/volmgr/bin/robtest
On Windows:
<install_path>veritas\volmgr\bin\robtest.exe
Select the ACS robot. Enter the 'define pool' command as follows:
defpool 4 0 500 1
Scratch pool 4 has been defined
qpool 4
Pool ID 4 has 0 volumes
QUERY POOL complete
setscr 4 ON 000040 000044
000040 STATUS_SUCCESS
000041 STATUS_SUCCESS
000042 STATUS_SUCCESS
000043 STATUS_SUCCESS
000044 STATUS_SUCCESS
SET SCRATCH complete
qpool 4
Pool ID 4 has 5 volumes
QUERY POOL complete
Quit 'robtest' and perform a normal robot inventory with NetBackup.
5 MEDIA
This section covers "available_media" script output and tape ejection.
Below is a sample output from the available_media report, which can be gene
following command:
Windows: <install_path>\netbackup\bin\goodies\availabl
or
UNIX: /usr/openv/netbackup/bin/goodies/available_medi
6. COMMUNICATION
This section covers RPC and communication.
NetBackup uses RPC to connect to the ACSLS server, and rpcbind is the servi
program numbers into universal addresses. It must be running on the host to b
Starting RPC is best accomplished using the operating system vendor startup s
are the ways of starting RPC on various operating systems.
a. Solaris
# /etc/init.d/rpc start
b. HP-UX
# /sbin/init.d/Rpcd start
c. AIX
# startsrc -s portmap
d. Linux
# /etc/rc.d/init.d/portmap start
e. Tru/64
# /usr/sbin/portmap
f. Windows
Click Start | Settings | Control Panel | Administrative Tools | Services. Se
Procedure Call (RPC) and click Start.
The following commands will verify that the rpcbind is active and that the RPC
between the media server and ACSLS Library Server. From a terminal window
issue the following command to ACSLS.
# rpcinfo
program version netid address servic
100000 4 ticots hotdog.rpc rpcbind
100000 3 ticots hotdog.rpc rpcbind
100000 4 ticotsord hotdog.rpc rpcbind
100000 3 ticotsord hotdog.rpc rpcbind
100000 4 ticlts hotdog.rpc rpcbind
100000 3 ticlts hotdog.rpc rpcbind
100000 4 tcp 0.0.0.0.0.111 rpcbind
100000 3 tcp 0.0.0.0.0.111 rpcbind
100000 2 tcp 0.0.0.0.0.111 rpcbind
100000 4 udp 0.0.0.0.0.111 rpcbind
100000 3 udp 0.0.0.0.0.111 rpcbind
100000 2 udp 0.0.0.0.0.111 rpcbind
If the service is not running, rpcinfo will report: "can't contact rpcbind: RPC: rpc
Failed ( unspecified error )"
Examine the /export/home/ACSSS/log/acsss_event.log for "RPC: Rpcbind fa
message should include an IP that it is trying to communicate with. Verify it is t
Basic snoop of a query server sent automatically by initiating the robtest utility:
Resolution: Verify the IP address specified for the robotic host is correct in Lib
server.
acs_query_server() failed
Unable to query server taco, ACS status = 54, STATUS
Robotic test utility /usr/openv/volmgr/bin/acstest
returned abnormal exit status (1).
STATUS_PENDING
Example 1:
Example 2:
Cause:
The errors above indicate that NetBackup is able to reach the ACSLS server w
but the ACSLS server is unable to respond.
By default, the IP address sent to the ACSLS as part of the packet STATUS re
primary hostname of the media server, i.e. the hostname given by uname -
when the ACSLS cannot resolve reverse name or is configured (via routing) to
secondary interface on the media server.
If the issue is failure to do reserve name lookup, add the media server's IP to th
service (DNS) reverse tables or to the ACSLS /etc/hosts file.
If the ACSLS server cannot route to the media server's hostname, override the
using "ACS_SSI_HOSTNAME = <hostname>" in the /usr/openv/volmgr/vm.c
value for <hostname> is a hostname associated with an IP address the ACSLS
media server.
7.4 STATUS_NI_FAILURE
Cause: The CSI (media server) has timed out waiting for a response from a cl
ÍøÓÑÆÀÂÛ
¡¡·¢±íÆÀÂÛ
ÑéÖ¤Â룺 ¡¡ g
c ÄäÃû
d
e
f
Ìá½»