oracle rac aixWord下载.docx
- 文档编号:19703615
- 上传时间:2023-01-09
- 格式:DOCX
- 页数:22
- 大小:25.90KB
oracle rac aixWord下载.docx
《oracle rac aixWord下载.docx》由会员分享,可在线阅读,更多相关《oracle rac aixWord下载.docx(22页珍藏版)》请在冰豆网上搜索。
192.168.0.103rac1vip
192.168.0.104rac2vip
10.10.10.101rac1priv
10.10.10.102rac2priv
2、在rac1和rac2上,创建oinstall、dba、hagsuser组
/bin/mkgroup
oinstall
dba
hagsuser
3、在rac1和rac2上,创建oracle用户:
#
smitty
user
Add
a
User
Type
or
select
values
in
entry
fields.
Press
Enter
AFTER
making
all
desired
changes.
*
User
NAME
[oracle]
ID
[500]
Primary
GROUP
[oinstall]
Group
SET
[dba,hagsuser]
Soft
FILE
size
[-1]
CPU
time
DATA
segment
STACK
保证两台主机的组号要一致!
/etc/group
oinstall:
!
:
203:
dba:
204:
hagsuser:
205:
id
oracle
uid=500(oracle)
gid=203(oinstall)
groups=204(dba),205(hagsuser)
4、配置系统配置参数
配置每用户的最大进程数、调整water
mark
chgsys
Maximum
number
of
PROCESSES
allowed
per
user
[4096]
HIGH
water
mark
for
pending
write
I/Os
file
[33]
LOW
[24]
Stack
Execution
Disable
(SED)
Mode
off
配置网络可调参数
修改文件/etc/,将如下几行加到文件的尾部:
if
-f
/usr/sbin/no
]
then
-p
-o
udp_sendspace=65536
udp_recvspace=655360
tcp_sendspace=65536
tcp_recvspace=65536
rfc1323=1
sb_max=1310720
-r
ipqmaxlen=512
fi
修改异步I/O(须重启)
chgaio
[Entry
Fields]
MINIMUM
servers
[30]
#
MAXIMUM
[60]
maximum
REQUESTS
server
PRIORITY
[39]
STATE
to
be
configured
at
system
restart
available
+
State
fast
path
enable
mkdev
–l
aio0
使异步I/O可用
调整syncd频率
修改文件/sbin/rc.boot
#nohup
/usr/sbin/syncd
60
>
/dev/null
2>
&
1
nohup
10
5、创建串口设备
mktty
测试串口设备
cat
<
/dev/tty0
/etc/hosts
6、安装oracle、hacmp支持包
installp
需要安装以下操作系统包:
Bos.adt
bos.cifs_fs
Bos.clvm
pat
bos.data
Bos.perf
rsct.basic
pat.basic
pat.clients
rsct.core
(在扩展盘上HACMP
5.2不需要,5.3需要)
rsct.exp.cimrm
2.4.2.0
(以下包在AIX
Toolbox
Linux
Applications盘上,安装SSH的前提包)
openssl-0.9.7g
openssl-devel-0.9.7g
openssl-doc-0.9.7g
(以下包在扩展盘上)
openssh.base
openssh.license
openssh.man.en_US
要将license改为接受!
!
(在网上download)
xlC.aix50.rte:
7.0.0.4
xlC.rte:
7.0.0.1
7、安装hacmp软件
8、安装磁盘阵列,创建共享卷
准备磁盘阵列
hostname
rac1
lspv
hdisk0
0002e54aa58657e9
rootvg
active
hdisk1
0002657c5acf302b
None
hdisk2
0002657c4d26e7ba
hdisk3
0002657c5acf4bc3
hdisk4
0002657c4cc04d52
hdisk5
0002ee503cc8dcaa
rac2
0002e5baa58258aa
创建一个并行vg名字为oracle_vg
mkvg
Big
Volume
Group
Fields]
VOLUME
name
[oracle_vg]
Physical
partition
SIZE
megabytes
128
PHYSICAL
names
[hdisk5]
Force
the
creation
volume
group?
yes
Activate
group
AUTOMATICALLY
no
restart?
MAJOR
NUMBER
Create
VG
Concurrent
Capable?
enhanced
concurrent
varyonvg
oracle_vg
创建oracle使用的并行卷
mklv
-y'
dy_crs1024m'
-w'
n'
-s'
-r'
oracle_vg
8
hdisk5
dy_vote1024m'
dy_system_1024m'
dy_pwdfile_100m'
dy_sysaux_800m'
dy_undo1_4096m'
40
dy_undo2_4096m'
dy_temp_4096m'
dy_example_800m'
dy_users_800m'
dy_redo1_1_500m'
dy_redo1_2_500m'
dy_redo1_3_500m'
dy_redo1_4_500m'
dy_redo1_5_500m'
dy_redo1_6_500m'
dy_redo2_1_500m'
dy_redo2_2_500m'
dy_redo2_3_500m'
dy_redo2_4_500m'
dy_redo2_5_500m'
dy_redo2_6_500m'
dy_ctl1_110m'
dy_ctl2_110m'
dy_ctl3_110m'
dy_spfile_110m'
dy_recover4096m'
在另外一台主机上import共享卷
vg
Groups
Move
cursor
item
and
press
Enter.
Import
[oracle_vg]
+#
修改共享卷的属性(两台主机都要做)
chown
oracle:
dba
/dev/*dy_*
varyoffvg
oracle_vg
9、配置SSH
Configuring
SSH
on
All
Cluster
Nodes
Before
you
install
use
Real
Application
clusters,
must
configure
secure
shell
(SSH)
oracle
cluster
nodes.
Universal
Installer
uses
ssh
scp
commands
during
installation
run
remote
copy
files
other
You
so
that
these
do
not
prompt
password.
Member
To
SSH,
first
create
RSA
DSA
keys
each
node,
and
then
copy
from
node
members
into
an
authorized
each
node.
do
this
task,
complete
following
steps:
node:
Complete
steps
1.
Log
as
user.
2.
If
necessary,
.ssh
directory
user’s
home
set
correct
permissions
it:
mkdir
~/.ssh
chmod
700
3.
generate
key
version
2
SSH
protocol:
/usr/bin/ssh-keygen
-t
rsa
At
prompts:
■
Accept
default
location
file.
confirm
pass
phrase
is
different
user’s
This
command
writes
public
~/.ssh/id_rsa.pub
the
private
~/.ssh/id_rsa
file.
Never
distribute
anyone.
4.
dsa
file
password
~/.ssh/id_dsa.pub
~/.ssh/id_dsa
to
file:
On
local
determine
have
an
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- oracle rac aix