Adding AIX to existing Chef infrastructure

Standard
Download PDF

I’m impressed. It was really easy. I have an old server, 9115-505, 4 GB RAM, with AIX 7.1 TL3 SP0 on it. Almost fresh installation, nothing special. The only special preparation measure, I had to take, was to check DNS configuration. In my test lab the Chef Server has name chef.enfence.net and the name must be resolvable to the right IP address on the client. You can achieve it with proper DNS configuration or with an entry in /etc/hosts.

Continue reading

Download PDF

show unique_id with lspv

Standard
Download PDF

Sometimes it is useful to read manual pages for old well-known commands. Almost every disk in AIX has a hidden attribute unique_id, which uniquely identifies every disk and usually contains some useful information such as LDEV or serial number.

The common way to show the id is using lsattr command:

# lsattr -El hdisk0 -a unique_id
unique_id 2B08005D66830FHUS103073FL380008IBM   H0scsi Unique device identifier False

Using lspv command you can show unique_ids of all known disks:

# lspv -u
hdisk0          000252f3956e8ecb                    rootvg          active              2B08005D66830FHUS103073FL380008IBM   H0scsi
hdisk1          000252f32ff2a406                    clientvg        active              2B08005CAFC10FHUS103073FL380008IBM   H0scsi

 

Download PDF

Server migration

Standard
Download PDF

OK. I migrated this server from one provider to the another one. I hope the new provider will be better. It took me several days to recover my data from the old provider and less then 1 day to install everything on the new server, including my fight with SELinux.

Well, let’s see how it will work…

Download PDF