A common task in a sysadmin’s life is to assist to the changes which are affecting the SAN network. At smaller organizations it could be that besides the system administrator role you also need to manage the storage side. So here’s a post which might help you if you need to check the status of [...]
By Viktor Balogh
|
Also posted in Monitoring, Servers, Storage
|
Tagged active/active, active/passive, EMC PowerPath, FC, fiber, HP Secure Path, hp-ux 11iv3, ioscan, mass storage stack, multipathing, offline, online, path, SAN, SAN path
|
This is an advanced method to determine which disks we were booted from. I already posted a solution here, but it turned out to work only for PA-RISC systems. If you are on Itanium, it is more complicated. With adb on /stand/vmunix it only provides you the minor number of the disk in question. Since [...]
The latest 11.31 HP-UX version uses native multipathing with the help of the new IO stack. However if you’re on an older version, it was common along many customers to get a Powerpath license from EMC. It is to be used for building an active/active solution. Now here is a quick’n’short cheatsheet for the most [...]
Hopefully everybody knows about the low quorum boot option, by which one is able to boot the system with a defective boot mirror. Now I will show you another boot option. The tunable maintenance mode is rarely used, but can be useful if you have misconfigured some kernel parameters and you have problems booting the [...]
If you’ve suspected something in the boot process and don’t want to continue with it, or it just seems to hang, you can press CTRL + / and it just stops and will give you a login prompt. I already mentioned this functionality in one of my earlier posts, but now I wanted to emphasize [...]
Not many people knows about the HP-UX tool ch_rc. This is a command line tool for people who are not so familiar with sed (stream editor), awk and pattern matching. SYNOPSIS /usr/sbin/ch_rc -a|-r|-l [-v] [-A] [-R root] [-p {parameter|parameter=value}...] [file...] If you want to query a variable in one of a config file under /etc/rc.config.d, [...]
By Viktor Balogh
|
Also posted in Languages and Scripting
|
Tagged awk, boot, configuring, files, pattern matching, rc.config.d, scripting, sed, substitution, troubleshooting, variable
|
In a clustered environment, the “last login” information (the one appearing right after a succesful login) might be confusing for those who are not aware of the cluster and keep logging in to the floating IP. In the case of a package switch, one might be presented with a disturbing information. So here’s a way [...]
If you want to prevent users from logging in to the system, but don’t want to change the runlevel to single user mode, there is another choice to do this. In the file /etc/default/security there is a variable called NOLOGIN. If you change it to 1 – practically, this means uncommenting that line – you [...]
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 … [...]
By Viktor Balogh
|
Also posted in Filesystems
|
Tagged 11.31, cd, cdfs, DLKM, dvd, iso, iso9660, ISOIMAGE-ENH, kernel module, mount, umount
|
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