Enter Your Email

Enter your email address:

Delivered by FeedBurner

Custom Search
Showing posts with label Step by Step Installation. Show all posts
Showing posts with label Step by Step Installation. Show all posts

Sunday, October 31, 2010

Oracle 11gR2 Default Listener - Grid Infrastructure home

Oracle Restart enabled database creation requires Default Listener configured
and running in Grid Infrastructure home. Use NETCA in Grid Infrastructure home - "/u01/app/oracle/product/11.2.0/grid" to configure a listener before proceeding.






I faced this issue when setting up Oracle 11gR2 Standalone with Oracle Grid Control 11gR2 for ASM and restart capabilities, and when selecting Oracle Enterprise Manager I got the above error screen but I have a listener running on Oracle Grid home, but still you see the same error.

This is due to the Listener which should be by default, like the name should be LISTENER and the port should be 1521. Any changes with both will result in the above error.

I dropped the existing listener and re-created a new one with NETCA with the default port and the name which worked.

Saturday, July 24, 2010

New to Oracle Business Intelligence!!!! Start from here

1. http://www.oracle.com/technology/products/bi/enterprise-edition.html
2. http://www.oracle.com/appserver/business-intelligence/docs/OracleBIEE-wp.pdf
3. http://bic2g.oracle.com/1/Course_Technical_Prerequisites_Installation.pdf
4. http://bic2g.oracle.com/1/BIC2G_EE_Jump.htm

>>>> http://bic2g.oracle.com/1/BIC2G_EE_v10.1.3.2_Getting_Started.htm

Oracle by example

http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/index.html

OBI on Windows....
http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/install/installoraclebee.htm

Oracle Business Intelligence Documentation
http://download.oracle.com/docs/cd/E10415_01/welcome.html


The above URL's from ORACLE will give some in-sight of OBI.

Monday, February 16, 2009

SYBASE ASE 15.0.2 – Case Sensitive to Non-Case Sensitive

SYBASE ASE 15.0.2 – Case Sensitive to Non-Case Sensitive.

Sybase ASE database by default is case sensitive. But Oracle is not. We are testing one application with SYBASE ASE 15.0.2 developer edition where we will be having a data from Oracle RDBMS which needs to be replicated to ASE. That raw data is non-case and it's in various forms. To avoid more re-work as this is an immediate testing so we planned to test this.

I tried few sites which I could not able to get the resource and after browsing Google my search ended with infocenter.sysbase.com.

1; select @@version

2; go

----------------------------------------------------------------

Adaptive Server Enterprise/15.0.2/EBF 14336/P/x86_64/Enterprise

Linux/ase1502/2486/64-bit/FBO/Thu May 24 08:06:35 2007

I Here is the procedure I used to find the default sort order of the database which is 25, Binary ordering for UTF-16.

1; sp_helpsort

2; go

………………..

Sort Order Description

------------------------------------------------------------------

Character Set = 190, utf8

Unicode 3.1 UTF-8 Character Set

Class 2 Character Set

Sort Order = 25, binary

Binary ordering for UTF-16

(return status = 0)

The are two ways to approach this one is via server console on a Unix system with sqlloc or with sp_configure. I preferred to go with sp_configure as I will always have control of what I am doing. This is a test purpose and I did not bother to dump the database. So FULL DATABASE is must, whenever we do configuration changes, always makes us on safer sideJ.

2; select s1.value2

3; from syscurconfigs s1, sysconfigures s2

4; where s1.config = s2.config

5; and s2.name = 'configuration file'

6; go

value2

----------------------------------------------------

/u02/sybase/RAP/RAPCache/ASE-15_0/RAPCache.cfg

Take a copy of the Configuration file before you proceed further. It helps us to know what we have before system changes.

4; sp_configure "default sortorder id", 52

5; go

You have just reconfigured ASE's default sort order. System table indexes will be rebuilt when you reboot ASE.

Parameter Name Default Memory Used Config Value

Run Value Unit Type

------------------------------ ----------- ----------- ------------

------------ -------------------- ----------

default sortorder id 50 0 52

25 id static

(1 row affected)

Configuration option changed. Since the option is static, Adaptive Server must be rebooted in order for the change to take effect.

Changing the value of 'default sortorder id' does not increase the amount of memory Adaptive Server uses.

(return status = 0)

Shutdown the ASE Server…

1; shutdown

2; go

Server SHUTDOWN by request.

ASE is terminating this process.

Start the ASE Server

Once you bring the ASE server it will check for consistency and it will rebuild all the indexes.

00:00000:00001:2009/02/16 15:41:29.67 server Default Sort Order successfully changed.

00:00000:00001:2009/02/16 15:41:29.67 server *** Be sure to dump all databases after

00:00000:00001:2009/02/16 15:41:29.67 server ASE has booted with the new

00:00000:00001:2009/02/16 15:41:29.67 server *** sort order, since your old dumps will

00:00000:00001:2009/02/16 15:41:29.67 server *** be unusable with the new sort order.

00:00000:00001:2009/02/16 15:41:29.67 server ASE shutdown after verifying System Indexes.

00:00000:00001:2009/02/16 15:41:29.67 kernel ueshutdown: exiting

00:00000:00001:2009/02/16 15:41:29.67 kernel SySAM: Checked in license for 1 ASE_CORE (2009.09220/permanent/1623 DCB3 B018 5E2B).

[1]+ Done startserver -f RUN_RAPCache

Once you see the above message start the server and check the service.

3; sp_helpsort

4; go

Sort Order Description

------------------------------------------------------------------

Character Set = 190, utf8

Unicode 3.1 UTF-8 Character Set

Class 2 Character Set

Sort Order = 52, nocase

General-purpose case-insensitive dictionary ordering

(return status = 0)

Reference: http://manuals.sybase.com/onlinebooks/group-as/asg1250e/svrtsg/@ebt-link;pt=5693?target=%25N%14_5953_START_RESTART_N%25

RAVI PRAKASH ©

Thursday, February 12, 2009

Oracle Streams Setup

Would like to share some good documents online from Oracle on Streams, which are very useful in setting up Oracle Streams.
1. Oracle Streams Deployment on Release 9iR2.
2. Streams Sample and Best Practices - Oracle.com
3. Customer Case Studies from Oracle

Monday, December 08, 2008

Cygwin X Window: _X11TransSocketINETConnect() can't get address for localhost:6010: Temporary failure in name resolution

Any Idea with the below error: xterm issue using Cygwin: Connecting from a Windows XP Work Station to a OLE 4.7 on VMWare 1.0.6.

Administrator@TESTDB-02 ~
$
Administrator@TESTDB-02 ~
$ ssh -Y oracle@192.168.2.172
oracle@192.168.2.172's password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Mon Dec 8 16:09:50 2008 from TESTDB-02.bis.local
ora11gprod-> xclock
_X11TransSocketINETConnect() can't get address for localhost:6010: Temporary failure in name resolution
Error: Can't open display: localhost:10.0
*** Tried again ****

Administrator@TESTDB-02 ~
$ ssh -Y oracle@192.168.2.172
oracle@192.168.2.172's password:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Last login: Mon Dec 8 16:13:33 2008 from TESTDB-02.bis.local
ora11gprod-> xclock
_X11TransSocketINETConnect() can't get address for localhost:6010: Temporary failure in name resolution
Error: Can't open display: localhost:10.0
I think this is something to do with localhost:10.0 but i am not sure from where its taking...
Any help on this...




It's worked. Guess what?
I missed localhost entry in /etc/hosts.
Added this line to resolve the issue.

Friday, August 01, 2008

Configure and mount a new disk in Enterprise Linux

In Previous section we saw how to add storage (Disk) to an existing OS. This section we go ahead with configuring and mounting the file system, in Enterprise Linux.
1) Use putty to connect to the Guest Operating system from your Host operating system. ## You can refer How to connect host and Guest OS in VMWare.
2)
Login as root
login as: root
root@192.168.2.135's password:
Last login: Fri Aug 1 13:12:56 2008 from 192.168.2.130
[root@oracledb2 ~]#
3)
Browse for the newly added disk in Linux using, you can see the newly added disk with /dev/sdb does’t contain a valid partition table.
[root@oracledb2 ~]# 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 637 5116671 83 Linux
/dev/sda2 638 1718 8683132+ 83 Linux
/dev/sda3 1719 2355 5116702+ 83 Linux
/dev/sda4 2356 2610 2048287+ 5 Extended
/dev/sda5 2356 2610 2048256 82 Linux swap
Disk /dev/sdb: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
[root@oracledb2 ~]#

4) Create a partition using fdisk /dev/sdb
[root@oracledb2 ~]# fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
The number of cylinders for this disk is set to 1305.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): n ### Select n here
Command action
e extended
p primary partition (1-4) ### Select P for a primary partition
p
Partition number (1-4): 1
First cylinder (1-1305, default 1): 1
Last cylinder or +size or +sizeM or +sizeK (1-1305, default 1305): 1305
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
[root@oracledb2 ~]#

5) You can check the new partition
[root@oracledb2 ~]# 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 637 5116671 83 Linux
/dev/sda2 638 1718 8683132+ 83 Linux
/dev/sda3 1719 2355 5116702+ 83 Linux
/dev/sda4 2356 2610 2048287+ 5 Extended
/dev/sda5 2356 2610 2048256 82 Linux swap
Disk /dev/sdb: 10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 1305 10482381 83 Linux
[root@oracledb2 ~]#
6) Format the Newly added partition and add a label to it.

7) Mount the new file system

8) Make sure that you add this new mount point to /etc/fstab to auto mount next time when you restart the server.

Your disk is ready, restart the VMWare Guest OS and check if you can see the mount point auto mounted.

VMWare: Adding a disk to VMware Guest OS

Adding a disk to a exisiting VMWare Guest OS.
Technology Used.
1) VM Ware Version: 1.04 build-56528
http://www.vmware.com/
2) Oracle Enterprise Linux 4.2
www.edelivery.com/linux
Purpose: Add a new disk to existing VMWare Enterprise Linux OS and make it in use.
Step by Step
1) Make sure the guest operating system (Enterprise Linux) is shutdown, to add a new disk.
2) Open the VMWare Server Console and select the Guest OS in the Inventory tab.
3) On the Commands tab, click Edit Virtual machine settings.
4) A pop window appears, Virtual Machine Settings, with the existing settings, click Add button at the bottom.


5. Select Hard Disk from the Add Hardware wizard from VMWare Server console & click next to continue further.
6. Select “Create a new Virtual Disk” and click next to continue
7. Select a Disk Type – always go with the recommended configuration by VMWare (here I selected as recommended – SCSI) and click next
8. Specify Disk capacity – in my case, i selected 10GB, and I am not selecting “Allocate all disk space now” as it’s always have a advantage, it will use the host filesystem as the file system grows. Click Next to continue.
9. Specify Disk File, Location on your local hard disk and click Finish, to complete the Wizard.
10. You can see the new add disk, Hard Disk 2. You can start the Operating system, from the VMWare Console to setup the hard disk from the operating system level.
Your new disk is ready at hardware level (Virtual Machine ;-) )
To setup the newly added disk from the Guest Operating System, please follow the below link.

Thursday, March 13, 2008

Oracle 11g :: Creating Database with ASM using DBCA

Creating and configuring Oracle 11g Database on ASM using Database Configuration Assistant (DBCA).
Prerequisites
1. Oracle Software 11.1.0.6 should already installed on the server. (refer below url for step by step)
http://ravidba-oracle.blogspot.com/2008/07/oracle-11g-step-by-step-installation-on.html
2. ASM Instance should already be created & configured and should be up and running.
http://ravidba-oracle.blogspot.com/2008/03/oracle-11g-configuring-asm-for-oracle.html
Hardware/Software:
VMWare Virtual Node – 2 CPU, 1024 MB
Host Operating System – Windows XP Professional SP 3
Guest Operating System – Oracle Enterprise Linux 4 (Update 5)
Oracle RDBMS – 11.1.0.6
Oracle ASM Instance – 11.1.0.6
1. Run DBCA from a terminal login as Oracle user. You can use PUTTY from a HOST System as well by setting the DISPLAY for x-windows.
Select -> Create Database
2. Select General Purpose, as this is just for testing purpose I want to use all the features of Oracle 11g and as well with the Example schemas. Real time i would prefer to create a seed database which would be CUSTOM DATABASE.
3. Database name: Here its db11g (You can choose as you like not more than 8 Characters)
4. Enterprise Manager Option
4 -1 . Warning : To configure Listener, so from a new terminal we need to run netca, please follow below URL for step by step on this.
http://ravidba-oracle.blogspot.com/2008/03/oracle-11g-netca-listener-configuration.html
Once you are done with NETCA configuring the LISTENER, Continue
5. I prefer to use same password (Just for testing Purpose and easy to remember)
6. Select Automatic Storage Management (ASM). Make sure that ASM instance is up & running and the LISTENER associated with it should be running as well.
7. ASM - SYS password "It should be same as what you entered when setting up ASM Instance"
8. Select the Disk Group Name which you would like your new database to use. Make sure that the disks are mounted and the Redundancy as set according to your needs.
9.Use Oracle-Managed Files - Location of the Database Area "+DATA" which it keeps all the datafiles, controlfiles, archive etc.
10. Flash Recovery Area, if your prefer (recommended) so many features that help DBA.
Enable Archiving.
11. Select Sample Schemas
12. Memory Management - I prefereed to use Automatic Memory Management to test Oracle 11g. As default it takes 40%, I set it to 28%. Rest of the tabs, i left default.
13. Security Settings - New feature of Oracle 11g. I preferred to keep pre-11g default security settings.
14. One more New Feature - > Automatic Maintenance tasks.
15. Database Storage - Location of Control file, size of redo and Datafiles.
16. Creation Options - Template (which i want to use) and the database creation script which i prefer to keep it for further reference.
17. Database creation complete.

I have my new Oracle 11g database with ASM as storage, and what all remained is i need to test the new features of Oracle 11g and to gain hands on - and plan to give Oracle 11g Upgrade for Administrators.

Wish me luck - Ravi Prakash

Wednesday, March 12, 2008

Oracle 11g :: netca (Listener Configuration for Oracle 11g Database)

Sometimes you need to run netca manually to configure Listener for your database. In Oracle 11g i found this message as a warning when selecting Database Control Configuration.

So planned to document this and of course this is one of the part of Oracle 11g Installation.
1. Open a terminal as a Oracle user and run netca.
Select -> Listener Configuration
2. Select Add, as we are going to create a LISTENER for a new setup. If we have any existing listener running on the Server, remain options will be highlight like "delete" "re-configure" etc.
3. Listener Name, or you can leave the existing one.
4. TCP is selected as default.
5. Select the Port here (or) you can leave the default port.


Oracle 11g :: Configuring ASM for Oracle 11g RDBMS

Setting up and configuring storage with ASM for Oracle 11g RDBMS
VMWare Version 1.0.8
Host Operating System: Windows XP – 32 Bit
Guest Operating System: OLE 4 (Update 5)
Oracle RDBMS Version: 11.1.0.6.0

Prerequisites
1. Oracle Software 11.1.0.6 should already installed on the server.

Click here -> For Step by step http://ravidba-oracle.blogspot.com/2008/07/oracle-11g-step-by-step-installation-on.html
2. Raw disks should already be formatted using fdisk and should be available to the server.

3. Disk Label should be created with ORACLE ASM LIB.
http://ravidba-oracle.blogspot.com/2007/05/oracle-10gr2-automatic-storage.html

** Please download Oracle ASM Lib from OTN.
oracleasmlib-2.0.2-1.i386.rpm (or) you can configure this when you setup Linux by selecting
System Tools -> oracle oracleasm-2.6.9.. (driver for UP kernel).
[root@oracledb2 init.d]# ls -ltr oracleasm*
-rwxr-xr-x 1 root root 18114 Oct 24 2006 oracleasm
[root@oracledb2 init.d]# pwd
/etc/init.d
Usage: /etc/init.d/oracleasm {startstoprestartenabledisableconfigurecreatediskdeletediskquerydisklistdisksscandisksstatus}
http://ravidba-oracle.blogspot.com/2007/05/oracle-10gr2-automatic-storage.html
For rest of the steps please follow the above URL to add the disks using oracleasm.
[root@oracledb2 init.d]# /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
Once you have the disks in place, login as Oracle user and run DBCA
1. Select Configure Automatic Storage Management : Step 1 of 4 -> Click Next

2. A warning screen will appear. For ASM (Automatic Storage Management) the Oracle Cluster Synchronization Service (CSS) needs to be running. All you need to do is - login as a root user and run the localconfig reset from $ORACLE_HOME/bin directory, as shown in the below screen.

3. Open a termial / Putty section login as a root user, and execute localconfig reset from $ORACLE_HOME/bin.
Once you have the message "Oracle CSS service is installed and running under init" you can click "OK" at the warning screen.
4. Specify the password for the SYS user. (This is for ASM Instance).
5.
6.
7. I have missed few of the screens, you need to assign the Disk Group Name, assign the Volumes that we create before and select the redundancy. I created two Disk Group's.
+DATA/DB11G
CONTROLFILE/
DATAFILE/
ONLINELOG/
PARAMETERFILE/
TEMPFILE/
spfiledb11g.ora => +DATA/DB11G/PARAMETERFILE/spfile.280.674840503
And the second group RECOVERYDEST/ for FLASH recovery area.
8. Mount the Disks - Click Mount All

9. Mounting Disk Groups...10. Disks are mounted, Next we create database.
Please refer my next post
 
Copyright © 2005 - 2008 DBA-ONWeb Technical blog. All rights reserved