Edit listener from ASM instance in OEM

Hi
I've installed Oracle Grid Infrastructure for a standalone server, and next installed database 11g. I have ASM and orcl instances. Under ASM (in ORACLE_HOME/grid) I have listener (listener.ora file), and under orcl instance I have only tnsnames.ora (so I can connect by local naming). In OEM Database Control, in Net Services Administration I see only local names, but not listeners. So, can I edit listener from ASM instance in OEM Database Control?
Thanks awfully for help.
Regards

Yes, you can use the Net Manager also to do the same but it should be started from the Grid Home and not from the Oracle Home.
HTH
Aman....

Similar Messages

  • Accessing an ASM Instance via OEM

    Gaining access to an ASM-managed database instance via Enterprise manager is done in the same way as accessing a "normal" RDBMS database: http://<host>:<port>/em/
    Is it also possible to access the ASM instance itself via the OEM? If so, what's the typical URL/port for access?
    I have not seen this documented, and I wonder if it's possible to access the ASM instance via OEM after all, or can you view/manage ASM instance information only via SQL statements.
    Thank you.
    John

    That makes perfect sense... nufortunately, I'm sitll confused. I just found a series of screen shots that explicitly say "Database Control", and the home page shows the "+asm" link I mentioned in my earlier post. What's more: these screen shots are directly from Oracle! Their "Oracle By Example" series has an entry called "Creating and Managing ASM Disk Groups", and the section called "Viewing Disk Groups" has a series of shots that clearly shows first an ASM-managed instance, and then the ASM instance itself, being directly managed by Database Control.
    I wish someone from Oracle, or someone who has seen this in action, would chime in and let us know how it works!
    Thanks.

  • Cannot see EMC PowerPath devices from ASM instance on Solaris 10 x86

    Hello,
    I'm trying to use EMC PowerPath devices as ASM disks, but cannot see any usable disk
    from the ASM instance.
    My configuration:
    Hardware: Sun X4600M2
    Solaris 10 8/07 x86_64
    EMC PowerPath 5.0.2_b030
    Oracle 10.2.0.1.0
    The PP devices are /dev/rdsk/emcpower* which are softlinks to the correpsonding /devices/pseudo/emcp*.
    Since I know that these devices must have suitable permissions, I've set ownership and
    permission of e.g. /devices/pseudo/emcp@1:a,raw to oracle:dba and 660. The ASM instance's
    init.ora file has *.asm_diskstring='/dev/rdsk/emcpower*', so I assume it will scan all
    /dev/rdsk/emcpower* softlinks and fetch the ones with sufficient permissions. But nonetheless
    a 'select count(*) from v$asm_disk' gives me 0, i.e. nothing.
    I've just read some recommendations of using slice 6 of the disk with partition type 'usr', but
    this seems to me quite superficial. I would like to use simply slice (=partition) 0 starting from
    cylinder 1.
    I would be very glad for any solution.
    Best regards
    Udo

    Problem solved.
    After some tests with plain files instead of devices via undocumented parameter
    asmallow_only_raw_disks=false in order to check ASM functionality,
    I've finally created new node devices only for oracle (and set_asm_allow... back to true).
    original EMC PowerPath pseudo devices (e.g.):
    -bash-3.00$ ls -l /devices/pseudo/emcp@13:a,raw
    crw------- 1 root sys 215, 832 Dec 10 15:29 /devices/pseudo/emcp@13:a,raw
    corresponding new character device with proper ownership and permissions:
    -bash-3.00$ ls -l /u01/app/ora-dev/raw/emcp13a
    crw-rw---- 1 oracle dba 215, 832 Dec 10 14:56 /u01/app/ora-dev/raw/emcp13a
    With *.asm_diskstring='/u01/app/ora-dev/raw/emcp*' in ASM-instance's init.ora,
    I was able to see the devices via select * from v$asm_disk and could create the
    ASM diskgroups.
    Regards
    Udo

  • Upgrade ASM instance database 10g to 11g

    Hi,
    In my environment, I have ASM instance database 10.2.0.3 running on solaris 10 (64-bit), I need to upgrade to ASM instance 11.1.0.6 database. please guide me an overview of steps...
    thanks in advance

    Thanks for the response,
    Sorry, In my environment I know database (10.2.0.3) is mounted in ASM diskgroups, now i have a concern
    1) If database is mounted in ASM diskgroups, could it be a database instance or it has to be only ASM instance connected to the database?
    2) As in my upgrade from ASM instance (10.2.0.3) to ASM instance (11.1.0.6), do we need to upgrade asm instance as well as database? i mean to invoke DBUA twice for upgrading ASM instance then for upgrading database as well?
    Sorry for some silly questions...please make me clear...
    Regards

  • How to clean the asm instance from RAC manually

    for some reason i run crs_unregister asm and crs_unregister lsnr to remove the asm and listener resource from crs yesterday
    and today i want rebuild the asm instance ,so i run dbca again ,but error
    Error when starting ASM instance on node rac1: PRKS-1009 : Failed to start ASM instance "+ASM1" on node "rac1", [PRKS-1011 : Failed to check status of ASM instance "+ASM1" on node "rac1", [CRS-0210: Could not find resource ora.rac1.ASM1.asm.]]
    [PRKS-1011 : Failed to check status of ASM instance "+ASM1" on node "rac1", [CRS-0210: Could not find resource ora.rac1.ASM1.asm.]]
    DBCA could not startup the ASM instance on node: rac1. Manual intervention is required to recreate these instances. If you choose to proceed, ASM diskgroups will not be mounted on non-started remote ASM instances. Do you want to proceed with ASM diskgroup management?
    and problem is how to do this "Manual intervention is required to recreate these instances", I already do 1, dd the asm disk, 2, remove the +ASM directory from $ORACLE_BASE, 3,clean ASM info from /etc/oratab, so what i can do next ?
    i try restart crs ,now the error info is different !!
    [oracle@rac1 ~]$ dbca -silent -responseFile /home/oracle/dbca.rsp
    Look at the log file "/opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/silent6.log"
    for further details.
    [oracle@rac1 ~]$ cat /opt/ora/product/10.2.0/db_1/cfgtoollogs/dbca/silent6.log
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_+ASM1'
    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
    ORA-00132: syntax error or unresolved network name 'LISTENER_+ASM1'
    Edited by: 859340 on 2011-7-8 下午11:01

    Hi,
    Can you post the dbca log?
    and do you share the asm home with oracle home? if it is separated then add LISTENER_+ASM1 in tnsnames in ASMHOME, otherwise add it in ORACLEHOME
    Cheers

  • Creating standby database from ASM production database in standard edition

    Hi,
    I am using oracle 10g release 2 standard edition. I recently created a database instance and wanted to create a standby database instance. After sorting out how to achieve this without managed standby and data guard I finally got it working and the shipped archive logs are applied and working well on the standby database.
    Now I am thinking of re-creating my production database and using ASM for storage managment. By doing this can a standby database still be created from a primary database using ASM? I want to be sure I can before I commit to using ASM for the production instance and manually creating a standby database from that instance.
    Note: I am using standard edition not enterprise edition.

    Hi
    For Oracle SE standby, you can visit www.anbultechnologies.co.uk , they have a brilliant product name DRMC which is Automatic disaster recovery solution with automatic failover in case primary goes down due to any reason.
    We are using this product for more than 2 years and it works like a dream using Oracle Standard Edition. We have depolyed more databases and Standby solution within the prices of 2 EE edition licenses.
    You can give ma try as well.
    website address is www.anbultechnologies.co.uk

  • ASM Instance registeration with LISTENER

    Hi,
    For the purpose of Oracle Security change, I wanted to add SECURE_REGISTER_LISTENER = (TCP) to the listener.ora file. Then, I need to stop and start the listener, and to get the database register with the listener, I am supposed to do ALTER SYSTEM REGISTER;
    My question is:
    How will I register the ASM instance with the listener, please?
    is it same like registering database,i.e., ALTER SYSTEM REGISTER; while connecting with sys / as sysasm? will the ASM INSTANCE register dynamically?
    DB=10.2.0.4 OS=RHL
    [oracle@db ~]$ sqlplus / as sysasm
    SQL*Plus: Release 11.2.0.1.0 Production on Mon May 7 14:58:37 2012
    Copyright (c) 1982, 2009, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Automatic Storage Management option
    SQL> show parameter local_listener
    NAME                         TYPE
    VALUE
    local_listener                    stringThank you.
    Regards,

    Hi,
    Thanks.
    After a change to listener.ora, when I start listener and register, will I be able to see the same as below (regarding +ASM)? Because all the services should be running after the change, rite?
    LSNRCTL> services
    Service "+ASM" has 1 instance(s).
      Instance "+ASM", status READY, has 1 handler(s) for this service...
        Handler(s):
          "DEDICATED" established:0 refused:0 state:ready
             LOCAL SERVER
    Service
    - - - Regards
    Edited by: John-M on May 7, 2012 6:45 AM
    Edited by: John-M on May 7, 2012 11:22 AM

  • Stop and then start Listener from OEM

    Hi,
    I am new to Oracle. I notice after stopping listener using OEM on Windows XP, the TNSLNR.exe is terminated as I expected. At that point, all connections include OEM, iSQL*PLUS and SQL*PLUS should close connection.
    If this is right, how can one start listener from OEM? One needs listener work before using OEM to config something else. What is the purpose of Start button for listener on OEM? Even more perplexing me is that iSQL*PLUS is still works! Does iSQL*PLUS not use listener for connection?
    Your help will be appreciated,
    -Hong

    Hi
    i think its not possible to start the listener from oem, because the oem use the listener to communicate to the db.
    Regards
    Mirko

  • How to copy archivelog-files from a ASM instance to another ASM instance

    Hello ,
    our RAC database has to be moved to another Datacenter. The database has a size of several Terrabyte. Will will create a standby database (on a cluster) on the new datacenter (using RMAN backup). Since the RMAN backup takes rather long we would like to copy the archive logs to the new datacenter. Since the archivelog-files are stored on a dirskgroup of an asm instance we have the following question:
    - how can the archivelog files get copied from the current location to the new location?
    Rgds
    Jan

    VivaLaVida wrote:
    Many thanks for your answer...
    As a matter of fact the archivelogs are not backuped on a filesystem. If so we would copy them from the source to the destination host (that's easy).
    The question is "how to get them copied from one ASM diskgroup to another ASM diskgroup". RMAN might be a good solution - but we would need to
    figure that out...
    We talking about 100 GB of archivelogs a day - therefore we don't want to wait until the standby database is configured and online. To have the archivelogs
    already on the new host in the new datacenter would save alot of time.What is ASM version?
    The copy is peer to peer? (i.e Can you copy files from one ASM to another directly?)

  • Upgrade direct from 9i File System DB to 10g ASM instance

    Can I upgrade from a 9i file system based instance directly to a 10g ASM based instance? without the middle step of a 10g file system instance.
    Thanks
    MN

    The minimum compatibility for ASM storage system is 10.1.0, it is not possible to manage 9i instances in ASM, and there is no way to waive the 10g migration requirement.
    If you are planning to use 10g ASM storage then you will have to migrate or upgrade your database to 10g first. Next you will have to move your datafiles, control and log files into the ASM storage.
    0. Configure your +ASM instance
    1. Upgrade to 10g (Upgrade procedure) or Migrate (exp from 9i/imp to 10g)
    2. In case you upgraded then use RMAN as stated in the below given reference to move your datafiles to the ASM instance, or if you created the database in 10g make sure you defined +ASM as the default storage mechanism
    Ref. Oracle® Database Backup and Recovery Advanced User's Guide
    10g Release 2 (10.2)
    Part Number B14191-03
    Chapter 16.
    http://download.oracle.com/docs/cd/B19306_01/backup.102/b14191/rcmasm.htm#i1016581
    ~ Madrid
    http://hrivera99.blogspot.com

  • Problem with ASM page in OEM

    I created an ASM instance manually. Then I created a database using ASM with DBCA. The installation was good, only I ignored a msgbox about user/password of ASM.
    When I enter to Oracle Enterprise Manager from browser, it seems to work well, but when I click to link ASM page(general section) appears a Actual status is DOWN. I cant see any info about ASM. I checked the alerts an appers the next message: "Failed to connect to the ASM instance. ORA-12541: TNS:no listener (DBD ERROR: OCIServerAttach)".
    If I use sqlplus to connect to ASM instance, it works very good. ALso, I created an tablespace on diskgroup.
    Any ideas in order to see the ASM info in the OEM?
    ******* version
    The version of linux database is:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for Linux: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    ********listener
    [oracle@localhost admin]$ lsnrctl status
    LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 15-JUL-2009 22:08:20
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost.localdomain)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
    Start Date 15-JUL-2009 21:26:22
    Uptime 0 days 0 hr. 41 min. 57 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/10.2.0/db_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/product/10.2.0/db_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC0)))
    Services Summary...
    Service "+ASM" has 2 instance(s).
    Instance "+ASM", status UNKNOWN, has 1 handler(s) for this service...
    Instance "+ASM", status BLOCKED, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
    Instance "+ASM", status BLOCKED, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "dbsasm" has 1 instance(s).
    Instance "dbsasm", status READY, has 1 handler(s) for this service...
    Service "dbsasmXDB" has 1 instance(s).
    Instance "dbsasm", status READY, has 1 handler(s) for this service...
    Service "dbsasm_XPT" has 1 instance(s).
    Instance "dbsasm", status READY, has 1 handler(s) for this service...
    The command completed successfully

    I can't seem to recall now but there is a way out to add the ASM instance as a target in the targets.xml file using emca command. Let me see if I can pull out the notes.
    Aman....

  • Asm, instance and service failing to start 10g rac redhat el5

    hi,
    i have been following a how to guide from oracle's website about implementing a 10g rac system using el5 (http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html), by the end of the installation and setup I had both the nodes up and running and all services were up and running. Then under the root account I rebooted one of the nodes. now when I check the status of the services I get this:
    [oracle@rac01 ~]$ crs_stat -t
    Name           Type           Target    State     Host
    ora.orcl.db    application    ONLINE    ONLINE    rac01
    ora...._taf.cs application    ONLINE    ONLINE    rac02
    ora....cl1.srv application    ONLINE    OFFLINE
    ora....cl2.srv application    ONLINE    ONLINE    rac02
    ora....l1.inst application    OFFLINE   OFFLINE
    ora....l2.inst application    ONLINE    ONLINE    rac02
    ora....SM1.asm application    OFFLINE   OFFLINE
    ora....01.lsnr application    ONLINE    ONLINE    rac01
    ora.rac01.gsd  application    ONLINE    ONLINE    rac01
    ora.rac01.ons  application    ONLINE    ONLINE    rac01
    ora.rac01.vip  application    ONLINE    ONLINE    rac01
    ora....SM2.asm application    ONLINE    ONLINE    rac02
    ora....02.lsnr application    ONLINE    ONLINE    rac02
    ora.rac02.gsd  application    ONLINE    ONLINE    rac02
    ora.rac02.ons  application    ONLINE    ONLINE    rac02
    ora.rac02.vip  application    ONLINE    ONLINE    rac02though I can start the asm instance manually by
    srvctl start asm -n rac01and it starts but the instance and service on the rebooted node still wont start. is there a log file which tells me what the error is when it tries to start the instance? what can I do to ensure that if a node is rebooted that all of the services get started correctly and the node automatically rejoins the cluster (i thought I had set all of this from the instructions of the guide I was following).
    Regards
    Martin.

    Check ASM resource:
    crs_stat -p "resource_name
    $ crs_stat | grep NAME\= | grep ASM1
    NAME=ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    *AUTO_START*=1
    CHECK_INTERVAL=600
    DESCRIPTION=CRS application for ASM instance
    What do you see AUTO_START?
    if 1 = auto start:
    or check error ASM while start... at ASM_HOME/log/rac01/racg/*
    If AUTO_START=2
    Oracle Clusterware is configured to start the VIP, listener, instance, ASM, database services and other resources during system boot. Starting with 10.1.0.4, it is possible to modify some resources to have their profile parameter AUTO_START set to the value 2. This means that after node reboot, or when Oracle Clusterware is started, resources with AUTO_START=2 will need to be started manually via srvctl. Please work with Oracle Support if you need to modify this attribute.
    If AUTO_START=2 and need to change to 1:
    Example:
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    ACTIVE_PLACEMENT=0
    AUTO_START=2
    $ crs_stat -p ora.rac01.ASM1.asm > ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm
    $ crs_unregister ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    CRS-0210: Could not find resource 'ora.rac01.ASM1.asm
    $ vi ORA_CRS_HOME/crs/public/ora.rac01.ASM1.asm.cap
    AUTO_START=2
    to
    AUTO_START=1
    $ crs_register ora.rac01.ASM1.asm
    $ crs_stat -p ora.rac01.ASM1.asm
    NAME=ora.rac01.ASM1.asm
    TYPE=application
    *AUTO_START=1*
    Edited by: Surachart Opun (HunterX) on Jul 31, 2009 1:06 PM

  • 11g R2 Grid Infrastructure asmca cannot detect 11g R1 ASM instance

    I am playing with 11g ASM with XEN (one node on host (or dom0) and another node on vm (or dom1)) and was trying to do a Clusterware + ASM upgrade from 11.0.6 to 11.2.0. After solving some stupid problem, (see [rootupgrade.sh failed on 11g R1 to R2 Upgrade |http://forums.oracle.com/forums/thread.jspa?threadID=1005424&tstart=0]) so that all services can be started in both nodes, I am trying to upgrade ASM.
    I am trying asmca. But it is unable to detect the 11g R1 ASM instance. When started in GUI mode, it just offer to create ASM. When started in silent mode for upgrade, it shows:
    oracle@penguin-dom0:~> asmca -silent -upgradeASM
    Enter ASMSNMP Password
    ORA-01034: ORACLE not availableAnd I can't find anything in ASM alert log
    ASM is running from 11g R1 home
    oracle@penguin-dom0:~> ps -ef|grep asm
    oracle   21811     1  0 Jan06 ?        00:00:00 asm_pmon_+ASM1
    oracle   21813     1  0 Jan06 ?        00:00:03 asm_vktm_+ASM1
    oracle   21817     1  0 Jan06 ?        00:00:02 asm_diag_+ASM1
    oracle   21819     1  0 Jan06 ?        00:00:00 asm_ping_+ASM1
    oracle   21821     1  0 Jan06 ?        00:00:00 asm_psp0_+ASM1
    oracle   21825     1  0 Jan06 ?        00:00:09 asm_dia0_+ASM1
    oracle   21827     1  0 Jan06 ?        00:00:05 asm_lmon_+ASM1
    oracle   21829     1  0 Jan06 ?        00:00:03 asm_lmd0_+ASM1
    oracle   21831     1  0 Jan06 ?        00:00:03 asm_lms0_+ASM1
    oracle   21835     1  0 Jan06 ?        00:00:00 asm_mman_+ASM1
    oracle   21837     1  0 Jan06 ?        00:00:00 asm_dbw0_+ASM1
    oracle   21839     1  0 Jan06 ?        00:00:00 asm_lgwr_+ASM1
    oracle   21841     1  0 Jan06 ?        00:00:00 asm_ckpt_+ASM1
    oracle   21843     1  0 Jan06 ?        00:00:00 asm_smon_+ASM1
    oracle   21845     1  0 Jan06 ?        00:00:01 asm_rbal_+ASM1
    oracle   21847     1  0 Jan06 ?        00:00:00 asm_gmon_+ASM1
    oracle   21856     1  0 Jan06 ?        00:00:00 asm_lck0_+ASM1
    oracle   22021     1  0 Jan06 ?        00:00:00 /u01/app/oradb/product/11.1.0/db_1/bin/racgimon daemon ora.penguin-dom0.ASM1.asm11g R1 Listener is serving to ASM
    oracle@penguin-dom0:~> lsnrctl status
    LSNRCTL for Linux: Version 11.1.0.6.0 - Production on 07-JAN-2010 00:33:44
    Copyright (c) 1991, 2007, Oracle.  All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias                     LISTENER_PENGUIN-DOM0
    Version                   TNSLSNR for Linux: Version 11.1.0.6.0 - Production
    Start Date                06-JAN-2010 22:29:51
    Uptime                    0 days 2 hr. 3 min. 53 sec
    Trace Level               off
    Security                  ON: Local OS Authentication
    SNMP                      OFF
    Listener Parameter File   /u01/app/oradb/product/11.1.0/db_1/network/admin/listener.ora
    Listener Log File         /u01/app/oradb/diag/tnslsnr/penguin-dom0/listener_penguin-dom0/alert/log.xml
    Listening Endpoints Summary...
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.201)(PORT=1521)))
      (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.2.101)(PORT=1521)))
    Services Summary...
    Service "+ASM" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    Service "+ASM_XPT" has 1 instance(s).
      Instance "+ASM1", status READY, has 1 handler(s) for this service...
    The command completed successfullyNo tnsnames.ora in 11g R1 or Grid Infrastructure home.
    Setting ORACLE_HOME to 11g R1 home and ORACLE_SID=+ASM1, I can connect to ASM instance as sysasm using R1 sqlplus
    oracle@penguin-dom0:~> export ORACLE_HOME=/u01/app/oradb/product/11.1.0/db_1
    oracle@penguin-dom0:~> export ORACLE_SID=+ASM1
    oracle@penguin-dom0:~> $ORACLE_HOME/bin/sqlplus / as sysasm
    SQL*Plus: Release 11.1.0.6.0 - Production on Thu Jan 7 00:40:15 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, Real Application Clusters, Oracle Label Security, OLAP,
    Data Mining and Real Application Testing options
    SQL> Tried different combinations of ORACLE_HOME (11g R1 db home, grid infrastructure home, 11g R1 clusterware home) and ORACLE_SID (+ASM, +ASM1), but asmca still cannot connect to ASM instance.
    Some documents mentioned to configure 'Oracle Restart' and the ASM instance name is +ASM. Are these necessary requirements? If so, where can I find information on Oracle Restart and how to rename the ASM instance? Besides, the documents said it is recommanded to upgrade with OUI, but I've already installed the software, can I still use OUI?
    OS: OpenSUSE 11.1, XEN DOM0 and DOM1
    Oracle: 11.0.6 upgrade to 11.2.0
    Edited by: thtsang on Jan 6, 2010 8:47 AM
    Edited by: thtsang on Jan 6, 2010 5:33 PM

    Hi Thtsang,
    sorry for not coming back to you earlier and thanks for "the helpful".
    So, are you saying that after you have removed all the environment variables, you still got the error message "ORA-01034: ORACLE not available"? I thought you got an "ASM upgrade failed", because ASM was down at the time of the upgrade, which you then corrected saying: "In fact, ASM instance was started from Grid Infrastructure home.". Overall, I need to say that I am a bit confused to be honest.
    The alert log entry sounds promising, although, one would need to see more context. For: "But when I use crsctl / srvctl to start ASM, it is still running in 11g R1 Oracle Home." So, something went wrong with the update. For: "BTW, if asmca does not work for me, can I upgrade manually?" - ASMCA is the tool that will perform an ASM upgrade. You can call it interactively, but you will have to use it.
    Support note ID 950200.1 - "ASM 11gR2: How To Upgrade An ASM Instance To Release 11gR2 (11.2.0.1.0)?" describes an ASM upgrade to 11.2. Maybe this note can help you and if it is only to analyze what stage your cluster is in right now. It sounds like, this would be first thing that we need to find out.
    Good luck. Thanks,
    Markus

  • How to create an asm instance manaually? oracle 11gr2.

    env: oracle 11gr2 os: hpux or aix single machine , not rac.
    question:how to create an asm instance manaually?? diskgroup,listener,db ,they can be resigistered to crs??
    can anyone give me document about it?

    Hi,
    This is a simple answer:
    Automatic Storage Management (ASM)
    ASM was a new storage option introduced with Oracle Database 10gR1 that provides the services of a filesystem, logical volume manager, and software RAID in a platform-independent manner. ASM can stripe and mirror your disks, allow disks to be added or removed while the database is under load, and automatically balance I/O to remove "hot spots." It also supports direct and asynchronous I/O and implements the Oracle Data Manager API (simplified I/O system call interface) introduced in Oracle9i.
    ASM is not a general-purpose filesystem and can be used only for Oracle data files, redo logs, and control files. Files in ASM can be created and named automatically by the database (by use of the Oracle Managed Files feature) or manually by the DBA. Because the files stored in ASM are not accessible to the operating system, the only way to perform backup and recovery operations on databases that use ASM files is through Recovery Manager (RMAN).
    ASM is implemented as a separate Oracle instance that must be up if other databases are to be able to access it. Memory requirements for ASM are light: only 64 MB for most systems.
    Installing ASM
    On Linux platforms, ASM can use raw devices or devices managed via the ASMLib interface. Oracle recommends ASMLib over raw devices for ease-of-use and performance reasons. ASMLib 2.0 is available for free download from OTN. This section walks through the process of configuring a simple ASM instance by using ASMLib 2.0 and building a database that uses ASM for disk storage.
    Determine Which Version of ASMLib You Need
    ASMLib 2.0 is delivered as a set of three Linux packages:
    * oracleasmlib-2.0 - the ASM libraries
    * oracleasm-support-2.0 - utilities needed to administer ASMLib
    * oracleasm - a kernel module for the ASM library
    Each Linux distribution has its own set of ASMLib 2.0 packages, and within each distribution, each kernel version has a corresponding oracleasm package. The following paragraphs describe how to determine which set of packages you need.
    First, determine which kernel you are using by logging in as root and running the following command:
    uname -rm
    Ex:
    # uname -rm
    2.6.9-22.ELsmp i686
    The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
    Use this information to find the correct ASMLib packages on OTN:
    1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
    2. Select the link for your version of Linux.
    3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
    4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
    Next, install the packages by executing the following command as root:
    rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
    oracleasmlib-asmlib_version.cpu_type.rpm \
    oracleasm-support-asmlib_version.cpu_type.rpm
    Ex:
    # rpm -Uvh \
    > oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
    > oracleasmlib-2.0.1-1.i386.rpm \
    > oracleasm-support-2.0.1-1.i386.rpm
    Preparing... ########################################### [100%]
    1:oracleasm-support ########################################### [ 33%]
    2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
    3:oracleasmlib ########################################### [100%]
    Configuring ASMLib
    Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
    # /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface []: oracle
    Default group to own the driver interface []: dba
    Start Oracle ASM library driver on boot (y/n) [n]: y
    Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
    Writing Oracle ASM library driver configuration: [  OK  ]
    Creating /dev/oracleasm mount point: [  OK  ]
    Loading module "oracleasm": [  OK  ]
    Mounting ASMlib driver filesystem: [  OK  ]
    Scanning system for ASM disks: [  OK  ]
    Next you tell the ASM driver which disks you want it to use. Oracle recommends that each disk contain a single partition for the entire disk. See Partitioning the Disks at the beginning of this section for an example of creating disk partitions.
    You mark disks for use by ASMLib by running the following command as root:
    /etc/init.d/oracleasm createdisk DISK_NAME device_name
    Tip: Enter the DISK_NAME in UPPERCASE letters.
    Ex:
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
    Marking disk "/dev/sdb1" as an ASM disk: [  OK  ]
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
    Marking disk "/dev/sdc1" as an ASM disk: [  OK  ]
    # /etc/init.d/oracleasm createdisk VOL1 /dev/sdd1
    Marking disk "/dev/sdd1" as an ASM disk: [  OK  ]
    Verify that ASMLib has marked the disks:
    # /etc/init.d/oracleasm listdisks
    VOL1
    VOL2
    VOL3
    Create the ASM Instance
    ASM runs as a separate Oracle instance which can be created and configured using the Oracle Universal Installer. Now that ASMLib is installed and the disks are marked for use, you can create an ASM instance.
    Log in as oracle and start runInstaller:
    $ ./runInstaller
    1. Select Installation Method
    * Select Advanced Installation
    * Click on Next
    2. Specify Inventory Directory and Credentials
    * Inventory Directory: /u01/app/oracle/oraInventory
    * Operating System group name: oinstall
    * Click on Next
    3. Select Installation Type
    * Select Enterprise Edition
    * Click on Next
    4. Specify Home Details
    * Name: OraDB10gASM
    * Path: /u01/app/oracle/product/10.2.0/asm
    Note:Oracle recommends using a different ORACLE_HOME for ASM than the ORACLE_HOME used for the database for ease of administration.
    * Click on Next
    5. Product-specific Prerequisite Checks
    * If you've been following the steps in this guide, all the checks should pass without difficulty. If one or more checks fail, correct the problem before proceeding.
    * Click on Next
    6. Select Configuration Option
    * Select Configure Automatic Storage Management (ASM)
    * Enter the ASM SYS password and confirm
    * Click on Next
    7. Configure Automatic Storage Management
    * Disk Group Name: DATA
    * Redundancy
    - High mirrors data twice.
    - Normal mirrors data once. This is the default.
    - External does not mirror data within ASM. This is typically used if an external RAID array is providing redundancy.
    * Add Disks
    The disks you configured for use with ASMLib are listed as Candidate Disks. Select each disk you wish to include in the disk group.
    * Click on Next
    8. Summary
    * A summary of the products being installed is presented.
    * Click on Install.
    9. Execute Configuration Scripts
    * At the end of the installation, a pop up window will appear indicating scripts that need to be run as root. Login as root and run the indicated scripts.
    * Click on OK when finished.
    10. Configuration Assistants
    * The Oracle Net, Oracle Database, and iSQL*Plus configuration assistants will run automatically
    11. End of Installation
    * Make note of the URLs presented in the summary, and click on Exit when ready.
    12. Congratulations! Your new Oracle ASM Instance is up and ready for use.
    Kind regards
    Mohamed

  • Access ASM instance remotely

    Hi,
    In a 2 nodes RAC environment, each ASM instance has its own HOME directory.
    I was wondering wether it was possible to access the ASM instance remotely via SQLPLUS session or from a remote client (Toad, etc.)
    I have seen the note 340277.1 and tried to configure listener and tnsnames for a remote connection but I still get the error : "ORA-12528: TNS:listener: all appropriate instances are blocking new connections".
    Thanks for help
    Bertrand

    There is a known bug in TOAD. One of my colleagues found it on the TOAD support site. I am not sure what version it is fixed in.
    I downloaded SQL*Developer, and used that with success.
    Jeff
    Message was edited by:
    jefcen

Maybe you are looking for

  • Report with BDC not displaying success message when run in Background

    I am running a  BDC report in Background mode.The below statement  is not capturing the Success message when a document is posted.But when I am running the same in ForeGround mode it is capturing and is displayed in the output.Can anyone please help

  • HP Officejet 4620 Won't Scan on Printer Itself

    My computer runs on Windows 8, and updated itself last night. Somehow my printer was disconnected from the computer, so I couldn't do anything. I reinstalled the printer, but now I cannot scan using the "scan" button on the printer itself; I now have

  • User exit EXIT_SAPMV45A_002

    hello friends, I am SD consultant.Can any help me, i was doing the topic of user exit for pre-defined sold to party using v45a0002 in cmod and i wrote a program in include ZXVVZU04 while activating i got error msg 'The last statement is not complete

  • MSSQL datatypes that return NullPointerException

    Using XSQLServlet with BEA Systems type 4 jDriver for SQL Server 7.0 Version: 5.1.0, I get the following error: oracle.xml.sql.OracleXMLSQLException: java.lang.NullPointerException while trying to access the following MSSQL Server datatypes which hav

  • DBMS_STATS.AUTO_SAMPLE_SIZE in a mapping

    Hi all, I would like to know if there is a way to implement DBMS_STATS.AUTO_SAMPLE_SIZE in a mapping. So far I know it is possible the following. ANALYZE_TABLE_STATEMENTS (true/false) ANALYZE_TABLE_SAMPLE_PERCENTAGE (100, also it is possible to set -