Sat 04 July, 2009

One of the ways to migrate a database to ASM is to use the Rman “Backup as Copy” command to create a database copy into ASM storage and then switch the database to the copy.
This technique can be used, combined with incremental backups, to move even very large databases into ASM.
The first backup may take a long time, one or more incremental backups can be used to update the first backup and close the gap, until a downtime window is obtained to switch the database on filesystem to the backup on ASM.
This Lab can be downloaded here: Using RMAN To Migrate a Database Into ASM
Lab Topics:
Summary
Migrating a Database Into ASM
Backup Database Into ASM
Spfile Backup into ASM
Consistent database shutdown
Prepare Pfile for the ASM Database
Start the database in NOMOUNT mode
Change Parameters on Spfile to point to ASM
Move the controlfiles into ASM
Switch the Database from File System to ASM
Recover The Database
Migrate the Temporary Datafiles to ASM
Move Flashback logs into flash recovery Area
Move RMAN Change Tracking File Into ASM
Remove the File System Old Files
Remove the Old Spfile from Filesystem
Scripts
add to del.icio.us. look up in del.icio.us.
add to furl
One of the ways to migrate a database to ASM is to use the Rman “Backup as Copy” command to create a database copy into ASM storage and then switch the database to the copy.
This technique can be used, combined with incremental backups, to move even very large databases into ASM.
The first backup may take a long time, one or more incremental backups can be used to update the first backup and close the gap, until a downtime window is obtained to switch the database on filesystem to the backup on ASM.
This Lab can be downloaded here: Using RMAN To Migrate a Database Into ASM
Lab Topics:
Summary
Migrating a Database Into ASM
Backup Database Into ASM
Spfile Backup into ASM
Consistent database shutdown
Prepare Pfile for the ASM Database
Start the database in NOMOUNT mode
Change Parameters on Spfile to point to ASM
Move the controlfiles into ASM
Switch the Database from File System to ASM
Recover The Database
Migrate the Temporary Datafiles to ASM
Move Flashback logs into flash recovery Area
Move RMAN Change Tracking File Into ASM
Remove the File System Old Files
Remove the Old Spfile from Filesystem
Scripts
add to del.icio.us. look up in del.icio.us.
add to furl
The new Oracle Fusion Middleware 11g just got released a few days back, so time to play with it!
Oracle did a great job on the installation guide and quickstart again, so installation wasn’t a real hard job.
A short overview of the steps we need to follow
- Install Oracle Database (i used OracleXE)
- Create Schemas for Oracle SOA Suite and Oracle BAM by using Repository Creation Utility (RCU)
- Install Oracle WebLogic Server and Create the Middleware Home
- Installing Oracle SOA Suite
- Configuring Oracle SOA Suite
- Post-Installation Tasks
- Installing Oracle SOA Suite Design-Time Components
On the download page i downloaded the next components
- Oracle WebLogic Server
- SOA Suite
- Repository Creation Utility
This part will show us the included components but also the list of required additional software and optional software
Quiet some software to install before we can get started.
I assume you already have the db running so lets get on to the next step.
Create Schemas for Oracle SOA Suite and Oracle BAM by using Repository Creation Utility (RCU)
Unzip ofm_rcu_linux_11.1.1.1.0_disk1_1of1.zip and run ./rcu
I needed to change the next parameters in the db
- alter system set PROCESSES=500 scope=SPFILE;
- alter system set open_cursors=500 scope=SPFILE;
And the next parameters in the linux kernel (/etc/security/limits.conf)
# tbv oracle soa suite 11g oracle hard nofile 4096 oracle soft nofile 4096
And a list of missing/wrong version of system packages
Root Checking operating system certification Expected result: One of enterprise-4,enterprise-5,redhat-4,redhat-5,SuSE-10 Actual Result: redhat-5 Check complete. The overall result of this check is: Passed Checking recommended operating system packages Checking for gcc-4.1.0-28.4; Not found. Failed <<<< Checking for gcc-c++-4.1.0-28.4; Not found. Failed <<<< Checking for setarch-1.6-1; found setarch-2.0-1.1-i386. Passed Checking for sysstat-5.0.5-1; Not found. Failed <<<< Checking for libstdc++-4.1.0-28.4; found libstdc++-4.1.2-44.el5-i386. Passed Checking for libstdc++-devel-4.1.0-28.4; Not found. Failed <<<< Checking for compat-libstdc++-296-2.96-132.7.2; Not found. Failed <<<< Checking for compat-db-4.1.25-9; Not found. Failed <<<< Checking for control-center-2.8.0-12; found control-center-1:2.16.0-16.el5-i386. Passed Checking for glibc-common-2.3.4-2.9; found glibc-common-2.5-34-i386. Passed Checking for binutils-2.16.91.0.5-23.4; found binutils-2.17.50.0.6-9.el5-i386. Passed Checking for make-3.80-202.2; found make-1:3.81-3.el5-i386. Passed Check complete. The overall result of this check is: Failed <<<< Checking kernel parameters Checking for VERSION=2.6.18; found VERSION=2.6.18-128.1.16.el5. Passed Checking for hardnofiles=4096; hardnofiles=1024. Failed <<<< Checking for softnofiles=4096; softnofiles=1024. Failed <<<< Check complete. The overall result of this check is: Failed <<<< Checking Recommended glibc version Expected result: ATLEAST=2.5-12 Actual Result: 2.5-34 Check complete. The overall result of this check is: Passed Checking physical memory Expected result: 1024MB Actual Result: 1196MB Check complete. The overall result of this check is: Passed
Install all the correct packages (yum available/yum install), and ignore the other warnings during install.


Setup your own db instance


I selected just all the components







Install Oracle WebLogic Server and Create the Middleware Home
chmod the bin file and run ./oepe11_wls1031_linux32.bin
I had some ‘wrong class version exceptions’, so installed java6 update14.
Installing Oracle SOA Suite
Unzip ofm_soa_generic_11.1.1.1.0_disk1_1of1.zip and run ./runInstaller in Disk1
Configuring Oracle SOA Suite
Now we need to configure the soa suite installation with the Oracle Fusion Middleware Configuration Wizard.
Go to
<ORACLE_HOME>/common/bin
and run ./config.sh



Since i used 1 db for all the components, select al the components and config the same db settings














Most of the steps are just next, next and a few more next.
Post-Installation Tasks
Start both the AdminServer and the ManagedServers.
AdminServer
<SOASUITE_HOME>/user_projects/domains/domain_name/startWebLogic.sh
ManagedServers
<SOASUITE_HOME>/user_projects/domains/domain_name/bin/startManagedWebLogic.sh soa_server1 (default name) <SOASUITE_HOME>/user_projects/domains/domain_name/bin/startManagedWebLogic.sh bam_server1 (default name)
On startup it will prompt you for the username/password we used on during installation
Installing Oracle SOA Suite Design-Time Components
For development we will download Oracle JDeveloper 11g R1 (Build 5407).
To be able to create soa projects in it we need to update it with the Oracle SOA Suite Extension.
Go to Help > Check for Updates. Select ‘Oracle Fusion Middleware Products’ in the ‘Search Update Centers’, next and select ‘Oracle SOA Suite Composite Editor 11.1.1.0′.
New consoles (look-and-feel)
weblogic server 10.3.1 console

enterprise manager

Installation is done!
Just a few urls to check if everything went ok
administration server
http://host:admin_server_port (default installation : http://localhost:7001)
wls console
http://host:admin_server_port/console (default installation : http://localhost:7001/console)
enterprise manager
http://host:admin_server_port/em (default installation : http://localhost:7001/em)
Links
Oracle Fusion Middleware Documentation Library
Oracle Fusion Middleware Products Update Center
Oracle11g on CentOS-5, package requirements
Oracle® Fusion Middleware Quick Installation Guide for Oracle SOA Suite11g Release 1 (11.1.1)
Ready to create some nice new fusion apps!

add to del.icio.us. look up in del.icio.us.
add to furl
In the list of available tools, search for "Portal, Forms, Reports and Discoverer"
then relax, while downloading 2.1 GB and enjoy the new Oracle Forms 11g R1.
Available on Windows and Linux. Solaris, HP and IBM is "Coming soon"
Have fun
Gerd
add to del.icio.us. look up in del.icio.us.
add to furl
This post is the way of how to earn money by writing contents.
If you are Indian, have free time and decent English, you can make money writing articles for Ekikrat, which is an Indian squidoo like site but probably much better organized and with higher quality content. In fact, the site is more related to about.com and ehow. There are many web 2.0 user generated contents which are nothing but low quality spam, specially hubpages where lot of Indians hang out.
I have always felt that net lacked a site fully dedicated to India where you can find all information about India including how to and what is kind of type. There is yahoo answers and ibibo sawaal but they are not moderated and content is spread to thin. As far as sites are concerned, all of them are small and spammy with very little quality and value.
With a quick look at ekikrat, it looks that they have mainly focused on niches which Indians mostly search, education and bollywood. I can also see Indian railways related content on front page and looking at other recent added pages they are adding content in other verticals too.
I am not sure about how they screen writers and what is the payment structure, if I get time probably I will look into more detail of it. But looking at the current articles of the site, I don’t think writing content will be a problem, especially if you are Indian.
The only bad thing about the site which I can see is the content is not properly organized and the navigation is not good, so you need to either go through all articles or use search. I wish they provide a better home page too. Though I hope one of my team member can register to the site, as soon as he inform me more experience with you, I will update the post with more information and let you know more about it.
Related Documents
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
Today, on 3 July 2009, the European Commission adopted a White Paper on 'Modernising ICT Standardisation in the EU', with the lovely name COM(2009) 324 final, outlining the thrust of a forthcoming legislative reform. In essence, it paves the way for the recognition of standards from fora/consortia like W3C, OASIS, and IETF alongside European Standardisation Organizations (ESOs) and international standard setting organisations (ISO, ITU, IEC).
Standardization is a major driver of competitiveness. ICT represents one of the key industrial sectors of the 21st century, and standardization reform will significantly impact EU growth. Importantly, the Commission underlines the importance of global open standards as well as important Intellectual Property Rights (IPR) concerns like transparency through mandatory ex ante declaration of licensing terms and royalty free licensing where needed to enhance software interoperability. The fact that the issues contained within is White Paper already have been discussed among key European stakeholders (governments, industry, SMEs, consumer organizations, etc.), means there is solid backing behind its main conclusions, as well as in the implied way forward. The Commission is now set to launch major legislative reform of European ICT Standardisation in the beginning of 2010, revising the outdated Council Decision 87/95.
Highlights in the White Paper include:
A strong emphasis on openness and transparency:
While industry can use any standards, public authorities have a strong preference for, or even an obligation to use standards resulting from open, transparent and inclusive processes.
Openness: The standardisation development process occurs within a non-profit making organisation on the basis of open decision making accessible to all interested parties. The open standardisation process is driven by the relevant stakeholder categories and reflects user requirements.
Declaration ex-ante of the most restrictive licensing terms, possibly including the (maximum) royalty rates before adoption of a standard, may be a means of improving the effectiveness of (F)RAND licensing since this can allow for competition on both technology and price.
Standards based procurement is encouraged:
The Commission suggests clarifying that when they are defined within the context of ICT strategies, architectures and interoperability frameworks, the implementation of standardised interfaces can be made a requirement in public procurement procedures, provided the principles of openness, fairness, objectivity and non-discrimination and the public procurement directives are applied.
A clear path for recognizing fora and consortia:
The Commission suggests promoting better cooperation between fora and consortia and ESOs on the basis of a process which would lead to standards issued by the ESOs.
public authorities should have the possibility, provided the right conditions are fulfilled, to depart from the general rule of referencing formal ESO standards. To that end the Commission could put in place a suitable procedure to enable the referencing of specific fora and consortia standards in legislation and policies.
The Commission suggests the establishment of a permanent, multistakeholder, ICT standardisation policy platform (with a wider membership than the Member State SOGITS Committee previously established by Council Decision 87/95/EEC) to advise the Commission on all matters related to the European ICT standardisation policy and its effective implementation.
The Commission has opened a public consultation on the ICT Standardization Reform White Paper on the Your Europe portal, open until 15 September 2009. Despite the fact there is wide agreement in the European and global ICT industry about the importance of recognizing standards from fora/consortia, there are a few thorny issues that are likely to cause debate in the months to come. Expect some debate on the fine print surrounding IPR, the standardization needs of European software industry, and on the precise way to organize stakeholder input—and pressure from industry to finally get the legislative reform underway.
Summing up, mandatory ex ante disclosure, royalty free licensing for technologies included in standards that are essential for software interoperability, and full recognition of fora/consortia standards and specifications in EU policy and legislation is now a real possibility. Moreover, this approach is fully endorsed by the Commission.
While one would wish for EU standardization reform to go even further, calling for a more radical rewriting of the European system of regional and national standardization—taking into account global realities and the need for wide availability of open standards, what we have to look forward to in the near future is already a lot better than the current regime. Fear, uncertainty, and doubt about certain, smaller aspects of this reform should not overshadow the great accomplishment this White Paper represents. While there is still time to debate the fine print, the sign-off has been made.
With the White Paper as the foundation, an exciting legislative agenda is building up for 2010. Expect higher innovation in all sectors that deploy ICT standards in the time to come, and watch the efficiency of public sector ICT investments increase as open standards based openness takes a stronger hold on bureaucrats, programmers, consumers, and politicians alike. EU standardization reform is underway.
add to del.icio.us. look up in del.icio.us.
add to furl
Today, on 3 July 2009, the European Commission adopted a White Paper on 'Modernising ICT Standardisation in the EU', with the lovely name COM(2009) 324 final, outlining the thrust of a forthcoming legislative reform. In essence, it paves the way for the recognition of standards from fora/consortia like W3C, OASIS, and IETF alongside European Standardisation Organizations (ESOs) and international standard setting organisations (ISO, ITU, IEC).
Standardization is a major driver of competitiveness. ICT represents one of the key industrial sectors of the 21st century, and standardization reform will significantly impact EU growth. Importantly, the Commission underlines the importance of global open standards as well as important Intellectual Property Rights (IPR) concerns like transparency through mandatory ex ante declaration of licensing terms and royalty free licensing where needed to enhance software interoperability. The fact that the issues contained within is White Paper already have been discussed among key European stakeholders (governments, industry, SMEs, consumer organizations, etc.), means there is solid backing behind its main conclusions, as well as in the implied way forward. The Commission is now set to launch major legislative reform of European ICT Standardisation in the beginning of 2010, revising the outdated Council Decision 87/95.
Highlights in the White Paper include:
A strong emphasis on openness and transparency:
While industry can use any standards, public authorities have a strong preference for, or even an obligation to use standards resulting from open, transparent and inclusive processes.
Openness: The standardisation development process occurs within a non-profit making organisation on the basis of open decision making accessible to all interested parties. The open standardisation process is driven by the relevant stakeholder categories and reflects user requirements.
Declaration ex-ante of the most restrictive licensing terms, possibly including the (maximum) royalty rates before adoption of a standard, may be a means of improving the effectiveness of (F)RAND licensing since this can allow for competition on both technology and price.
Standards based procurement is encouraged:
The Commission suggests clarifying that when they are defined within the context of ICT strategies, architectures and interoperability frameworks, the implementation of standardised interfaces can be made a requirement in public procurement procedures, provided the principles of openness, fairness, objectivity and non-discrimination and the public procurement directives are applied.
A clear path for recognizing fora and consortia:
The Commission suggests promoting better cooperation between fora and consortia and ESOs on the basis of a process which would lead to standards issued by the ESOs.
public authorities should have the possibility, provided the right conditions are fulfilled, to depart from the general rule of referencing formal ESO standards. To that end the Commission could put in place a suitable procedure to enable the referencing of specific fora and consortia standards in legislation and policies.
The Commission suggests the establishment of a permanent, multistakeholder, ICT standardisation policy platform (with a wider membership than the Member State SOGITS Committee previously established by Council Decision 87/95/EEC) to advise the Commission on all matters related to the European ICT standardisation policy and its effective implementation.
The Commission has opened a public consultation on the ICT Standardization Reform White Paper on the Your Europe portal, open until 15 September 2009. Despite the fact there is wide agreement in the European and global ICT industry about the importance of recognizing standards from fora/consortia, there are a few thorny issues that are likely to cause debate in the months to come. Expect some debate on the fine print surrounding IPR, the standardization needs of European software industry, and on the precise way to organize stakeholder input—and pressure from industry to finally get the legislative reform underway.
Summing up, mandatory ex ante disclosure, royalty free licensing for technologies included in standards that are essential for software interoperability, and full recognition of fora/consortia standards and specifications in EU policy and legislation is now a real possibility. Moreover, this approach is fully endorsed by the Commission.
While one would wish for EU standardization reform to go even further, calling for a more radical rewriting of the European system of regional and national standardization—taking into account global realities and the need for wide availability of open standards, what we have to look forward to in the near future is already a lot better than the current regime. Fear, uncertainty, and doubt about certain, smaller aspects of this reform should not overshadow the great accomplishment this White Paper represents. While there is still time to debate the fine print, the sign-off has been made.
With the White Paper as the foundation, an exciting legislative agenda is building up for 2010. Expect higher innovation in all sectors that deploy ICT standards in the time to come, and watch the efficiency of public sector ICT investments increase as open standards based openness takes a stronger hold on bureaucrats, programmers, consumers, and politicians alike. EU standardization reform is underway.
add to del.icio.us. look up in del.icio.us.
add to furl
I saw a post in the OTN forum that asked a simple question and had no simple example as an answer, so I thought it would be nice to provide one. Basically, somebody wanted to know how to call into a stored procedure and return a value with more or less one pass-by-value and another pass-by-reference variable.
This defines a simple echo procedure, which takes a message and returns a formatted message:
1 2 3 4 5 6 7 | CREATE OR REPLACE PROCEDURE echo ( message IN VARCHAR2 , reply OUT VARCHAR2 ) IS BEGIN reply := 'Message ['||message||'] received.'; END; / |
The following PHP calls the procedure and returns the value. It uses the required connection syntax for the Zend Server Community Edition.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | <?php // Attempt to connect to your database. $c = @oci_connect("student", "student", "localhost/xe"); if (!$c) { print "Sorry! The connection to the database failed. Please try again later."; die(); } else { // Initialize incoming message whether or not parameter sent. $msg_in = (isset($_GET['msg'])) ? $_GET['msg'] : "Cat got your keyboard?"; // Set the call statement, like a SQL statement. $sql = "BEGIN echo(:a,:b); END;"; // Prepare the statement and bind the two strings. $stmt = oci_parse($c,$sql); // Bind local variables into PHP statement, you need to size OUT only variables. oci_bind_by_name($stmt, ":a", $msg_in); oci_bind_by_name($stmt, ":b", $msg_out, 80, SQLT_CHR); // Execute it and print success or failure message. if (oci_execute($stmt)) { print $msg_out; } else { print "Sorry, I can't do that Dave..."; } // Free resources. oci_free_statement($stmt); oci_close($c); } ?> |
You can then test it with or without a parameter, like this example with a parameter:
http://localhost/message_reply.php?msg="Sample message"
I put a link in the forum to this, and I hope it helps a few folks.
add to del.icio.us. look up in del.icio.us.
add to furl
I like to present a list of oracle forums in the Internet that I am aware of. Note that all these forums may not be good.
1)Arju On IT Oracle Forum: I am the owner of the forum. I take regular participation over there and like to answer every unanswered post. Along with oracle it also contains Unix, Windows, Shell script, Hardware, Software, even Web developing section. I recommend you to join my forum and share your ideas with people. Here is the link of my Oracle Forum.
2)Oracle Forum: The official oracle forum is http://forums.oracle.com. You can find there all about oracle products which you don't have interest. Becuase you might not have interest on Oracle Business Intelligence product. In pick time you may got many people there, but in offpick time you may need to wait for a answer.
3)Orafaq Forum: Orafaq forum. The forum that I passed most of the time. Link is http://orafaq.com/forum. Also windows, unix section are there. Michael Cadot is a regular contributor there.
4)Club Oracle Forum: The forum that I participate sometimes. The link is http://club-oracle.com.
5)Oracle DBA forum: A forum of Burleson. There are many critics of him. Here is his forum link http://dbaforums.org/oracle/index.php.
6)Tech Tips forum: I have a little idea about the forum. Here is their link http://www.tek-tips.com/threadminder.cfm?pid=1177.
There may have thousands of oracle forum in the Internet. But I see most of them just exist for few days because I don't see regular contribution of people. If I am missing any oracle forum that you see useful then please add the forum with as a comment section.
Related Documents
add to del.icio.us. look up in del.icio.us.
add to furl
add to del.icio.us. look up in del.icio.us.
add to furl
















