In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Oracle 12cR1 RAC installed on VMware Workstation (part 1)-OS environment configuration
1.1.The software required in part 1.1.1 of the overall planning introduces that Oracle RAC does not support heterogeneous platforms. Machines with different speeds and sizes can be supported in the same cluster, but all nodes must run on the same operating system. Oracle RAC does not support machines with different chip architectures.
Serial number
Types
Content
one
Database
P17694377_121020_Linux-x86-64_1of8.zip
P17694377_121020_Linux-x86-64_2of8.zip
two
Cluster software
P17694377_121020_Linux-x86-64_3of8.zip
P17694377_121020_Linux-x86-64_4of8.zip
three
Operating system
RHEL 6.5 2.6.32-431.el6.x86_64
Hardware compatibility: workstation 9.0
four
Virtual machine software
VMware Workstation 12 Pro 12.5.2 build-4638234
five
Xmanager Enterprise 4
Xmanager Enterprise 4 for opening the graphical interface
six
Rlwrap-0.36
Rlwrap-0.36, used to record the history of commands such as sqlplus, rman, etc.
seven
SecureCRTPortable.exe
Version 7.0.0 (build 326) with SecureCRT and SecureFX for SSH connection
Note: these software wheat seedlings have been uploaded to Tencent Weiyun (http://blog.itpub.net/26736162/viewspace-1624453/), friends can download. In addition, wheat seedlings have uploaded the installed virtual machine to the cloud disk, which has integrated rlwrap software.
1.1.2 IP address planning starts with Oracle 11g, with a total of 7 IP addresses and 2 network cards, in which public, vip and scan are all in the same network segment, and private is in another network segment, and the host name should not include an underscore, for example: RAC_01 is not allowed. Check whether the network device names of the two nodes are consistent by executing ifconfig-a. In addition, before installation, a total of four IP in public and private networks can be connected by ping, while the other three can not be connected by ping.
Node / hostname
Interface Name
Address Typ
IP Address
Registered location
Raclhr-12cR1-N1
Raclhr-12cR1-N1
Public
192.168.59.160
/ etc/hosts
Raclhr-12cR1-N1
Raclhr-12cR1-N1-vip
Virtual
192.168.59.162
/ etc/hosts
Raclhr-12cR1-N1
Raclhr-12cR1-N1-priv
Private
192.168.2.100
/ etc/hosts
Raclhr-12cR1-N2
Raclhr-12cR1-N2
Public
192.168.59.161
/ etc/hosts
Raclhr-12cR1-N2
Raclhr-12cR1-N2-vip
Virtual
192.168.59.163
/ etc/hosts
Raclhr-12cR1-N2
Raclhr-12cR1-N2-priv
Private
192.168.2.101
/ etc/hosts
Raclhr-12cR1-scan
SCAN
192.168.59.164
/ etc/hosts
1.1.3 operating system local disk partition planning except / boot partition, all partitions are logical volumes, which is beneficial to the expansion of the file system.
Serial number
Partition name
Size
Logical volume
Usage description
one
/ boot
200MB
/ dev/sda1
Boot partition
two
/
10G
/ dev/mapper/vg_rootlhr-Vol00
Root partition
three
Swap
2G
/ dev/mapper/vg_rootlhr-Vol02
Swap partition
four
/ tmp
3G
/ dev/mapper/vg_rootlhr-Vol01
Temporary space
five
/ home
3G
/ dev/mapper/vg_rootlhr-Vol03
Home directory for all users
six
/ u01
20G
/ dev/mapper/vg_orasoft-lv_orasoft_u01
Installation directory for oracle and grid
[root@raclhr-12cR1-N1 ~] # fdisk-l | grep dev
Disk / dev/sda: 21.5 GB, 21474836480 bytes
/ dev/sda1 * 1 26 204800 83 Linux
/ dev/sda2 26 1332 10485760 8e Linux LVM
/ dev/sda3 1332 2611 10279936 8e Linux LVM
Disk / dev/sdb: 107.4 GB, 107374182400 bytes
/ dev/sdb1 1 1306 10485760 8e Linux LVM
/ dev/sdb2 1306 2611 10485760 8e Linux LVM
/ dev/sdb3 2611 3917 10485760 8e Linux LVM
/ dev/sdb4 3917 13055 73399296 5 Extended
/ dev/sdb5 3917 5222 10485760 8e Linux LVM
/ dev/sdb6 5223 6528 10485760 8e Linux LVM
/ dev/sdb7 6528 7834 10485760 8e Linux LVM
/ dev/sdb8 7834 9139 10485760 8e Linux LVM
/ dev/sdb9 9139 10445 10485760 8e Linux LVM
/ dev/sdb10 10445 11750 10485760 8e Linux LVM
/ dev/sdb11 11750 13055 10477568 8e Linux LVM
1.1.4 shared storage and ASM disk group planning serial number
Disk name
ASM disk name
Disk group name
Size
Use
one
Sdc1
Asm-diskc
OCR
6G
OCR+VOTINGDISK
two
Sdd1
Asm_diskd
DATA
10G
Data
three
Sde1
Asm_diske
FRA
10G
Rapid recovery area
Note that the OCR disk group of 12c R1 requires at least 5501MB disk space.
1.2 operating system configuration Section 1.2.1 install the host or virtual machine installation steps briefly. Install a virtual machine and then copy and rename it as follows:
You can also download the virtual machine environment where wheat seedlings have been installed.
1.2.2 modify the hostname to change the hostname of the 2 nodes to raclhr-12cR1-N1 and raclhr-12cR1-N2:
Vi / etc/sysconfig/network
HOSTNAME=raclhr-12cR1-N1
Hostname raclhr-12cR1-N1
1.2.3 Network configuration 1.2.3.1 add a virtual network card
Add 2 NICs. VMnet8 is a public Nic and VMnet2-bit private Nic, as follows:
.
● author: wheat seedlings, only focus on the database technology, pay more attention to the application of technology
● article is updated synchronously on itpub (http://blog.itpub.net/26736162), blog Park (http://www.cnblogs.com/lhrbest) and personal Wechat official account (xiaomaimiaolhr).
● article itpub address: http://blog.itpub.net/26736162/viewspace-2132768/
● article blog park address: http://www.cnblogs.com/lhrbest/p/6337496.html
● pdf version of this article and wheat seedling cloud disk address: http://blog.itpub.net/26736162/viewspace-1624453/
● QQ group: 230161599 WeChat group: private chat
● contact me, please add QQ friend (642808185), indicate the reason for adding
● was completed at Agricultural Bank of China from 08:00 on 2017-01-12 to 24:00 on 2016-01-21.
The content of the ● article comes from the study notes of wheat seedlings, and some of it is sorted out from the Internet. Please forgive me if there is any infringement or improper place.
Copyright ● all rights reserved, welcome to share this article, please reserve the source for reprint
.
Pick up your phone and use Wechat client to scan the picture on the left below to follow the Wechat official account of wheat seedlings: xiaomaimiaolhr, scan the QR code on the right to join the QQ group of wheat seedlings, and learn the most practical database technology.
Cdn.qqmail.com/zh_CN/htmledition/p_w_picpaths/function/qm_open/ico_mailme_02.png ">
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.