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.
百度搜索“77cn”或“免费范文网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,免费范文网,提供经典小说综合文库RHCS+ORACLE10G安装(3)在线全文阅读。
相关推荐: