[Oracle] ora2html--Gather Oracle Database information

Source: Internet
Author: User
Tags dba html page oracle database linux
oracle| Data | database

Finishing: Fenng
Date: 25-oct-2004
Source: Http://www.dbanotes.net
Version: 0.91

Sometimes, as a DBA, you may need to collect the deployed Oracle database information. Hardware configuration, operating system conditions, software installation path, database user information ... One thing is enough to get a headache. It would be much easier if there were tools to automatically collect them for us. Ora2html is such a handy gadget.
ora2html Introduction
Ora2html (from http://ora2html.sourceforge.net/) is a tool dedicated to collecting Oracle database information on UNIX-like platforms and outputting reports. The tool's main program is a shell (korn/bash) script that can be used on most unis and Linux platforms. Using ora2html requires an Oracle environment that is available. Although the previous version of 8i support is not good, but still can be used on 8i, 10g is a similar situation. Run well above the 8i/9i.

Currently fully supported platforms:
Solaris 2.7/2.8 Tru64 4.x/5.x HP-UX Linux Other platforms should also be available, but no one seems to have confirmed this.

Characteristics of ora2html:
Can be exported as text, partial HTML or all HTML format automatically detects installed software, including configuration information and version information automatic probing database provides background information and related recommendations provide the operating system hardware/kernel/user information display database configuration file and basic instance information display database planning Display database performance instructions give database basic security problems display database object information, such as directories, JOBS, snapshots, etc. ... The same can be used with unsightly HTML code on RAC:( The optional output content is easy to use Open Source. Introduction to the distribution using the GNU Copyright
Orahtml is very simple to use, refer to the following action log:

[Root@foo root]# Su-oracle[oracle@foo Oracle] $wget http://optusnet.dl.sourceforge.net/ourceforge/ora2html/ora2html _v1-45.tar.gz[oracle@foo Oracle] $tar-zxvf ora2html_v1-45.tar.gz[oracle@foo oracle]mv ora2html_v1-45 ora2html[ Oracle@foo oracle]cd ora2html[oracle@foo ora2html]$ ls-ltrtotal 228-rw-r--r--1 Oracle Oracle 564 OCT 20:24 TODO-rw-r- -r--1 Oracle Oracle 7916 Oct 20:24 readme-rw-r--r--1 Oracle Oracle 3630 Oct 20:24 password_list.sql-rw-r--r--1 or Acle Oracle 17979 Oct 20:24 copying-rw-r--r--1 Oracle Oracle 13352 Oct 17:08 CHANGELOG-RWX------1 Oracle Oracle 15 4131 Oct 17:14 ora2html
Basic usage:
./ora2html #默认选项, output is an HTML report./ora2html-text #文本输出到屏幕上 (Text output to screen)./ora2html-nohtab #HTML文件, no HTML formatted table./ Ora2html-sid foo #收集指定SID的信息./ora2html-home all-nosid #收集所有安装软件的信息, but does not include information about the database
The default report is very detailed and the entire page (if you choose to output HTML) is divided into four main sections
1-basic system/platform information# Basic System/Platform information 2-os User Configuration and environment# operating system users and environment variables 3-oracle software and components#oracle software and Components 4-database foo (/u01/app/oracle/product/9.2.0) #实例信息
In the report, there are problems with red fonts, such as "lazy" users (passwords are too simple or users with the default password), and so on.

Other issues
Ora2html is still in the process of development, has the potential to become a very convenient database information collection tool (the last update is actually Oct 22 2004, developers YCL still very diligent:-)). The problem now is that CSS does not have full and HTML page stripping (as the author is aware); Platform support is not broad enough; there is no support for XML.

Reference information
ora2html-http://ora2html.sourceforge.net/

The writer Fenng, a US-funded corporate DBA, who spends his spare time in various database-related technical forums and enjoys it. The current focus is on how to effectively build enterprise applications using Oracle databases. There is a little research on Oracle tuning and troubleshooting.
Personal technology site: http://www.dbanotes.net/. You can contact him via email dbanotes@gmail.com. Original source http://www.dbanotes.net/OpenSource/Ora2html.htm

Back Page
All articles (by fenng) are licensed under a Creative Commons.
I would welcome any feedback. Please send questions, comments or corrections to dbanotes@gmail.com

Related Article

Contact Us

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

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

A Free Trial That Lets You Build Big!

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

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

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