Vmware+Sphere+ESXI5.0+使用虚拟文件共享安装RHEL5 - x64+Oracle(2)

2019-08-31 17:45

SI实验指南:Vmware Sphere ESXI5.0 使用虚拟文件共享安装

RHEL5_x64+Oracle11gR2_x64 RAC

Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 2610 20860402+ 8e Linux LVM

Disk /dev/sdb: 5242 MB, 5242880000 bytes 255 heads, 63 sectors/track, 637 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

Disk /dev/sdc: 5242 MB, 5242880000 bytes 255 heads, 63 sectors/track, 637 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System 6. 在节点1执行分区(每个磁盘分1个主分区即可!),并确保另1个节点能

看到

[root@rac1 ~]# fdisk /dev/sdb

Command (m for help): n Command action e extended

p primary partition (1-4) p

Partition number (1-4): 1

First cylinder (1-637, default 1): Using default value 1

Last cylinder or +size or +sizeM or +sizeK (1-637, default 637): Using default value 637

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table. Syncing disks.

[root@rac1 ~]# fdisk /dev/sdc

Command (m for help): n Command action

6

SI实验指南:Vmware Sphere ESXI5.0 使用虚拟文件共享安装

RHEL5_x64+Oracle11gR2_x64 RAC

e extended

p primary partition (1-4) p

Partition number (1-4): 1

First cylinder (1-637, default 1): Using default value 1

Last cylinder or +size or +sizeM or +sizeK (1-637, default 637): Using default value 637

Command (m for help): w

The partition table has been altered!

Calling ioctl() to re-read partition table. Syncing disks.

[root@rac1 ~]# fdisk -l

Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 2610 20860402+ 8e Linux LVM

Disk /dev/sdb: 5242 MB, 5242880000 bytes 255 heads, 63 sectors/track, 637 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System /dev/sdb1 1 637 5116671 83 Linux

Disk /dev/sdc: 5242 MB, 5242880000 bytes 255 heads, 63 sectors/track, 637 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System /dev/sdc1 1 637 5116671 83 Linux

[root@rac2 ~]# fdisk -l

Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

7

SI实验指南:Vmware Sphere ESXI5.0 使用虚拟文件共享安装

RHEL5_x64+Oracle11gR2_x64 RAC

Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 2610 20860402+ 8e Linux LVM

Disk /dev/sdb: 5242 MB, 5242880000 bytes 255 heads, 63 sectors/track, 637 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System /dev/sdb1 1 637 5116671 83 Linux

Disk /dev/sdc: 5242 MB, 5242880000 bytes 255 heads, 63 sectors/track, 637 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System /dev/sdc1 1 637 5116671 83 Linux

7. 为操作方便,2个节点都安装vmware tools:

8

SI实验指南:Vmware Sphere ESXI5.0 使用虚拟文件共享安装

RHEL5_x64+Oracle11gR2_x64 RAC

三、安装准备(两节点操作)

1、 验证包 # From Oracle Linux 5 DVD cd /media/cdrom/Server rpm -Uvh binutils-2.* rpm -Uvh compat-libstdc++-33* rpm -Uvh elfutils-libelf-0.* rpm -Uvh elfutils-libelf-devel-* rpm -Uvh gcc-4.* rpm -Uvh gcc-c++-4.* rpm -Uvh glibc-2.* rpm -Uvh glibc-common-2.* rpm -Uvh glibc-devel-2.* rpm -Uvh glibc-headers-2.* rpm -Uvh ksh-2* rpm -Uvh libaio-0.* rpm -Uvh libaio-devel-0.* rpm -Uvh libgcc-4.* rpm -Uvh libstdc++-4.* rpm -Uvh libstdc++-devel-4.* rpm -Uvh make-3.* rpm -Uvh sysstat-7.* rpm -Uvh unixODBC-2.* rpm -Uvh unixODBC-devel-2.* 2、 2、配置内核参数(如果默认值更大就不改)

# vi /etc/sysctl.conf kernel.shmall = 2097152

kernel.shmmax = 536870912 --512*1024*1024(内存的一半) kernel.shmmni = 4096

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

net.ipv4.ip_local_port_range = 1024 65000 net.core.rmem_default = 262144 net.core.rmem_max = 262144 net.core.wmem_default = 262144 net.core.wmem_max = 262144

9

SI实验指南:Vmware Sphere ESXI5.0 使用虚拟文件共享安装

RHEL5_x64+Oracle11gR2_x64 RAC

# vi /etc/security/limits.conf grid oft nproc 2047 grid hard nproc 16384 grid soft nofile 1024 grid hard nofile 65536

oracle soft nproc 2047 oracle hard nproc 16384 oracle soft nofile 1024 oracle hard nofile 65536 # vi /etc/profile

if [ $USER = \ if [ $SHELL = \ ulimit -p 16384 ulimit -n 65536 else

ulimit -u 16384 -n 65536 fi

umask 022 fi

如果记录不存在,增加如下记录到文件\

session required pam_limits.so

3、 3、/etc/hosts设置 # vi /etc/hosts

# Do not remove the following line, or various programs # that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 # rac1

10.228.13.88 rac1 10.228.13.110 rac1-vip 192.168.123.88 rac1-priv #rac2

10.228.13.89 rac2 10.228.13.111 rac2-vip 192.168.123.89 rac2-priv 10.228.13.112 rac-scan

4、 创建用户及组 groupadd -g 1000 oinstall 10


Vmware+Sphere+ESXI5.0+使用虚拟文件共享安装RHEL5 - x64+Oracle(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:财务管理学人大第五版课后习题参考答案 - 图文

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

马上注册会员

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