HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Script required for moving used media to specified...
Operating System - HP-UX
1836259
Members
3209
Online
110096
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:08 PM
07-30-2003 06:08 PM
Script required for moving used media to specified slots
My environment is: Windows2000 Server, Dataprotector 5.0, MSL 6030 30 Slot LTO Library.
I???m currently using a combination of a DP report which calls a Perl script (see attachment) to eject the media used during the previous nights backup. This is to enable us to move the used media off site each morning with a minimum of intervention from the backup Operator.
Basically at 06:45 a DP report runs which identifies all media used in the previous twelve hours and then calls a Perl script which uses omnimm.exe to eject that media to the mail slot. This is working fine with the result that each morning the operator receives an email (from a separate report) advising of the media used the previous night, and simply opens the mail slot to retrieve the media.
However, a problem arises on the weekends when there is no staff on site to empty the mail slot. If the mail slot is full when the morning report job runs the eject job is queued and any subsequent jobs ??? i.e. the next nights backup will fail/timeout. Also if the morning report did not run on the Saturday, for example, the Saturday nightbackup jobs would append to the Friday night tape.
The easiest way around this as I saw it was to reserve more mail slots - but the ML6030 30 Slot Library we are using only allows one mail slot to be reserved.
What I want to do is reserve 12 slots (i.e. slots 0 ??? 11 as seen by the hardware) in the Left magazine as slots to which the used media can be moved. My reasons for this are two fold ???
1. The twelve slots will be required as the nightly backups begin to span to a second tape ??? so twelve mail slots would allow up to six nightly backups to run without operator intervention ??? as in a long weekend.
2. Splitting the magazine usage as Left Magazine = Media Extraction, Right Magazine = Media Insertion means that users with a minimum of skill can manage the media rotation process.
What I have done is remove slots 0 - 11 from the slots used by DataProtector for backups. This means that no tapes in those slots will be used by DP for backups.
What I need to do is get a perl script that will
1. Check slots 0-11 and determine which are occupied & which are free
2. Move the used media into the next available slot (from 0-11). This would have to accommodate a scenario where more than one tape is being moved each morning.
I'm not sure that a simple eject command will work in this case as it would be trying to move the media to a mail slot - as I said we have a maximum of one available. So it would be more of a move media request.
Has anyone met this requirement already - anyone have a script that would help me?
I???m currently using a combination of a DP report which calls a Perl script (see attachment) to eject the media used during the previous nights backup. This is to enable us to move the used media off site each morning with a minimum of intervention from the backup Operator.
Basically at 06:45 a DP report runs which identifies all media used in the previous twelve hours and then calls a Perl script which uses omnimm.exe to eject that media to the mail slot. This is working fine with the result that each morning the operator receives an email (from a separate report) advising of the media used the previous night, and simply opens the mail slot to retrieve the media.
However, a problem arises on the weekends when there is no staff on site to empty the mail slot. If the mail slot is full when the morning report job runs the eject job is queued and any subsequent jobs ??? i.e. the next nights backup will fail/timeout. Also if the morning report did not run on the Saturday, for example, the Saturday nightbackup jobs would append to the Friday night tape.
The easiest way around this as I saw it was to reserve more mail slots - but the ML6030 30 Slot Library we are using only allows one mail slot to be reserved.
What I want to do is reserve 12 slots (i.e. slots 0 ??? 11 as seen by the hardware) in the Left magazine as slots to which the used media can be moved. My reasons for this are two fold ???
1. The twelve slots will be required as the nightly backups begin to span to a second tape ??? so twelve mail slots would allow up to six nightly backups to run without operator intervention ??? as in a long weekend.
2. Splitting the magazine usage as Left Magazine = Media Extraction, Right Magazine = Media Insertion means that users with a minimum of skill can manage the media rotation process.
What I have done is remove slots 0 - 11 from the slots used by DataProtector for backups. This means that no tapes in those slots will be used by DP for backups.
What I need to do is get a perl script that will
1. Check slots 0-11 and determine which are occupied & which are free
2. Move the used media into the next available slot (from 0-11). This would have to accommodate a scenario where more than one tape is being moved each morning.
I'm not sure that a simple eject command will work in this case as it would be trying to move the media to a mail slot - as I said we have a maximum of one available. So it would be more of a move media request.
Has anyone met this requirement already - anyone have a script that would help me?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP