AIX How To reorgvg – INTER-POLICY Maximum

AIX has the capability to spread I/O across all disks within a Volume Group for a logical Volume.  When setting up a a logical Volume, without the Inter-Policy set to maximum.  Data writes in the order of the disk were presented within the Volume Group.  Meaning, once one disk is full with in the Volume […]

Simple How to Mirror rootvg on AIX

Below the following commands will help assist in mirroring the rootvg on AIX 5.x to 7.1. Have an empty disk available to mirror the existing rootvg.  Add the empty disk to the existing vg by doing the following. extendvg rootvg hdisk1 Now we are going to mirror the VG. This will take a while to […]

Helpful SAN LUN Disk AIX Commands

When adding LUN’s to AIX, the below commands can be helpful to add SAN disks.  These commands will help add the disks and also assist in identifying an issue as to why the server may not see the newly create SAN disks.   Get WWN, Model, Part Number, etc. From HBA lscfg -vp -l fcs0 […]

Install openssh on AIX 7.1

Installing openssh on AIX 7.1 is pretty much straight forward.  Finding the right openssh version can be the worse part of installing on AIX 7.x.  The below is a small doc so that I can remember where I placed this version and hopefully help others as well looking to install openssh on AIX 7.x. AIX […]

UNIX – AIX – HP-UX LPD Printer Setup – Unix to Windows Printing

To install Print Services for UNIX on Windows 2000 or Windows XP: 1.             Log on to the machine with an administrative-level account. 2.             Start the Add/Remove Programs tool in Control Panel. 3.             Click Add/Remove Windows Components. 4.             Click Other Network File and Print Services, and then click Details. 5.             Click to select the Print Services […]

AIX – Unix – Script to Clean/Shrink WTMP file size

Today I came across an AIX wtmp file that was 1.9 GB in size. Needed to shrink the file down to keep at least the last 300 lines. Once I was completed, the file was less than 1 MB. I wrote the below script to clean the wtmp file, you are able to choose where […]