101⟩ Explain the various SHELL types?
☷ sh or Bourne Shell
☷ bash or Bourne Again shell
☷ csh or C shell
☷ tcsh or Turbo C shell
☷ ksh or the Korn shell
“AIX job preparation guide for freshers and experienced candidates. Number of IBM AIX frequently asked questions(FAQs) asked in many interviews”
☷ sh or Bourne Shell
☷ bash or Bourne Again shell
☷ csh or C shell
☷ tcsh or Turbo C shell
☷ ksh or the Korn shell
#chuser account_lock=true username
Volume Group Status Area it contains the information about physical partition from all physical volumes of the same volume group. It contains the status of VG.
#backup -f /dev/rmt0
# savevg -if /dev/rmt0 /vgname
☆ As the user login to the AIX server, the AIX starts the SHELL program.
☆ The SHELL is a command interpreter.
☆ It takes the inputs from the users and executes it.
☆ SHELL is not only the command interpreter it also provide great flexibility to the user.
☆ SHELL not only read and execute the commands it also read the files written in the form of programs and executes them, these shell program files are known as SHELL scripts. The extension of SHELL script is .sh.
# restvg -x -d -f /dev/rmt0
☛ Bash is the GNU shell
☛ Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh).
☛ It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard.
☛ It offers functional improvements over sh for both programming and interactive uses.
☛ Interactive usage includes command line editing, unlimited size command history, job control, shell functions and aliases, indexed arrays of unlimited size, and integer arithmetic in any base from two to sixty-four. Bash can run most sh scripts without modification.
★ AIX is a multi-user system
★ When the user login he needs to provide the user name and password for authentication purposes.
★ After the successful login, AIX starts the SHELL program.
We can get a disk from Storage team with the bigger size then the current available rootvg disk in the OS. Then mirror the lv/pv. Once the data is mirrored then we can remove the older rootvg disk.
NOTE: we can't user chvg -g in the rootvg disks for the older OS versions. For the new OS version we need to check it out in "man" page whether the option is available or not.
OR
For extending rootvg better to use alt_disk_install to bigger disk.
For eg:
hdisk0 is of 50GB.
Storage team allocated 80GB new disk to the server as per our requirement.
Then mirror the rootvg
Reduce the the older disk and then remove it from the rootvg.
Volume Group Descriptor Area. It contains the information about volume group to which the physical volume belongs to. It also contains the information about physical partitions, logical partitions and logical volumes.
❁ New and complete overwrite
❁ Migration
❁ Preservation
Pre-defined database PdDv, PdAt
Customised database CuDv, CuAt
chuser -a account=true username
#restore -xvqf /dev/rmt0
#tar -rvf /dev/rmt0