Thursday, December 3, 2020
Tuesday, December 1, 2020
server’s logs | unmounted during shutdown & remounted during boot
Filesystems are unmounted during shutdown and remounted during boot.
fuser -cux /abc
Monday, November 16, 2020
shutdown -Fr Reboot
r
use the command "w" to see who's logged in before rebooting
vtmenu HMC information
Procedure for rebooting the server:
- Login as the “root” user. You must have password for the root user.
- At the “#” prompt, type in the following command:
shutdown -Fr
Procedure for shutting down the server:
- Login as the “root” user. You must have password for the root user.
- At the “#” prompt, type in the following command:
shutdown -F
- Disks, Volumes and File Systems
Command | Description |
lsvg | Displays information about volume groups. |
lsvg rootvg | Display information about rootvg. |
lsvg -p rootvg | Display physical volumes. |
lsvg -l rootvg | Display logical volumes. |
Mkvg | Create a new volume group, using the physical volumes |
extendvg | Adds physical volumes to a volume group. |
Reducevg | Remove physical volumes from a volume group. When all physical volumes removed from the volume group, the group is deleted. |
Command | Description |
Lspv | Displays information about a physical volume within a vg. |
lspv hdisk0 | Display information about physical volume hdisk0. |
varyonvg datavg | Activates volume group. |
varyonvg datavg | Deactivates volume goup. |
exportvg datavg | Removes the definition of the volume group datavg from the system. |
importvg | Imports a volume group definition from a set of physical volumes. |
Friday, November 13, 2020
user management passwd steps
chsec -f /etc/security/lastlog -a "unsuccessful_login_count=0"
-s tuser1
chuser "account_locked=false" tuser1
chuser account_locked=false
passwd user !Connie1@Dch1596!Qza5sbx
!Active1 !Active4
ssh tusernum@dch1596za5sbx
lsuser -a unsuccessful_login_count <userid>
chsec -f /etc/security/lastlog -a unsuccessful_login_count=0 -s <userid>
chuser account_locked=true <userid>
infoDoc
Thursday, November 12, 2020
Tuesday, November 10, 2020
Tuesday, November 3, 2020
add 10G on multiple servers , 1 x 50GB SAN disk
1 - login and run chfs -a size=+10G
2 - df -g
How To Expand A Filesystem in AIX (df, lsvg, chfs)
minimum, desired, maximum
add 1 x 50GB SAN disk sever0 and sever1
Add disks to the following hosts & add them to the respective VGs:
sever0 (8GB to vgxxx03)
sever1 (17Gb to vgxxx03)
lparstat -i |grep -i mem
Online Memory : 4096 MB
Maximum Memory : 8192 MB
Minimum Memory : 2048 MB
Memory Mode : Dedicated
Total I/O Memory Entitlement : -
Variable Memory Capacity Weight : -
Memory Pool ID : -
Physical Memory in the Pool : -
Unallocated Variable Memory Capacity Weight: -
Unallocated I/O Memory entitlement : -
Memory Group ID of LPAR : -
Desired Memory : 4096 MB
Target Memory Expansion Factor : -
Target Memory Expansion Size : -
Central Electronics Complex (CEC)
(Advanced Interactive eXecutive) a series of proprietary Unix operating systems.