Tag Archives: howto

Exporting SQL*Plus output to HTML

Nowadays I deal with Oracle databases, and I found something cool which might be of interest to you. So here is a quick way to capture the SQL*Plus output to a html file: SQL> set markup HTML on SQL> spool index.html SQL> — do something SQL> spool off SQL> set markup HTML off This captures [...]

Displaying the 32-bit System UUID Number

While you’re at the management port, this is how you can display the system’s 32-bit UUID number: MP:CM> id Retrieving the stable complex configuration portion of the complex profile. MP modifiable stable complex configuration data fields. Model String : 9000/800/rp8420 Complex System Name : Original Product Number: A6093A Current Product Number : A9785A UUID : [...]

UNIX95 variable influences to the ps command

Setting UNIX95 to some value (it doesn’t matter what it is) changes the behavior of the ps command to use the XPG4 environment instead of the HPUX environment. You can see all the different command line options and the XPG4 behaviors by looking at the man pages (e.g. man ps). Several options like ps -o [...]

Offline migration – minimizing downtime with rsync

As we all know, downtime is an unavoidable must in some cases. There may be cases when the application need to be migrated to a new system, and it can only be done offline. Even if the downtime can’t be eliminated, you can do some things to minimize it. First, create the new filesystem layout [...]

How to search for HP documents in the new BSC system

I think I am not the only one who has difficulties at searching HP documents in the new document system. So, here is a quick FAQ based on some questions: What does BSC means? BSC is an abbreviation for HP’s new Business Support Center What is the main page of BSC? http://www.hp.com/go/bizsupport How am I [...]

TAR tricks & tips

This is how to tar a bunch of files and send it over network to another machine over SSH, in one turn: # cd /etc; tar cf – passwd | ssh hp01a01.w1 “cd /root;tar xf – passwd”

How to get a CDE login to the VGA console

“I have a display attached to the rear of an rx2660, to the VGA port. How can I get a CDE login?” Here is the solution: in the /etc/dt/config/Xservers file, check the following line: # * Local local@console /usr/bin/X11/X :0 uncomment this line, and restart dtlogin: # /sbin/init.d/dtlogin.rc stop # /sbin/init.d/dtlogin.rc start

HSSM CIM extension install

This guide about installing HP Storage Essentials CIM Extension on HP-UX 11i v1. The following patches are the minimum prerequisites you need to have installed on the system, it may vary depending on the version of your OS. It may be that these are now obsoleted by newer patches, so it might worth a look [...]

Permanent LAN settings howto

This is a short howto on how to preserve the speed, duplexity and MAC settings for a network interface on HP-UX to survive a reboot. First, list the network interfaces with ioscan! # ioscan -fknC lan Class     I  H/W Path     Driver   S/W State   H/W Type     Description ======================================================================== lan       0  0/1/2/0      igelan   CLAIMED     INTERFACE    HP PCI [...]