Professional Documents
Culture Documents
Network Basics: Ipaddress Netmask Gateway Dns Server Ip (If Any) Hostname Tcp/Ip Service On
Network Basics: Ipaddress Netmask Gateway Dns Server Ip (If Any) Hostname Tcp/Ip Service On
IPAddress
Netmask
Gateway
DNS SERVER IP(If any)
Hostname
TCP/IP Service ON
Standard TCP/IP facilities include: mail, file transfer, remote login, remote execution, and
remote printing
A number of AIX applications use TCP/IP:
– Network File System (NFS)
– Network Information Services (NIS)
– Domain Name Service (DNS)
– Dynamic Host Configuration Protocol (DHCP)
– Network Computing System (NCS)
– Distributed Computing Environment (DCE)
– X Windows and AIXWindows
– Tivoli Netview for AIX 1
# smitty mktcpip
2
3
Important Command Related to Networking
4
EtherChannel / Teaming / Bonding
5
6
7
8
9
10
# ethchan_config
11
Disk Administration & AIX Storage
Files
Directories
File systems
Logical Storage
Physical Storage
Logical Volume Manager(LVM)
12
Traditional Unix Disk Storage
DISK PARTITIONING
/boot - 1GB
/ - 10GB
/home - 5GB
Swap - 2xRAM
Problems:
• Fixed partitions
• Expanding size of the partition
• Limitation on size of a file system and a file
• Contiguous data requirement
• Time and effort required in planning ahead
13
AIX Logical Volume Manage (LVM)
14
LVM In Use & Its Benefits
hd4 with jfs2
FS Block
(size=4096)
/
LV Block
(size=4096)
PP40 PP41
15
Benefits……
Logical volumes solve non-contiguous space problems
Logical volumes can span disks
Logical volume sizes can be dynamically increased
Logical volumes can be mirrored
Physical volumes are easily added to the system
Logical volumes can be relocated
Volume group and logical volume statistics can be collected
These tasks can be performed dynamically!
Limits
Volume Group Max PVs Max LVs Max PPs per Max PP
Type VG Size
Normal 32 256 32512 ( 1 GB
1016 * 32)
Big 128 512 130048 1 GB
(1016 * 128)
Scalable 1024 4096 2097152 128 GB
16
Procedure…….
17
Check volume groups in os
# lsvg
18
Important Options
-y [to define volume group name, if not use this option by default system
nomenclature ]
-S [ Scalable volume group ]
-B [ Big Volume group ]
-v [ No of logical volume, default is 256 and can be defined as multiple to 2
with 256]
-V [Major number]
20
Check Logical volume is created or not
#lsvg –l <volume group name>
21
If crfs command uses “–A yes” then entry committed to /etc/filesystems file, so that
at the time of booting it get effected/mount.
#cat /etc/filesystems
!! At the end of the file entry append!!
22
Check mounted filesystem
#df -tg
23
Use mount command
#mount
24
Points to remember……
Log logical volume stores all activity of logical volume helps to keep consistency of
logical volume. For best practice, keep log logical separate.
25
Define the log lv while formating the lv
#crfs –v <filesystems type –d <logical volume name> -a log=<log lv> –m <mount point> -
A yes
27
Using rmfs <filesystem> removes entry from /etc/filesystems also
28
Resizing of Logical volume
#extendlv <lv name> <additional #no. of PP’s>
e.g. # extendlv newlv 64
Then need to resize the filesystem
#chfs –a size=<new size> <filesystem name>
e.g. # chfs -a size=12G /newdata
Else,
Directly use chfs command to reduce/increase the lv and filesystem at a time
#chfs –a size=+<size M|G> <filesystem name>
e.g. # chfs -a size=+2G /newdata
# chfs -a size=-2G /newdata
Note : If try to decrease the size greater than the available/free size than it shows error as
“chfs: 0506-964 There is not enough free space to shrink the file system.”
29
Volume Group
Resizing volume group
#extendvg <volume groupname> <physical volume>
e.g. # extendvg exvg hdisk4
31
#lsvg –l rootvg
32
AIX Booting Process
33
Bootstrap code
Once the POST is completed, the system locates and loads bootstrap
code.
In AIX, locates, loads and turns control over to the AIX boot logical
volume (BLV). Software ROS is AIX information, enable it to start an AIX
kernel.
AIX kernel is then loaded and takes control. kernel completes the boot
process by configuring devices and starting the init process
AIX uses a default run level of 2
34
INITTAB FILE (/etc/inittab)
Format of the line: id:runlevel:action:command
35
IMPORTANT
# bootinfo –p
rs6k MCA model
rspc PCI model (POWER Reference Platform)
chrp PCI model (Common Hardware Reference)
# bootinfo –y
32 32-bit
64 64bit
#alog -o -t boot
#lssrc –a
#lssrc -g <group subsystem>
#startsrc -s <subsystem>
#refresh –s <subsystem>
#stopsrc –s <subsystem>
# shutdown [Option…]
36
OS PERFORMANCE & HEALTH CHECKUP
LOAD AVERAGE
#uptime
shows the load average in the last minute, five minutes, and
fifteen minutes
37
#time
It shows CPU time spent in user mode, and in system mode and the real time (elapsed
time) to execute it.
#sar –P ALL 1 2
38
#sar –A 1 2 -- to get complete hardware performance state
#mpstat
39
#tprof -x cfgmgr -- create report of command
40
#iostat -- IO device status
Memory
#ps –ef
#svmon
41
#nmon -- Complete system monitor
42
#topas -- live system monitoring
43
Some More Command
44
Backup & Restore
MKSYSB rootvg complete os backup
#mksysb -i /testfs/mksysb.0709 creates an installable image of the
rootvg
#mksysb -i /dev/rmt0 creates an installable image of the rootvg in
tape
# lsmksysb -V -f /dev/rmt0
# listvgbackup -f /testfs/mksysb.0709 –r
/etc/resolv.conf restores the file /etc/resolv.conf from the
specified backup
restores the vg and all the files what have been saved with
savevg to specific hdisk
46
HACMP CLUSTER BASIC
KA = Keep Alive
47
THANK YOU !!!!!!!!!!!!!!!!!!
48