DBCA can´t remove an instance

Hellos guys, How are you?
I am having a problem when I try to remove an instance...
I have an Oracle instance 10gR2 (10.2.0.3.0) on a windows server 2003 R2, and when I try to remove the instance through DBCA the "Next" button is disabled and when I click on "Finish" button, nothing happens.
If there is anybody that can help me, I will be grateful.
Thanks.

Facundo wrote:
Hellos guys, How are you?
I am having a problem when I try to remove an instance...
I have an Oracle instance 10gR2 (10.2.0.3.0) on a windows server 2003 R2, and when I try to remove the instance through DBCA the "Next" button is disabled and when I click on "Finish" button, nothing happens.
If there is anybody that can help me, I will be grateful.
Thanks.On *nix, dbca reads the oratab file to get a list of 'deleteable' databases.  if there are no databases listed in oratab (watch for commented out lines) then the 'delete database' option will be greyed out.  Don't know if the same behavior on Windows.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • How can I remove asm and ocr installation in AIX?

    Hi,
    I try to install single instance with using ASM in AIX.
    But I did not make successfully.
    Now I want to remove ASM and OCR installation then
    I will plan to make new clear installation.
    How can I remove asm and ocr ??
    Or How can I control my removing is fully correct ?

    1) ASM Instance Clean-Up Procedures
    Stop all of the databases that use the ASM instance that is running from the Oracle home that is on the node that you are deleting.
    On the node that you are deleting, if this is the Oracle home which from which the ASM instance runs, then remove the ASM configuration by completing the following steps. Run the command srvctl stop asm -n node_name for all of the nodes on which this Oracle home exists. Run the command srvctl remove asm -n node for all nodes on which this Oracle home exists. If there are databases on this node that use ASM, then use DBCA Disk Group Management to create an ASM instance on one of the existing Oracle homes on the node, restart the databases if you stopped them.
    If you are using a cluster file system for your ASM Oracle home, then ensure that your local node has the $ORACLE_BASE and $ORACLE_HOME environment variables set correctly. Run the following commands from a node other than the node that you are deleting, where node_number is the node number of the node that you are deleting:
    rm -r $ORACLE_BASE/admin/+ASMnode_number
    rm -f $ORACLE_HOME/dbs/*ASMnode_number
    If you are not using a cluster file system for your ASM Oracle home, then run the rm or delete commands mentioned in the previous step on each node on which the Oracle home exists.
    2) Deleting an Oracle Clusterware Home Using OUI in Silent Mode
    !!! Oracle recommends that you back up your voting disk and OCR files after you complete the node deletion process.
    If you ran the Oracle Interface Configuration Tool (OIFCFG) with the -global flag during the installation, then skip this step. Otherwise, from a node that is going to remain in your cluster, from the CRS_home/bin directory, run the following command where node2 is the name of the node that you are deleting:
    ./oifcfg delif –node node2
    Obtain the remote port number, which you will use in the next step, using the following command from the CRS_home/opmn/conf directory:
    cat ons.config
    From CRS_home/bin on a node that is going to remain in the cluster, run the Oracle Notification Service Utility (RACGONS) as in the following example where remote_port is the ONS remote port number that you obtained in the previous step and node2 is the name of the node that you are deleting:
    ./racgons remove_config node2:remote_port
    On the node to be deleted, run rootdelete.sh as the root user from the CRS_home/install directory. If you are deleting more than one node, then perform this step on all of the other nodes that you are deleting.
    From any node that you are not deleting, run the following command from the CRS_home/install directory as the root user where node2,node2-number represents the node and the node number that you want to delete:
    ./rootdeletenode.sh node2,node2-number
    If necessary, identify the node number using the following command on the node that you are deleting:
    CRS_home/bin/olsnodes -n
    Perform this step only if your are using a non-shared Oracle home. On the node or nodes to be deleted, run the following command from the CRS_home/oui/bin directory where node_to_be_deleted is the name of the node that you are deleting:
    ./runInstaller -updateNodeList ORACLE_HOME=CRS_home
    "CLUSTER_NODES={node_to_be_deleted}"
    CRS=TRUE -local
    Deinstall the Oracle Clusterware home from the node that you are deleting using OUI as follows by running the following command from the Oracle_home/oui/bin directory, where CRS_home is the name defined for the Oracle Clusterware home:
    ./runInstaller -deinstall –silent "REMOVE_HOMES={CRS_home}"
    Perform step 9 from the previous section about using OUI interactively under the heading "Deleting an Oracle Clusterware Home Using OUI in Interactive Mode".

  • Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files?

    Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files? I just want to view / delete files without importing them.
    For instance I have 1200 photos on my iPhone Camera Roll. Some of these are shots, that I've taken multiple times, some good, some bad. I just want to clean up my Camera Roll, but going through the pictures on the iPhone's small screen is tedious. I'd much rather look at the camera roll's photo's on my Mac, and then decide which files I'd like to keep, and which to delete.
    I don't want to import the files, as when I import the files, and delete them from Camera Roll, now the Photo's are not on my phone, and the only way to get them back on my Phone is to Import them back in using iTunes, and then they go into the Picture Library and not the Camera Roll.
    In the same way as I can view Pics from my digital camera's SD card on a Mac without having to actually copy them to my computer, is there any app out there that will let me view my iPhone pics without importing them.

    gsharp01 wrote:
    Is there any way I can view / remove pictures from Camera Roll on the iPhone, on a Mac, without actually importing the files? I just want to view / delete files without importing them.
    The short answer is yes.
    Connect your iPhone to your computer.
    Open Image Capture application.
    Click on the 4 little squares at bottom to view them as photos, not a list.
    Select the photos them click the No Entry icon at bottom to delete.

  • How can I remove the applications form Content Administrator

    I had undeployed the applications from Content Administrator in two ways:
    A:
    1. Start the tool using the go.bat located in \usr\sap\<SID>\<Instance Name>\j2ee\admin folder
    2. Log in with an Administrator user.
    3. Under the Server node click Services-> Deploy.
    4. In the runtime tab, on the right hand side screen click on the Applications checkbox. The list of all deployed applications appears.
    5. Select the application and click on the Remove button.
    B:
    Undeploying using SDM remoteGUI.
    after I finished that,the application still exist in the browse of Content Administrator Web Dynpro.
    But it is'n invailable.When I click the application name,it throws exceptions:
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get list of defined JCO clients for deployable object 'local/Welcome'.
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get enable state for 'local/Welcome'.
    No resource bundles found for development component ''local/Welcome''.
    My question is , how can I remove it form the list.

    Hello,
         What is the version of the server you are using?
         The steps you have followed are perfectly fine and I don't see any issue there.
         I hope you refreshed the list on the Content Administrator before accessing the application.
    Kind Regards,
    Padma

  • How can I remove the applications from the Content Administrator

    I had undeployed the applications from Content Administrator in two ways:
    A:
    1. Start the tool using the go.bat located in \usr\sap\<SID>\<Instance Name>\j2ee\admin folder
    2. Log in with an Administrator user.
    3. Under the Server node click Services-> Deploy.
    4. In the runtime tab, on the right hand side screen click on the Applications checkbox. The list of all deployed applications appears.
    5. Select the application and click on the Remove button.
    B:
    Undeploying using SDM remoteGUI.
    after I finished that,the application still exist in the browse of Content Administrator Web Dynpro.
    But it is'n invailable.When I click the application name,it throws exceptions:
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get list of defined JCO clients for deployable object 'local/Welcome'.
    Failed to get the list of names of referenced deployable objects for deployable object 'local/Welcome'.
    Failed to get enable state for 'local/Welcome'.
    No resource bundles found for development component ''local/Welcome''.
    My question is , how can I remove it form the list.

    Hi,
       Have you restarted the server after removing the application from the Visual Admin?
    Regards,
    Satyajit.

  • How can i remove items from list that have been deleted when i click on them it keeps showing empty

    how can i remove items from the list that have been deleted when i click on them it keeps showing folder empty

    Actually, Reader SHOULD keep showing documents that no longer exist, I disagree. It's no big deal, and people will quickly realise why they can't open the file. They open more files, the old ones move off.
    The REASON why it should not check is that checking whether a file exists can take a long time when things aren't good. For instance if a file server goes down, or a memory card is unplugged. That in turn would mean delays opening the File menu, and I've seen some software that can sit there for several minutes. That would really give people something of which to complain...

  • How can i remove JUNK TEXT from APEX

    Hi ,
    In our project Apex has integrated with oracle apps,every time we will open apex front end from oracle application(EBS).so we have two kinds of instances 1) development and other is production
    every time we export the apex application from developement instance and import in production instance . after imported into production * we got JUNK TEXT like "TEXT:TEXT" in apex front end* so how can i remove JUNK TEXT from APEX
    Apex 4.0.0.00.46 version
    please somebody help on this issue
    Help would be appreciated
    Regards
    Narender B

    Hi,
    It is not clear what you are seeing here. Also we don't know how you have integrated Apex with EBS. My guess is you have linked an Apex page to the EBS menu and when you click on the menu link you see the additional text on the Apex page.
    You need to give details of how you have integrated Apex with EBS and where and when this additional text is being displayed for me to give you any help on this issue.
    Rod West

  • HT203756 How can I remove 'old' or 'incomplete' backups from iCloud?

    How can I remove 'old' or 'incomplete' backups from iCloud? 
    When I attempted, the iPhone 6+ message asked if I wanted to remove ALL of the backups... without giving me the option of selecting the specific one I wanted to remove.
    I had performed 'backups' of my old iPhone, but, when I tried to RESTORE to the REPLACEMENT iPhone, at least one of the iCloud backups shows 'incomplete'.  There was no 'error' on the original iPhone...when it 'failed' to complete the backup.
    Now, I would like to 'clear up' the 'storage' on the iCloud, but am unable to select specific ones. I can either keep all instances or shut off iCloud Backup which would, according to the message, remove/delete ALL of the BACKUPS.
    This shouldn't be this difficult.....

    I too wondered how you remove apps from iCloud.  Judging by the quantity of questions, comments, suggestions and replies (some rather rude) there is a clear need for Apple to make their literature a lot clearer.  The page describing what iCloud backs up refers to "app data" as an item which is backed up.  To the uniniated this might mean the app program but it seems not.  The app is "bought" via iTunes or the App Store and details of your purchase (free or otherwise) is held there separately on the server.
    It would be nice however to be able to remove the reference to junk I have downloaded and decided I don't want so that it doesn't appear on the purchased apps listing!  Apple please note this.
    It must be remembered that Apple products come pitifully supported by manuals "out of the box" on the assumption that it is so easy to use the product that no explanation is needed.  They forget that most buyers of Apple products (me included) don't know (and don't want to know) how they work, so when something is not obvious they are required to plough through Lord knows how many web pages of "knowledge base" material until they find an answer.
    All I can add is that it is worth spending time reading the multiitude of discussion threads before asking the question yet again...

  • How can i remove a hybrid mbr from my system drive so that Efi booted windows will install.

    Hi,
    i have just clean installed OSX lion on a freshly wiped drive in my macbook pro, using a bootable lion installer usb i used disk utility to partition my drive into a mac and a windows partition under the GPT/GUID partition scheme, i then proceeded to install lion onto the mac partition, and completed the set up, All Good...
    so i plug in my Windows 8 EFI Boot USB stick (Notice, EFI boot here, NOT BIOS EMULATION BOOT), shutdown and power on the mac and proceed to the boot picker by holding option, So far so good, the usb key is recognised and the system boots into the Windows Setup in EFI mode, Enter product key, accept terms and so on, Now i select my Windows partition and windows Says That it cant install to Partition 4 (EFI Partiton, OSX Lion, Lion recovery, Windows), It says that it can only install to a GPT / GUID based disk as expected...
    Why is there a protective MBR on my drive when i didnt add one, and i have not even touched bootcamp assistant...
    How can i remove this Protective MBR from my drive so that my disk is PURE GPT so windows can install?
    hours of googling has turned up nothing...
    System:
    Macbook Pro 13 inch Mid 2009
    Mac os: OSX Lion
    Version of windows trying to install: Windows 8 Release Preview 64 bit in EFI Mode

    Alexander, I would like to apologize for the TERRIBLE answers you have been given so far.  I too had this question, and so here is what my thoughts are, as maybe they might provide insight in leading you towards the answer.
    I am a *nix user in general, and thus own a mac and a thinkpad.  In fact I just got my thinkpad not too long ago.  As such, I transfered my faster hard drive to my faster computer, which made logcal sense to me.  Ergo, I moved my Mac drive to my lenovo.  On this drive I have a hybrid mbr which is no longer needed.  So my thoughts are this:
    From what I gather, the UEFI standard indicates that there is to be a protective MBR on all GPT systems.  This is so that when you use programs that are not GPT aware, they will see a presumably "full" drive and not think that they have the right to destroy your existing data in what it thinks is free space.  For instance, fdisk or other MBR only partitioning systems.  Thus, if your system has only a MBR with a single EE partition, it would be my guess that it was in fact not put there by installing Windows, but rather for the protection of your system. 
    If you are in my situation, where you do indeed have a hybrid MBR with written out partitions, it would be my guess that the only way to rid yourself of it is to do it manually.  The way I would recommend, is using gdisk (gpt fdisk).  It is command line only, but the syntax is pretty easy:
    $ sudo gdisk /dev/disk0
    Assuming you are using your mac partition and your primary hdd is disk0.  That will put you into an interactive session of gdisk.  Enter "?" for command options.  What you need is the "recovery and transformation" section which is the "r" I think.  From there I would say you probably want to create a new hybrid mbr (you will be using this to delete it).  When it asks you for the partitions you would like to include, just hit enter.  It should then ask you if you would like to create a protective entry for the remainder of the empty space.  This is what you want so tell it to do that.  After you are done, "w" will write and exit.  You may want to first use the "p" to print and ensure that you have what you want.  You can proabably check your work by using fdisk as so:
    $ sudo fdisk -l /dev/disk0
    I hope this helps you, and if you find that there is a better way, I hope you might enlighten this thread. 
    Cheers!
    PS The command examples, the $ is to indicate it is a bash/shell command as a non-root user, do not include it in the command.

  • DBCA can not use ASM for database storage due to following reason: Could no

    Hi
    I've a recently installed RAC11gR2(11.2.0.3) on HP-UX
    I installed Grid Infrastructure with grid user:
    Node1: # id grid
    uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
    Node2: # id grid
    uid=1100(grid) gid=1000(oinstall) groups=1031(dba),1021(asmdba)
    I installed the Oracle Server with oracle user:
    Node1: # id oracle
    uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
    Node2: # id oracle
    uid=1101(oracle) gid=1000(oinstall) groups=1031(dba),1021(asmdba),1033(oper)
    All related Grid Infrastructure is functioning well in both nodes:
    $ crs_stat -t
    Name Type Target State Host
    ora.DATA.dg ora....up.type ONLINE ONLINE node03
    ora.FRA.dg ora....up.type ONLINE ONLINE node03
    ora....ER.lsnr ora....er.type ONLINE ONLINE node03
    ora....N1.lsnr ora....er.type ONLINE ONLINE node04
    ora.asm ora.asm.type ONLINE ONLINE node03
    ora.cvu ora.cvu.type ONLINE ONLINE node04
    ora.gsd ora.gsd.type OFFLINE OFFLINE
    ora....network ora....rk.type ONLINE ONLINE node03
    ora.oc4j ora.oc4j.type OFFLINE OFFLINE
    ora.ons ora.ons.type ONLINE ONLINE node03
    ora.scan1.vip ora....ip.type ONLINE ONLINE node04
    ora....SM1.asm application ONLINE ONLINE node03
    ora....03.lsnr application ONLINE ONLINE node03
    ora....d03.gsd application OFFLINE OFFLINE
    ora....d03.ons application ONLINE ONLINE node03
    ora....d03.vip ora....t1.type ONLINE ONLINE node03
    ora....SM2.asm application ONLINE ONLINE node04
    ora....04.lsnr application ONLINE ONLINE node04
    ora....d04.gsd application OFFLINE OFFLINE
    ora....d04.ons application ONLINE ONLINE node04
    ora....d04.vip ora....t1.type ONLINE ONLINE node04
    $
    The ASM instance are running well in both nodes
    Connected with oracle user, the listener has registered perfectly the ASM instance in each node:
    $
    $ lsnrctl status
    LSNRCTL for HPUX: Version 11.2.0.3.0 - Production on 16-MAY-2012 15:41:06
    Copyright (c) 1991, 2011, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for HPUX: Version 11.2.0.3.0 - Production
    Start Date 16-MAY-2012 15:24:19
    Uptime 0 days 0 hr. 16 min. 47 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
    Listener Log File /u01/app/grid/diag/tnslsnr/node03/listener/alert/log .xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.133)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=16.0.0.136)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
    Instance "+ASM1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    $
    $
    DATA & FRA disk group are created:
    $
    $ echo $ORACLE_SID
    +ASM1
    $
    $ asmcmd
    ASMCMD>
    ASMCMD> ls -lt
    State Type Rebal Name
    MOUNTED EXTERN N DATA/
    MOUNTED EXTERN N FRA/
    ASMCMD>
    ASMCMD>
    The big issue is... that the DBCA can not see the diskgroups. When I choose ASM Storage it can not see them. It shows the chart in blank and if i try to write the disk group, so the following message appears: can not use ASM for database storage due to following reason: Could not connect to ASM due to following error: ORA-01034 ORACLE not available
    What can be passing in this case... ?
    Thanks in advance

    Thanks both
    Really the problem initially was because of this:
    [INS-06006] Passwordless SSH connectivity not set up between the following node(s): [node1, node2]. CVU may reports "PRVF-4007 : User equivalence check failed for user "user"" for same error
    and I had to install node1 first and after node2 manually and perhaps for this the product was not well linked.
    I resolved the problem establishing the keys with the wizard and after copying the following files from node1 to node2
    /home/grid/.ssh -------> /home/grid/.ssh
    authorized_keys
    known_hosts
    This is the procedure if you run the wizard at the node1.
    The problem is that the wizard creates the keys incompletely...
    Thanks

  • Will the ssd in the macbook pro retinas ever be upgradible , ive seen that they can be removed .

    will the MBP-R SSD's ever be upgradible in the future ,as we know they can be removed , so will we see replacement drives become available ?
    check out the SSD (ifixit tear down ) http://www.ifixit.com/Guide/Image/meta/LpjTmUO4MTnygPTv

    Yes, the flash drives can be removed. So can the battery - but be aware that what you're looking at is a teardown - you wouldn't want to try replacing the battery on your own.
    It may be that, one day, Apple or a third-party will come out with replaceable flash storage but it's highly unlikely that it will be user replaceable.
    Just be aware when you purchase your MBP-R that there is nothing - nothing - that is user replaceable, or even Apple replaceable in some instances, at this time.
    Just spend the $4K+ and get a fully outfitted model. Don't bet on the future.
    Clinton

  • How can i find all instances of my device?

    Hi,
    I was wondering if anyone could tell me I can find all the instances of an ethernet card from a C program. At the moment I use a brute force approach, checking for each physical point of attachment by opening the driver /dev/mydriver and doing a putmsg DL_ATTACH_REQ with ppa= 0,1,2,etc., and checking to see if I get a DL_OK_ACK back.
    Is there any more intelligent way to find this out?
    Thanks in advance,
    S.

    Hi,
    #include <sys/ddi.h>
    #include <sys/sunddi.h>
    int ddi_get_instance(dev_info_t *dip);
    ddi_get_instance() returns the instance number of the device corresponding to dip.
    The system assigns an instance number to every device. Instance numbers for devices attached to the same driver are unique. This provides a way for the system and the driver to uniquely identify one or more devices of the same type. The instance number is derived by the system from different properties for different device types in an implementation specific manner.
    Once an instance number has been assigned to a device, it will remain the same even across reconfigurations and reboots. Therefore, instance numbers seen by a driver may not appear to be in consecutive order. For example, if dev-ice foo0 has been assigned an instance number of 0 and dev-ice foo1 has been assigned an instance number of 1, if
    foo0 is removed, foo1 will continue to be associated with instance number 1 (even though foo1 is now the only device of its type on the system).
    Refer more information man ddi_get_instance()
    Regards,
    Senthilkumar
    Technical Support Engineer
    Developer Technical Support
    Sun Microsystems, Inc.
    http://www.sun.com/developers/support

  • Can we have Multiple Instance on same Node in Oracle 10g RAC

    Hi All,
    I am planning to implement the RAC in Oracle 10g.Before that i have one doubt regarding RAC.
    My question is "Can we create multiple Instance on Same node(Server) ?"
    is it possible.
    Any ideas or thoughts would be apperciable.
    Thanks in Advance.
    Anwar

    This is where it is important to keep the separation between 'database' and 'instance'.
    A database is the set of files that contains the data (and the redo, control files, etc). A database does nothing by itself, other than take up lots of disk space.
    An instance is theCPU cycles (running software) and the memory to control the database.
    In Oracle RAC, you can have as many instances controlling one database [at the same time] as you want (within reason). Each instance must be able to access the disk(s) that contains the database.
    These multiple instances can be on the same computer (effectively taking up a lot of server memory and CPU for nothing) or they can be on separate computers.
    If they are on separate computers, the disk subsystems must be able to be shared across computers - this is occasionally done using operating system clusterware and is the main reason why clusterware is required at all. (This is also the toughest part of the pre-requisites in setting up a RAC and is very vendor dependent unless you use ASM.)
    These instances need a communication connection to coordinate their work (usually a separate network card for each computer) so they do not corrupt the disk when they are trying to access the same file, and possibly the same block, at the same time.
    In a RAC configuration, instances can be added, started, running, stopped and removed independent of each other (allowing a lot of high availability) or can be started and stopped as a group.
    Each instance gets it's own SID, which is in no way any different than a non-RAC SID. It's just the name of a service that can be invoked. The neat thing is that the SID
    a) helps the DBA keep things straight by lettiung us talk about 'instance A' (the Oracle software to be running over on computer A) vs 'instance B' when starting, stopping and managing;
    b) helps the application by providing targets that can be listed in the TNSNAMES.ORA [against one service alias], which is used by ORacle Networking to provide automated load balance or failover (instance/SID a is not available, I guess I'll try the next in the list)
    Hope that helps the concept level a bit.

  • Weird - can connect to both instances - but not to main SID

    As a newbie to RAC I got stuck...
    after installation of grid, db SW and a sample DB "QRC" with dbca I can connect to both instances QRC1 and QRC2,
    but not to QRC - here sqlplus tells me "connected to an idle instance"
    What did I mix up??
    rac11a ~ RDBMS > srvctl start database -d QRC -o open
    PRCR-1004 : Resource ora.qrc.db is already running
    rac11a ~ RDBMS >
    [root@rac11a ~]# crsctl status res -t
    NAME TARGET STATE SERVER STATE_DETAILS
    Local Resources
    ora.LISTENER.lsnr
    ONLINE ONLINE rac11a
    ONLINE ONLINE rac11b
    ora.asm
    OFFLINE OFFLINE rac11a
    OFFLINE OFFLINE rac11b
    ora.eons
    ONLINE ONLINE rac11a
    ONLINE ONLINE rac11b
    ora.gsd
    OFFLINE OFFLINE rac11a
    OFFLINE OFFLINE rac11b
    ora.net1.network
    ONLINE ONLINE rac11a
    ONLINE ONLINE rac11b
    ora.ons
    ONLINE ONLINE rac11a
    ONLINE ONLINE rac11b
    Cluster Resources
    ora.LISTENER_SCAN1.lsnr
    1 ONLINE ONLINE rac11b
    ora.LISTENER_SCAN2.lsnr
    1 ONLINE ONLINE rac11a
    ora.LISTENER_SCAN3.lsnr
    1 ONLINE ONLINE rac11a
    ora.oc4j
    1 OFFLINE OFFLINE
    ora.qrc.db
    1 ONLINE ONLINE rac11a Open
    2 ONLINE ONLINE rac11b Open
    ora.rac11a.vip
    1 ONLINE ONLINE rac11a
    ora.rac11b.vip
    1 ONLINE ONLINE rac11b
    ora.scan1.vip
    1 ONLINE ONLINE rac11b
    ora.scan2.vip
    1 ONLINE ONLINE rac11a
    ora.scan3.vip
    1 ONLINE ONLINE rac11a
    [root@rac11a ~]#
    rac11a ~ RDBMS > tnsping qrc
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 02-FEB-2012 09:20:54
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = qrcscan.ddnett.de)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = QRC.ditanett)))
    OK (40 msec)
    rac11a ~ RDBMS > env | grep ORA
    dbms_type=ORA
    ORACLE_SID=QRC
    ORACLE_BASE=/oracle/QRC
    ORACLE_HOME=/oracle/QRC/11202
    rac11a ~ RDBMS >
    rac11a ~ RDBMS > sqlplus " / as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 2 09:21:04 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    rac11a ~ RDBMS > lsnrctl status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 02-FEB-2012 08:23:25
    Uptime 0 days 1 hr. 16 min. 21 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/LOCAL/GRID/11202/network/admin/listener.ora
    Listener Log File /oracle/LOCAL/BASE/diag/tnslsnr/rac11a/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.141)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.241)(PORT=1521)))
    Services Summary...
    Service "QRC.ditanett" has 1 instance(s).
    Instance "QRC1", status READY, has 1 handler(s) for this service...
    Service "QRCXDB.ditanett" has 1 instance(s).
    Instance "QRC1", status READY, has 1 handler(s) for this service...
    The command completed successfully
    rac11a ~ RDBMS >
    rac11b ~ RDBMS > lsnrctl status
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 02-FEB-2012 08:24:02
    Uptime 0 days 1 hr. 17 min. 12 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /oracle/LOCAL/GRID/11202/network/admin/listener.ora
    Listener Log File /oracle/LOCAL/BASE/diag/tnslsnr/rac11b/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.142)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.242)(PORT=1521)))
    Services Summary...
    Service "QRC.ditanett" has 1 instance(s).
    Instance "QRC2", status READY, has 1 handler(s) for this service...
    Service "QRCXDB.ditanett" has 1 instance(s).
    Instance "QRC2", status READY, has 1 handler(s) for this service...
    The command completed successfully
    rac11b ~ RDBMS >

    Hi,
    after installation of grid, db SW and a sample DB "QRC" with dbca I can connect to both instances QRC1 and QRC2,
    rac11a $ env | grep ORA
    dbms_type=ORA
    ORACLE_SID=QRC
    ORACLE_BASE=/oracle/QRC
    ORACLE_HOME=/oracle/QRC/11202
    rac11a ~ RDBMS >
    rac11a $ sqlplus " / as sysdba"
    SQL*Plus: Release 11.2.0.1.0 Production on Thu Feb 2 09:21:04 2012
    Copyright (c) 1982, 2009, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL>
    The Oracle System ID (SID) is used to uniquely identify a particular database on a system. For this reason, one cannot have more than one database with the same SID on a host.
    When using RAC, all instances belonging to the same database must have unique SID's even using different hosts.
    So, you must set ORACLE_SID to QRC1 where Instance 1 is running or QRC2 where Instance 2 is running.
    To know where instance number is running you can get this info following steps below:
    $GRID_HOME/bin/olsnodes -n
    lnxora01        1
    lnxora02        2In example above all instance created by DBCA on lnxora01 will have prefix 1 (e.g db QRC will have QRC1) and on lnxora02 will have prefix 2. (it's not a rule, because I can set manually the number of instance as I wish)
    Or exists another way to find it: (on local node)
    ps -ef |grep pmon
    ora_pmon_QRC1 So, to connect just set right ORACLE_SID
    eg:
    export ORACLE_SID=QRC1
    sqlplus / as sysdbaRegards,
    Levi Pereira

  • Using a function and array to remove stage instances

    I'm trying to figure out the best way to handle this.
    I have an array of items I want to be looked through and removed if a specific function is running and if the stage contains them.
    removalArray = [axScene, bridgeScene];
    public function Removal(event:Event) {
                trace("cheese");
                for (var i:uint = 0; i>removalArray.length; i++) {
                    if (stage.contains(removalArray[i])) {
                        removeChild(removalArray[i]);
                        removeEventListener(Event.ENTER_FRAME, Removal);
                        addEventListener(Event.ENTER_FRAME, CampScene);
                    } else {
                        removeEventListener(Event.ENTER_FRAME, Removal);
                        addEventListener(Event.ENTER_FRAME, CampScene);/**/
    addEventListener(Event.ENTER_FRAME, Removal);
    I'm able to get trace("cheese"); to work at its current position, but the function does not seem to like my "for" and "if" statements because putting trace("cheese") amongst them does not work.
    As always, help is appreciated, and let me know if you need more info.
    EDIT: Perhaps I should also note I am able to get
    if (stage.contains(axScene)) {
                    removeChild(axScene);
                    } else if (stage.contains(bridgeScene)) {
                        removeChild(bridgeScene);
                        } else {
                            null;
    to work correctly in that function.
    EDIT2: Would this have something to do with addChild only being able to remove one instance at a time? I can't imagine that's it since this suppose to be run through a loop.

    You appear to have an unhealthy obsession with using the ENTER_FRAME event. 
    I'm sure you're right, but realize that I'm learning by the seat of my pants and am not great with logic and stuff that doesn't happen chronological. (I'm 26, and graduated with a degree in graphic design.) If I find something that works I'm going to keep using that until I find a better way, and thus far ENTER_FRAME has been all I've had. (I can find tons of AS3 information online, but a lot of it is forum posts seems to be lacking useful context for my purposes.)
    For what it's worth (if you remember another post I did that had a ton of event listeners), I've started using more booleans and gotten rid of a lot of listeners adding and removing.
    What you might try doing instead of creating all manners of them is to have just one and within that one you manage your objects using conditionals.
    So something like this?
    if (campSceneOnStage == true) {
         addChild(campScene)
         } else if (campSceneOnStage == false) {
              removeChild(campScene);
    EDIT: Although this would keep adding a campScene instance, wouldn't it?
    EDIT2: Could I write something like this, have one constant event listener (addEventListener(Event.ENTER_FRAME, Scenes)...
    public function Scenes(event:Event) {
                if (campSceneOn == true) {
                    addChild(campScene);
                    if (stage.contains(campScene)) {
    and use a line to tell the function to temporarily stop listening if campSceneOn = true and campScene is on the stage?
    Would "null" work?
    Also, is there an equivalent to "stage.contains" that looks to see if the stage does not contain?
    That ENTER_FRAME listener is being removed as fast as it was added, whether or not there is something in the array to remove.
    So the even though the intention is to only have the removeEventListener only occur if something is found in the array to remove, the script "skips over" that and removes the event listener even if it doesn't "use" the for loop or if statements?

Maybe you are looking for