Windows Support Tools

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 2 July 2012

Removing an Automatic Storage Management Instance

Posted on 00:16 by Unknown
To remove an Automatic Storage Management (ASM) instance running in the Oracle home after the database has been removed, perform the following steps:
  1. At the Windows command prompt, set the ORACLE_SID environment variable to the SID for the Automatic Storage Management instance. For example:
    SYSTEM_DRIVE:\> set ORACLE_SID=+ASM

  2. Start SQL*Plus and connect to the Automatic Storage Management instance as the SYS user:
    SYSTEM_DRIVE:\> sqlplus sys/sys_password as sysdba

  3. Enter the following command to determine whether any Oracle database instances are using the Automatic Storage Management instance:
    SQL> SELECT INSTANCE_NAME FROM V$ASM_CLIENT;

    This command lists all of the database instances that are using this Automatic Storage Management instance. This command only lists database instances that are running. It is possible that other instances are associated with the Automatic Storage Management instance, but they are not currently running.
    If you removed a database from this Oracle home but the output from the command shows that this Automatic Storage Management instance is supporting a database instance in another Oracle home, do not remove the Automatic Storage Management instance or the Oracle home.
  4. If there are no database instances associated with this Automatic Storage Management instance, drop the disk group associated with this instance.
    Note:
    Dropping the Automatic Storage Management disk group makes the disk device available for use with another Automatic Storage Management instance, if required. However, all data in the disk group is lost. Make sure that no other database instance requires any data from this disk group before you drop it.
    1. Identify the disk groups associated with the Automatic Storage Management instance:
      SQL> SELECT NAME FROM V$ASM_DISKGROUP;

    2. For each disk group that you want to delete, enter a command similar to the following:
      SQL> DROP DISKGROUP disk_group_name INCLUDING CONTENTS;

  5. Shut down the Automatic Storage Management instance and exit SQL*Plus:
    SQL> SHUTDOWN
    SQL> EXIT

  6. At the command prompt, enter the following command to remove the Automatic Storage Management service:
    ORADIM -DELETE -ASMSID +ASM 
     
     
    Removing the Oracle Net Service Registry Key
    To remove only the Oracle Net Service registry entry (if it exists):
  7. Log in as a member of the Administrators group.
  8. Make sure that you have stopped Oracle services by following the instructions in the "Stopping Oracle Services" section.
  9. From a command prompt, enter the following command:
    SYSTEM_DRIVE:\> regedit

  10. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete the OracleHOME_NAMETNSListener registry entry. Oracle Universal Installer automatically deletes all other Oracle Net services.
  11. Exit the registry editor.
  12. Restart your computer.


    Removing All Oracle Registry Keys
    Caution:
    These instructions remove all Oracle components, services, and registry entries from your computer. Use extreme care when removing registry entries. Removing incorrect entries can break your system. Do not delete any database files under ORACLE_BASE\ORACLE_HOME\DB_NAME until you have completed these instructions.
    To remove all Oracle registry keys from a computer:
  13. Log in as a member of the Administrators group.
  14. Make sure that you have stopped Oracle services by following the instructions in the "Stopping Oracle Services" section.
  15. Start the registry editor at the command prompt:
    SYSTEM_DRIVE:\> regedit

  16. Go to HKEY_CLASSES_ROOT.
  17. Delete keys that begin with Ora, Oracle, Orcl, or EnumOra.
    This collection of keys includes those that begin with the following:
    • EnumOraHomes
    • OracleConfig
    • OracleDatabase
    • OracleHome
    • OracleInProcServer
    • OracleProcess
    • ORADC
    • ORAMMCCFG10
    • ORAMMCPMON10
    • OraOLEDB
    • OraPerfMon
    • ORCLMMC
    • ORCLSSO
  18. Go to HKEY_CURRENT_USER.
  19. Delete the ORACLE key.
  20. Go to HKEY_CURRENT_USER\Software.
  21. Delete all Oracle keys, including Oracle-HOME_NAME entries under: Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs.
  22. Go to HKEY_LOCAL_MACHINE\SOFTWARE and search for the ORACLE group key.
    Select ORACLE and note the value of the inst_loc key. This is the location of Oracle Universal Installer. The default location is c:\Program Files\Oracle\Inventory. If this value is different, make a note of it so that you can delete it later.
  23. Delete the ORACLE Group key.
  24. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC.
  25. Expand all the subkeys under ODBC and remove any Oracle-related ODBC driver keys, except for the Microsoft ODBC for Oracle key.
    For example, the ODBC\ODBCINST.INI directory lists keys for each Oracle home.
  26. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.
  27. Delete all keys under this branch that begin with Oracle or OraWeb.
  28. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Eventlog\Application.
  29. Delete all keys under this branch that begin with Oracle.
  30. Exit the registry editor.
  31. Restart your computer.

6.3.3.3 Updating the System Variable Path

Check the Path environmental variable and remove any Oracle entries.
  1. Open System from the Control Panel.
  2. In the System Properties dialog box, click the Advanced tab, then click the Environment Variables button.
  3. Select the system variable Path and edit the Path variable to remove any Oracle entries.
    For example, remove Oracle entries that contain ORACLE_BASE\ORACLE_HOME in the Path variable. You may see a Path variable that contains entries similar to the following:
    C:\oracle\products\10.2.0\db_1\bin;C:\oracle\products\10.2.0\db_1\jre\
    1.4.2\bin\client;C:\oracle\products\10.2.0\db_1\jre\1.4.2\bin

    If the JRE path was installed by Oracle, remove it.
  4. If there is a CLASSPATH variable that was set for Oracle, delete it.
  5. If there are any other Oracle variables set, remove them: ORACLE_HOME, ORACLE_SID, TNS_ADMIN, JSERV, or WV_GATEWAY_CFG.
  6. Save your changes and then exit the Control Panel.

6.3.3.4 Removing Oracle from the Start Menu

Check the Start menu for any Oracle entries and remove them.
Follow these steps:
  1. Select Start, then Programs, and then Oracle - HOME_NAME.
  2. Right-click Oracle - HOME_NAME, and from the menu, select Delete.
You can also remove Oracle menu entries by using the following method:
  1. Right-click the Start button to display the pop-up menu.
  2. Select the Explore All Users option.
  3. Under Documents and Settings, expand the \Start Menu\Programs folder.
  4. Right-click and delete the Oracle - HOME_NAME folder.

6.3.3.5 Removing Oracle Directories

After removing all Oracle registry keys and restarting the computer, delete any existing Oracle directories and files.
Use My Computer or Windows Explorer to delete the following directories:
  1. Delete the SYSTEM_DRIVE:\Program Files\Oracle directory.
  2. Delete all ORACLE_BASE directories on your hard drive.
  3. If Oracle Universal Installer was installed in a location other than the default, delete this directory.
  4. Remove any Oracle temporary directory files from SYSTEM_DRIVE:\Documents and Settings\user_name\Local Settings\Temp
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Receiving Error 'ORA-01041: internal error. hostdef extension doesn't exist.' on re-establishing a connection to Oracle.
    You can receive the error message 'Error ORA-01041: internal error. hostdef extension doesn't exist' when attempting to re-esta...
  • Google Sinks Cash into Undersea Cable
    Google has joined the Unity consortium, which will build a $300 million fiber optic cable linking the US and Japan. The 7.68 Tbps, 10,000 ki...
  • Troubleshooting the Microsoft Exchange Transport Service When It Fails to Start on an Exchange 2007 Hub Transport Server with Event ID 1032 or 1036
    Event ID: 1032 Socket Access Denied. Binding: 0.0.0.0:25. Event ID: 1036 Failed to open one or more bindings. The service will be stopped....
  • C Traps and Pitfalls (Addison Wesley, 1989, English)
    C Traps and Pitfalls teaches how the peculiarities of the C language make it easy for the intended behavior of a program and the actual beha...
  • SoftMaker Office 2008 Free Full Version Download With Genuine License Key
    SoftMaker Office 2008 is reliable office productivity software that is designed for beginners and professional users. SoftMaker Office Suite...
  • Amazon Takes the Humans Out of Fulfillment With New API
    keeps adding to its Web services. Today, it is opening up an API for its Fulfillment by Amazon service, which allows online merchants to out...
  • AP Microsoft backs Icahn's bid to oust Yahoo board
    SAN FRANCISCO - Microsoft Corp. threw its weight behind investor Carl Icahn's effort to dump Yahoo Inc.'s board, saying Monday that...
  • Suba Vesak Mangallayak Weewa !!!!
    Keep your heart free from hate your mind from worry, Live simply expect little, give much Fill your life with love forget self, think of ot...
  • How to Remove Dosearches.com homepage (Virus Removal Guide)
    Dosearches.com  is a browser hijacker, which is promoted via other free downloads, and once installed it will change your browser homepage t...
  • Alcohol 120% v5 Blu-ray Burner Free Download with Registration Unlock Code
    Alcohol 120% is a CD and DVD burning, copying, backup, recording, duplication, emulation and creation software for Windows. In addition to c...

Categories

  • ISA Firewall
  • ISA Server 2006
  • Quick Tips
  • Reports
  • Tips

Blog Archive

  • ►  2013 (7)
    • ►  October (6)
    • ►  February (1)
  • ▼  2012 (10)
    • ►  September (3)
    • ►  August (3)
    • ▼  July (3)
      • ORA-01991: invalid password file
      • Removing an Automatic Storage Management Instance
      • The value of the environment variable PATH is more...
    • ►  June (1)
  • ►  2011 (16)
    • ►  August (2)
    • ►  July (4)
    • ►  June (3)
    • ►  May (1)
    • ►  April (1)
    • ►  March (4)
    • ►  January (1)
  • ►  2010 (12)
    • ►  December (3)
    • ►  October (4)
    • ►  March (1)
    • ►  January (4)
  • ►  2009 (67)
    • ►  August (2)
    • ►  July (18)
    • ►  June (23)
    • ►  April (3)
    • ►  March (6)
    • ►  February (7)
    • ►  January (8)
  • ►  2008 (319)
    • ►  December (30)
    • ►  November (43)
    • ►  October (45)
    • ►  September (12)
    • ►  August (18)
    • ►  July (27)
    • ►  June (15)
    • ►  May (7)
    • ►  April (55)
    • ►  March (65)
    • ►  January (2)
  • ►  2007 (10)
    • ►  December (2)
    • ►  November (8)
Powered by Blogger.

About Me

Unknown
View my complete profile