ABC Of AIX

Welcome to the World of AIX learning!!!

Restarting VIO Server Logical Partition

leave a comment »

Before the admin shutdown VIO server LPAR, admin must remember the following points:

  1. If client LPAR uses storage and networking virtual resources provided by VIO server then admin must deactivate the LPAR and then shutdown the client LPAR.
  2. Each shared memory partition must be a shutdown because every partition accesses its paging space device using VIO server LPAR that the admin is planning to shutdown.

To restart VIO server from HMC:

  1. Expand system management -> servers
  2. Click managed systems on which LPAR is located
  3. Select LPAR
  4. Click Operations -> Restart
  5. Click OK

And now complete the following task:

  1. Activate client LPAR
  2. Activate each shared memory partition that accesses paging space device using VIO server LPAR that is restarted.

P.S: Please refer the redhat IBM pdfs for detailed understanding!

Happy Learning!

Written by RA

October 2, 2012 at 3:45 pm

Commands To Send Mails

leave a comment »

Sending Mails:

Command used:

# echo “Message” | mail –s “subject” –f user@domain.com

This command is used to send mails.

# echo “Message” | mail –f <sender@domain.com> –s subject <recipient@domain.com>

Written by RA

October 2, 2012 at 3:42 pm

AIX File System And Logical Volume

with one comment

AIX File System And Logical Volume

1. All the file systems exist on top of logical volume. No file system can exist without logical volume. Although LV does exists without a file system. First a LV is created and on top of it a FS is created. System first creates a LV. Then, a layer of jfs is created on top of it. Once the jfs is created then FS is finally created.

2. Whenever a file system is expanded, logical volume (LV) is extended first. Then the layer of jfs on top of it is expanded and finally the file system is expanded.

3. AIX has a limit of only 3 copies of LV. These copies may be in sequential or parallel arrangements.

4. In case system crash takes place, Mirror write consistency check (MWCC) method is performed in order to track the last 62 writes to the mirrored LV.

5. In normal VG configuration, a VG can never have more than 32 PVs as VGDA design has a limit and is always fixed in size. VG will not take any extra disk once the quota of 32 PVs is full.

6. LVCB contains the following information:

  1. LV creation date
  2. Mirrored LV information
  3. Mount points in JFS file system

7. LVCB consists of first 512 bytes of LV.

8. LV Theoretical limits:

  1. Normal:

             i.      Number of PVs = 32

             ii.      PP’s per PV = 1016

             iii.      PP size = 1 MB to 1 GB

             iv.      Number of LV = 256

             v.      LV size (maximum) = 32 x 1016 x 128 = 8.3 TB (approx.)

9. Reorgvg command takes lot of I/O capacity so it is always recommended to run this command when workload is low.

Most of the information is already available in various Red Hat IBM pdfs and online books.

Hope you enjoyed reading this post.

Thank you.

Happy Learning!

System Boot

with one comment

This post will discuss about the system boot with respect to Hardware.

  1. Bosboot Command:

As we have already seen, bosboot command is used to create boot image from disk files and copies boot image to BLV.

This question is asked many a times in interviews.

  1. If the boot device is:
    1. Removable Media: if the boot device is removable media like tape or cd, it boots to install and maintenance menu.
    2. Network adapter: it will depend on NIM configuration for client machine.
    3. Disk: depends upon the service key whether:

i.      Normal

ii.      Diskless

iii.      Diagnostic

If a machine keeps rebooting and repeating POST, it means either there is invalid bootlist or corrupted BLV or hardware failure of boot device.

  1. To fix corrupted BLV:
    1. Insert CD
    2. Press F5 to go in SMS Mode
    3. Once in the Maintenance Mode, access the RVG
    4. Run the following command

# bosboot –ad /dev/hdisk0

# shutdown –Fr

Happy Learning!

Devices

with 2 comments

Devices:

1. Command used for listing of /dev directory:

# ls –l /dev

2. Predefined means supported. (PdDv)

Command used:

# lsdev –PH

3. Customized means configured / defined (entry in ODM class CuDV) / available (CuDV)

Command used is:

# lsdev –CH

4. How is the location code understood:

AB-CD-EF-GH

Means

AB: Drawer

CD: Slot

EF: Connector

GH: Port

AB-CD together is adapter

Happy Learning!

HACMP

leave a comment »

HACMP is integrated with AIX 5L OS and system P servers.

HACMP Version 5 supports Linux OS.

HACMP supports the following applications:

–          DB2

–          Oracle

–          Websphere

–          SAP

HACMP also supports CUoD, CBU, CoD, Lpar.

CUoD stands for capacity upgrade on demand.

CUoD means activation of processors or memory.

CBU stands for capacity backup upgrade.

CBU basically means processors or memory temporarily added to backup server.

CoD stands for on/off capacity on demand.

CoD means ability to activate the processors or memory resources temporarily.

HACMP Version 5.4 supports non IBM Harwares as well and Operating Systems like Red Hat Linux and SUSE.

RMC stands for Resource Monitoring and Control.

Note, AIX 5L V5.3 supports Mozilla on 32 bit OS.

To start documentation from command line, Command used is:

# inforcenter

P.S: Information published in this post is inspired from various red hat pdf’s and online sources.