HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: script to automatie Ignite..
Operating System - HP-UX
1832801
Members
2774
Online
110045
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
09-29-2009 03:37 AM
09-29-2009 03:37 AM
script to automatie Ignite..
Hi All,
Is there a way to take a automatic ignite backup through script i.e,
We have MSL Tape libarary and xp12000SAN , I need a script to take ignite backup using the MSL Tape Libarary & after completion of the task(successful/unsuccessful) it should mail to root account.
Is there a way to take a automatic ignite backup through script i.e,
We have MSL Tape libarary and xp12000SAN , I need a script to take ignite backup using the MSL Tape Libarary & after completion of the task(successful/unsuccessful) it should mail to root account.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2009 05:50 AM
09-29-2009 05:50 AM
Re: script to automatie Ignite..
Perhaps you have better look at the HP-UX admin forum.
I am asking to move it there...
I am asking to move it there...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2009 06:53 AM
09-29-2009 06:53 AM
Re: script to automatie Ignite..
This is what we use
(/opt/omni/lbin/uma comes with Data Protector).
createIgnite:
#!/bin/sh
/opt/omni/lbin/uma -ioctl /dev/rac/rob_arm -tty /home/user/umaoutput
sleep 60
/usr/bin/umask 022
/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/3mn
sleep 360
/opt/omni/lbin/uma -ioctl /dev/rac/rob_arm -tty /home/user/umaoutput2
umacmdfile:
move S29 D1
umacmdfile2:
move D1 S29
Basically it moves the tape from slot 29 to drive 1, waits, Ignites it, waits and moves it back again.
From the man page for uma:
_______________
3. To let uma execute a batch script of its own commands, simply redirect its stdin to a file containing a list of uma commands separated with newlines:
cat >/tmp/cmdFile
inq
addrstat
uma -ioctl /dev/spt/sctl0 /tmp/outFile
_______________
If you want to E-mail the result of the Ignite you might like to use the recovery log:
/var/opt/ignite/recovery/latest/recovery.log
You might also want the DP database if you're using Data Protector:
tarDP:
/usr/bin/touch /etc/cmcluster/omnipkg/lockfile
/opt/omni/sbin/omnisv.sh stop
/usr/bin/tar -cvf /var/backup/omniback.tar /omni_shared
/opt/omni/sbin/omnisv.sh start
sleep 120
/usr/bin/rm /etc/cmcluster/omnipkg/lockfile
We're running MC Service guard, if you aren't then you can do without touching/removing the lockfiles.
If you do decide to use this, please test it to your own satisfaction. I'm just telling you what works for us. I probably cobbled most of this together from the forums so you'll be able to find similar information by searching.
(/opt/omni/lbin/uma comes with Data Protector).
createIgnite:
#!/bin/sh
/opt/omni/lbin/uma -ioctl /dev/rac/rob_arm -tty /home/user/umaoutput
sleep 60
/usr/bin/umask 022
/opt/ignite/bin/make_tape_recovery -x inc_entire=vg00 -I -v -a /dev/rmt/3mn
sleep 360
/opt/omni/lbin/uma -ioctl /dev/rac/rob_arm -tty /home/user/umaoutput2
umacmdfile:
move S29 D1
umacmdfile2:
move D1 S29
Basically it moves the tape from slot 29 to drive 1, waits, Ignites it, waits and moves it back again.
From the man page for uma:
_______________
3. To let uma execute a batch script of its own commands, simply redirect its stdin to a file containing a list of uma commands separated with newlines:
cat >/tmp/cmdFile
inq
addrstat
uma -ioctl /dev/spt/sctl0
_______________
If you want to E-mail the result of the Ignite you might like to use the recovery log:
/var/opt/ignite/recovery/latest/recovery.log
You might also want the DP database if you're using Data Protector:
tarDP:
/usr/bin/touch /etc/cmcluster/omnipkg/lockfile
/opt/omni/sbin/omnisv.sh stop
/usr/bin/tar -cvf /var/backup/omniback.tar /omni_shared
/opt/omni/sbin/omnisv.sh start
sleep 120
/usr/bin/rm /etc/cmcluster/omnipkg/lockfile
We're running MC Service guard, if you aren't then you can do without touching/removing the lockfiles.
If you do decide to use this, please test it to your own satisfaction. I'm just telling you what works for us. I probably cobbled most of this together from the forums so you'll be able to find similar information by searching.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2009 12:07 PM
09-30-2009 12:07 PM
Re: script to automatie Ignite..
If it were me, cron would do it.
Put a make_tape_recovery command of your choice into cron, and cron sends all output to root email.
Put a make_tape_recovery command of your choice into cron, and cron sends all output to root email.
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