- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: General issues
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
02-13-2001 08:04 PM
02-13-2001 08:04 PM
General issues
1. If in Oracle my database is in Archivelog mode, how I can setup in such a way that all the ARCH files are directly copied on to the DAT/DLT media instead of hard disk.
2. How to take the printing on to the local printer connected with Desktop PC in Unix.
3. How can I assign points in this forum to you people. I do not get any such button on my screen.
Thanks.
Samir.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2001 09:46 PM
02-13-2001 09:46 PM
Re: General issues
You can run a script in the background to perform a background tar-ing of any new archive files to tape.
You can refine this script further to tailor to your needs such as grep'ing for the last archived number from the $BACKUPLOG each time you run the script so that the next archive log in line is backed up.
archbackup.sh
=============================================
#!/sbin/sh
index=1 # replace it with the starting number
BACKUPLOG=/var/adm/sa/logs/archivebackups.log
touch $BACKUPLOG
cd /$oraclesid/arch #replace it with your archive directory path
while :;
do
if [ -e ${oraclesid}_${index}.dbf ]
then
tar uvf /dev/rmt/0m $oraclesid_$index.dbf
if [ "$?" == "0" ]
then
echo "Backup of $oraclesid_$index.dbf archive log successful at `date +%Y%m%d` `date +%H%M`" >> $BACKUPLOG
else
echo "Backup of $oraclesid_$index.dbf archive log NOT successful at `date +%Y%m%d` `date +%H%M`" >> $BACKUPLOG
fi
index=`expr $index + 1`
fi
done
=============================================
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2001 11:48 PM
02-13-2001 11:48 PM
Re: General issues
Management of your archived redologs can be done using Recovery Manager (RMAN) supplied with Oracle.
RMAN can be set up to backup data to a local tape using Legato Storage Manager (also supplied with Oracle)
RMAN will then backup the archived redologs to the tape and then delete the original file, freeing up space on the archive disk (ensuring that the database don't stop).
Here is a sample script:
(backing up to another disk)
RMAN>run {
allocate channel c1 type disk
format '/backup/al_%d_%s_%p';
backup (archivelog all delete input);
release channel c1;
}
(backing up to tape)
RMAN>run {
allocate channel c1 type 'SBT_TAPE';
backup (archivelog all delete input);
release channel c1;
}
Andreas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 04:58 AM
02-14-2001 04:58 AM
Re: General issues
To assign points to responses, you must login to see the appropriate buttons. There is a bug that is probably not yet resolved. Shayne, the Forum's administrator, notes (on 02/12/2001 in:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x6bb2854994d9d4118fef0090279cd0f9,00.html
/Begin_Quote/
If you login from the Forums home page (forums.itrc.hp.com), the page will display correctly (with header and left navigation bar) and you will be able to assign points to questions.
If you login from a family page (i.e. HP-UX), you will not see the assign button and the page will not display correctly.
/End_Quote/
This should answer the "points" question you raised. BTW, thank you for being so attentive to this. Points are the bread crumbs that point the travelers to the best information later.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 05:34 AM
02-14-2001 05:34 AM
Re: General issues
From what you describe..you have a printer simply connected via the lpt port on the PC. That is a problem.
If this were a network printer, it would be simple. Just add the network printer via SAM or JetAdmin on HPUX side and you could route printing to it. But since I believe this is not a network printer...you may need to set up a means to map from your PC to UNIX for what you want. Now I understand SAMBA works well for doing this....and since you connecting from the PC side to UNIX, I '..believe...' your default printer would be the one you want.
You can get SAMBA (free) from the HPUX Porting Site:
http://hpux.cs.utah.edu/ or www.samba.org
/rcw
....oooh!!! thought of another way too..If this printer is not something you could add a JetDirect card to, there was something I used once called Lantronix. It worked similar to HP's jetdirect external, but you could attach it to just about any printer, then plug them into a network and make them network printers. So now you have options... http://www.lantronix.com/products/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2001 09:40 AM
02-14-2001 09:40 AM
Re: General issues
happy printing!
Ajay