oracle10.201 for aix6 安裝基本操作

guyeh發表於2011-02-23
軟體安裝過程和其他UNIX/LINUX平臺下安裝幾乎沒有太大區別,主要是前期的一些配置與準備工作,記錄下來以備查詢。
[@more@] Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE

、檢查實體記憶體大小

# /usr/sbin/lsattr -E -l sys0 -a realmem

realmem 32374784 Amount of usable physical memory in Kbytes False

、檢查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----&gtSystem Storage Management (Physical & Logical Storage)------&gtLogical Volume Manager-------&gtPaging Space

--------&gt Change / Show Characteristics of a Paging Space--------&gt

預設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

、檢查/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

、確認系統硬體結構

# /usr/bin/getconf HARDWARE_BITMODE

64

#

、確認系統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

、系統軟體環境檢查

# 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/,如需轉載,請註明出處,否則將追究法律責任。

相關文章