DBAShell - Open Source project for Oracle DBA's
Ive been an Oracle DBA for quite some time (since 7.0.13) and a developer for many years. One of the things Ive always wished for was an easier way to set up environment variables for different Oracle Homes and a way to provide passwords to scripts without embedding them in plain-view.
About 3 years ago, I started a set of functions and scripts at my company that did exactly just that and provided many more functions for things like checking database status, running scripts quietly unless errors are detected, running actions in parallel (like fast shutdowns at once, or multiple analyzes), restarting databases in a guaranteed fashion, aliases to common folder locations, etc..
About a month ago, after putting all this time and effort into these scripts and using them in production all this time, I realized I wanted more out of the scripts like support for other databases and thought that it would be best if I gave it new life as an Open Source project.
So that is how http://sourceforge.net/projects/dbashell/ was started. Now its in a second release (DBAShell 0.85) that is more modular and would allow other people to easily add support for other OSs, other Shells, and other Databases.
Here is a description of the project from the latest news item:
DBAShell is a project based around Shell functions and scripts designed to make it easy for DBA's to use Databases in a command line environment. Currently supported is Oracle with ksh and bash on AIX, Solaris, Linux. The code base itself is 3 years old and has been in use in Production environments all of that time.
Features include:
* Automatic setting of all environment variables based on SID requested.
* Manage PATH's and other path like variables for each ORACLE_HOME needed.
* Run scripts with stored passwords (no more hard-coding of passwords!!)
* Automatically set SID based on Script location (makes it easier to share scripts between SID's)
* manage temporary script output and check for oracle errors in output
* check database status and versions from scripts
* stop/start databases in parallel (faster startup)
* compile all database objects
* analyze objects in parallel (Faster analyzes)
* set aliases and variables for common SID areas, etc..
* many helpful commands for common Oracle tasks
Over a thousand people have already downloaded the prior release and more are downloading every hour.
I'm seeking feedback from anybody that would be willing to take a look at the project, trying it out, give me any feedback you have on it, and perhaps even direct me to where I could best promote this project.
I wrote a tutorial that shows at a glance some of the more useful features of DBAShell:
http://sourceforge.net/docman/display_doc.php?docid=34041&group_id=170224
Main site:
http://sourceforge.net/projects/dbashell/
Documentation: http://sourceforge.net/docman/display_doc.php?docid=33704&group_id=170224
Download:
http://prdownloads.sourceforge.net/dbashell/dbashell-0.85.tar.gz?download
Always glad to have people thinking about the poor DBA's. Usually, the developers get most of the attention in open source.
Similar Messages
-
DBAShell - New Open Source Project for Oracle DBA's
I'd like to have this project included in the Open Source Oracle tools list at: http://www.oracle.com/technology/community/opensource_projects.html
I've been an Oracle DBA for quite some time (since 7.0.13) and a developer for many years. One of the things I've always wished for was an easier way to set up environment variables for different Oracle Homes and a way to provide passwords to scripts without embedding them in plain-view.
About 3 years ago, I started a set of functions and scripts at my company that did exactly just that and provided many more functions for things like checking database status, running scripts quietly unless errors are detected, running actions in parallel (like fast shutdowns at once, or multiple analyzes), restarting databases in a guaranteed fashion, aliases to common folder locations, etc..
About a month ago, after putting all this time and effort into these scripts and using them in production all this time, I realized I wanted more out of the scripts like support for other databases and thought that it would be best if I gave it new life as an Open Source project.
So that is how http://sourceforge.net/projects/dbashell/ was started. Now its in a second release (DBAShell 0.85) that is more modular and would allow other people to easily add support for other OSs, other Shells, and other Databases.
Here is a description of the project from the latest news item:
DBAShell is a project based around Shell functions and scripts designed to make it easy for DBA's to use Databases in a command line environment. Currently supported is Oracle with ksh and bash on AIX, Solaris, Linux. The code base itself is 3 years old and has been in use in Production environments all of that time.
Features include:
* Automatic setting of all environment variables based on SID requested.
* Manage PATH's and other path like variables for each ORACLE_HOME needed.
* Run scripts with stored passwords (no more hard-coding of passwords!!)
* Automatically set SID based on Script location (makes it easier to share scripts between SID's)
* manage temporary script output and check for oracle errors in output
* check database status and versions from scripts
* stop/start databases in parallel (faster startup)
* compile all database objects
* analyze objects in parallel (Faster analyzes)
* set aliases and variables for common SID areas, etc..
* many helpful commands for common Oracle tasks
Over a thousand people have already downloaded the prior release and more are downloading every hour.
I'm seeking feedback from anybody that would be willing to take a look at the project, trying it out, give me any feedback you have on it, and perhaps even direct me to where I could best promote this project.
I wrote a tutorial that shows at a glance some of the more useful features of DBAShell:
http://sourceforge.net/docman/display_doc.php?docid=34041&group_id=170224
Main site:
http://sourceforge.net/projects/dbashell/
Documentation: http://sourceforge.net/docman/display_doc.php?docid=33704&group_id=170224
Download:
http://prdownloads.sourceforge.net/dbashell/dbashell-0.85.tar.gz?downloadAlways glad to have people thinking about the poor DBA's. Usually, the developers get most of the attention in open source.
-
SQLpython in Open Source Projects for Oracle
I'd like to strongly reccommend SQLpython ( https://twiki.cern.ch/twiki/bin/view/PSSGroup/SqlPython ) be added to the Open Source Projects for Oracle page ( http://www.oracle.com/technology/community/opensource_projects.html ). It's an SQL command-line client whose chief strength is incredibly convenient extensibility / personalizability. I've reviewed it briefly at http://catherinedevlin.blogspot.com/2006/05/sqlpython-sql-client-of-your-very-own.html
Thanks very much!We have made this addition.
Cheers, OTN -
Open source projects for reading/wrting Excel, need your ideas
Hi all,
First of all, I am sorry that i didn't find the matched category under the listed forum topics.
I am evaluating some open source projects for processing(read/write) Excel files, so far i have found two: POI from apache and Java Excel API, however, i am wondering if there are any excellent projects that i missed, would anyone who have such experience please give me some ideas? Any better APIs?
Any helps are appreciated!
Thanks a lot,
thurmhi macrules2,
thanks for you reply!
I think POI is not 'excellent' in some areas, for example, i found POI sometimes cannot read Date format collectly, and cannot support some kinds of formula either. So we want another more 'excellent' java-excel components. -
Open Source Project Announcement...
I have started an open source project to build a module for
PHP4 that will allow direct calls to Tuxedo services from
the PHP script, the project name is php-tuxedo.
Think about it for a second... The ability from inside a
PHP web page to directly call already existing Tuxedo
services anywhere in your environment. Just like PHP can
open a database connection to Oracle or Sybase, it would
open a Tuxedo connection as a Tux client to a Tuxedo
middleware environment.
For those who have used PHP, you know how easy it is to
build dynamic web pages. But those pages are mostly limited
to database queries or flat file access for data. With this
project you could call all your existing enterprise Tuxedo
services directly. I believe this would be a very powerful
enhancement to PHP's capabilities.
To those familiar with Tuxedo, you know about how powerful
an implementation of Tux middleware services can be for
departmental and enterprise solutions.
I want to bring these two pieces together.
Project status. The project is in its early infancy, but
some parts are functional. I have successfully built a
client page that uses a STRING buffer to call a service with
tpcall and returns a STRING buffer back. Primitive? Sure,
but this is only the start. I have ideas of how to
implement many other functions and buffer types including
FMLs.
There is much work to do, but if you are interested please
check out http://php-tuxedo.sourceforge.net. There you can
download my first cut and more importantly follow the
project as it progresses. For the really ambitious I would
welcome any testing or development help on the project.
Please note I’m posting this note to several lists I don’t
normally monitor, so I may not see a reply on the list.
Hope to hear from you.
Brian Foddy
[email protected]Always glad to have people thinking about the poor DBA's. Usually, the developers get most of the attention in open source.
-
Working on Open Source Projects for N00b programmers
Hi,
I have heard the suggestion on the forum that working on open source projects_ is a good way to refine your programming skill.
I am learning Object Oriented Programming concepts in my Java class. I have found that I am not getting as much practical experience* as I feel I need to really cement the concepts in practice, and to cement the concepts in my brain. I read the book a lot, and I get a lot of the theory, and I can make sense of all the book's code examples, but I feel like I need to start doing hands on code manipulation and/or problem solving to make these things stick in my brain.
Finally, I am genuinely a n00b, so even though I get all the concepts of OOP on a high level, I only have done pedagogical exercises, not any real practical experience. So I am looking for Open Source projects who's code isn't super intricate and will be manageable to decipher, based on my limited experience.
Also, if the projects are on cool interesting things like Open Office or Audacity or Mozilla Firefox or Miscellaneous Widgets (the kinds of things we use in everyday computer use, I know this varies from person to person, but anyway...) or Scientific/Mathematical Simulations etc, all those sorts of things would be cool.
Thanks a bunchinfinitelyLooping wrote:
I like you. A lot.
NO xxxxBoy, that just makes me want to bend over backwards to help you. -
Open source tool for oracle to mysql migration
Hi,
Is there any open source tools available for the database migration from Oracle to MySQL.
Please advice.Hi,
This forum is for migrating to Oracle from non-Oracle databases. It would be better if you tried an Internet search or the MySQL forum -
http://forums.mysql.com/
for information about moving from Oracle to MySQL.
Regards,
Mike -
Open-source projects on Oracle
I had actually asked this question a while ago, but the answer from Oracle was a little vague.
Is it legal to use the downloadable versions of the Oracle database, AS, and other tools (such as JDeveloper) to author open-source software?
Thanks,
SeanA better way to say it would be
Oracle corporation delivers free kit of full oracle10g solution which include database,AS,DS and many other CD's with the free evaluation license. you can use these product only for evaluation of the product or for study purpose but you can not use them in production/development environment. for a production/development environment you must purchase a license according to given requirements. -
Open source projects based on Oracle technology
Hello:
Here's a project for the open source page at
Open Source Projects for Oracle:
http://www.oracle.com/technology/tech/opensource/projects.html
The open source (GPL) ValueObjects Framework for ADF is available for download. It is a JDeveloper 10g 10.1.2 extension for building SOAP-compliant DTOs over ADF Business Components.
http://www.sourceforge.net/projects/valueobjects
Quick intro at http://valueobjects.sf.net
Screenshots at http://valueobjects.sourceforge.net/screenshots/screenshots.html
Thanks,
- Zak
[email protected]Hi,
Jim is right.
There is no way of converting/upgrading a VI to the newer version of LabVIEW without its block diagram. Below are a couple of KBs that discuss this issue:
How Do I Recover My Block Diagram If I Saved My VI with Options and Selected Remove Diagrams?
What Does it Mean When I Receive the Message "LabVIEW load error code 11"?
Feroz -
Open Source project - request for interest
Hi,
I know this may not be the most appropriate place for this but I couldnt find anywhere else. The project is due to start up in early 2006. The technology is Java based and supports J2EE. It enables developers to work at a high level and generate apps very quickly and more complex functionality can be built using Java to address requirements.
I thought I would post this here for anyone interested in participating in a new Open Source project for a Java development tool.
I apologise in advance if anyone gets upset over this post - but I thought Java developers should be aware of the project.
Thanks.
Be in at the start of an exciting new Open Source initiative!
If you're a Java developer and you'd be interested in participating in the development of a new UK-based Open Source project then read on.
The project would seek to take an existing, powerful J2EE-based rapid web application development tool on to the next level. Sitting happily alongside other well-known open source names such as Red Hat, MySQL and JBoss, it enables the building and deploying of J2EE-based web applications in a fraction of the time that it would otherwise take to develop them. But the possibilities are only limited by your imagination.
So, if you're interested in contributing to the evolution of this project please email us at [email protected] with your contact details and we will be in touch with you.Thanks for the ponter, I will check it out.
hth,
Sean -
New Project for Oracle Open Source Projects Page
Another SQL*Plus clone but this one is written in pure java, feel free to add it to the Oracle Open Source Projects page:
SQL*More is a tool to execute commands against SQL databases in the same vein as SQL*Plus for Oracle. Key features are platform independence, database independence, a self-contained networking stack, a terminal friendly CLI implementation, and macro-like commands.
Thanks,
MarcHappy to, but we'll need your project URL.
Cheers, OTN -
EJB 3.0 in a real world open source project. Great for coding reference!
If you are interested in seeing EJB 3.0 implemented in a real world project (not just examples) or if you are interested in learning how to use them I suggest you to take a look a the open source project Overactive Logistics.
It has been written totally using EJB 3.0 (session and entity beans) I found it very helpful in solving several technical situations I was facing.
You can get more information at:
http://overactive.sourceforge.netThanks for the ponter, I will check it out.
hth,
Sean -
Invitation for Open Source Project
Hi,
I'm starting a open source project which involves web based Java, JBoss application server and JBoss Seam framework. I'm a student and I work on the project in my free time for training. Every one who want to take a part in this hobby project in his free time is invited.
Send me e-mail.
< email address removed by moderator >
Regards
Peter
Edited by: rukbat on Jul 19, 2011 6:17 AMModerator Advice:
These forums are intended for public user-to-user conversations that create an intellectual knowledgebase HERE, now somewhere else.
As such, your post happens to be off-topic for the entire forum web site.
I removed your email address to protect you from unscrupulous harvesters that would spem you forever.
This posting is also now locked. -
Open Source Project Announcement...
I have started an open source project to build a module for
PHP4 that will allow direct calls to Tuxedo services from
the PHP script, the project name is php-tuxedo.
Think about it for a second... The ability from inside a
PHP web page to directly call already existing Tuxedo
services anywhere in your environment. Just like PHP can
open a database connection to Oracle or Sybase, it would
open a Tuxedo connection as a Tux client to a Tuxedo
middleware environment.
For those who have used PHP, you know how easy it is to
build dynamic web pages. But those pages are mostly limited
to database queries or flat file access for data. With this
project you could call all your existing enterprise Tuxedo
services directly. I believe this would be a very powerful
enhancement to PHP's capabilities.
To those familiar with Tuxedo, you know about how powerful
an implementation of Tux middleware services can be for
departmental and enterprise solutions.
I want to bring these two pieces together.
Project status. The project is in its early infancy, but
some parts are functional. I have successfully built a
client page that uses a STRING buffer to call a service with
tpcall and returns a STRING buffer back. Primitive? Sure,
but this is only the start. I have ideas of how to
implement many other functions and buffer types including
FMLs.
There is much work to do, but if you are interested please
check out http://php-tuxedo.sourceforge.net. There you can
download my first cut and more importantly follow the
project as it progresses. For the really ambitious I would
welcome any testing or development help on the project.
Please note I’m posting this note to several lists I don’t
normally monitor, so I may not see a reply on the list.
Hope to hear from you.
Brian Foddy
[email protected]You probably are able to do this already through Prolifics' XMLink product
http://www.prolifics.com/do/xml.html.
-James
"Brian Foddy" <[email protected]> wrote in message
news:[email protected]...
>
Open Source Project Announcement...
I have started an open source project to build a module for
PHP4 that will allow direct calls to Tuxedo services from
the PHP script, the project name is php-tuxedo.
Think about it for a second... The ability from inside a
PHP web page to directly call already existing Tuxedo
services anywhere in your environment. Just like PHP can
open a database connection to Oracle or Sybase, it would
open a Tuxedo connection as a Tux client to a Tuxedo
middleware environment.
For those who have used PHP, you know how easy it is to
build dynamic web pages. But those pages are mostly limited
to database queries or flat file access for data. With this
project you could call all your existing enterprise Tuxedo
services directly. I believe this would be a very powerful
enhancement to PHP's capabilities.
To those familiar with Tuxedo, you know about how powerful
an implementation of Tux middleware services can be for
departmental and enterprise solutions.
I want to bring these two pieces together.
Project status. The project is in its early infancy, but
some parts are functional. I have successfully built a
client page that uses a STRING buffer to call a service with
tpcall and returns a STRING buffer back. Primitive? Sure,
but this is only the start. I have ideas of how to
implement many other functions and buffer types including
FMLs.
There is much work to do, but if you are interested please
check out http://php-tuxedo.sourceforge.net. There you can
download my first cut and more importantly follow the
project as it progresses. For the really ambitious I would
welcome any testing or development help on the project.
Please note I'm posting this note to several lists I don't
normally monitor, so I may not see a reply on the list.
Hope to hear from you.
Brian Foddy
[email protected] -
What's the Best Open Source DB for use with Kodo?
Hi everyone,
In terms of ease of setup and use, tools to view info in the database, and least difficulty in
running with Kodo, what is the best open source database to use? I'm use to using Oracle and
SQLPlus. I need to use an open source DB for a learning environment, and I'd like your informed
opinion.
Thanks,
David EzzioI have been using postgresql 7.1 with Kodo for a while with mostly positive results, and currently
have it deployed with Kodo 2.2.3. I prefer it to mysql because its feature set is a little richer,
and supports transactions natively. My experience with mysql (without jdo - I haven't tried it with)
is good, but there were little things missing in mysql 3.x, e.g. the ability do do a join in a
DELETE statement.
BTW, there are some severe problems somewhere in the 2.2.4 release with postgresql if you intend to
eventually deploy on it. It also apparently has some problems invoking postgresql's indices, making
it a little less than optimal. But as a learning environment, it's what I'd recommend.
-Mike
Marc Prud'hommeaux wrote:
David-
Here is the rundown of the databases I have experience with:
MySQL: Fairly simple to install (especially if you run Debian Linux), but
configuration, especially adding users, can be a pain. A separate open
source project called "mysql-navigator" makes it fairly easy to do
simple queries, inserts, etc. In most of my tests it outperforms
PostgreSQL, but your mileage will vary. It has a sane CLI that supports
modern features like line history, etc (unlike the horrific SQLPlus).
PostgreSQL: People often say that it is a more "academically
correct" database than MySQL. I've also found it to be quite a bit
easier to set up. Their GUI (called "pgaccess") is simplistic, but does
most things you need. Has a CLI similiar to MySQL's.
HypersonicSQL: By far the easiest to set up (just drop the jar in your
CLASSPATH), but is java only, can be rather slow, and has no GUI tools
available that I know of (except various free vanilla-JDBC GUI tools).
We feel that Kodo works quite well with all these DBs. The MySQL JDBC
driver seems a bit less buggy than Postgres', but their transaction
support is very recent and not very well tested. If I had to pick one or
the other, I would probably go with MySQL.
David Ezzio <[email protected]> wrote:
Hi everyone,
In terms of ease of setup and use, tools to view info in the database, and least difficulty in
running with Kodo, what is the best open source database to use? I'm use to using Oracle and
SQLPlus. I need to use an open source DB for a learning environment, and I'd like your informed
opinion.
Thanks,
David Ezzio--
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com
Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code--
Mike Bridge
Maybe you are looking for
-
For whatever reason, although I am logged-in to Adobe Forums, I cannot post a reply to a message that was posted in reply to my original message (which began the discussion). A blank white space, barely discernible, is displayed below the two lines
-
Working on Contribute3. Administrator is not on the list of users to send drafts for review. All other users appear fine. Site setup and Admin acct was created on an earlier version of Contribute. All other users were created in Contribute3. Is that
-
Can I use 3G on my iPad 3 in Vietnam?
I'm going to Vietnam in a few weeks for the first time and I want to bring an iPad 3 LTE version with AT&T to use the internet to facebook and email without bringing a laptop. Will I be able to take out my AT&T data sim and use a Vietnamese mobile co
-
150 MG per month for $15 is a SCAM!
I just got my LG Ally this week as my first smart phone. Tonight, I checked my usage tonight. It registered 38MG so far. All I've done is try to access a few web sites. Have not even set up e-mail yet. I have left it on during the day and it must hav
-
Number not change in excise invoice print
hi all, we have a problem with excise invoice print. previously invoice created with number 49, now new number get posted with 49 again. check in J1I9 for number range. it shows current number 49 means print out expected number was 50 but it prints 4