Solved

Collecting oracle server configuration

Posted on 2013-02-06
10
404 Views
Last Modified: 2013-03-22
Hi,
I need to collect as much information as I can for my oracle servers/databases.

The Oracle RDA will work well but I do not have access to download RDA. I can go thru Oracle CSI support but will take weeks to gain access.

Does anyone have list of SQL queries to collect same configuration information? I do have access to database and sudo access to server.

Thanks
0
Comment
Question by:crazywolf2010
  • 4
  • 4
  • 2
10 Comments
 
LVL 23

Expert Comment

by:David
Comment Utility
Wolf, what do you really want to accomplish, beyond accumulating a whole lot of impressive data?  The "... as much information as I can..." is vague.  You then turn around and say your goal is "some configuration information".  Well, what do you need that the init.ora file doesn't have?

We can hand over many, many queries, but not necessary to replicate what RDA does.

Secondly,   if your supervisor has authorized you to use Oracle Support, then this CSI "taking weeks" is halderdash.  One signs into MOS, using your existing Oracle SSO account or a newly created one.  A window or two later, you enter the authorized CSI number.  An email goes IMMEDIATELY to the DBA or DBAs who administer access.  Conceivably, your supervisor should have emailed the/those DBAs with a note of authorization.  Otherwise, the ONLY reason they have to take weeks and weeks is that someone is being dishonest -- or in rare circumstances, the staff pooled into a winning lottery ticket and they've all quit.
0
 

Author Comment

by:crazywolf2010
Comment Utility
Hi,
I am looking for rda like SQL collection of queries which will list database server build information to replicate at other site.

Thanks
0
 
LVL 23

Expert Comment

by:David
Comment Utility
Wolf, to replicate the database, all the relevant information is maintained in the database control file.  The DBA can dump the contents to an editable trace file, then cut and paste the CREATE DATABASE information into SQL on the new host.  This is explained in clear detail, one good source is http://oracleinstance.blogspot.com/2010/09/re-create-lost-controlfile.html.
0
 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
>>is maintained in the database control file

I would like to add that you would also need the spfile (or pfile) to get the parameters.

What additional information do you think you need that is not in those two locations?

I've never generated an RDA report so I'm not sure what all is in there.
0
 

Author Comment

by:crazywolf2010
Comment Utility
Hi,
I do not have access thru ssh or scp on server. I just have SQL client side access.

Thanks
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 76

Expert Comment

by:slightwv (䄆 Netminder)
Comment Utility
The suggestion was to have the DBA dump the controlfile.  The DBA should also be able to provide you with the spfile.

That said:
spfile contents can be found in v$parameter (look for isdefault='FALSE' for the ones set by the dba).

The datafiles and tempfiles can be selected from dba_data_files and dba_temp_files.

What else are you looking for?
0
 
LVL 23

Expert Comment

by:David
Comment Utility
Wolf, I am becoming confused, which frankly is not difficult.  Since you do not have the administrator access, can you explain for us why you need to have configuration data?  Better still, can you explain to your DBAs why he/she/they should provide this to you?
0
 

Accepted Solution

by:
crazywolf2010 earned 0 total points
Comment Utility
Hi
I finally have rda installed on the box thru ssh access. Took too long to get an access.
0
 
LVL 23

Expert Comment

by:David
Comment Utility
Good news, then.  I look forward to learning if this approach resolves your expectations.
0
 

Author Closing Comment

by:crazywolf2010
Comment Utility
No one supplied the info I needed
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now