Service IT Direct and COVID-19 UPDATE for more information CLICK HERE

Call NOW:
888-596-4720

What's Going on in our World

Batch patch analysis

When you have multiple systems to manage, patch analysis can be tedious. However, the built-in features of Software Distributor (SD) make this job quite easy. The HP script "swainv" has several useful options: swainv [-D directory | -N inventory] [-q] [-x option=value] [-e name=value] [-h...


Read More
Creating large mirrored lvols

LVM Performance Tips:   Very large volume groups and lvols (terabyte and larger) require special planning. The first precaution is with the vgcreate command. *ALWAYS* specify a large PE size (32, 64 or 128 MB). The default (4 MB) is far, far too small to...


Read More
How can I increase the size of the Primary Swap, and ‘/’ file systems (VG00 LVOLs 2 and 3) on an HP-UX 11.11 server?

QUESTION: How can I increase the size of the Primary Swap, and '/' file systems (VG00 LVOLs 2 and 3) on an HP-UX 11.11 server? ANSWER: The usual answer to this question is for you to take an Ignite/UX make_tape_recovery or make_net_recovery backup of your...


Read More
Cloning a system with Ignite

The steps to clone a client using make_net_recovery are as follows:   1. Use make_net_recovery or the Ignite-UX GUI to create a recovery archive of the source client. 2. Login to the Ignite-UX server. 3. If the client to be installed does not currently have...


Read More
Reading the CPU speed in HP-UX

For many years, this was the standard method to obtain the CPU clock speed in HP-UX: echo "itick_per_usec/D" | adb -k /stand/vmunix /dev/kmem Then take the number and divide it by 10000 (10k). It turns out that itick_per_usec never shows the processor's core frequency, it...


Read More
Setting disk timeouts

Q: What is the timeout for disk operations? A. There are two methods. One is for LVM operations and is accomplished with pvchange -t. This sets the limit for LVM operations to a disk or LUN. It can be set to zero to use the...


Read More
Short sleep (ms) in a script

Q: I need to sleep in my script for less than a second. How can this be done?  A:  While you might perform some calculation a million times, your script will run slow on older systems and too fast on new systems. perl is your...


Read More
Replacing PA-RISC mirrored boot disk

PA-RISC (LVM only) mirrored root disk, HP-UX versions 11.11, 11.23, 11.31 Use pvchange –a N /dev/dsk/cxtxdx before removing the disk. -a N will remove all the paths to the PV. If this doesn`t work use pvchange –a n /dev/dsk/cxtxdx to stop I/Os to the PV....


Read More
SSH public keys do not work

SSH Public Keys do not work Q: I am trying to make a public key allow password-less logins. I have added the public key to the authorized_keys file but ssh still asks for a password. A. The most common problem that causes public keys to...


Read More
AUDITING HP-UX User Creation, Deletion and Modification

To audit user creation and modification (via sam, chfn, chsh, usermod, useradd, userdel), the following should work very well. This was tested on HP-UX 11.31. This does NOT require the new Auditing System Extensions bundle available for HP-UX 11.31. This relies on the 'self-auditing' functions,...


Read More