Tuesday, December 22, 2020
Very useful command related to network concept in aix?
Friday, November 20, 2020
Raid concept - How to deal with RAID concepts in interview persective?
Raid concept - How to deal with RAID concepts from an interview perspective?
RAID (Redundant Array of
Independent Disks)
RAID 0 - RAID 1 -
RAID 5 - RAID 10
RAID 0 (Striping)
==============
Not fault tolerance
Data is striped across multiple
disks
The data will be lost if one of
the disk got corruped/destroyed.
RAID 1 (Mirroring and Duplexing)
============================
Fault tolerant
Data is copied on more than one
disk
Each disk has the same data
(data is safe)
RAID 5 (Striping with parity)
======================
Requires 3 or more disks
commonly used and It can store
large amount of data and raid 5 is fast
Data is 'striped' across
multiple disks along with parity (Parity is used to rebuild the data in the
event of disk failure.)
RAID 10 (RAID 1+0)
==================
Combines Raid 1 and Raid 0
Need to use minimum of 4 disks
Two disks is mirrored using raid
1 setup (Both sets of 2 disks are striped using raid 0 setup)
Benefits from the fault
tolerance of raid 1 and speed of raid 0
The disadvantage is - can only use
50% for data storage
(BTW, Fault tolerance refers to the ability of a system (computer, network, cloud cluster, etc.) to continue
operating without interruption when one or more of its components fail.)
Tuesday, November 17, 2020
How to list out all the directories and sub-directories on the particular filesystem or directory in aix?
How to view directories and sub-directories in aix?
Sometimes, you may in the situation to list out all the directories
and sub-directories on the particular FS (or) directory in aix, Please use the below commands. It will list out all the directories and all the sub directories/files inside the directory/FS.
# ls -aeltFR
Thursday, August 27, 2020
How to restore a directory from mksysb backup in aix?
How to restore a directory from mksysb backup in aix?
Saturday, May 9, 2020
Facing issue while Restoring /image.data from mksysb image in aix?
Facing issue while Restoring /image.data from mksysb image in aix?
How to put log rotate in aix?
How to put log rotate in aix?
Wednesday, May 6, 2020
What is NPIV in aix?
What is NPIV in aix?
Friday, April 24, 2020
how to enable the failed path in aix?
How to enable the failed path in aix?
Thursday, April 23, 2020
WPAR cheat sheet in iax
WPAR cheat sheet in aix?
Action
|
Commands
|
To list wpar
|
# lswpar (and)
# lswpar <wpar_name>
|
To list the detailed info about wpar
|
# lswpar -L <wpar_name>
|
To read the network info of wpar from
GE
|
# lswpar -d '|' -N <wpar_name>
|
To view inf oabout devices that are
exported and allocated to vwpar
|
# lswpar -D <wpar_name>
|
to list the longs outpout of vwpar
from GE
|
# lswpar -L
|
To list the exported disk details to
vwpar from GE
|
# lswpar -L|grep -p "DEVICE
EXPORTS"
|
To list the important info about
vwpar
|
# lswpar -G
|
To list out the flag details for the
vwpar In lswpar
|
# lswpar -a
|
To stop system wpar in same way that
shutdown command
|
# stopwpar -F <wpar_name>
|
To reboot vwpa
|
# stopwpar -F -r <wpar_name>
|
To rebooot vwpar from vwpar itself
|
# reboot
|
To remove wpar
|
# rmwpar <wpar_name>
|
To stop a wpar before removing it
|
# rmwpar -s <wpar_name>
|
To confirm whether we are in GE or
vwpar
|
# uname -W (Value is 0 means GE, numeric value means vwpar)
|
To view wpar identification and
processor information
|
# lparstat -w
|
To display the UUID of a WPAR
|
# lswpar -a UUID <wpar_name>
|
To login to the vwpar
|
# clogin <wpar_name>
|
To log into a system WPAR for
different user
|
# clogin <wpar_name> -l
username
|
To take backup
|
# /opt/rbos/networker/bin/lbackup-ge
-pre
|
To take savewpar backup of vwpar
|
# savewpar -f
/vwp01/<wpar_name>/backup/<wpar_name>.vwbck -I -e -x
<wpar_name>
|
To restore vwpar from backup
|
# restwpar -f 'backup/<wpar_name>.vwbck'
'-s' '-A'
|
To list out the processes details
consuming for vwpar
|
# ps -ef@ <wpar_name>
|
How to take alt_disk for GE in wpar
|
# alt_disk_copy -B -u -d hdiskX
|
How to create ISO image from backup
|
# mkcd -L -S -I /repos/savevg/lparname/iso
-m /repos/savevg/lparname/<backup_name>
|
How to create a filesystem in wpar
from GE
|
# crfs -v jfs2 -g testvg -u testwpar
-A no -a size=10M -m /wpars/testwpar/datafs
|
How to create a shared FS which can e
used by GE and wpar
|
# crfs -v namefs -d /myfs -m
/wpars/mywpar/myfs -u mywpar
|
How to list the FS information of
wpars from GE
|
# lswpar #lswpar -M <wpar-name>
|
what is the configuration file for
the vwpar
|
/vwp01/<vwpar_name>/etc
|
what is the location for devmap
|
# ls -l /etc/wpars/devmap
|
How to create a wpar
|
#mkwpar -n testwpar -h testwpar -N
interface=en0 address=<ip_addr>
netmask=255.255.255.0 -r -R
shares_CPU=10 CPU=6%-30%,45%
shares_memory=20 memory=5%-10%,20%
totalProcesses=128 totalThreads=512 -A -s
|
Monday, April 20, 2020
New lpp_source creation using the old lpp_source in aix?
New lpp_source creation using the old lpp_source in aix?
The below steps clearly explain, how to create a new lpp_source with the help of existing lpp_source.
Here, I am planning to create a lpp_source for AIX 71TL05SP02 using the old lpp_source AIX71 TL04SP05.