How to login to asm instance?
T login to an asm instance I have set the
bash-2.03$ export ORACLE_HOME=/u01app/oracle/product/102/asm
bash-2.03$ export ORACLE_SID=+ASM
but when i do a sqlplus "/as sysdba" it shows as connected to idle instance.
But all asm backgroup processes are up and running.
How do we login to run the sql:
select * from V$ASM_DISKGROUP;
first few rows of ps -ef|grep asm
oracle 23188 1 0 Jun 05 ? 0:07 asm_diag_+ASM
oracle 23210 1 0 Jun 05 ? 0:13 asm_dbw0_+ASM
oracle 23186 1 0 Jun 05 ? 0:12 asm_pmon_+ASM
oracle 23204 1 0 Jun 05 ? 1:03 asm_lms0_+ASM
oracle 23214 1 0 Jun 05 ? 0:13 asm_ckpt_+ASM
oracle 23216 1 0 Jun 05 ? 2:30 asm_smon_+ASM
oracle 23250 1 0 Jun 05 ? 3:14 asm_lck0_+ASM
Similar Messages
-
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 -
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:01Hi,
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 -
How can I install ASM instance in another oracle home?
Hello:
I have installed Oracle 10 g R2 software at a oracle home,and have create a database with an instance named ocafs withou ASM,now I want to install ASM instance and create a new database using ASM,how can I insure that the ASM is installed in it's own oracle home by using dbca or some other tools? And can I specify the instance name of the ASM?
Thank you very much!Use the oui.exe (Universal Installer), it checks for existing homes. Based on what you want to do (create a new db with ASM), OUI is smart in that in will not let you create it in an existing home. It will prompt for a different location if you try to use an existing home.
Good luck -
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 PMHi 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 -
ASM instance removal not happening: showing ora.asm still runing
I am trying to remove the ASM instance, though the ASM instance is down, still it shows resouce ora.asm is running.
Could you please help me to remove the ASM instance.
oracle@tbardbb2:/usr/home/rcummins> srvctl remove ASM -n tbardbb2
-n option has been deprecated and will be ignored.
PRCR-1025 : Resource ora.asm is still running
Now I stopped the resource: crsctl stop resource ora.asm -n tbardbb2 -f
now while deleting it shows:
oracle@tbardbb2:/usr/home/rcummins> srvctl remove asm -n tbardbb2
-n option has been deprecated and will be ignored.
PRCR-1001 : Resource ora.asm does not exist
How will I check if my ASM instance is removed..
Edited by: 784786 on Jul 29, 2011 5:26 PM784786 wrote:
I am trying to remove the ASM instance, though the ASM instance is down, still it shows resouce ora.asm is running.
Could you please help me to remove the ASM instance.
oracle@tbardbb2:/usr/home/rcummins> srvctl remove ASM -n tbardbb2
-n option has been deprecated and will be ignored.
PRCR-1025 : Resource ora.asm is still running
Now I stopped the resource: crsctl stop resource ora.asm -n tbardbb2 -f
now while deleting it shows:
oracle@tbardbb2:/usr/home/rcummins> srvctl remove asm -n tbardbb2
-n option has been deprecated and will be ignored.
PRCR-1001 : Resource ora.asm does not exist
How will I check if my ASM instance is removed..
Edited by: 784786 on Jul 29, 2011 5:26 PM
HI,
Please read note How to remove an ASM instance and its corresponding database(s) on UNIX [ID 357261.1] for the details
CHeers -
Chanege ASM instance parameter
PLease help ,
How to change ASM instance parameter MEMORY_TARGET ?
SQL> show parameter spfile
NAME TYPE VALUE
spfile string
SQL>
$ asmcmd spget
+OCR_VOTE/c1se/asmparameterfile/registry.253.812471763
SQL> alter system set MEMORY_TARGET=800M scope=both ;
alter system set MEMORY_TARGET=800M scope=both
ERROR at line 1:
ORA-32001: write to SPFILE requested but no SPFILE is in use
How to modify Oracle ASM instance parameters ?
Thank'sI think your response is not correct. The ASM instance will require a parameter file, just like any other Oracle instance. As of 11gR2, the ASM spfile is stored automatically in the first disk group created during the Grid Infrastructure installation.
The trick is that ASM can read the spfile stored on ASM disks through the css cluster daemon and reading the ASM device header. People here in the forum and on the Internet have written good and detailed information about this, for instance:
Where is my Oracle ASM Instance spfile
http://aychin.wordpress.com/2011/01/22/oracle-11gr2-asm-spfile-eng/ -
How to configure Oracle Enterprise manager 11.2.0.1 for ASM instance
Hi All,
Please let us know How to configure Oracle Enterprise manager 11.2.0.1 for ASM instance.
Reagrds,
VikasAssuming an agent is running on the servers you want to monitor,
navigate to the Agent home page (Via setup --> Agent)
When in the agent home page select 'Add Database'and press [Go]
Assuming yopur database now gets recognized, select the Configure icon and enter the password for dbsnmp.
When done, press [Ok] to return to the agent home page.
Regards
Rob
http://oemgc.wordpress.com -
How to create a single instance ASM installation on Windows using 11gR1 ?
Good afternoon,
After reading much documentation and doing a lot of Googling, I have not found a step by step procedure on how to install/use ASM for a single database instance successfully. This is using Windows XP SP2, Oracle 11gR1 (I can likely adjust any procedure that is meant for Server 2003 or 2008 as long as it is does not require a 64bit installation.)
If someone knows where I can find a step by step procedure on how to do this, that actually works and, would be so kind to share it, I'd much appreciate it.
Thank you,
John.440bx - 11gR2 wrote:
Good afternoon,
After reading much documentation and doing a lot of Googling, I have not found a step by step procedure on how to install/use ASM for a single database instance successfully. This is using Windows XP SP2, Oracle 11gR1 (I can likely adjust any procedure that is meant for Server 2003 or 2008 as long as it is does not require a 64bit installation.)
If someone knows where I can find a step by step procedure on how to do this, that actually works and, would be so kind to share it, I'd much appreciate it.Hi John,
As we have discussed on other threads, in 11.2, its not possible to do the installation of the ASM without using the Grid Infrastructure. The reason is ASM instance can be created using the ASMCA only in 11.2 which would run only from the Grid Home. So if you are willing to use ASM in 11.2, you have to go through either on 64bit windows, or 32 bit linux. Other than this, you can use 11.1 and/or 10.2 where DBCA can be used for the same.
HTH
Aman.... -
How does 1 ASM instance in a 10 node RAC cause all 10 ASM instance to hang
Linux RHEL4
11.2.0.1.0 GI
11.2.0.1.0 RDBMS
11.1.0.7.0 RDBMS
10.2.0.4.4 RDBMS
Yesterday we had one of the ASM instance on our 10-node cluster hang with a latch "ASM file allocation latch". Oracle support has stated we are hitting a bug with is fixed in the latest PSU.
What I am trying to understand is how a latch on one ASM instance caused all 10 ASM instances to hang?
Oracle Supports explanation still does not answer how all 10 ASM instance were affected other then the faulty code that the patch fixes. Bellow is info out of the SAR.
Data Guard Site:
================
ARC1 PID 21508 reports ORA-240 'control file enqueue held for more than 120 seconds' at Thu Oct 28 11:35:54 2010. This message means ARC1 PID 21508 was holding the enqueue past the maximum tine limit of 120 seconds.
Next ARC0 PID 17398 reports ORA-16146: 'control file enqueue unavailable' at Thu Oct 28 11:36:52 2010. This means ARC0 PID 17398 tried to access the controlfile and it could get the lock.
ARC1 PID 21508 is then killed at Thu Oct 28 11:49:57 2010.
Killing enqueue blocker (pid=21508) on resource CF-00000000-00000000 by (pid=23078) by killing session 5.3
We see that RSM has been restarted by Broker. This matches to the alert.log and messages showing RSM being restarted several time. i.e. RSM0 started with pid=84, OS id=27915
Since this started happening around 11:14, the problem may have really started then instead of w/ the CF enqueue block.
The primary appears to be shipping redo to the standby using asynchronous mode. Unless there was a gap, I do no know if ARC1 should have been doing any remote network I/O. Because a log switch to thread 1 sequence 5235 had just happened at 11:33am, I suspect it was a local disk I/O that was started at least. The ORA-240 is reported at 11:35, exactly 120 sec (or 2min) from this log switch. Notice also the entry to show the log thread 1 sequence 5234 was registered to the controlfile didn't happen yet.
ASM Side:
============
From the systemstate dump on ASM, multiple processes are waiting on 'ASM file allocation latch' and we are kind of stuck on stack:
ksedsts()+461<-ksdxfstk()+32<-ksdxcb()+1782<-sspuser()+112<-0000003218E0C5B0<-kfuhInsert()+175<-kffilCreate()+601<-kfnsUFG()+3691<-kfnsBackground()+4382<-kfnDispatch()+527<-opiodr()+1149<-ttcpip()+1251<-opitsk()+1633<-opiino()+958<-opiodr()+1149<-opidrv()+570<-sou2o()+103<-opimai_real()+133<-ssthrdmain()+214<-main()+201<-__libc_start_main()+219
This caused the hang on the ASM side and hence ASM was not responding to the database. The CF Enqueue issue on the database was a side effect of this.
This is a direct <BUG:9232266> which is a duplicate of <BUG:8974548>Thanks Murali,
I was little reluctent to open a tar since my experince says that its better to troubleshoot the issue yourself instead of spending time with the Oracle support :)
Well, I got some more information on this : the sql for the process id of ASM instance is :
Alter Diskgroup mount all;
It looks like it is unable to mount the diskgroup and get hunged at that point , is it due to the new disk added to the system or do we missed something after adding the new disk.
Also, the ASM process can not be killed from unix box while the ASM is down.
Will appreciate your time if we can move in any directions from here ..
Thanks ,
Ankur -
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
JanVivaLaVida 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?) -
How to transfer the logins from one instance to another instance in sql2008r2
how to transfer the logins from one instance to another instance in sql2008r2
Hi Ganesh,
According to your description, you want to know how to transfer the logins from one instance to another instance for SQL Server 2008 R2. To do this, besides dave’s post, you could also use
'Copy Database Wizard' in SQL Server Management Studio, or the component
'transfer Login task' in SQL Server Integration Services.
Regards,
Michelle Li -
How many cores i need for my new instance? 6 instances+ASM instances+new instance
we have a server database with 6 instances rdbms+ asm instances. We want to add a new instance.
Is there any formula or rule that is a reference to determine the number of cores to assign to my new instance?
My new instance are going to have 900 gigas of data, and 29 gigas of memory targer, and CORES?? i don´t know it, i need helpHi,
>>we have a server database with 6 instances rdbms+ asm instances. We want to add a new instance.
>> Is there any formula or rule that is a reference to determine the number of cores to assign to my new instance?
>> My new instance are going to have 900 gigas of data, and 29 gigas of memory targer, and CORES?? i don´t know it, i need help
How have been assigning the cpu_cores to existing databases and ASM ?
Please read this now, Instance Caging, which explains how can you divide CPU Cores among different database running on a server:
http://www.oracle.com/technetwork/database/performance/instance-caging-wp-166854.pdf
When you add a new instance you also need to consider about available free memory on the server and additional IOs going to the disks. If you IO is already saturated then probably need to request new storage etc.
HTH,
Pradeep -
How to add one more database to an ASM instance
Dear Gurus,
I Created an ASM Instance and Database. Now I would like to install one more database and use the ASM instance to manage my disks.
I tried using DBCA, It is not detecting ASM instance not sure why it is giving the problem.
Thanks in advance.adchanana : I refered thread written by adchanana, I was able to fix my problem
thanks -
How to start ASM instance at boot time - RHEL 2.1
Oracle 10.1.0.3
RHEL 2.1
I'm not able to get the ASM instance (not RAC) to start at boot time. It seems that the ocssd daemon does not finish starting until after all rc* scripts, including rc.local, have finished executing.
Patch 3458327 includes a new dbstart with header notes that are in conflict. The notes says that dbstart can't be used to start ASM until AFTER all rc* is finished. Then it continues and states that ASM instance startup should be put in rc.local.
As soon as I get logged on, a ps -ef|grep ocssd shows the daemon running. I can then manually start the ASM instance. There must be a way to get the ASM instance "auto" started at boot time.
Ideas?The cheapest and administratively easiest way for me was to start Oracle instances (ASM and data) by "at" command :-) from rc scripts. Something like:
....echo "oracle start" | at now+2min....
Additionally the deferred startup has some additional advantages in my environment, so I am not motivated to look for better solution.
Best regards,
Pavel
Maybe you are looking for
-
There is a file in the Trash with a filename containing strange symbols, along with some Chinese characters. For some reason when I empty the Trash, all files are deleted as expected, expect this one particular file. The symbols are: ␀ ␀獭潤 - although
-
Myt iMac has slowed to a crawl
I attached a LaCie 2Big Thunderbolt drive yesterday, and last night bought aqnd loaded Quicktime Pro 7, and now my iMac is responding to mouse inputs about once every 30 seconds (as if the clock is either really slow, or it is very busy doing other t
-
Google calendar event times are shown as -1h
Summary: When I create a new event in the built in WP8 calendar app to a Google calendar the time of the event is being displayed as one hour earlier. Steps to reproduce: Create a new event in calendar. Choose one of the Google calendars configured (
-
How can I start a new paragraph within the same table cell?
In Numbers, when adding text within a table frame, how can I start a new line within the same frame (rather than advancing to the next cell)? I'd like to enter a mini-list of several items of various lengths of data.
-
Why can't I use a pointer as an argument?
Here is an example of a function... // Function prototype int foobar(unsigned int a, int *b); // Function int foobar(unsigned int a, int &b) // Acquire some data... then b = Data[a]; I get the following error: 73, syntax error; found '&' expe