Category Archives: HP-UX

Cluster-wide device special files

This is a new feature in ServiceGuard 11.20, and you need the following patches to have cdsf on your system: PHSS_41225 – Serviceguard A.11.20.00 patch PHCO_41235 – iocdsfd(1M) and io_cdsf_config(1M) patch Cluster-wide device special files (cDSFs) are persistent device special files applied across a set of nodes. That is, they ensure that the same piece [...]

Mounting ISO images

In an earlier post I wrote how one can create an iso image of a CD/DVD. But without the capability of mounting it, this doesn’t sound as a logic way to backup our set of media. So here’s how it goes: Supported OS version is 11.31, you need to install the following product: ISOIMAGE-ENH … [...]

VxFS ioerror mount option

The ioerror mount option for VxFS filesystems sets the policy how the filesystem should handle I/O errors. There are five policies for handling these errors: disable nodisable wdisable mwdisable mdisable

Creating ISO image from CD/DVD

This one is particularly helpful for installing HP VM guests, as you don’t need to change the disks physically. Creating ISO images from CD/DVD media on HP-UX is so easy on Unix: you can create the image simply with dd. # dd if=/dev/rdsk/c2t0d0 of=/INSTALL_MEDIA/disk1.iso bs=1024k This is because the ISO format is practically a verbatim [...]

Setting system initial parameters

This is a quick reminder on how to set system initial parameters like hostname, root password and networking. This routine runs directly at install time, right after the first boot and gives the newly created system all the required settings. It can come handy if you have just installed a VM (HP IVM) and have [...]

Serviceguard documentation

A new Serviceguard version came out in September 2010, it’s called SG 11.20. Since then some “day one patches” were issued to add some enhancements and fix some issues: PHSS_41225 – 11.31 Serviceguard A.11.20.00 PHSS_41219 – s700_800 11.23 SGeEBS B.01.00 Day One patch PHSS_41220 – 11.31 SGeEBS B.01.00 Day One Patch PHSS_41275 – s700_800 11.23 [...]

Getting the version of sendmail

Here are two methods to get the sendmail version on HP-UX: # what /usr/sbin/sendmail /usr/sbin/sendmail: Copyright (c) 1998 HEWLETT PACKARD COMPANY and its licensors, including Sendmail, Inc., and the Regents of the University of California.  All rights reserved. version.c       8.9.3 (Berkeley) 10 May 2007  (PHNE_35950) #

Running a cronjob on the last day of the month

Although in cron one doesn’t have the ability to specify the last day of the month (for e.g. generating monthly reports) one can easily achieve it with this workaround. Now I show you the idea: This is today: # date +’%d’