RHCS+ORACLE10G安装(3)

2019-03-11 11:48

1.3 Edit /etc/sysctl.conf and add these lines:

kernel.sem = 250 32000 100 128 kernel.shmmax = 536870912 fs.file-max = 65536

net.core.rmem_default = 262144 net.core.rmem_max = 262144 net.core.wmem_default = 262144 net.core.wmem_max = 262144

net.ipv4.ip_local_port_range = 1024 65000 Run:

# sysctl -f /etc/sysctl.conf

Repeat for all nodes in the cluster.

1.4 Install these RPMs if you do not have them already: compat-libstdc33-3.2.3 libaio-0.3.* glibc-devel-2.3.4

There may be more which are not on this list. REFER TO THE ORACLE INSTALLATION DOCUMENTATION FOR MORE INFORMATION Ensure all of the development tools (gcc, binutils, etc.) installed as well.

1.5 Create the Oracle mountpoint(s); e.g.:

# mkdir /mnt/oracle

1.6 Install the oracledb.sh resource agent in to /usr/share/cluster

2. Oracle 安装与测试

The following steps should be performed on one node only.

2.1 Choose the partition(s) you want to use for Oracle and format them using the file system of your choice. In my example, I used /dev/sdb7 (a partition on a shared Winchester OpenRAID array) formatted with the ext3 file system.

# mke2fs -j /dev/sdb1

2.2 Add the virtual IP you intend to use for the system and reconfigure your hostname to the FQDN matching the IP address. As with all virtual IPs, the virtual IP used for Oracle must be in the same subnet as an existing IP address on the system. In my case, I chose 192.168.1.20 (my main eth0 IP is 192.168.1.40).

# ip addr add 192.168.5.13/24 dev eth0 # hostname webdb3

2.3Mount the target Oracle partition(s). I used only /dev/sdb7, and I chose /mnt/oracle as the target for Oracle. Change the ownership of the root mount point(s) or the subdirectory in which you intend to install Oracle and/or its data.

# mount -t ext3 /dev/sdb1 /mnt/oracle # chown oracle.oracle /mnt/oracle

2.4 Run the Oracle installer. I am not a DBA, and I do not know anything about what problems you might hit during install. I just accepted the defaults (except for the Oracle Home and Oracle Inventory directories) and used \database password. If you have any trouble with the installation, refer to the Oracle documentation.

The Oracle installer must be run as the Oracle user. Note: You must use the OUI_HOSTNAME=xxx command line option!

# su - oracle

$ cd /mnt/oracle_install

$ ./runInstaller OUI_HOSTNAME=webdb3

Here are some screenshots to give you an idea of how I installed it.

Install everything on shared storage - even the oraInventory parts

I used /mnt/oracle/home as my Oracle Home Directory

Defaults.

Defaults.

Defaults.

Defaults.


RHCS+ORACLE10G安装(3).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:关于光猫恢复出厂设置的方法及异常故障的答复

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: