Red Hat Cluster Suite Cluster Oracle Database

Source: Internet
Author: User

Directory

I. Overview

Ii. Hardware Platform Construction

Iii. RedHat As4 update2 installation Configuration

Iv. Oracle 10 Gb installation and configuration

V. Red Hat Cluster Suite installation and configuration

6. system switching test

VII. Common commands

I. Overview

Huangdao development zone finance bureau this uses two IBM X3850-8664 server, a DS4300 disk array, the platform uses Redhat As4 update2 combined with cluster suite, the deployment of Oracle 10g Database, the formation of high availability data cluster system.

Operating System: Redhat As4 update2_emt64

Cluster software: rhel-4-u2-rhcs-emt64

Database software: Oracle 10g for linux64

Server: IBM X3850-8664

Disk Array: DS4300

Ii. Hardware Platform

The IBM X3850-8664 Server is a dual Nic, the Intelligent Platform Management Interface (IPMI) uses the port of the first Nic, And the rsa ii Remote Management card has a single network port.

Each node connects to the DS4300 disk array through optical fiber. During the installation process, it is best to unplug the optical fiber connecting nodes and disk arrays; or if the optical fiber is not removed, only the local hard disk is selected during the partitioning process, rather than the disk array.

Two NICs of each node connect to the vswitch through a standard network cable.

Note: 1. Because the rhel-4-u2-rhcs-emt64 does not yet support the rsa ii Remote Management Card, and IBM does not provide the driver for rsa ii for Redhat As4 update2 or later versions, IPMI is used as the fence device of the cluster to avoid unexpected errors due to driver mismatch. IPMI is also approved by Redhat (see the Redhat official document Red Hat Cluster Suite: grouping and Managing a Cluster, where 3.6. Grouping Fence Devices)

2. The hardware supplier has configured the DS400 disk array before this installation. Therefore, the disk array configuration is not described in this document.

Iii. Redhat As4 update2 installation Configuration

Redhat is newly installed for the server, and the server is dedicated to oracle.

(1) create a drive floppy disk based on the driver provided by IBM.

(2) Configure BMC

Select [F1] As prompted during system boot of the two hosts, enter BIOS, select advance config, set BMC, and configure IPMI NETWORk. The addresses are 192.168.17.11 and 192.168.17.12 respectively.

(3) install Redhat As4 update2

During installation, press [F11] on the screen to enter the BIOS and set it to boot from the CD.

Follow these steps to install Redhat As4 update2:

1. Use the first CD to start the server.

2. boot is displayed at the bottom of the startup screen:

O input linux dd

O The installer scans the hardware, temporarily displays the Red Hat pop-up screen, and then displays a series of screen prompts.

O insert a USB drive and drive floppy disk as prompted, and choose to install the drive through sda (floppy disk)

3. Select a language

O accept the default value.

4. Configure the keyboard

O accept the default value.

5. Welcome Screen

O. click Next.

6. Configure the mouse

O accept the default value.

7. Installation type

O select Custom.

8. Set Disk Partitions

O accept the default value here. Only change the swap partition size to 4 GB.

(Warning: partitioning the disk incorrectly is one of the most reliable and quick ways to delete all content on the disk. If you are not sure how to partition, stop first and ask someone to help you; otherwise, you may be at risk of data loss !)

9. Configure to start the loader

O accept the default value.

10. Configure the network

O At this time, the system identifies a network card and uses the planned address configuration.

O use a static IP address to configure the database server. Click Edit.

O a pop-up window appears. Deselect the Configure using DHCP check box and enter the Server IP address 10.28.36.11 and network mask 255.255.0. Make sure that Activate on boot is selected, and then click OK.

O In the Hostname box, select manually and enter the host name kfqcz1 ...... And so on.

O in the Miscellaneous Settings box, enter 10.28.36.1 as the gateway, and the DNS is empty.

11. configure the firewall

O no firewall is configured. Select No firewall.

12. Support for other languages

O accept the default value.

13. Select the time zone

O select the appropriate time settings for your region.

14. Set the Root password

O enter the root password hd2001 and enter it again for confirmation.

15. Select a program package Group

O select required installation components or select all at the bottom.

O. Click Next to continue.

16. Prepare for Installation

O. click Next.

17. Installation Package

O software will be copied to the hard disk and installed. Follow the prompts to change the CD, and then click Next when the installation is complete.

18. Configure graphical interface (X)

O accept default values

19. Configure the monitor

O if the installer correctly identifies your monitor, accept the default value. Otherwise, select a compatible monitor from the list.

20. Custom graphic configuration

O accept the default value.

21. Congratulations

O remove the installation media from the system, and then click Next.

22. The system restarts automatically and a new welcome screen is displayed.

O. click Next.

O change the CD as prompted. After the fifth disc is installed, you are prompted to insert a local disc. After the installation is complete, restart the machine.

23. License Agreement

O read the license agreement. If you agree to the terms, select Yes, I agree to the License Agreement and click Next.

24. Date and Time

O set the date and time.

25. User Account

O do not create an account for oracle at this time. This section describes how to create an oracle account later.

26. Red Hat Network

O because you cannot connect to the internet this time, you do not need to activate it.

27. Other CD

O. click Next.

28. Complete settings

O. click Next.

29. A graphical logon screen is displayed.

30. Congratulations! Your Linux software has been installed.

(4) configure the network (executed on both machines)

# Rpm-ivh tg3-3.62b-1.src.rpm

# Cd/usr/src/redhat

# Rpmbuild-bb SPECS/tg3.spec

# Rpm-ivh RPMS/<arch>/tg3-<version>. <arch>. rpm

# Cd/lib/modules/<kernel_version>/kernel/drivers/net/

# Modprobe tg3

# System-config-network

Add a newly installed Nic through the graphic interface and configure the IP address as 192.168.7.21

Configure the new NIC address for the second machine as 192.168.7.22

Configure the/etc/hosts file:

# Vi/etc/hosts

127.0.0.1 localhost. localdomain localhost

10.28.36.11 kfqcz1

10.28.36.12 kfqcz2

10.28.36.13 share-kfqcz

192.168.7.11 fence-kfqcz1

192.168.7.12 fence-kfqcz2

10.28.36.13 is a floating cluster IP address, and 192.168.7.11 and 192.168.7.12 are fence IP addresses.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.