1. 停止1号机器clusterware以及数据库(root用户执行)
# /etc/init.crs stop
Shutting down Oracle Cluster Ready Services (CRS):
Sep 26 13:20:49.534 | INF | daemon shutting down
Stopping resources. This could take several minutes.
Successfully stopped CRS resources.
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
2. Lsvg rootvg 查看1号机器rootvg是否有剩余空间:(root用户执行)
# lsvg rootvg
VOLUME GROUP: rootvg VG IDENTIFIER: 00c4e74500004c0000000130b9af188d
VG STATE: active PP SIZE: 256 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1092 (279552 megabytes)
MAX LVs: 256 FREE PPs: 362 (92672 megabytes)
LVs: 12 USED PPs: 730 (186880 megabytes)
OPEN LVs: 11 QUORUM: 1 (Disabled)
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 1024 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
3. 通过smitty来修改1号机器swap 交换空间: (root用户执行)
smitty > System Storage Management > Logical Volume Manager > Paging Space > Change / Show Characteristics of a Paging Space,通过加32个pps,每个pps是256M,这样256*32=8G
4. 查看1号机器交换空间的大小(root用户执行)
# lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 8704MB 3 yes yes lv
[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/161195/viewspace-1055355/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/161195/viewspace-1055355/