Guenadi N Jilevski's Oracle BLOG

Oracle RAC, DG, EBS, DR and HA DBA BLOG

Installing Oracle Weblogic Server 11g 10.3.3 on MS Windows 7

Installing Oracle Weblogic Server 11g 10.3.3 on MS Windows 7

 

In this article we will cover the installation of Oracle weblogic server 11g 10.3.3 on MS Window 7.

We download the Oracle Weblogic server from here. We started the installer and will see at the beginning the initial loading. Wait until the loading of the installer completes.

Once the installer screen pops up click Next to continue.

We are prompted to enter the Middle Home type and the Middleware Home Directory. In the case is entered the d:\oracle\Middleware. Press Next to continue.

Enter the credentials to login into My Oracle support (formerly Metalink). You can skip the registration for security updates and the initiation of the Configuration manager. I will skip entering the credentials and will use smart update later. Smart update is invoked from bsu folder and is an executable file named bsu. Press Next to continue.

We are going to perform a single node installation and we select typical installation. Press Next to continue.

Select the directories for Oracle weblogic server install and press Next to continue.

Select the recommended option to create shortcut on all admin users. Press Next to continue.

 

Review situated on the installation summary the components pending install. When comfortable press Next to continue.

Wait until install completes and press Next to continue.

Check the quick start and press Done to launch the Quick Start.

As this is a fresh install of the Oracle WebLogic server 11g 10.3.3 select “Getting started with WebLogic Server 10.3.3”

As this is a fresh installation select “Create a new WebLogic domain” and then press Next to continue.

Select to “Generate a domain configured automatically to support the following products:” and check the check boxes within the category. Press Next to continue.

 

Enter the name and the location of the domain and press Next to continue.

Configure the Administrator user name and password and press Next to continue.

 

Configure the WebLogic domain startup mode and select the JDK. We select the Development mode and select Sun SDK. Press Next to continue.

 

Select the optional configuration. Although this section can be left blank for information purpose we will delve and zoom in into the details.

Check all check boxes and press Next to continue.

 

In the “Configure the Administration Server” screen select the name, IP address, http and/or https ports depending on availability of enabled SSL

Select the JMS Distributed Destination type and press next to continue.

Select an additional managed server. Select listen location (lP addresses) and the regular and SSL listen ports if SSL is enabled. Press Next to continue.

 

 

We will skip cluster configuration. This is an option for High Availability. Live screen blank and enter Next to continue.

In the configure machines specify the hostname properties (hostname, IP address and port) on the machine where the install takes place. Press Nest to continue.

Assign servers to the machines. Press Next to continue.

Assign a target services to the select servers and cluster. Press Nest to continue.

 

Configure JMS file stores and press Next to continue.

On the next screen the Oracle database security store can be configured. We will leave it blank for the moment and will press Next to configure.

We are presented the configuration summary screen to review. If this is what we have been looking for Press Next to continue.

Select start admin server and wait until the installation completes. Then press Done to continue.

We start the web logic server and go to the URL to login into the Oracle Web logic server.

We login using the credentials that we specified when asked to specify new Oracle WebLogic Server domain and user credentials. Press Login to continue.

We can navigate into Oracle web server installation to verify that the installation succeeded.

 

That concludes Oracle Weblogic Server installation.

For further information please click here.

June 25, 2010 Posted by | oracle | 37 Comments

Preparing an OEL cluster for Oracle RAC using VMware server 2.X

Preparing an OEL cluster for Oracle RAC using VMware server 2.X

Using a VMware server is a convenient and cheap way to prepare a virtual cluster for testing Oracle RAC installation, upgrades and management. Though unsupported by Oracle it is an affordable alternative to test Oracle RAC features. Production systems can use SAN or NAS solutions which are reliable but do not fit a personal budget for testing Oracle RAC. This article describes how to use VMware server to configure a OEL cluster ready for Oracle RAC testing on Windows laptop or desktop. It can be used on a Linux platform as well. Alternative is using two Linux nodes with a shared storage like iSCSI or FireWire. The later is a more expensive as it requires second physical machine and iSCSI or FireWire storage and connections. VMware server used in this article is a solution enabling us to configure a shared storage on the guest OS eliminating the need for purchasing additional shared storage.

In this article we will look at:

    Creating and sizing the virtual machine

    Configuring the shared storage

    Synchronizing the guest OS with the host OS.

We assume that we have downloaded the guest OEL and we have installed VMware server as indicated below. After login into VMware web infrastructure we will see the following screen.

First we create a VMware datastore to point to d:\software Windows directory to store the OEL 5.5 ISO file and to be used as a storage location for the VM files

After that we will initiate the process of creation of the Virtual machine by clicking on the Create Virtual Machine link on the upper right hand site of the screen. Once ”Create Virtual Machine” dialog box pop up we enter the name of virtual machine and specify the datastore where the VM configuration files will be stored. Press Next to continue.

We select the guest OS and version. Note that we select RH 5 despite that we will use OEL 5.5.

Press Next to continue.

Select 2GB for the RAM of the Virtual machine. Note the due to high memory demand for Oracle 11gR2 it is strongly recommended that 4 GB be selected. For testing Oracle 11gR2 2GB will suffice. After selecting the Memory and numbers of CPU press Next to continue.

Now we will opt for creation of the disk for the local virtual machine. Note that this disk will be private for each VM. We will look at the creation of the Shared disks later. Press Next to continue.

Now we will specify the properties of private VM disk. We specify 16GB capacity and location rac1/rac1.vmdk. This will create a file in the D:\software\rac1\rac1.vmds that will be used for the OEL 5.5 install. Once OEL is installed this VM disk will be used for creating the OEL file systems. We will have 16GB for the OEL private disk on each node. This is the disk space that will be allocated for each node. This disk space will be used for creation of the OEL file systems. Note that during OEL install while creating the OEL file systems we need to account for the space for Oracle staging areas and Oracle Homes. Press Next to continue.

Select Add a Network adapter and press Nest to continue.

Select Bridget and tick the Connect as Power on box and press Next to continue.

Select Use an ISO image and select the ISO image from the datastore. Later re configure the VM to use CD/DVD. Press Next to continue.

Select Add a USB Controller and press Next to continue.

Click the Finish to create the Virtual Machine.

The virtual machine is configured and we can start the guest OS (OEL) installation. We click on the created virtual machine on the left pane and click the start button. Click on the “Console” tab. If you have not previously installed the VMware browser plugin you will be prompted to do so. If it is already present, simply click on the black pane to the right to open a new console window. The OEL will have the OEL installation screen. Proceed until completion of the installation. I will install all of the rpm.

Complete the OEL installation selecting the settings that fit your locale, language and time.

For Oracle RAC installation it is relevant to install all the rpm, disable SELINX and Firewalls. The SELINUX and Firewall settings can be changed at a later stage. At a later stage also different rpm can be added or removed. After completion of the OEL install on the virtual machine we need to stop the VM and add the shared storage and the network interfaces for the public and private networks. Initially we created the virtual machine with one bridged network interface. This will correspond to OEL node with eth0 network interface. We will create a node with et0 to eth7 network interfaces. In order to have this we need to add additional 7 bridged interfaces altogether 8 bridged interfaces.

We will click on the Add Hardware then select Network Adapter.

We will specify bridged and press Next to continue.

Select Finish to add the network interface.

Repeat the process to add 8 bridged network interfaces to the Virtual Machine. So far we have installed the network interfaces to the Virtual machine for public and private interconnects (Later we will use eth0,eth2,eth4, eth6 for bond0 and eth1,eth3,eth5,eth5 for bond1). Next we will synchronize the time between the gust and the host OS. We will achieve this time synchronization by pressing the Install VMware Tools link from the upper right hand site on the screen.

The displayed below dialog box appears. Press Install to continue.

VMware tools gets mounted on the client console and we are prompted to install the VMware Tolls rpm.

Click Apply on the Installing packages.

Wait for the completion of the package installation.

Next, run the “vmware-config-tools.pl” script as the root user.

# vmware-config-tools.pl

Accept all the default settings and pick the screen resolution of your choice as show on the picture below. Ignore any warnings or errors. The VMware client tools are now installed.

Issue the “vmware-toolbox” command as the root user. On the subsequent dialog, check the “Time synchronization…” option and click the “Close” button.

So far we created the network adapters and synchronized the guest OS with the host OS. We will proceed further with the creation of the shared disks. The picture below show the VM status.

We will use Add Hardware link above to add the shared disks as follows. We will create asm1, asm2, asm2, asm4 and asm5 shared disks.

We will create a shared subdirectory in d:\software such as d:\software\shared. The shared subdirectory will be the placeholder for the shared disks.

We will create a single disk using the following steps. For asm1 click on the Add Hardware link and select Hard Disk.

Click on create a New Virtual Disk link.

Specify the capacity and the name of the 1st shared disk asm1.

Select Disk Mode and select Independent and Persistent option.

Click Finish when done to add the new disk.

Repeat the above steps 4 more times to add the remaining asm disks using the following values:

•File Name: [software] shared/asm2.vmdk

Virtual Device Node: SCSI 1:2

Mode: Independent and Persistent

•File Name: [software] shared/asm3.vmdk

Virtual Device Node: SCSI 1:3

Mode: Independent and Persistent

•File Name: [software] shared/asm4.vmdk

Virtual Device Node: SCSI 1:4

Mode: Independent and Persistent

•File Name: [software] shared/asm5.vmdk

Virtual Device Node: SCSI 1:5

Mode: Independent and Persistent

At the end of this process, the virtual machine should look something like the picture below.

Edit the content of the [software]RAC1/RAC1.vmx” file using a text editor, making sure the following entries in red are present. Some of the tries will already be present, some will not.

.encoding = “windows-1251”

config.version = “8”

virtualHW.version = “7”

floppy0.present = “FALSE”

mks.enable3d = “TRUE”

pciBridge0.present = “TRUE”

pciBridge4.present = “TRUE”

pciBridge4.virtualDev = “pcieRootPort”

pciBridge4.functions = “8”

pciBridge5.present = “TRUE”

pciBridge5.virtualDev = “pcieRootPort”

pciBridge5.functions = “8”

pciBridge6.present = “TRUE”

pciBridge6.virtualDev = “pcieRootPort”

pciBridge6.functions = “8”

pciBridge7.present = “TRUE”

pciBridge7.virtualDev = “pcieRootPort”

pciBridge7.functions = “8”

vmci0.present = “TRUE”

nvram = “RAC1.nvram”

virtualHW.productCompatibility = “hosted”

ft.secondary0.enabled = “TRUE”

tools.upgrade.policy = “useGlobal”

powerType.powerOff = “soft”

powerType.powerOn = “hard”

powerType.suspend = “hard”

powerType.reset = “soft”

displayName = “RAC1”

extendedConfigFile = “RAC1.vmxf”

disk.locking = “FALSE”

diskLib.dataCacheMaxSize = “0”

diskLib.dataCacheMaxReadAheadSize = “0”

diskLib.dataCacheMinReadAheadSize = “0”

diskLib.dataCachePageSize = “4096”

diskLib.maxUnsyncedWrites = “0”

scsi0.present = “TRUE”

scsi0.sharedBus = “none”

scsi0.virtualDev = “lsilogic”

memsize = “2048”

scsi0:0.present = “TRUE”

scsi0:0.fileName = “RAC1.vmdk”

scsi0:0.writeThrough = “TRUE”

ide1:0.present = “TRUE”

ide1:0.fileName = “C:\Program Files (x86)\VMware\VMware Server\linux.iso”

ide1:0.deviceType = “cdrom-image”

ide1:0.allowGuestConnectionControl = “FALSE”

ethernet0.present = “TRUE”

ethernet0.allowGuestConnectionControl = “FALSE”

ethernet0.features = “1”

ethernet0.wakeOnPcktRcv = “FALSE”

ethernet0.networkName = “Bridged”

ethernet0.addressType = “generated”

usb.present = “TRUE”

ehci.present = “TRUE”

guestOS = “rhel5”

uuid.location = “56 4d c5 48 8d 5e 5e a3-49 05 37 35 55 38 c8 4b”

uuid.bios = “56 4d c5 48 8d 5e 5e a3-49 05 37 35 55 38 c8 4b”

vc.uuid = “52 b3 c3 88 33 6e b7 82-01 1a a9 a0 19 9c d1 f0”

ethernet1.present = “TRUE”

ethernet1.allowGuestConnectionControl = “FALSE”

ethernet1.features = “1”

ethernet1.wakeOnPcktRcv = “FALSE”

ethernet1.networkName = “Bridged”

ethernet1.addressType = “generated”

ethernet2.present = “TRUE”

ethernet2.allowGuestConnectionControl = “FALSE”

ethernet2.features = “1”

ethernet2.wakeOnPcktRcv = “FALSE”

ethernet2.networkName = “Bridged”

ethernet2.addressType = “generated”

ethernet3.present = “TRUE”

ethernet3.allowGuestConnectionControl = “FALSE”

ethernet3.features = “1”

ethernet3.wakeOnPcktRcv = “FALSE”

ethernet3.networkName = “Bridged”

ethernet3.addressType = “generated”

ethernet4.present = “TRUE”

ethernet4.allowGuestConnectionControl = “FALSE”

ethernet4.features = “1”

ethernet4.wakeOnPcktRcv = “FALSE”

ethernet4.networkName = “Bridged”

ethernet4.addressType = “generated”

ethernet5.present = “TRUE”

ethernet5.allowGuestConnectionControl = “FALSE”

ethernet5.features = “1”

ethernet5.wakeOnPcktRcv = “FALSE”

ethernet5.networkName = “Bridged”

ethernet5.addressType = “generated”

ethernet6.present = “TRUE”

ethernet6.allowGuestConnectionControl = “FALSE”

ethernet6.features = “1”

ethernet6.wakeOnPcktRcv = “FALSE”

ethernet6.networkName = “Bridged”

ethernet6.addressType = “generated”

ethernet7.present = “TRUE”

ethernet7.allowGuestConnectionControl = “FALSE”

ethernet7.features = “1”

ethernet7.wakeOnPcktRcv = “FALSE”

ethernet7.networkName = “Bridged”

ethernet7.addressType = “generated”

ethernet0.generatedAddress = “00:0c:29:38:c8:4b”

ethernet1.generatedAddress = “00:0c:29:38:c8:55”

ethernet2.generatedAddress = “00:0c:29:38:c8:5f”

ethernet3.generatedAddress = “00:0c:29:38:c8:69”

ethernet4.generatedAddress = “00:0c:29:38:c8:73”

ethernet5.generatedAddress = “00:0c:29:38:c8:7d”

ethernet6.generatedAddress = “00:0c:29:38:c8:87”

ethernet7.generatedAddress = “00:0c:29:38:c8:91”

scsi0:0.redo = “”

vmotion.checkpointFBSize = “134217728”

pciBridge0.pciSlotNumber = “17”

pciBridge4.pciSlotNumber = “21”

pciBridge5.pciSlotNumber = “22”

pciBridge6.pciSlotNumber = “23”

pciBridge7.pciSlotNumber = “24”

scsi0.pciSlotNumber = “16”

usb.pciSlotNumber = “32”

ethernet0.pciSlotNumber = “33”

ethernet1.pciSlotNumber = “34”

ethernet2.pciSlotNumber = “35”

ethernet3.pciSlotNumber = “36”

ethernet4.pciSlotNumber = “37”

ethernet5.pciSlotNumber = “38”

ethernet6.pciSlotNumber = “39”

ethernet7.pciSlotNumber = “40”

ehci.pciSlotNumber = “41”

vmci0.pciSlotNumber = “42”

ethernet0.generatedAddressOffset = “0”

ethernet1.generatedAddressOffset = “10”

ethernet2.generatedAddressOffset = “20”

ethernet3.generatedAddressOffset = “30”

ethernet4.generatedAddressOffset = “40”

ethernet5.generatedAddressOffset = “50”

ethernet6.generatedAddressOffset = “60”

ethernet7.generatedAddressOffset = “70”

vmci0.id = “1429784651”

tools.remindInstall = “FALSE”

ide1:0.startConnected = “FALSE”

tools.syncTime = “TRUE”

scsi0:1.present = “FALSE”

scsi0:1.fileName = “d:\software\shared\asm1.vmdk”

scsi0:1.writeThrough = “TRUE”

scsi0:1.mode = “independent-persistent”

scsi0:2.present = “FALSE”

scsi0:2.fileName = “d:\software\shared\asm2.vmdk”

scsi0:2.writeThrough = “TRUE”

scsi0:2.mode = “independent-persistent”

scsi0:3.present = “FALSE”

scsi0:3.fileName = “d:\software\shared\asm3.vmdk”

scsi0:3.writeThrough = “TRUE”

scsi0:3.mode = “independent-persistent”

scsi0:4.present = “FALSE”

scsi0:4.fileName = “d:\software\shared\asm4.vmdk”

scsi0:4.writeThrough = “TRUE”

scsi0:4.mode = “independent-persistent”

scsi0:5.present = “FALSE”

scsi0:5.fileName = “d:\software\shared\asm5.vmdk”

scsi0:5.writeThrough = “TRUE”

scsi0:5.mode = “independent-persistent”

scsi1.present = “TRUE”

scsi1.sharedBus = “VIRTUAL”

scsi1.virtualDev = “lsilogic”

scsi1:1.present = “TRUE”

scsi1:1.fileName = “d:\software\shared\asm1.vmdk”

scsi1:1.writeThrough = “TRUE”

scsi1:1.mode = “independent-persistent”

scsi1:1.deviceType = “plainDisk”

scsi1:1.redo = “”

scsi1:2.present = “TRUE”

scsi1:2.fileName = “d:\software\shared\asm2.vmdk”

scsi1:2.writeThrough = “TRUE”

scsi1:2.mode = “independent-persistent”

scsi1:2.deviceType = “plainDisk”

scsi1:2.redo = “”

scsi1:3.present = “TRUE”

scsi1:3.fileName = “d:\software\shared\asm3.vmdk”

scsi1:3.writeThrough = “TRUE”

scsi1:3.mode = “independent-persistent”

scsi1:3.deviceType = “plainDisk”

scsi1:3.redo = “”

scsi1:4.present = “TRUE”

scsi1:4.fileName = “d:\software\shared\asm4.vmdk”

scsi1:4.writeThrough = “TRUE”

scsi1:4.mode = “independent-persistent”

scsi1:4.deviceType = “plainDisk”

scsi1:4.redo = “”

usb.autoConnect.device0 = “path:1/6/0 autoclean:1”

scsi1:5.present = “TRUE”

scsi1:5.fileName = “d:\software\shared\asm5.vmdk”

scsi1:5.writeThrough = “TRUE”

scsi1:5.mode = “independent-persistent”

scsi1:5.deviceType = “plainDisk”

scsi1:5.redo = “”

Start the RAC1 virtual machine by clicking the “Play” button on the toolbar, then start the console as before. When the server has started, log in as the root user so you can partition the disks. The current disks can be seen by issuing the following command ls /dev/sd*.

Use the “fdisk” command to partition the disks sdb to sdf. The following output shows the expected fdisk output for the sdb disk.

After partitioning all the disks /dev/sdb,/dev/ sdc, /dev/sdd, /dev/sde and/dev/ sdf we will have the following:

Next as root perform the following

  1. Install all the prerequisite rpm
  2. Make sure the Oracle RAC and Oracle grid installation prerequisites are met

 

Once finished setting the prerequisites clone the RAC1 virtual machine. As the present version 2.0 of VMware server does not have an explicit functionality to clone the Virtual Machines we will shutdown the RAC1 virtual machine and will copy the RAC1 directory into d:\software\RAC2 directory. Edit the RAC1.vmx file from RAC2 folder and change the display name to RAC2 In the VMware Infrastructure Web Access Console, select the “Virtual Machine > Add Virtual Machine to Inventory” menu options and browse for the “/RAC2/RAC1.vmx” file. Once opened, the RAC2 virtual machine is visible on the console. Select RAC1.vmx from theRAC2 folder and press OK.

RAC2 virtual machine is now visible on the console.

Start the RAC2 virtual machine by clicking the “Play” button on the toolbar. Select the “I _copied it” option click the “OK” button when prompted.

Login to RAC2 VM and remove all .bak network devices using the “Network Configuration” tool (System > Administration > Network).

For each entry in the /etc/hosts make sure that the network devices are properly configured. Use the Network Configuration tool as displayed on the above screens.

Perform bonding of the interfaces to have two interfaces bond0 and bond1.

Run cluvfy as shown below:

./runcluvfy.sh stage -pre crsinst -n raclinux1,raclinux2 –verbose

Performing pre-checks for cluster services setup

Checking node reachability…

Check: Node reachability from node “raclinux1”

Destination Node Reachable?

———————————— ————————

raclinux1 yes

raclinux2 yes

Result: Node reachability check passed from node “raclinux1”

Checking user equivalence…

Check: User equivalence for user “oracle”

Node Name Comment

———————————— ————————

raclinux2 passed

raclinux1 passed

Result: User equivalence check passed for user “oracle”

Checking node connectivity…

Checking hosts config file…

Node Name Status Comment

———— ———————— ————————

raclinux2 passed

raclinux1 passed

Verification of the hosts config file successful

Interface information for node “raclinux2”

Name IP Address Subnet Gateway Def. Gateway HW Address MTU

—— ————— ————— ————— ————— —————– ——

virbr0 192.168.122.1 192.168.122.0 0.0.0.0 UNKNOWN 00:00:00:00:00:00 1500

bond0 192.168.2.132 192.168.2.0 0.0.0.0 UNKNOWN 00:0C:29:85:B0:7E 1500

bond1 10.10.4.132 10.10.4.0 0.0.0.0 UNKNOWN 00:0C:29:85:B0:88 1500

Interface information for node “raclinux1”

Name IP Address Subnet Gateway Def. Gateway HW Address MTU

—— ————— ————— ————— ————— —————– ——

virbr0 192.168.122.1 192.168.122.0 0.0.0.0 UNKNOWN 00:00:00:00:00:00 1500

bond0 192.168.2.131 192.168.2.0 0.0.0.0 UNKNOWN 00:0C:29:38:C8:4B 1500

bond1 10.10.4.131 10.10.4.0 0.0.0.0 UNKNOWN 00:0C:29:38:C8:55 1500

Check: Node connectivity of subnet “192.168.122.0”

Source Destination Connected?

—————————— —————————— —————-

raclinux2:virbr0 raclinux1:virbr0 yes

Result: Node connectivity passed for subnet “192.168.122.0” with node(s) raclinux2,raclinux1

Check: TCP connectivity of subnet “192.168.122.0”

Result: TCP connectivity check failed for subnet “192.168.122.0”

Check: Node connectivity of subnet “192.168.2.0”

Source Destination Connected?

—————————— —————————— —————-

raclinux2:bond0 raclinux1:bond0 yes

Result: Node connectivity passed for subnet “192.168.2.0” with node(s) raclinux2,raclinux1

Check: TCP connectivity of subnet “192.168.2.0”

Source Destination Connected?

—————————— —————————— —————-

raclinux1:192.168.2.131 raclinux2:192.168.2.132 failed

Result: TCP connectivity check failed for subnet “192.168.2.0”

Check: Node connectivity of subnet “10.10.4.0”

Source Destination Connected?

—————————— —————————— —————-

raclinux2:bond1 raclinux1:bond1 yes

Result: Node connectivity passed for subnet “10.10.4.0” with node(s) raclinux2,raclinux1

Check: TCP connectivity of subnet “10.10.4.0”

Source Destination Connected?

—————————— —————————— —————-

raclinux1:10.10.4.131 raclinux2:10.10.4.132 failed

Result: TCP connectivity check failed for subnet “10.10.4.0”

Interfaces found on subnet “192.168.122.0” that are likely candidates for a private interconnect are:

raclinux2 virbr0:192.168.122.1

raclinux1 virbr0:192.168.122.1

Interfaces found on subnet “192.168.2.0” that are likely candidates for a private interconnect are:

raclinux2 bond0:192.168.2.132

raclinux1 bond0:192.168.2.131

Interfaces found on subnet “10.10.4.0” that are likely candidates for a private interconnect are:

raclinux2 bond1:10.10.4.132

raclinux1 bond1:10.10.4.131

WARNING:

Could not find a suitable set of interfaces for VIPs

Result: Node connectivity check passed

Check: Total memory

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 1.98GB (2075488.0KB) 1.5GB (1572864.0KB) passed

raclinux1 1.98GB (2075488.0KB) 1.5GB (1572864.0KB) passed

Result: Total memory check passed

Check: Available memory

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 1.79GB (1880648.0KB) 50MB (51200.0KB) passed

raclinux1 1.77GB (1856332.0KB) 50MB (51200.0KB) passed

Result: Available memory check passed

Check: Swap space

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 3.94GB (4128760.0KB) 2.97GB (3113232.0KB) passed

raclinux1 3.94GB (4128760.0KB) 2.97GB (3113232.0KB) passed

Result: Swap space check passed

Check: Free disk space for “raclinux2:/tmp”

Path Node Name Mount point Available Required Comment

—————- ———— ———— ———— ———— ————

/tmp raclinux2 / 26.18GB 1GB passed

Result: Free disk space check passed for “raclinux2:/tmp”

Check: Free disk space for “raclinux1:/tmp”

Path Node Name Mount point Available Required Comment

—————- ———— ———— ———— ———— ————

/tmp raclinux1 / 11.33GB 1GB passed

Result: Free disk space check passed for “raclinux1:/tmp”

Check: User existence for “oracle”

Node Name Status Comment

———— ———————— ————————

raclinux2 exists passed

raclinux1 exists passed

Result: User existence check passed for “oracle”

Check: Group existence for “oinstall”

Node Name Status Comment

———— ———————— ————————

raclinux2 exists passed

raclinux1 exists passed

Result: Group existence check passed for “oinstall”

Check: Group existence for “dba”

Node Name Status Comment

———— ———————— ————————

raclinux2 exists passed

raclinux1 exists passed

Result: Group existence check passed for “dba”

Check: Membership of user “oracle” in group “oinstall” [as Primary]

Node Name User Exists Group Exists User in Group Primary Comment

—————- ———— ———— ———— ———— ————

raclinux2 yes yes yes yes passed

raclinux1 yes yes yes yes passed

Result: Membership check for user “oracle” in group “oinstall” [as Primary] passed

Check: Membership of user “oracle” in group “dba”

Node Name User Exists Group Exists User in Group Comment

—————- ———— ———— ———— —————-

raclinux2 yes yes yes passed

raclinux1 yes yes yes passed

Result: Membership check for user “oracle” in group “dba” passed

Check: Run level

Node Name run level Required Comment

———— ———————— ———————— ———-

raclinux2 5 3,5 passed

raclinux1 5 3,5 passed

Result: Run level check passed

Check: Hard limits for “maximum open file descriptors”

Node Name Type Available Required Comment

—————- ———— ———— ———— —————-

raclinux2 hard 131072 65536 passed

raclinux1 hard 131072 65536 passed

Result: Hard limits check passed for “maximum open file descriptors”

Check: Soft limits for “maximum open file descriptors”

Node Name Type Available Required Comment

—————- ———— ———— ———— —————-

raclinux2 soft 131072 1024 passed

raclinux1 soft 131072 1024 passed

Result: Soft limits check passed for “maximum open file descriptors”

Check: Hard limits for “maximum user processes”

Node Name Type Available Required Comment

—————- ———— ———— ———— —————-

raclinux2 hard 131072 16384 passed

raclinux1 hard 131072 16384 passed

Result: Hard limits check passed for “maximum user processes”

Check: Soft limits for “maximum user processes”

Node Name Type Available Required Comment

—————- ———— ———— ———— —————-

raclinux2 soft 131072 2047 passed

raclinux1 soft 131072 2047 passed

Result: Soft limits check passed for “maximum user processes”

Check: System architecture

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 i686 x86 passed

raclinux1 i686 x86 passed

Result: System architecture check passed

Check: Kernel version

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 2.6.18-194.el5PAE 2.6.18 passed

raclinux1 2.6.18-194.el5PAE 2.6.18 passed

Result: Kernel version check passed

Check: Kernel parameter for “semmsl”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 250 250 passed

raclinux1 250 250 passed

Result: Kernel parameter check passed for “semmsl”

Check: Kernel parameter for “semmns”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 32000 32000 passed

raclinux1 32000 32000 passed

Result: Kernel parameter check passed for “semmns”

Check: Kernel parameter for “semopm”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 100 100 passed

raclinux1 100 100 passed

Result: Kernel parameter check passed for “semopm”

Check: Kernel parameter for “semmni”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 128 128 passed

raclinux1 128 128 passed

Result: Kernel parameter check passed for “semmni”

Check: Kernel parameter for “shmmax”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 536870912 536870912 passed

raclinux1 536870912 536870912 passed

Result: Kernel parameter check passed for “shmmax”

Check: Kernel parameter for “shmmni”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 4096 4096 passed

raclinux1 4096 4096 passed

Result: Kernel parameter check passed for “shmmni”

Check: Kernel parameter for “shmall”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 2097152 2097152 passed

raclinux1 2097152 2097152 passed

Result: Kernel parameter check passed for “shmall”

Check: Kernel parameter for “file-max”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 6815744 6815744 passed

raclinux1 6815744 6815744 passed

Result: Kernel parameter check passed for “file-max”

Check: Kernel parameter for “ip_local_port_range”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 between 9000 & 65500 between 9000 & 65500 passed

raclinux1 between 9000 & 65500 between 9000 & 65500 passed

Result: Kernel parameter check passed for “ip_local_port_range”

Check: Kernel parameter for “rmem_default”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 262144 262144 passed

raclinux1 262144 262144 passed

Result: Kernel parameter check passed for “rmem_default”

Check: Kernel parameter for “rmem_max”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 4194304 4194304 passed

raclinux1 4194304 4194304 passed

Result: Kernel parameter check passed for “rmem_max”

Check: Kernel parameter for “wmem_default”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 262144 262144 passed

raclinux1 262144 262144 passed

Result: Kernel parameter check passed for “wmem_default”

Check: Kernel parameter for “wmem_max”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 1048586 1048576 passed

raclinux1 1048586 1048576 passed

Result: Kernel parameter check passed for “wmem_max”

Check: Kernel parameter for “aio-max-nr”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 1048576 1048576 passed

raclinux1 1048576 1048576 passed

Result: Kernel parameter check passed for “aio-max-nr”

Check: Package existence for “make-3.81”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 make-3.81-3.el5 make-3.81 passed

raclinux1 make-3.81-3.el5 make-3.81 passed

Result: Package existence check passed for “make-3.81”

Check: Package existence for “binutils-2.17.50.0.6”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 binutils-2.17.50.0.6-14.el5 binutils-2.17.50.0.6 passed

raclinux1 binutils-2.17.50.0.6-14.el5 binutils-2.17.50.0.6 passed

Result: Package existence check passed for “binutils-2.17.50.0.6”

Check: Package existence for “gcc-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 gcc-4.1.2-48.el5 gcc-4.1.2 passed

raclinux1 gcc-4.1.2-48.el5 gcc-4.1.2 passed

Result: Package existence check passed for “gcc-4.1.2”

Check: Package existence for “gcc-c++-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 gcc-c++-4.1.2-48.el5 gcc-c++-4.1.2 passed

raclinux1 gcc-c++-4.1.2-48.el5 gcc-c++-4.1.2 passed

Result: Package existence check passed for “gcc-c++-4.1.2”

Check: Package existence for “libgomp-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libgomp-4.4.0-6.el5 libgomp-4.1.2 passed

raclinux1 libgomp-4.4.0-6.el5 libgomp-4.1.2 passed

Result: Package existence check passed for “libgomp-4.1.2”

Check: Package existence for “libaio-0.3.106”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libaio-0.3.106-5 libaio-0.3.106 passed

raclinux1 libaio-0.3.106-5 libaio-0.3.106 passed

Result: Package existence check passed for “libaio-0.3.106”

Check: Package existence for “glibc-2.5-24”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 glibc-2.5-49 glibc-2.5-24 passed

raclinux1 glibc-2.5-49 glibc-2.5-24 passed

Result: Package existence check passed for “glibc-2.5-24”

Check: Package existence for “compat-libstdc++-33-3.2.3”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 compat-libstdc++-33-3.2.3-61 compat-libstdc++-33-3.2.3 passed

raclinux1 compat-libstdc++-33-3.2.3-61 compat-libstdc++-33-3.2.3 passed

Result: Package existence check passed for “compat-libstdc++-33-3.2.3”

Check: Package existence for “elfutils-libelf-0.125”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 elfutils-libelf-0.137-3.el5 elfutils-libelf-0.125 passed

raclinux1 elfutils-libelf-0.137-3.el5 elfutils-libelf-0.125 passed

Result: Package existence check passed for “elfutils-libelf-0.125”

Check: Package existence for “elfutils-libelf-devel-0.125”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.125 passed

raclinux1 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.125 passed

Result: Package existence check passed for “elfutils-libelf-devel-0.125”

Check: Package existence for “glibc-common-2.5”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 glibc-common-2.5-49 glibc-common-2.5 passed

raclinux1 glibc-common-2.5-49 glibc-common-2.5 passed

Result: Package existence check passed for “glibc-common-2.5”

Check: Package existence for “glibc-devel-2.5”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 glibc-devel-2.5-49 glibc-devel-2.5 passed

raclinux1 glibc-devel-2.5-49 glibc-devel-2.5 passed

Result: Package existence check passed for “glibc-devel-2.5”

Check: Package existence for “glibc-headers-2.5”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 glibc-headers-2.5-49 glibc-headers-2.5 passed

raclinux1 glibc-headers-2.5-49 glibc-headers-2.5 passed

Result: Package existence check passed for “glibc-headers-2.5”

Check: Package existence for “libaio-devel-0.3.106”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libaio-devel-0.3.106-5 libaio-devel-0.3.106 passed

raclinux1 libaio-devel-0.3.106-5 libaio-devel-0.3.106 passed

Result: Package existence check passed for “libaio-devel-0.3.106”

Check: Package existence for “libgcc-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libgcc-4.1.2-48.el5 libgcc-4.1.2 passed

raclinux1 libgcc-4.1.2-48.el5 libgcc-4.1.2 passed

Result: Package existence check passed for “libgcc-4.1.2”

Check: Package existence for “libstdc++-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libstdc++-4.1.2-48.el5 libstdc++-4.1.2 passed

raclinux1 libstdc++-4.1.2-48.el5 libstdc++-4.1.2 passed

Result: Package existence check passed for “libstdc++-4.1.2”

Check: Package existence for “libstdc++-devel-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libstdc++-devel-4.1.2-48.el5 libstdc++-devel-4.1.2 passed

raclinux1 libstdc++-devel-4.1.2-48.el5 libstdc++-devel-4.1.2 passed

Result: Package existence check passed for “libstdc++-devel-4.1.2”

Check: Package existence for “sysstat-7.0.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 sysstat-7.0.2-3.el5 sysstat-7.0.2 passed

raclinux1 sysstat-7.0.2-3.el5 sysstat-7.0.2 passed

Result: Package existence check passed for “sysstat-7.0.2”

Check: Package existence for “unixODBC-2.2.11”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 unixODBC-2.2.11-7.1 unixODBC-2.2.11 passed

raclinux1 unixODBC-2.2.11-7.1 unixODBC-2.2.11 passed

Result: Package existence check passed for “unixODBC-2.2.11”

Check: Package existence for “unixODBC-devel-2.2.11”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 unixODBC-devel-2.2.11-7.1 unixODBC-devel-2.2.11 passed

raclinux1 unixODBC-devel-2.2.11-7.1 unixODBC-devel-2.2.11 passed

Result: Package existence check passed for “unixODBC-devel-2.2.11”

Check: Package existence for “ksh-20060214”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 ksh-20100202-1.el5 ksh-20060214 passed

raclinux1 ksh-20100202-1.el5 ksh-20060214 passed

Result: Package existence check passed for “ksh-20060214”

Checking for multiple users with UID value 0

Result: Check for multiple users with UID value 0 passed

Check: Current group ID

Result: Current group ID check passed

Checking Core file name pattern consistency…

Core file name pattern consistency check passed.

Checking to make sure user “oracle” is not in “root” group

Node Name Status Comment

———— ———————— ————————

raclinux2 does not exist passed

raclinux1 does not exist passed

Result: User “oracle” is not part of “root” group. Check passed

Check default user file creation mask

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 0022 0022 passed

raclinux1 0022 0022 passed

Result: Default user file creation mask check passed

Starting Clock synchronization checks using Network Time Protocol(NTP)…

NTP Configuration file check started…

The NTP configuration file “/etc/ntp.conf” is available on all nodes

NTP Configuration file check passed

Checking daemon liveness…

Check: Liveness for “ntpd”

Node Name Running?

———————————— ————————

raclinux2 yes

raclinux1 yes

Result: Liveness check passed for “ntpd”

Checking NTP daemon command line for slewing option “-x”

Check: NTP daemon command line

Node Name Slewing Option Set?

———————————— ————————

raclinux2 yes

raclinux1 yes

Result:

NTP daemon slewing option check passed

Checking NTP daemon’s boot time configuration, in file “/etc/sysconfig/ntpd”, for slewing option “-x”

Check: NTP daemon’s boot time configuration

Node Name Slewing Option Set?

———————————— ————————

raclinux2 yes

raclinux1 yes

Result:

NTP daemon’s boot time configuration check for slewing option passed

NTP common Time Server Check started…

NTP Time Server “.LOCL.” is common to all nodes on which the NTP daemon is running

Check of common NTP Time Server passed

Clock time offset check from NTP Time Server started…

Checking on nodes “[raclinux2, raclinux1]”…

Check: Clock time offset from NTP Time Server

Time Server: .LOCL.

Time Offset Limit: 1000.0 msecs

Node Name Time Offset Status

———— ———————— ————————

raclinux2 0.0 passed

raclinux1 0.0 passed

Time Server “.LOCL.” has time offsets that are within permissible limits for nodes “[raclinux2, raclinux1]”.

Clock time offset check passed

Result: Clock synchronization check using Network Time Protocol(NTP) passed

Pre-check for cluster services setup was successful.

June 24, 2010 Posted by | oracle | 1 Comment

NIC Bonding in OEL5.X and RH 5.X

NIC Bonding in OEL5.X and RH 5.X

NIC bonding allows us to aggregate multiple network cards to act as one, allowing increased bandwidth and redundancy.ifconfig output is as shown below.
“). Before we start the bond1”,) and we want to bond them so they look like a single interface (“eth7” and “eth5”, “eth3”, “eth1”) and we have another four network interfaces (“bond0”,) and we want to bond them so they look like a single interface (“eth4” and “eth4”, “eth2”, “eth0Let’s assume we have four network interfaces (”

[root@raclinux1 ~]# ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:0C:29:38:C8:4B

inet addr:192.168.2.200 Bcast:192.168.2.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe38:c84b/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:1317 errors:0 dropped:0 overruns:0 frame:0

TX packets:108 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:351162 (342.9 KiB) TX bytes:20935 (20.4 KiB)

Interrupt:51 Base address:0x2424

eth1 Link encap:Ethernet HWaddr 00:0C:29:38:C8:55

inet addr:10.10.4.201 Bcast:10.10.4.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe38:c855/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:1011 errors:0 dropped:0 overruns:0 frame:0

TX packets:106 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:187767 (183.3 KiB) TX bytes:20280 (19.8 KiB)

Interrupt:75 Base address:0x24a4

eth2 Link encap:Ethernet HWaddr 00:0C:29:38:C8:5F

inet addr:192.168.2.202 Bcast:192.168.2.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe38:c85f/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:889 errors:0 dropped:0 overruns:0 frame:0

TX packets:105 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:171252 (167.2 KiB) TX bytes:19852 (19.3 KiB)

Interrupt:67 Base address:0x2824

eth3 Link encap:Ethernet HWaddr 00:0C:29:38:C8:69

inet addr:10.10.4.203 Bcast:10.10.4.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe38:c869/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:818 errors:0 dropped:0 overruns:0 frame:0

TX packets:151 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:154542 (150.9 KiB) TX bytes:28532 (27.8 KiB)

Interrupt:59 Base address:0x28a4

eth4 Link encap:Ethernet HWaddr 00:0C:29:38:C8:73

inet addr:192.168.2.204 Bcast:192.168.2.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe38:c873/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:824 errors:0 dropped:0 overruns:0 frame:0

TX packets:99 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:155278 (151.6 KiB) TX bytes:18886 (18.4 KiB)

Interrupt:51 Base address:0x2c24

eth5 Link encap:Ethernet HWaddr 00:0C:29:38:C8:7D

inet addr:10.10.4.205 Bcast:10.10.4.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe38:c87d/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:761 errors:0 dropped:0 overruns:0 frame:0

TX packets:116 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:143643 (140.2 KiB) TX bytes:19833 (19.3 KiB)

Interrupt:75 Base address:0x2ca4

eth6 Link encap:Ethernet HWaddr 00:0C:29:38:C8:87

inet addr:192.168.2.206 Bcast:192.168.2.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe38:c887/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:745 errors:0 dropped:0 overruns:0 frame:0

TX packets:94 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:136713 (133.5 KiB) TX bytes:17767 (17.3 KiB)

Interrupt:67 Base address:0x3024

eth7 Link encap:Ethernet HWaddr 00:0C:29:38:C8:91

inet addr:10.10.4.207 Bcast:10.10.4.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe38:c891/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:730 errors:0 dropped:0 overruns:0 frame:0

TX packets:107 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:129165 (126.1 KiB) TX bytes:18482 (18.0 KiB)

Interrupt:59 Base address:0x30a4

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:6873 errors:0 dropped:0 overruns:0 frame:0

TX packets:6873 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:8958464 (8.5 MiB) TX bytes:8958464 (8.5 MiB)

sit0 Link encap:IPv6-in-IPv4

NOARP MTU:1480 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00

inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0

inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:55 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:9248 (9.0 KiB)

[root@raclinux1 ~]#


Add the following line to the “/etc/modprobe.conf” file.

alias bond0 bonding

alias bond1 bonding

 

[root@raclinux1 ~]# cat /etc/modprobe.conf

alias eth0 vmxnet

alias eth1 vmxnet

alias eth2 vmxnet

alias eth3 vmxnet

alias eth4 vmxnet

alias eth5 vmxnet

alias eth6 vmxnet

alias eth7 vmxnet

alias scsi_hostadapter mptbase

alias scsi_hostadapter1 mptspi

alias scsi_hostadapter2 ata_piix

# Added by VMware Tools

install pcnet32 /sbin/modprobe -q –ignore-install vmxnet;/sbin/modprobe -q –ignore-install pcnet32 $CMDLINE_OPTS;/bin/true

alias char-major-14 sb

options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330

#Added for bonding

alias bond0 bonding

alias bond1 bonding

[root@raclinux1 ~]#

The files defining the regular and bonding interfaces are located in the “/etc/sysconfig/network-scripts” directory. Create a new file called “ifcfg-bond0” and “ifcfg-bond1” for the bonding interface with the following contents (adjust the network parameters as applicable).

DEVICE=bond0

BOOTPROTO=none

ONBOOT=yes

NETWORK=192.168.2.0

NETMASK=255.255.255.0

IPADDR=192.168.2.131

USERCTL=no

BONDING_OPTS=”mode=1 miimon=100″

 

 

[root@raclinux1 network-scripts]# cat ifcfg-bond0

DEVICE=bond0

BOOTPROTO=none

ONBOOT=yes

NETWORK=192.168.2.0

NETMASK=255.255.255.0

IPADDR=192.168.2.131

USERCTL=no

BONDING_OPTS=”mode=1 miimon=100″

[root@raclinux1 network-scripts]# cat ifcfg-bond1

DEVICE=bond1

BOOTPROTO=none

ONBOOT=yes

NETWORK=10.10.4.0

NETMASK=255.255.255.0

IPADDR=10.10.4.131

USERCTL=no

BONDING_OPTS=”mode=1 miimon=100″

[root@raclinux1 network-scripts]#

A description of the bonding options is available here.

Amend the existing “ifcfg-ethX” files, adding the “MASTER” and “SLAVE” parameters. The contents of these files should look like this.

[root@raclinux1 network-scripts]# cat ifcfg-eth0

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE=eth0

BOOTPROTO=none

HWADDR=00:0C:29:38:C8:4B

IPV6INIT=yes

IPV6_AUTOCONF=yes

ONBOOT=yes

DHCP_HOSTNAME=raclinux1.gj.com

TYPE=Ethernet

PEERDNS=yes

USERCTL=no

IPADDR=192.168.2.200

NETMASK=255.255.255.0

GATEWAY=192.168.2.1

MASTER=bond0

SLAVE=yes

[root@raclinux1 network-scripts]#

[root@raclinux1 network-scripts]# cat ifcfg-eth2

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE=eth2

BOOTPROTO=none

BROADCAST=192.168.2.255

HWADDR=00:0C:29:38:C8:5F

IPADDR=192.168.2.202

IPV6INIT=yes

IPV6_AUTOCONF=yes

NETMASK=255.255.255.0

NETWORK=192.168.2.0

ONBOOT=yes

TYPE=Ethernet

PEERDNS=yes

USERCTL=no

MASTER=bond0

SLAVE=yes

[root@raclinux1 network-scripts]# cat ifcfg-eth4

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE=eth4

BOOTPROTO=none

HWADDR=00:0C:29:38:C8:73

IPV6INIT=yes

IPV6_AUTOCONF=yes

ONBOOT=yes

TYPE=Ethernet

PEERDNS=yes

USERCTL=no

NETMASK=255.255.255.0

IPADDR=192.168.2.204

GATEWAY=192.168.2.1

MASTER=bond0

SLAVE=yes

[root@raclinux1 network-scripts]# cat ifcfg-eth6

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE=eth6

BOOTPROTO=none

BROADCAST=192.168.2.255

HWADDR=00:0C:29:38:C8:87

IPADDR=192.168.2.206

IPV6INIT=yes

IPV6_AUTOCONF=yes

NETMASK=255.255.255.0

NETWORK=192.168.2.0

ONBOOT=yes

TYPE=Ethernet

PEERDNS=yes

USERCTL=no

MASTER=bond0

SLAVE=yes

[root@raclinux1 network-scripts]# cat ifcfg-eth1

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE=eth1

BOOTPROTO=none

BROADCAST=10.10.4.255

HWADDR=00:0c:29:38:c8:55

IPADDR=10.10.4.201

IPV6INIT=yes

IPV6_AUTOCONF=yes

NETMASK=255.255.255.0

NETWORK=10.10.4.0

ONBOOT=yes

TYPE=Ethernet

PEERDNS=yes

USERCTL=yes

MASTER=bond1

SLAVE=yes

[root@raclinux1 network-scripts]# cat ifcfg-eth3

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE=eth3

BOOTPROTO=none

BROADCAST=10.10.4.255

HWADDR=00:0C:29:38:C8:69

IPADDR=10.10.4.203

IPV6INIT=yes

IPV6_AUTOCONF=yes

NETMASK=255.255.255.0

NETWORK=10.10.4.0

ONBOOT=yes

TYPE=Ethernet

PEERDNS=yes

USERCTL=no

MASTER=bond1

SLAVE=yes

[root@raclinux1 network-scripts]# cat ifcfg-eth5

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE=eth5

BOOTPROTO=none

BROADCAST=10.10.4.255

HWADDR=00:0C:29:38:C8:7D

IPADDR=10.10.4.205

IPV6INIT=yes

IPV6_AUTOCONF=yes

NETMASK=255.255.255.0

NETWORK=10.10.4.0

ONBOOT=yes

TYPE=Ethernet

PEERDNS=yes

USERCTL=no

MASTER=bond1

SLAVE=yes

[root@raclinux1 network-scripts]# cat ifcfg-eth7

# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]

DEVICE=eth7

BOOTPROTO=none

BROADCAST=10.10.4.255

HWADDR=00:0C:29:38:C8:91

IPADDR=10.10.4.207

IPV6INIT=yes

IPV6_AUTOCONF=yes

NETMASK=255.255.255.0

NETWORK=10.10.4.0

ONBOOT=yes

TYPE=Ethernet

PEERDNS=yes

USERCTL=no

MASTER=bond1

SLAVE=yes

[root@raclinux1 network-scripts]#

Restart the network service.

# service network restart

 


The bonded interface can be displayed using the “ifconfig” command, which shows “bond0” and “bond1” running as the master and all “ethX” running as slaves.

# ifconfig –a

 

 

[root@raclinux1 network-scripts]# ifconfig -a

bond0 Link encap:Ethernet HWaddr 00:0C:29:38:C8:4B

inet addr:192.168.2.131 Bcast:192.168.2.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe38:c84b/64 Scope:Link

UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1

RX packets:6423 errors:0 dropped:0 overruns:0 frame:0

TX packets:656 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:1489186 (1.4 MiB) TX bytes:130982 (127.9 KiB)

bond1 Link encap:Ethernet HWaddr 00:0C:29:38:C8:55

inet addr:10.10.4.131 Bcast:10.10.4.255 Mask:255.255.255.0

inet6 addr: fe80::20c:29ff:fe38:c855/64 Scope:Link

UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1

RX packets:5244 errors:0 dropped:0 overruns:0 frame:0

TX packets:868 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:974814 (951.9 KiB) TX bytes:175450 (171.3 KiB)

eth0 Link encap:Ethernet HWaddr 00:0C:29:38:C8:4B

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

RX packets:2681 errors:0 dropped:0 overruns:0 frame:0

TX packets:328 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:831437 (811.9 KiB) TX bytes:73037 (71.3 KiB)

Interrupt:51 Base address:0x2424

eth1 Link encap:Ethernet HWaddr 00:0C:29:38:C8:55

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

RX packets:1642 errors:0 dropped:0 overruns:0 frame:0

TX packets:277 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:311419 (304.1 KiB) TX bytes:60817 (59.3 KiB)

Interrupt:75 Base address:0x24a4

eth2 Link encap:Ethernet HWaddr 00:0C:29:38:C8:4B

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

RX packets:1313 errors:0 dropped:0 overruns:0 frame:0

TX packets:115 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:235803 (230.2 KiB) TX bytes:20332 (19.8 KiB)

Interrupt:67 Base address:0x2824

eth3 Link encap:Ethernet HWaddr 00:0C:29:38:C8:55

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

RX packets:1295 errors:0 dropped:0 overruns:0 frame:0

TX packets:226 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:248875 (243.0 KiB) TX bytes:45138 (44.0 KiB)

Interrupt:59 Base address:0x28a4

eth4 Link encap:Ethernet HWaddr 00:0C:29:38:C8:4B

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

RX packets:1255 errors:0 dropped:0 overruns:0 frame:0

TX packets:109 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:220382 (215.2 KiB) TX bytes:19366 (18.9 KiB)

Interrupt:51 Base address:0x2c24

eth5 Link encap:Ethernet HWaddr 00:0C:29:38:C8:55

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

RX packets:1183 errors:0 dropped:0 overruns:0 frame:0

TX packets:190 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:220943 (215.7 KiB) TX bytes:36695 (35.8 KiB)

Interrupt:75 Base address:0x2ca4

eth6 Link encap:Ethernet HWaddr 00:0C:29:38:C8:4B

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

RX packets:1174 errors:0 dropped:0 overruns:0 frame:0

TX packets:104 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:201564 (196.8 KiB) TX bytes:18247 (17.8 KiB)

Interrupt:67 Base address:0x3024

eth7 Link encap:Ethernet HWaddr 00:0C:29:38:C8:55

UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1

RX packets:1124 errors:0 dropped:0 overruns:0 frame:0

TX packets:175 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:193577 (189.0 KiB) TX bytes:32800 (32.0 KiB)

Interrupt:59 Base address:0x30a4

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:16436 Metric:1

RX packets:6931 errors:0 dropped:0 overruns:0 frame:0

TX packets:6931 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:8970108 (8.5 MiB) TX bytes:8970108 (8.5 MiB)

sit0 Link encap:IPv6-in-IPv4

NOARP MTU:1480 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

virbr0 Link encap:Ethernet HWaddr 00:00:00:00:00:00

inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0

inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:55 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:9248 (9.0 KiB)

[root@raclinux1 network-scripts]#




For further information see:

June 15, 2010 Posted by | oracle | Leave a comment

OUI 11gR2 while installing grid hangs at 65% on Linux OEL 5.X

OUI 11gR2 while installing grid hangs at 65% on Linux OEL 5.X

While installing Oracle 11gR2 grid OUI hangs at 65% completed and shows that remote copy is in progress. The output of

./runcluvfy.sh stage -pre crsinst -n raclinux1,raclinux2 -verbose

prior to running the 11gR2 grid install is as displayed in Appendix A. As we can see Oracle cluvfy utility did not find out anything suggesting that OUI will not proceed as expected. Examining the logs revealed the following error.

After disabling the firewall and making sure that SELINUX is disabled as show below I rebooted raclinux1 and raclinux2 nodes of the cluster.

I started a fresh Oracle grid installation. This time the installation completed successfully.

Appendix A

Performing pre-checks for cluster services setup

Checking node reachability…

Check: Node reachability from node “raclinux1”

Destination Node Reachable?

———————————— ————————

raclinux1 yes

raclinux2 yes

Result: Node reachability check passed from node “raclinux1”

Checking user equivalence…

Check: User equivalence for user “oracle”

Node Name Comment

———————————— ————————

raclinux2 passed

raclinux1 passed

Result: User equivalence check passed for user “oracle”

Checking node connectivity…

Checking hosts config file…

Node Name Status Comment

———— ———————— ————————

raclinux2 passed

raclinux1 passed

Verification of the hosts config file successful

Interface information for node “raclinux2”

Name IP Address Subnet Gateway Def. Gateway HW Address MTU

—— ————— ————— ————— ————— —————– ——

virbr0 192.168.122.1 192.168.122.0 0.0.0.0 UNKNOWN 00:00:00:00:00:00 1500

bond0 192.168.2.132 192.168.2.0 0.0.0.0 UNKNOWN 00:0C:29:85:B0:7E 1500

bond1 10.10.4.132 10.10.4.0 0.0.0.0 UNKNOWN 00:0C:29:85:B0:88 1500

Interface information for node “raclinux1”

Name IP Address Subnet Gateway Def. Gateway HW Address MTU

—— ————— ————— ————— ————— —————– ——

virbr0 192.168.122.1 192.168.122.0 0.0.0.0 UNKNOWN 00:00:00:00:00:00 1500

bond0 192.168.2.131 192.168.2.0 0.0.0.0 UNKNOWN 00:0C:29:38:C8:4B 1500

bond1 10.10.4.131 10.10.4.0 0.0.0.0 UNKNOWN 00:0C:29:38:C8:55 1500

Check: Node connectivity of subnet “192.168.122.0”

Source Destination Connected?

—————————— —————————— —————-

raclinux2:virbr0 raclinux1:virbr0 yes

Result: Node connectivity passed for subnet “192.168.122.0” with node(s) raclinux2,raclinux1

Check: TCP connectivity of subnet “192.168.122.0”

Result: TCP connectivity check failed for subnet “192.168.122.0”

Check: Node connectivity of subnet “192.168.2.0”

Source Destination Connected?

—————————— —————————— —————-

raclinux2:bond0 raclinux1:bond0 yes

Result: Node connectivity passed for subnet “192.168.2.0” with node(s) raclinux2,raclinux1

Check: TCP connectivity of subnet “192.168.2.0”

Source Destination Connected?

—————————— —————————— —————-

raclinux1:192.168.2.131 raclinux2:192.168.2.132 failed

Result: TCP connectivity check failed for subnet “192.168.2.0”

Check: Node connectivity of subnet “10.10.4.0”

Source Destination Connected?

—————————— —————————— —————-

raclinux2:bond1 raclinux1:bond1 yes

Result: Node connectivity passed for subnet “10.10.4.0” with node(s) raclinux2,raclinux1

Check: TCP connectivity of subnet “10.10.4.0”

Source Destination Connected?

—————————— —————————— —————-

raclinux1:10.10.4.131 raclinux2:10.10.4.132 failed

Result: TCP connectivity check failed for subnet “10.10.4.0”

Interfaces found on subnet “192.168.122.0” that are likely candidates for a private interconnect are:

raclinux2 virbr0:192.168.122.1

raclinux1 virbr0:192.168.122.1

Interfaces found on subnet “192.168.2.0” that are likely candidates for a private interconnect are:

raclinux2 bond0:192.168.2.132

raclinux1 bond0:192.168.2.131

Interfaces found on subnet “10.10.4.0” that are likely candidates for a private interconnect are:

raclinux2 bond1:10.10.4.132

raclinux1 bond1:10.10.4.131

WARNING:

Could not find a suitable set of interfaces for VIPs

Result: Node connectivity check passed

Check: Total memory

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 1.98GB (2075488.0KB) 1.5GB (1572864.0KB) passed

raclinux1 1.98GB (2075488.0KB) 1.5GB (1572864.0KB) passed

Result: Total memory check passed

Check: Available memory

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 1.79GB (1880648.0KB) 50MB (51200.0KB) passed

raclinux1 1.77GB (1856332.0KB) 50MB (51200.0KB) passed

Result: Available memory check passed

Check: Swap space

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 3.94GB (4128760.0KB) 2.97GB (3113232.0KB) passed

raclinux1 3.94GB (4128760.0KB) 2.97GB (3113232.0KB) passed

Result: Swap space check passed

Check: Free disk space for “raclinux2:/tmp”

Path Node Name Mount point Available Required Comment

—————- ———— ———— ———— ———— ————

/tmp raclinux2 / 26.18GB 1GB passed

Result: Free disk space check passed for “raclinux2:/tmp”

Check: Free disk space for “raclinux1:/tmp”

Path Node Name Mount point Available Required Comment

—————- ———— ———— ———— ———— ————

/tmp raclinux1 / 11.33GB 1GB passed

Result: Free disk space check passed for “raclinux1:/tmp”

Check: User existence for “oracle”

Node Name Status Comment

———— ———————— ————————

raclinux2 exists passed

raclinux1 exists passed

Result: User existence check passed for “oracle”

Check: Group existence for “oinstall”

Node Name Status Comment

———— ———————— ————————

raclinux2 exists passed

raclinux1 exists passed

Result: Group existence check passed for “oinstall”

Check: Group existence for “dba”

Node Name Status Comment

———— ———————— ————————

raclinux2 exists passed

raclinux1 exists passed

Result: Group existence check passed for “dba”

Check: Membership of user “oracle” in group “oinstall” [as Primary]

Node Name User Exists Group Exists User in Group Primary Comment

—————- ———— ———— ———— ———— ————

raclinux2 yes yes yes yes passed

raclinux1 yes yes yes yes passed

Result: Membership check for user “oracle” in group “oinstall” [as Primary] passed

Check: Membership of user “oracle” in group “dba”

Node Name User Exists Group Exists User in Group Comment

—————- ———— ———— ———— —————-

raclinux2 yes yes yes passed

raclinux1 yes yes yes passed

Result: Membership check for user “oracle” in group “dba” passed

Check: Run level

Node Name run level Required Comment

———— ———————— ———————— ———-

raclinux2 5 3,5 passed

raclinux1 5 3,5 passed

Result: Run level check passed

Check: Hard limits for “maximum open file descriptors”

Node Name Type Available Required Comment

—————- ———— ———— ———— —————-

raclinux2 hard 131072 65536 passed

raclinux1 hard 131072 65536 passed

Result: Hard limits check passed for “maximum open file descriptors”

Check: Soft limits for “maximum open file descriptors”

Node Name Type Available Required Comment

—————- ———— ———— ———— —————-

raclinux2 soft 131072 1024 passed

raclinux1 soft 131072 1024 passed

Result: Soft limits check passed for “maximum open file descriptors”

Check: Hard limits for “maximum user processes”

Node Name Type Available Required Comment

—————- ———— ———— ———— —————-

raclinux2 hard 131072 16384 passed

raclinux1 hard 131072 16384 passed

Result: Hard limits check passed for “maximum user processes”

Check: Soft limits for “maximum user processes”

Node Name Type Available Required Comment

—————- ———— ———— ———— —————-

raclinux2 soft 131072 2047 passed

raclinux1 soft 131072 2047 passed

Result: Soft limits check passed for “maximum user processes”

Check: System architecture

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 i686 x86 passed

raclinux1 i686 x86 passed

Result: System architecture check passed

Check: Kernel version

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 2.6.18-194.el5PAE 2.6.18 passed

raclinux1 2.6.18-194.el5PAE 2.6.18 passed

Result: Kernel version check passed

Check: Kernel parameter for “semmsl”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 250 250 passed

raclinux1 250 250 passed

Result: Kernel parameter check passed for “semmsl”

Check: Kernel parameter for “semmns”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 32000 32000 passed

raclinux1 32000 32000 passed

Result: Kernel parameter check passed for “semmns”

Check: Kernel parameter for “semopm”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 100 100 passed

raclinux1 100 100 passed

Result: Kernel parameter check passed for “semopm”

Check: Kernel parameter for “semmni”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 128 128 passed

raclinux1 128 128 passed

Result: Kernel parameter check passed for “semmni”

Check: Kernel parameter for “shmmax”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 536870912 536870912 passed

raclinux1 536870912 536870912 passed

Result: Kernel parameter check passed for “shmmax”

Check: Kernel parameter for “shmmni”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 4096 4096 passed

raclinux1 4096 4096 passed

Result: Kernel parameter check passed for “shmmni”

Check: Kernel parameter for “shmall”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 2097152 2097152 passed

raclinux1 2097152 2097152 passed

Result: Kernel parameter check passed for “shmall”

Check: Kernel parameter for “file-max”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 6815744 6815744 passed

raclinux1 6815744 6815744 passed

Result: Kernel parameter check passed for “file-max”

Check: Kernel parameter for “ip_local_port_range”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 between 9000 & 65500 between 9000 & 65500 passed

raclinux1 between 9000 & 65500 between 9000 & 65500 passed

Result: Kernel parameter check passed for “ip_local_port_range”

Check: Kernel parameter for “rmem_default”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 262144 262144 passed

raclinux1 262144 262144 passed

Result: Kernel parameter check passed for “rmem_default”

Check: Kernel parameter for “rmem_max”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 4194304 4194304 passed

raclinux1 4194304 4194304 passed

Result: Kernel parameter check passed for “rmem_max”

Check: Kernel parameter for “wmem_default”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 262144 262144 passed

raclinux1 262144 262144 passed

Result: Kernel parameter check passed for “wmem_default”

Check: Kernel parameter for “wmem_max”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 1048586 1048576 passed

raclinux1 1048586 1048576 passed

Result: Kernel parameter check passed for “wmem_max”

Check: Kernel parameter for “aio-max-nr”

Node Name Configured Required Comment

———— ———————— ———————— ———-

raclinux2 1048576 1048576 passed

raclinux1 1048576 1048576 passed

Result: Kernel parameter check passed for “aio-max-nr”

Check: Package existence for “make-3.81”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 make-3.81-3.el5 make-3.81 passed

raclinux1 make-3.81-3.el5 make-3.81 passed

Result: Package existence check passed for “make-3.81”

Check: Package existence for “binutils-2.17.50.0.6”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 binutils-2.17.50.0.6-14.el5 binutils-2.17.50.0.6 passed

raclinux1 binutils-2.17.50.0.6-14.el5 binutils-2.17.50.0.6 passed

Result: Package existence check passed for “binutils-2.17.50.0.6”

Check: Package existence for “gcc-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 gcc-4.1.2-48.el5 gcc-4.1.2 passed

raclinux1 gcc-4.1.2-48.el5 gcc-4.1.2 passed

Result: Package existence check passed for “gcc-4.1.2”

Check: Package existence for “gcc-c++-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 gcc-c++-4.1.2-48.el5 gcc-c++-4.1.2 passed

raclinux1 gcc-c++-4.1.2-48.el5 gcc-c++-4.1.2 passed

Result: Package existence check passed for “gcc-c++-4.1.2”

Check: Package existence for “libgomp-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libgomp-4.4.0-6.el5 libgomp-4.1.2 passed

raclinux1 libgomp-4.4.0-6.el5 libgomp-4.1.2 passed

Result: Package existence check passed for “libgomp-4.1.2”

Check: Package existence for “libaio-0.3.106”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libaio-0.3.106-5 libaio-0.3.106 passed

raclinux1 libaio-0.3.106-5 libaio-0.3.106 passed

Result: Package existence check passed for “libaio-0.3.106”

Check: Package existence for “glibc-2.5-24”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 glibc-2.5-49 glibc-2.5-24 passed

raclinux1 glibc-2.5-49 glibc-2.5-24 passed

Result: Package existence check passed for “glibc-2.5-24”

Check: Package existence for “compat-libstdc++-33-3.2.3”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 compat-libstdc++-33-3.2.3-61 compat-libstdc++-33-3.2.3 passed

raclinux1 compat-libstdc++-33-3.2.3-61 compat-libstdc++-33-3.2.3 passed

Result: Package existence check passed for “compat-libstdc++-33-3.2.3”

Check: Package existence for “elfutils-libelf-0.125”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 elfutils-libelf-0.137-3.el5 elfutils-libelf-0.125 passed

raclinux1 elfutils-libelf-0.137-3.el5 elfutils-libelf-0.125 passed

Result: Package existence check passed for “elfutils-libelf-0.125”

Check: Package existence for “elfutils-libelf-devel-0.125”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.125 passed

raclinux1 elfutils-libelf-devel-0.137-3.el5 elfutils-libelf-devel-0.125 passed

Result: Package existence check passed for “elfutils-libelf-devel-0.125”

Check: Package existence for “glibc-common-2.5”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 glibc-common-2.5-49 glibc-common-2.5 passed

raclinux1 glibc-common-2.5-49 glibc-common-2.5 passed

Result: Package existence check passed for “glibc-common-2.5”

Check: Package existence for “glibc-devel-2.5”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 glibc-devel-2.5-49 glibc-devel-2.5 passed

raclinux1 glibc-devel-2.5-49 glibc-devel-2.5 passed

Result: Package existence check passed for “glibc-devel-2.5”

Check: Package existence for “glibc-headers-2.5”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 glibc-headers-2.5-49 glibc-headers-2.5 passed

raclinux1 glibc-headers-2.5-49 glibc-headers-2.5 passed

Result: Package existence check passed for “glibc-headers-2.5”

Check: Package existence for “libaio-devel-0.3.106”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libaio-devel-0.3.106-5 libaio-devel-0.3.106 passed

raclinux1 libaio-devel-0.3.106-5 libaio-devel-0.3.106 passed

Result: Package existence check passed for “libaio-devel-0.3.106”

Check: Package existence for “libgcc-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libgcc-4.1.2-48.el5 libgcc-4.1.2 passed

raclinux1 libgcc-4.1.2-48.el5 libgcc-4.1.2 passed

Result: Package existence check passed for “libgcc-4.1.2”

Check: Package existence for “libstdc++-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libstdc++-4.1.2-48.el5 libstdc++-4.1.2 passed

raclinux1 libstdc++-4.1.2-48.el5 libstdc++-4.1.2 passed

Result: Package existence check passed for “libstdc++-4.1.2”

Check: Package existence for “libstdc++-devel-4.1.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 libstdc++-devel-4.1.2-48.el5 libstdc++-devel-4.1.2 passed

raclinux1 libstdc++-devel-4.1.2-48.el5 libstdc++-devel-4.1.2 passed

Result: Package existence check passed for “libstdc++-devel-4.1.2”

Check: Package existence for “sysstat-7.0.2”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 sysstat-7.0.2-3.el5 sysstat-7.0.2 passed

raclinux1 sysstat-7.0.2-3.el5 sysstat-7.0.2 passed

Result: Package existence check passed for “sysstat-7.0.2”

Check: Package existence for “unixODBC-2.2.11”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 unixODBC-2.2.11-7.1 unixODBC-2.2.11 passed

raclinux1 unixODBC-2.2.11-7.1 unixODBC-2.2.11 passed

Result: Package existence check passed for “unixODBC-2.2.11”

Check: Package existence for “unixODBC-devel-2.2.11”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 unixODBC-devel-2.2.11-7.1 unixODBC-devel-2.2.11 passed

raclinux1 unixODBC-devel-2.2.11-7.1 unixODBC-devel-2.2.11 passed

Result: Package existence check passed for “unixODBC-devel-2.2.11”

Check: Package existence for “ksh-20060214”

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 ksh-20100202-1.el5 ksh-20060214 passed

raclinux1 ksh-20100202-1.el5 ksh-20060214 passed

Result: Package existence check passed for “ksh-20060214”

Checking for multiple users with UID value 0

Result: Check for multiple users with UID value 0 passed

Check: Current group ID

Result: Current group ID check passed

Checking Core file name pattern consistency…

Core file name pattern consistency check passed.

Checking to make sure user “oracle” is not in “root” group

Node Name Status Comment

———— ———————— ————————

raclinux2 does not exist passed

raclinux1 does not exist passed

Result: User “oracle” is not part of “root” group. Check passed

Check default user file creation mask

Node Name Available Required Comment

———— ———————— ———————— ———-

raclinux2 0022 0022 passed

raclinux1 0022 0022 passed

Result: Default user file creation mask check passed

Starting Clock synchronization checks using Network Time Protocol(NTP)…

NTP Configuration file check started…

The NTP configuration file “/etc/ntp.conf” is available on all nodes

NTP Configuration file check passed

Checking daemon liveness…

Check: Liveness for “ntpd”

Node Name Running?

———————————— ————————

raclinux2 yes

raclinux1 yes

Result: Liveness check passed for “ntpd”

Checking NTP daemon command line for slewing option “-x”

Check: NTP daemon command line

Node Name Slewing Option Set?

———————————— ————————

raclinux2 yes

raclinux1 yes

Result:

NTP daemon slewing option check passed

Checking NTP daemon’s boot time configuration, in file “/etc/sysconfig/ntpd”, for slewing option “-x”

Check: NTP daemon’s boot time configuration

Node Name Slewing Option Set?

———————————— ————————

raclinux2 yes

raclinux1 yes

Result:

NTP daemon’s boot time configuration check for slewing option passed

NTP common Time Server Check started…

NTP Time Server “.LOCL.” is common to all nodes on which the NTP daemon is running

Check of common NTP Time Server passed

Clock time offset check from NTP Time Server started…

Checking on nodes “[raclinux2, raclinux1]”…

Check: Clock time offset from NTP Time Server

Time Server: .LOCL.

Time Offset Limit: 1000.0 msecs

Node Name Time Offset Status

———— ———————— ————————

raclinux2 0.0 passed

raclinux1 0.0 passed

Time Server “.LOCL.” has time offsets that are within permissible limits for nodes “[raclinux2, raclinux1]”.

Clock time offset check passed

Result: Clock synchronization check using Network Time Protocol(NTP) passed

Pre-check for cluster services setup was successful.

June 8, 2010 Posted by | oracle | 1 Comment

How to Clean Up After a Failed 11g CRS Install in Linux

How to Clean Up After a Failed 11g CRS Install in Linux

Not cleaning up a failed CRS install can cause problems like node reboots. Follow these steps to clean up a failed CRS install:

 

1. Run the rootdelete.sh script then the rootdeinstall.sh script from the
$ORA_CRS_HOME/install directory on any nodes you are removing CRS from. Running these scripts should be sufficent to clean up your CRS install. Rootdelete.sh accepts options like nosharedvar/sharedvar, and nosharedhome/sharedhome. Make yourself familiar with these options by reading the Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide. If for some reason you have to manually remove the install due to problems with the scripts, continue to step 2:

 2. Stop the Nodeapps on all nodes:


    srvctl stop nodeapps -n

3. Prevent CRS from starting when the node boots. To do this issue the following

as root:

rm /etc/oracle/*
rm -f /etc/init.d/init.cssd
rm -f /etc/init.d/init.crs
rm -f /etc/init.d/init.crsd
rm -f /etc/init.d/init.evmd
rm -f /etc/rc2.d/K96init.crs
rm -f /etc/rc2.d/S96init.crs
rm -f /etc/rc3.d/K96init.crs
rm -f /etc/rc3.d/S96init.crs
rm -f /etc/rc5.d/K96init.crs
rm -f /etc/rc5.d/S96init.crs
rm -Rf /etc/oracle/scls_scr
rm -f /etc/inittab.crs
cp /etc/inittab.orig /etc/inittab

4. If they are not already down, kill off EVM, CRS, and CSS processes or reboot

the node:

ps -ef | grep crs
kill <crs pid>
ps -ef | grep evm
kill <evm pid>
ps -ef | grep css
kill <css pid>

 

Do not kill any OS processes, for example icssvr_daemon process !

5. If there is no other Oracle software running (like listeners, DB’s, etc…),

you can remove the files in /var/tmp/.oracle or /tmp/.oracle. Example:

rm -f /var/tmp/.oracle

or

rm -f /tmp/.oracle

 

6. Remove the ocr.loc

Usually the ocr.loc can be found at /etc/oracle

7. De-install the CRS home in the Oracle Universal Installer

8. Remove the CRS install location.

9. Clean out the OCR and Voting Files.

10. The /tmp/CVU* dir should be cleaned also to avoid the cluvfy misreporting.

11. It is good practice to reboot the node before starting the next install.

12.If you would like to re-install CRS, follow the steps in the RAC Installation manual.

For further information See Note ID: 239998.1

June 1, 2010 Posted by | oracle | Leave a comment