How to activate the home directory’s creation when a LDAP user first connects to an AIX server

I didn’t know this one ! When you set your lpar to be a LDAP client (for example), the LDAP users have no home directory on your newly created LPAR, and you get an error message « /home/user  : No such

Share Button

VSCSI/NPIV : useful one-liners for lsmap command

Update : I juste realized I never did the same quick one-liner for the NPIV case, which is indeed what my servers are built on , I’m fixing it right now ! VSCSI When working with VSCSI mode, I always

Share Button

How to remove these *!@# ^M symbols at the end of each MSDOS-imported files ?!

It must be THE most annoying thing in the UNIX world : getting a file which has been created with Windows, or MS-DOS, and having these ^M end-of-line characters (which represents the odd carriage return characters in the Windows world)

Share Button

AIX + HDLM restored from cloned mksysb : VG creation or alt_disk_copy problem

Context Few days ago I had a problem with an alt_disk_copy action on one of my systems (running with HDLM), which was freshly restored via mksysb (from another host), causing this error :

Share Button

Display the UDID and UUID of a physical volume

Thank to Urban Biel on  twitter and this post  I just discovered an interesting (but not new) option for lspv command  :  -u ! (available for AIX 6.1 TL07 and  AIX 7.1 TL01), which displays the UDID and UUID of the

Share Button

NIM : update your system easily with nimclient

I want to update my client to the latest AIX 7.1 service pack (service pack 5 for AIX 7.1) and I wanna get rid of the old « exportfs – mount – smit update_all – umount  » sequence, and use the

Share Button

Replicated rootvg, ghostdev and NPIV (from Chris Gibson)

Here is a very thorough article on the ghostdev attribute, which I wasn’t aware of until now ! Replicated rootvg, ghostdev and NPIV (from Chris Gibson) Since one or more of the physical devices will change when booting from an

Share Button

Inserting a line in a file with perl (sed -i doesn’t work on AIX)

The following line will insert « blah blah blah » at the beginning of the file.txt . If you wanna insert a line anywhere else, you just have to modify this « if $. == [line number] » part. If you just wanna modify

Share Button

MPIO : Nice and easy way to check if all paths are consistent and available

Sometimes on a server which had some fiber channel difficulties,  I always check if there are some missing or failed paths by issuing this command (sometimes the numbers are not equal, and we have to reconfigure missing paths) : If

Share Button

Getting the VIO host of your virtual server

Unfortunately this doesn’t work with AIX 5.3, you should check this out instead : https://www.ibm.com/developerworks/community/blogs/glukacs/entry/zoning_info_script_to_follow_the_vscsi_mapped_luns1?lang=en NPIV VSCSI

Share Button
Page 4 sur 512345