AIX
RS6000 vmware AIX4.3
AIX AIX smit IBM AIX lsps a topas AIX 12 00 errpt -a -s $date
AIX TCP lslpp -L grep TCP mksysb A tctl B lsattr C ffwd D chdev
AIX AIX shutdown Fr SMIT A smit.log B smit.err C smit.odm D smit.script
AIX AIX mksysb chdev -l inet0 -a hostname= AIX bootinfo -K
AIX mirror 1 bosboot -ad /dev/hdisk1 hdisk1 2 boolist -m normal hdisk0 hdisk1 hdisk1 bootlist raw Unix
AIX tar GB ODM: object Data Manager ODM SVPD SRC SMIT ODM
Paging Space : 1. 64MB, paging space= 2 * RAM 2. 64MB to 256MB, Page Space = RAM size + 16MB 3. 256MB, Page Space = 512 + ( RAM - 256 ) * 1.25 4. AIX 4.3.3 4GB 8GB,Paging Space. 3GB, paging space, 70%, paging space., lsps a smit chps
AIX pdisk lsdev -C grep pdisk PP LP? LV LP=PP 1LP=2PP/3pp
swap chps -a n hd6 smitty mkps -> paging00 /sbin/rc.boot -> swapon /dev/paging00 sysdumpdev -P -p /dev/pag002 bosboot -ad /dev/hdisk0 Reboot smitty rmps -> hd6 smitty mkps -> hd6 sysdumpdev -P -p /dev/hd6 /sbin/rc.boot -> swapon /dev/hd6 chps -a n pag002 bosboot -ad /dev/hdisk0 chps -a y hd6 Reboot smitty rmps -> pag002
su root smitty user >Change / Show Characteristics of a User->root->Another user can SU TO USER? false
AIX AIX DHCP smitty tcpip IP AIX umask=022, 644 755
exportvg importvg pserver A vg test1vg B vg test2vg A test1vg B A varyoffvg test1vg B: test1vg exportvg test1vg importvg -y test1vg hdisk10 test1vg importvg -y test1vg hdisk10
PV PVID chdev -l hdisk* -a pv=yes
AIX MOUNT *.ISO ISO image /etc/filesystems vfs cdrfs # vi /etc/filesystems /isocd: dev = /dev/isocd vfs = cdrfs mount = false options = ro account = false LV /iso_dir dd iso images LV dd if=/cdrom/domino.iso of=/dev/isocd mount CD-ROM mount # mount -rv cdrfs /dev/isocd /iso_dir cd /iso_dir
>15m -size + -size 512 bytes 15MB find / -size +30720
VG VG 8 PV PV PV VG chvg -B vg
VG hdisk2 usrvg #exportvg usrvg #chdev -l hdisk2 -a pv=clear #chdev -l hdisk2 -a pv=yes hdisk2 PVID #importvg -y usrvg hdisk2 0516-010 lqueryvg: Volume group must be varied on; use varyonvg command. PV Status: hdisk2 000c15af398908c4 INVPVID 000c15bf54b934a0 NONAME 0516-052 varyonvg: Volume group cannot be varied on without a quorum. More physical volumes in the group must be active. Run diagnostics on inactive PVs. 0516-780 importvg: Unable to import volume group from hdisk2. vgda pvid recreatevg
AIX CASE STUDY
-1 RS 6000 Aix 4.3.3 Starting Software... BOOTP S = 1 1 9 LED E175
-1 ( ) E175 BootP request Refer to Boot Problems/Concerns on page 4-27 for some general information concerning network booting. 1. Power Off then On and retry the boot operation 2. Verify the network connection 3. Have network administrator verify the server configuration for this client
-1 ( ) F6
-1 ( ) : SCSI,.,,,.
-1 ( )
-2 IBM690 10 30 DOWN Errors in file /oracle/admin/lnpostdb/bdump/lnpostdb_dbw0_835706.tr c: ORA-01157: cannot identify/lock data file 145 - see DBWR trace file ORA-01110: data file 145: '/dev/rlv_dtl_idx015' ORA-27041: unable to open file
-2( ) errpt IP DOWN
RS6000 AIX 5 Windows 2000 server Windows 2000 Server Simple Network Service 123/TCP AIX Internet Windows Internet : AIX
windows server http://www.meinberg.de/english/sw/index.h tm aix root ntpdate IP (windows server)
AIX
ksh: lscfg: not found # lscfg ksh: lscfg: not found. AIX
ksh: lscfg: not found bos.rte.diag lslpp -l bos.rte.diag
VG pv vg rootvg datavg datavg rootvg mirror 0516-014 mirror vg [hdisk1]:the physical volume appears to belong to another volume group. lspv hdisk1 vg rmdev hdisk1 cfgmgr
VG # lsvg datavg # lspv hdisk0 005c39bf64a47dbe rootvg active hdisk1 005c39bfeafce70f datavg active # reducevg datavg hdisk1 # lspv hdisk0 005c39bf64a47dbe rootvg active hdisk1 005c39bfeafce70f None # mirrorvg rootvg hdisk1 0516-014 mirrorvg: [hdisk1]: The physical volume appears to belong to another volume group. 0516-1200 mirrorvg: Failed to mirror the volume group.
VG datavg hdisk1 rootvg extendvg rootvg hdisk1 mirorvg rootvg hdisk1
X xmanager 20 ROOT
X $ cat.profile #export JAVA_HOME=/usr/jdk_130 export ORACLE_BASE=/oracle export ORACLE_HOME=$ORACLE_BASE/product/9.2 export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK export ORACLE_SID=**** -- export ORACLE_TERM=vt100 export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/dbs:$PATH:. export CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jre/1.1.8/lib:$JAVA_HOME:$ JAVA_HOME/lib:$ORACLE_HOM E/jlib:$ORACLE_HOME/network/jlib export LD_LIBRARY_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HO ME/rdbms/lib:$ORACLE_HOME/net work/lib export DISPLAY=localhost:0.0
X DISPLAY=< IP > 0.0
AIX LED 512
512 Restoring device configuration files from media. 512
/oradata /oradata(datavg) /oradata! #mount /oradata mount:0506-324 cannot mount /dev/lv01 on /oradata: There is a request to a device or address that does not exist. #fsck -y /oradata Filesystem Helper:0506-519 Device open failed /etc filesystems /oradata dev =/dev/lv01 vfs =jfs logions =/dev/loglv00 mount =true options =rw account =false
/oradata datavg varyonvg lsvg -o datavg varyon
mksysb LV...skipping... 115086 of 129841 files (88%)... 120977 of 129841 files (93%)... 123458 of 129841 files (95%)...backup: 0511-449 An error occurred accessing rvg01lv_data_b18: A file or directory in the path name does not ex ist..backup: 0511-449 An error occurred accessing./zxbackup: A file or directory in the path name does not exist.... 129841 of 129841 files (100%) 0512-003 mksysb may not have been able to archive some files. The messages displayed on the Standard Error contained additional information. ---- end ----
mksysb LV mksysb synclvodm rootvg fsck
/usr/bin/ls: 0403-027 The parameter list is too long. 4000 gif gif ls *.gif rm *.gif ksh: /usr/bin/ls: 0403-027 The parameter list is too long.
/usr/bin/ls: 0403-027 The parameter list is too long.( ) 1. ls grep gif 2. find. -name '*.gif' print 3. find. -name '*.gif' -exec rm {} \;
25 AIX 4.3.3 TAIST 8 CST 6 telnet date 25 CST 6
25 smitty chtz,echo $TZ DT,,.
root 6 2003 7 Recovery and Maintance Mode 1 access a valume group and start a shell mount /usr/bin/ksh failure 7 2004 root 6
AIX 5.1 oracle All available login sessions are in use?
AIX 5.1 ( ) smitty chlicense Maximum number of FIXED licenses
Quiz 1, PVID A LSID B LSPV C LSPVID D CAT /ETC/PVID E LSVG
Quiz 2.? 3,,, A. quorum B. auto on C. vgstate D. vgda