1、检查物理内存大小
# /usr/sbin/lsattr -E -l sys0 -a realmem
realmem 32374784 Amount of usable physical memory in Kbytes False
2、检查SWAP大小
# /usr/sbin/lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum
hd6 hdisk0 rootvg 1024MB 2 yes yes lv 0
/增加SWAP分区
(1)lsvg rootvg 查看PP SIZE
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00c6a73600004c000000012d9db297f6
VG STATE: active PP SIZE: 1024 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1321 (1352704 megabytes)
MAX LVs: 256 FREE PPs: 1303 (1334272 megabytes)
LVs: 13 USED PPs: 18 (18432 megabytes)
OPEN LVs: 12 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 2032 MAX PVs: 16
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
PV RESTRICTION: none
#
(2)配置方式
smit---->System Storage Management (Physical & Logical Storage)------>Logical Volume Manager------->Paging Space
--------> Change / Show Characteristics of a Paging Space-------->
默认HD6,在弹出界面
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Paging space name hd6
Volume group name rootvg
Physical volume name hdisk0
NUMBER of additional logical partitions [32] #
Or NUMBER of logical partitions to remove [] #
Use this paging space each time the system is yes +
RESTARTED?
Checksum Size [0] +#
(3)再次检查SWAP分区情况
# /usr/sbin/lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum
hd6 hdisk0 rootvg 33792MB 1 yes yes lv 0
3、检查/tmp
使用smit fs修改大小
# df -m /tmp
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/hd3 4096.00 4093.30 1% 49 1% /tmp
4、确认系统硬件结构
# /usr/bin/getconf HARDWARE_BITMODE
64
#
5、确认系统CPU个数和主频
# lsdev -C |grep proc
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
proc4 Available 00-04 Processor
proc6 Available 00-06 Processor
# lsattr -E -l proc0
frequency 4204000000 Processor Speed False
smt_enabled true Processor SMT enabled False
smt_threads 2 Processor SMT threads False
state enable Processor state False
type PowerPC_POWER6 Processor type False
# lsattr -E -l proc2
frequency 4204000000 Processor Speed False
smt_enabled true Processor SMT enabled False
smt_threads 2 Processor SMT threads False
state enable Processor state False
type PowerPC_POWER6 Processor type False
# lsattr -E -l proc4
frequency 4204000000 Processor Speed False
smt_enabled true Processor SMT enabled False
smt_threads 2 Processor SMT threads False
state enable Processor state False
type PowerPC_POWER6 Processor type False
# lsattr -E -l proc6
frequency 4204000000 Processor Speed False
smt_enabled true Processor SMT enabled False
smt_threads 2 Processor SMT threads False
state enable Processor state False
type PowerPC_POWER6 Processor type False
#
/oracle:安装oracle软件
/oracle/oradata:存储数据文件
/databak:存储备份数据包
配置方法:
1)配置逻辑卷
Smit————>System Storage Management (Physical & Logical Storage) ————> Logical Volume Manager ————> Logical Volumes ————> Add a Logical Volume
2)配置挂载点
Smit————>System Storage Management (Physical & Logical Storage) ————> File Systems ————> Add / Change / Show / Delete File Systems
3)最终分区情况:
# df -g
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/hd4 50.00 49.80 1% 10214 1% /
/dev/hd2 10.00 7.74 23% 48794 3% /usr
/dev/hd9var 10.00 9.68 4% 8245 1% /var
/dev/hd3 4.00 3.99 1% 60 1% /tmp
/dev/fwdump 1.00 1.00 1% 4 1% /var/adm/ras/platform
/dev/hd1 20.00 20.00 1% 14 1% /home
/dev/hd11admin 1.00 1.00 1% 5 1% /admin
/proc - - - - - /proc
/dev/hd10opt 10.00 9.66 4% 10388 1% /opt
/dev/livedump 1.00 1.00 1% 4 1% /var/adm/ras/livedump
/dev/oracle_lv 150.00 139.53 7% 19299 1% /oracle
/dev/oradata_lv 100.00 92.28 8% 20 1% /oracle/oradata
/dev/databak_lv 450.00 449.93 1% 7 1% /databak
7、系统软件环境检查
# oslevel -r
6100-06
# lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat
> bos.perf.libperfstat bos.perf.proctools
Fileset Level State Description
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
bos.adt.base 6.1.6.1 COMMITTED Base Application Development
Toolkit
bos.adt.lib 6.1.2.0 COMMITTED Base Application Development
Libraries
bos.adt.libm 6.1.6.0 COMMITTED Base Application Development
Math Library
bos.perf.libperfstat 6.1.6.1 COMMITTED Performance Statistics Library
Interface
bos.perf.perfstat 6.1.6.0 COMMITTED Performance Statistics
Interface
bos.perf.proctools 6.1.6.0 COMMITTED Proc Filesystem Tools
Path: /etc/objrepos
bos.adt.base 6.1.6.1 COMMITTED Base Application Development
Toolkit
bos.perf.libperfstat 6.1.6.1 COMMITTED Performance Statistics Library
Interface
bos.perf.perfstat 6.1.6.0 COMMITTED Performance Statistics
Interface
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/570433/viewspace-1046384/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/570433/viewspace-1046384/