Adding Oracle ASM disk group - oracle

I am attempting to install an Automatic Storage Management instance on an Oracle 10g install on Windows Vista. I have tried using manual ASM addition via asmtoolg and also via the interactive DBCA gui. I have created and stamped 4 2GB partitions, but ASM will not recognize these and allow me to create a disk group. I'm stuck and cannot move forward with the install.

This would be placed on server Fault as this is not really a programming question. That said, are your partitions set up as basic discs as i believe that dynamic ones are not supported.

On linux, Check your rc.local file
add a chown statement so the oracle user has ownership of the disks.
add a chmod statment so the access is 660 (I think this the correct value)
If the oracle user doesn't have access to the drives it won't display them.

Related

Installing Oracle Database (Real Application Cluster) on Windows 10. Confused about Oracle Grid Infrastructure and X Windows requirements

I'm learning Oracle & SQL and I'm doing a project. I'd like it if someone could check the conclusion I've come to as a result of my research and tell me if I'm doing this right.
TL;DR question: i'm using Windows 10 and i want to build a (small) database on someone else's computer that I can access remotely. Do i need to install Linux in order to do this?
My goal: to set up a database on a computer that multiple people (like 3 max including me) can access. I would access it from a different computer that it's installed on.
My reading of the Oracle documentation has lead me to think that I need to do the following steps:
DL Oracle using the Real Application Cluster installation rather than the single instance installation. This is because I want to be able to access the database remotely and possibly use it while another user is using it.
To click that setting, I need to install the Oracle Grid Infrastructure. In order to do that I need to configure the user's environment (source: https://docs.oracle.com/cd/E18248_01/doc/install.112/e16763/pre_install.htm#BABIBGFA) and in order to do that i need X Windows. To use X Windows on my Windows 10 system i need to install X Server.
Am i understanding this right? Why can't Oracle run on Windows?
Uh, I'm certainly not a DBA (perhaps you'd rather ask this question on SE for DBA), but - I think you overcomplicated it.
In my opinion, you don't need anything of what you mentioned. Not a single thing. No RAC / Grid Infrastructure / Linux / X Server. That's just a HUGE overkill.
Any Oracle database would do, even Express Edition (XE) which has the smallest footprint and would serve your needs. Documentation describes how to share your database with other people on the network, but - this short walkthrough will give you idea of what you should be paying attention to.

How to create system recovery partition from Windows 10

I am writing a program for Microsoft refurbishers, and I would like to include a feature for creating a system recovery partition once all the necessary drivers are installed. The problem that I am running into is that it won't let me create the .wim file while the disk is mounted. When I try it gives me the error "The process cannot access the file because it is being used by another process". I have seen guides that say to boot to a windows installer, but that seems inefficient. Is it possible to create a backup of a running machine without booting to another drive? Any help is appreciated.
This can be done by creating a shadow copy of the drive. A free project using this approach was presented by the german c't magazine as a command script.
The project can be found and the scripts downloaded here:
c't WIMage.
Unfortunately this page is in german, but the script files may show you how it works.

System DSN is not working in Remote Desktop Server(RDS) for all users

I am running a VB 6 application for a report. It prints well in local with System DSN. But when i put the .exe of the application in RDS , report is not printing for System DSN rather its printing for User DSN. For System DSN its showing- "Cannot open SQL server".
My Efforts-
1.
http://social.technet.microsoft.com/Forums/windowsserver/en-US/bb2ced17-9dd3-40e4-b5b6-dd773ee7001c/system-dsn-on-rds-server
I tried with creating a 32 bit DSN using [WindowsDir]\SysWOW64\odbcad32.exe, but wont work out for me.
2.http://www.tek-tips.com/viewthread.cfm?qid=341776 I tried to change the permission of the System DSN as logged in as Administer and to give full permission for the user using regedt32. But still the same error as "Cannot open SQL server".
But as soon i create User DSN, it works fine. Please help.
If this problem is due to "stale" incorrect virtualized System DSNs that have been created for one or more users then changing the real System DSN won't matter. Programs that run in legacy mode for these users will keep seeing their virtualized copies.
System DSNs are stored under:
HKEY_LOCAL_MACHINE\Software\Odbc\Odbc.ini\Odbc Data sources
... but virtualized entries end up under:
'HKEY_USERS\<User SID>_Classes\VirtualStore\Machine\Software\Odbc\Odbc.ini\Odbc Data sources
... according to Registry Virtualization.
So to clean the virtualized registry entries out (delete them) to unmask the real DSN could be a lot of registry fiddling. You might do this most easily by creating a script or small program that gets run once under each corrupted user ID.
Or just reformat the boot drive and reinstall Windows!
This is without even going into possible issues around WOW64 registry redirection, a different though similar problem. Why not just stop using creaky old clumsy ODBC? Are you really using it on purpose?
The ultimate fix (after cleaning up the machine) is probably:
Stop using DSNs at all. They've been deprecated for a long time which is why we have DSN-less connection strings. These are easy and safe to store in places such as INI files when hard-coded connections are not practical. We've also had UDL files for ages now.
Deal with the appcompat issues in your programs and then add manifests to them so that they run in "UAC aware" mode instead of legacy mode. This prevents such confusing and hard to fix mishaps.

RCU Installation issues

I am trying to install Obiee11g on my windows machine. While running through various tutorials in the web, many of them have suggested to use RCU to create MDS and BIplatform.
However when I downloaded RCU and extracted the same. While I am running the rcu.bat in the running directory, it is just opening my OBIEE_HOME folder. I am not able to see the RCU window.
Please Help!
Cheers,
Dwarak
Create a folder named OBIEE in the drive where you are trying to install OBIEE !!
In the absence of specific error information, I will provide you some generic instructions on how to run the RCU.
Make sure your machine is compliant. I prefer Linux but for Windows, I would use x86-64 2003 / 2008 Windows server.
Open a command shell
Execute rcu.bat
Follow the prompts
Record the error and upload that for further assistance.
Some of the most common errors are:
Lack of disk space.
Low RAM
Avoid running Oracle DB on the same machine where you are running OBIEE, for performance reasons.
Unzip the RCU shiphome in a folder without spaces
Cleanup your PATH variable which might be pointing to older BI installations
%TMP% and %TEMP% paths should not have spaces either.
Do not set ORACLE_HOME
Do not set JAVA_HOME
Properly de-install previous products
You cannot have a space in the directory where the RCU is installed.

Export oracle database to another server

How can i migrate oracle database from one server to another along with data?
Database is on Window server and i need to copy it to another window server. Nothing complex :)
The easiest option from an administrative perspective would be to do a full export and import. The Data Pump versions of the export and import utilities will be more efficient than the classic version. The dump file that is generated can be imported into a later version of Oracle on any platform.
The downside of using export and import, however, is that it takes a while. You have to read all the data out of the database to the file system and write it all back into the new database. If you don't want to lose data, that means a potentially hefty downtime.
If you don't have the downtime window to do a full export and import, you could restore your last backup to the new machine if you want to run exactly the same version of Oracle on the same operating system. You can also use cross-platform transportable tablespaces.
dbmantain, liquibase strike to my mind. Also follow this SO posts
What kind of database refactoring tools are there?
Database Migration
There's several aspects to consider.
Do the source and destination machines share the same endianess. If they are both x86 based, then the answer would be yes.
Do they share the same OS ?
Do they share storage ?
Are they on the same network ?
Does the destination machine already have Oracle installed ?
Is it the same version/release of Oracle ?
Is it the same Edition of Oracle ?
What is the data volume ? What downtime are you allowed ?
In the easiest scenario (same OS/endianess/shared storage/Oracle release/Oracle edition) then you should be able to simply shut down the instance on the old machine and start up one on the new machine
In the most complex (different endianess/no shared storage or network/different Oracle release and edition) then an import/export is probably the only practical solution.

Resources