Posts

Sample LVM Procedures:

Filesystem Procedures Procedure to create a filesystem using JFS: See below the procedure for creating a logical volume and a filesystem using JFS: Procedure to extend the size of filesystem using JFS: "df" to see the filesystem, it's current size, % utilization and the name of it's logical volume "lslv " to show information about the logical volume including it's volume group name. "lsvg " to show information about the volume group, including number of free pp's and the pp size If there are not enough free pp's then see below for procedure to add a disk to a volume group. "chfs -a size= +4194304 " to grow the filesystem by 2 GB (4194304=2*1024*1024*1024/512) NOTE: Growing the file system will automatically grow the logical volume df" shows the file system's current size is 2 GB more than before. Troubleshooting extending the size of a filesystem using JFS: Error Message: 0516-787 extendlv:

AIX: LVM Overview

Image
LVM Theory Physical Volume = PV is IBM speak for a disk (it could be worse some IBMers still refer to DASD! (Dyanical Access Storage Device which is a main frame term). They are: Named by AIX as hdisk0, hdisk1, hdisk2, ... Regardless of the underlying technology (SCSI, SSA sort of IBM's early SAN, SAN, RAID5 using the adapter) Disk and AIX automatic bad block reallocation Volume Group = VG is IBM speak for a group of disks Volume Group operations: Disk space always allocated within single VG All disks available in AIX or none - work as a group Can be exported to be attached to other AIX - allows High Availability HACMP First VG called rootvg Root Volume Group (rootvg) is created automatically while installing AIX is placed within this VG AIX files Initial paging Usually only the first disk Or two, to allow mirroring of rootvg Often internal disks Recommend: Keep to a small number of disks Other Volume Groups Other VG created by the System Admin.

NIM Server Creations

1. Pre- requisite to start NIM server setup For stating the NIM server /Client set the required file set should be get installed and the file sets are listed below, On NIM server lslpp –l grep nim File sets need to be installed on NIM SERVER: • bos.sysmgt.nim.master • bos.sysmgt.nim.spot File sets need to be installed on NIM CLINET: • bos.sysmgt.nim.clinet If need to install from CD • installp -Ld /dev/cd0 grep nim --> from cd Install: • installp -agxd /dev/cd0 bos.sysmgt.nim.master • installp -agxd /dev/cd0 bos.sysmgt.nim.spot 2. NIM Server Setup Check the required fileset by listing the command, • lslpp -l grep nim -à will display the nim.spot and nim.master file sets NIM installation will create and update the below following file, • /etc/niminfo • ODM – object / object classes • created LPP_SOURCE and SPOT in NIM MASTER SERVER LPP_SOURCE (licensed product project source)à This a source will have the content of AIX which in the CD, fo