Remove Oracle OID/SSO Installation Component
Whenever you need to re-install the OID/SSO from the $ORACLE_HOME, it is recommended that you run the Oracle Universal Installer and remove the component.
When you needs to remove the whole installation of $ORACLE_HOME then you need to perform the deconfiguration of the OID/SSO.
Besides running the deinstall product option, you need to run the deconfig.pl for the deconfiguration.
You will be prompted to run the deconfig.pl during the removal of $ORACLE_HOME installation.
Oracle OID/SSO Deconfiguration Steps
$ORACLE_HOME/perl/bin/perl deconfig.pl -u cn=orcladmin -w -dbp Example: $ $ORACLE_HOME/perl/bin/perl deconfig.pl -u cn=orcladmin -w password -dbp password InstallType=Infrastructure_ID MODOSSO=oracle.ias.configtool.configimpl.SsoConfig$0 /oracle/oid/10.1.4/oid/jdk/bin/java -classpath /oracle/oid/10.1.4/oid/jlib/DeconfigWrapper.jar: /oracle/oid/10.1.4/oid/jlib/ldapjclnt10.jar:/oracle/oid/10.1.4/oid/jlib/ojmisc.jar: /oracle/oid/10.1.4/oid/opmn/lib/optic.jar:/oracle/oid/10.1.4/oid/dcm/lib/dcm.jar: /oracle/oid/10.1.4/oid/config/Queries.jar: /oracle/oid/10.1.4/oid/jdk/jre/lib/ext/sslqueries.jar oracle.ias.deconfigtool.DeconfigWrapper -o /oracle/oid/10.1.4/oid -osso true -u cn=orcladmin -w password -dbp password modosso is configured in this home. Property file = /oracle/oid/10.1.4/oid/config/ias.properties Install Type =Infrastructure_ID Wireless Config=false Portal Config=false Personalization Config=false Forms Config=false Reports Config=false Discoverer Config=false SSO Config=true DAS Config=true DIP Config=true OCA Config=false OID Config=true OID Host =oracle.sso.oid.com SSL Only =false OID SSL Port =3160 OID Port =3060 Infrastructure Database Common Name =ORAOIDI OID validation - check 1 ..., oid user = cn=orcladmin OID validation - check 2 ... dn = orclReferenceName=ORAOIDI,cn=IAS Infrastructure Databases, cn=IAS, cn=Products, cn=OracleContext attArr1[0] = cn=ORAOIDI,cn=OracleContext OID validation - check 3 ... OID validation - check 4 ... Connect String of OID database = (DESCRIPTION=(ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=oracle.sso.oid.com) (PORT=1525)))(CONNECT_DATA=(SERVICE_NAME=oraoidi))) userDN = cn=orcladmin OPMN is alive OPMN is running in this ORACLE_HOME, please stop OC4J, dcm-daemon and HTTP_Server processes before proceeding. Do you want this tool to stop these processes (yes/no)? yes Launched Command to stop oc4j_security: /oracle/oid/10.1.4/oid/opmn/bin/opmnctl stopproc ias-component=OC4J opmnctl: stopping opmn managed processes... Result code for stopping oc4j_security: 0 Launched Command to stop dcm-daemon: /oracle/oid/10.1.4/oid/opmn/bin/opmnctl stopproc ias-component=dcm-daemon opmnctl: stopping opmn managed processes... Result code for stopping dcm-daemon: 150 Launched Command to stop HTTP_Server: /oracle/oid/10.1.4/oid/opmn/bin/opmnctl stopproc ias-component=HTTP_Server opmnctl: stopping opmn managed processes... Result code for stopping HTTP_Server: 0 Launched Command to stop EM: /oracle/oid/10.1.4/oid/bin/emctl stop iasconsole Oracle Enterprise Manager 10g Application Server Control Release 10.1.4.3.0 Copyright (c) 1996, 2006 Oracle Corporation. All rights reserved. http://oracle.sso.oid.com:1810/emd/console/aboutApplication Stopping Oracle Enterprise Manager 10g Application Server Control ... ... Stopped. Result code for stopping EM: 0 Output of getInfrastructureDatabases()... DBlist# 0- oracle.sso.oid.com:1525:oraoidi:oraoidi Infra db oraoidi matched... Checking if Oracle Internet Directory Username is superuser.... 1 0 Oracle Internet Directory Username is superuser. OID host = oracle.sso.oid.com, OID port = 3060, OID user = cn=orcladmin, OID password = ****** Starting deconfiguration... Finished reading the deconfig data Launched Deconfiguration Command: /oracle/oid/10.1.4/oid/bin/oidca -silent mode=DAS oidhost=oracle.sso.oid.com sslport=3160 sudn="cn=orcladmin" supwd=0587a8f8cae17348da4ad4fb12d67c65655d91b5054c2261b6 -deconfig -crypto Delegated Administration Service De-Configuration completed successfully. Result code for Deconfiguration Command: 0 Launched Deconfiguration Command: /oracle/oid/10.1.4/oid/bin/oidca -silent mode=DIP oidhost=oracle.sso.oid.com sslport=3160 sudn="cn=orcladmin" supwd=0587a8f8cae17348da4ad4fb12d67c65655d91b5054c2261b6 gdbname=oraoidi -deconfig -crypto De-Registering DIP. De-Registration Successful. Directory Integration Platform De-Configuration completed successfully. Result code for Deconfiguration Command: 0 This instance doesn't belong to cluster. This instance is either the last node in the cluster or doesn't belong to cluster. Launched Deconfiguration Command: /oracle/oid/10.1.4/oid/jdk/bin/java -jar /oracle/oid/10.1.4/oid/jlib/infratool.jar de -f /oracle/oid/10.1.4/oid/deconfig/deconfig_modosso.properties -o /oracle/oid/10.1.4/oid -u "cn=orcladmin" -obf 0587a8f8cae17348da4ad4fb12d67c65655d91b5054c2261b6 command line: /oracle/oid/10.1.4/oid/jdk/bin/java -jar /oracle/oid/10.1.4/oid/sso/lib/ossoreg.jar -site_name oraoidi.oracle.sso.oid.com -mod_osso_url http://oracle.sso.oid.com:7778 -config_mod_osso TRUE -oracle_home_path /oracle/oid/10.1.4/oid -u appinfra -config_file /oracle/oid/10.1.4/oid/Apache/Apache/conf/osso/osso.conf -admin_info cn=orcladmin -update_mode DELETE The deconfig plugin succeeded. See the log file /oracle/oid/10.1.4/oid/cfgtoollogs/deconfig_modosso.log for more details. Result code for Deconfiguration Command: 0 Launched Deconfiguration Command: /oracle/oid/10.1.4/oid/jdk/bin/java -jar /oracle/oid/10.1.4/oid/sso/lib/ossoca.jar deinstall /oracle/oid/10.1.4/oid "cn=orcladmin" 0587a8f8cae17348da4ad4fb12d67c65655d91b5054c2261b6 Parameters passed to ssoca : param0:deinstall param1:/oracle/oid/10.1.4/oid param2:"cn=orcladmin" param3:***** Wed Jun 17 04:48:12 GMT 2009 Parameters received by ssoca : param0:deinstall param1:/oracle/oid/10.1.4/oid param2:"cn=orcladmin" param3:***** Content of ssoca config file is : -- listing properties -- config_sso_oid=true config_lang=true config_sso_seed=true config_targets_xml=true config_ssoupg=true config_dad=true config_em_integ=true Target name for associated oc4j target: "oraoidi.oracle.sso.oid.com_OC4J_SECURITY". Getting target name for associated ohs target. Target name for associated ohs target: "oraoidi.oracle.sso.oid.com_HTTP Server". /oracle/oid/10.1.4/oid/jdk/bin/java -cp /oracle/oid/10.1.4/oid/lib/xmlparserv2.jar: /oracle/oid/10.1.4/oid/sysman/webapps/emd/WEB-INF/lib/emd.jar: /oracle/oid/10.1.4/oid/sysman/webapps/emd/WEB-INF/lib/log4j-core.jar: /oracle/oid/10.1.4/oid/lib/emSDK.jar -DORACLE_HOME=/oracle/oid/10.1.4/oid oracle.sysman.emSDK.conf.TargetInstaller deletetarget oracle_sso_server oraoidi.oracle.sso.oid.com_Single Sign-On:orasso Successfully read in labeledURI attribute. DEINSTALL_ACTION: SSO seed configuration will be removed. This was the last middle tier, so remove app entry. pre-existing entry ldap_host = oracle.sso.oid.com pre-existing entry ldap_port = 3160 pre-existing entry app_dn = orclApplicationCommonName=ORASSO_SSOSERVER, cn=SSO,cn=Products,cn=OracleContext pre-existing entry app_pwd = ***** INSTALL_ACTION: configOID: SSO seed configuration exists. ACTION by SSOConfigAssistant : /oracle/oid/10.1.4/oid/bin/sqlplus orasso/*****@"cn=oraoidi,cn=oraclecontext" @/oracle/oid/10.1.4/oid/sso/admin/plsql/wwc/secrmoid.sql oracle.sso.oid.com 3160 "cn=orcladmin" ***** SSO orasso orasso_SSOSERVER 1 Y SQL*Plus: Release 10.1.0.5.0 - Production on Wed Jun 17 04:48:18 2009 Copyright (c) 1982, 2005, Oracle. All rights reserved. SQL> Connected. SQL> Removing Lightweight User Accounts and Groups from OID Deleting SSO seed data from OID for dc=houston,dc=sso,dc=com Deleted orclapplicationcommonname=orasso_ssoserver, cn=sso,cn=products,cn=oraclecontext Deleted the application entry. PL/SQL procedure successfully completed. No errors. Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP and Data Mining options De-configuration of SSO complete. DEINSTALL_ACTION: Removing SSO seed configuration... DEINSTALL_ACTION: Removed SSO seed configuration. SSO deconfiguration finished successfully. Result code for Deconfiguration Command: 0 Launched Deconfiguration Command: /oracle/oid/10.1.4/oid/jdk/bin/java -jar /oracle/oid/10.1.4/oid/jlib/infratool.jar de -f /oracle/oid/10.1.4/oid/deconfig/deconfig_jazn.properties -o /oracle/oid/10.1.4/oid -u "cn=orcladmin" - obf 0587a8f8cae17348da4ad4fb12d67c65655d91b5054c2261b6 The deconfig plugin succeeded. See the log file /oracle/oid/10.1.4/oid/cfgtoollogs/deconfig_jazn.log for more details. Result code for Deconfiguration Command: 0 Launched Deconfiguration Command: /oracle/oid/10.1.4/oid/jdk/bin/java -jar /oracle/oid/10.1.4/oid/jlib/infratool.jar de -f /oracle/oid/10.1.4/oid/deconfig/deconfig_dcm_lf.properties -o /oracle/oid/10.1.4/oid -u "cn=orcladmin" -obf 0587a8f8cae17348da4ad4fb12d67c65655d91b5054c2261b6 The deconfig plugin succeeded. See the log file /oracle/oid/10.1.4/oid/cfgtoollogs/deconfig_dcm_lf.log for more details. Result code for Deconfiguration Command: 0 Launched Deconfiguration Command: /oracle/oid/10.1.4/oid/jdk/bin/java -jar /oracle/oid/10.1.4/oid/jlib/infratool.jar de -f /oracle/oid/10.1.4/oid/deconfig/deconfig_instance_registration.properties -o /oracle/oid/10.1.4/oid -u "cn=orcladmin" -obf 0587a8f8cae17348da4ad4fb12d67c65655d91b5054c2261b6 The deconfig plugin succeeded. See the log file /oracle/oid/10.1.4/oid/cfgtoollogs/deconfig_instance_registration.log for more details. Result code for Deconfiguration Command: 0 Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP and Data Mining options SQL> SET FEEDBACK 1 SQL> SET NUMWIDTH 10 SQL> SET LINESIZE 80 SQL> SET TRIMSPOOL ON SQL> SET TAB OFF SQL> SET PAGESIZE 100 SQL> SQL> execute dbms_ias_version.set_component_loading(component_id=>'MRC', component_name=>'Oracle Application Server Metadata Repository Version', schema_name=>'SYS'); PL/SQL procedure successfully completed. SQL> SQL> execute dbms_ias_version.set_component_loaded(component_id=>'MRC'); PL/SQL procedure successfully completed. SQL> SQL> execute dbms_ias_version.set_component_valid(component_id=>'MRC'); PL/SQL procedure successfully completed. SQL> SQL> select comp_id, comp_name, version, status from dba_registry where comp_id = 'MRC'; COMP_ID ------------------------------ COMP_NAME -------------------------------------------------------------------------------- VERSION STATUS ------------------------------ ----------- MRC Oracle Application Server Metadata Repository Version 10.1.2.0.2 VALID 1 row selected. SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP and Data Mining options Waiting starts..... sqlplus ran /oracle/oid/10.1.4/oid/deconfig/mrversion_update.sql successfully. /oracle/oid/10.1.4/oid/bin/sqlplus sys@(DESCRIPTION= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=oracle.sso.oid.com) (PORT=1525)))(CONNECT_DATA=(SERVICE_NAME=oraoidi))) @/oracle/oid/10.1.4/oid/deconfig/crtVersionUser.sql starting... SQL*Plus: Release 10.1.0.5.0 - Production on Wed Jun 17 04:51:48 2009 Copyright (c) 1982, 2005, Oracle. All rights reserved. Enter password: Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP and Data Mining options User dropped. Synonym dropped. User created. Table created. 1 row created. 1 row created. 1 row created. 1 row created. 1 row created. 1 row created. 1 row created. 1 row created. 1 row created. 1 row created. 1 row created. 1 row created. 1 row created. User altered. SQL> Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP and Data Mining options Waiting starts..... sqlplus ran /oracle/oid/10.1.4/oid/deconfig/crtVersionUser.sql successfully. /oracle/oid/10.1.4/oid/bin/sqlplus sys@(DESCRIPTION=(ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=oracle.sso.oid.com) (PORT=1525)))(CONNECT_DATA=(SERVICE_NAME=oraoidi))) @/oracle/oid/10.1.4/oid/deconfig/crtVersionRegistry.sql starting... SQL*Plus: Release 10.1.0.5.0 - Production on Wed Jun 17 04:51:49 2009 Copyright (c) 1982, 2005, Oracle. All rights reserved. Enter password: Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP and Data Mining options PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. View created. Synonym created. COMPONENT_NAME -------------------------------------------------- ID VERSION ------------------------------ ------------------------------ Metadata Repository Container mrc 9.0.4.0.0 Oracle Ultrasearch ultrasearch 10.2.0 Oracle9i workflow workflow 2.6.3.5 COMPONENT_NAME -------------------------------------------------- ID VERSION ------------------------------ ------------------------------ Oracle9iAS Discoverer discoverer 10.1.2.0.2 Oracle9iAS Internet Directory oid OID 10.1.4.3.0 Oracle9iAS Portal portal 10.1.2.0.2 COMPONENT_NAME -------------------------------------------------- ID VERSION ------------------------------ ------------------------------ Oracle9iAS Single Sign-On sso 10.1.4.3.0 Oracle9iAS Syndication Server syndication 9.0.4 Oracle9iAS UDDI uddi 10.1.2 COMPONENT_NAME -------------------------------------------------- ID VERSION ------------------------------ ------------------------------ Oracle9iAS Wireless wireless 10.1.2.0.0 10 rows selected. Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP and Data Mining options Waiting starts..... sqlplus ran /oracle/oid/10.1.4/oid/deconfig/crtVersionRegistry.sql successfully. Deconfiguration for all components completed successfully. null
Remember, after you remove the installation of $ORACLE_HOME then you should be able to claim back the disk space of your server.
Related Posts
PreviousNext» Unix Send Mail With Attachment
Leave a Comment



