Question on ASM operation

Hi,
i am using oracle 11gR1 and ASM as storage option. user sys is ASM admin but i am not able to access ASM instance with sys user. if i do su oracle then i can access asm instance , do asm dg operation etc. i thought ASM admin is the one who can do execute some operation on asm instance and asm dg etc. should i always use "oracle" user for ASM operation . cant i use "sys" user for this. Please share your view on this.
Thanks for your help,

user11305560 wrote:
is it possible to make one OS user owner of crs and make one OS user admin of ASM instance. i believe the CRS owner will have permission to do ASM administration also. Following is the error message, i am getting when i am doing su sys.
$ export ORACLE_SID="+ASM1"
$ su sys
$ sqlplus '/ as sysdba'
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Nov 5 20:19:45 2009
Copyright (c) 1982, 2007, Oracle. All rights reserved.
ERROR:
ORA-01031: insufficient privileges
Enter user-name: sys
Enter password:
ERROR:
ORA-15000: command disallowed by current instance type
############################################3
when i do su oracle it works fine.
$ su oracle
$ sqlplus '/ as sysdba'
SQL*Plus: Release 11.1.0.6.0 - Production on Thu Nov 5 20:21:05 2009
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, OLAP, Data Mining
and Real Application Testing options
SQL>If you install ASM by "oracle" user, you should use "oracle" to connect ASM as sysdba

Similar Messages

  • Questions on asm disk discovery:

    Questions on asm disk discovery:
    1)What is the relationship btween asm_diskstring in the init.ora and DiscoveryString in the GPNP profile.xml?
    2)  Which one of the above two finally accounts for the disk discovery process?
    3)  We know that asmlib disks are self describing at the disk header. This overcomes the disk name/path persistency issue as we no long need to rely on the path to discover the asm disks, by setting asm_diskstring='ORCL:*' , ASM instance will identify the right disks automatically. However, I am not sure if setting asm_diskstring='ORCL:*' is the most economic way to do the discovery as I am not sure if Oracle will have to probe all the disks on the OS to determine the right disks. If Oracle has to screen all the disks in this way, then I think setting asm_diskstring='<path_to_asmlib_disk>' will be much faster, although this will be open to the persistent problem. Is my understanding correct?
    Thanks.

    From my understanding all disk you see in /dev/oracleasm/disks are the disks in your system that been discovered by asmlib at discovery stage.
    Currently, due to bug 13465545, ASM instance will discover disks from both locations, ASM_DISKSTRING and gpnp profile, which can cause some mess in disk representation for asm. You can check the settings using asmcmd command: dsget, and set to be the same using dsset.
    I think its more secure to set ASM_DISKSTRING to only the disks used by asm instance.
    ASMCMD> dsget
    Regards
    Ed

  • Questions on asm disk discover:

    Questions on asm disk discover:
    1)What is the relationship btween asm_diskstring in the init.ora and DiscoveryString in the GPNP profile.xml?
    2) which one finally accounts for the disk discovery process?
    3) We know that asmlib disks are self describing at the disk header. This overcomes the disk name/path persistency issue as we do not rely on the path the discover the asmlib
    disks. asm_diskstring='ORCL:*' will identify the right disks. I am not sure if setting 'ORCL:*' is the most economic way as I am not sure if Oracle will have to scan all the disks
    on the OS and probe the disks that it has rigths to determine which disks belong to ASM. If Oracle has to screen all the disks in this way, then I think setting
    asm_diskstring='<path_to_asmlib_disk>' will be much faster. However, this will be open to the persistent problem. Is my understanding correct?
    Thanks.

    Questions on asm disk discovery:
    1)What is the relationship btween asm_diskstring in the init.ora and DiscoveryString in the GPNP profile.xml?
    2)  Which one of the above two finally accounts for the disk discovery process?
    3)  We know that asmlib disks are self describing at the disk header. This overcomes the disk name/path persistency issue as we no long need to rely on the path to discover the asm disks, by setting asm_diskstring='ORCL:*' , ASM instance will identify the right disks automatically. However, I am not sure if setting asm_diskstring='ORCL:*' is the most economic way to do the discovery as I am not sure if Oracle will have to probe all the disks on the OS to determine the right disks. If Oracle has to screen all the disks in this way, then I think setting asm_diskstring='<path_to_asmlib_disk>' will be much faster, although this will be open to the persistent problem. Is my understanding correct?
    Thanks.

  • HT4623 Hi I have a question, I am operating my iPhone 4S on 6.1.1iOS, as my power button is not working, I have jailbreoked my device so that I have a option to restart and shutdown my device. If i upgrade to iOS 7 do i have such option?

    Hi I have a question, I am operating my iPhone 4S on 6.1.1iOS, as my power button is not working, I have jailbreoked my device so that I have a option to restart and shutdown my device. If i upgrade to iOS 7 do i have such option?

    Jailbreaking your iPhone forfeits your ability to receive any support on that phone, including from this forum.
    You'll have to search elsewhere for answers to your issue.

  • Question concerning WiSM operation

    I have a question concerning the operation of the wireless network and the WiSM in a 6500 that we have put in place. My customer has the following setup: On thier mainsite, they have a core 6500 with a WiSM module in place. They have 4 remote sites, with several APs at each remote site. Each remote site is setup in an all Cisco environment, where its typically AP --> cisco switch --> fiber to main site cisco switch --> core --> then on to where ever. I have an engineer telling me this, that whatever wireless data traffic (internet, anything) that hits the AP (at any site), it must go THROUGH the WiSM module. I would have thought that the WiSM module would be for ONLY management of APs, not for data traffic handling.
    Again, he says that ALL traffic (internet, etc) goes through the WiSM module, then on out through the infrastructure.
    I would have thought that traffic would go through the AP only, then through the infrastructure.
    Can you verify wheather data traffic from any wireless device through the AP actually traverses the WiSM module or not?
    Again, I thought the WiSM module would be only for management of APs. Thanks.

    The engineer is largely correct. By default, the APs will tunnel all traffic to the controller to be distributed according to VLAN/SSID. The controller and the AP work together to perform the normal wireless <-> wired bridging. This allows some flexibility in how the infrastructure handles mobile clients. There are many benefits to the Cisco Unified model (or LWAPP).
    We have three hospital campuses and only a couple remote wireless sites. They are all well-connected. As all our primary app servers are on one campus, we only have controllers on that one campus. The client traffic is bridged at the main campus.
    The Cisco Unified model does offer other modes of operation (H-REAP for example) that allow some local traffic to bypass the controller and be bridged by the AP to the local LAN. There are some caveats to this, however, and you'd want to read up on it before trying it:
    http://www.cisco.com/univercd/cc/td/doc/product/wireless/control/c44/ccfig41/index.htm
    or more specifically:
    http://www.cisco.com/univercd/cc/td/doc/product/wireless/control/c44/ccfig41/c41hreap.htm

  • Question about ASM

    Hi dears,
    I am planning the installation of G.I 11R2 and have a question regarding ASM.
    If I have ASM diskgroup with normal or high redundancy for my DB need I create multiplex redologs and
    multiplex controlfiles ? If I understood correctly the multiplex redologs and controlfile is another HA and DR option.
    From Oracle documentation
    *"To protect against a failure involving the redo log itself, Oracle Database allows a multiplexed redo log, meaning that two or more identical copies of the redo log can be automatically maintained in separate locations."*
    Question rised when I checked my old G.I with RACcheck and got the following....
         The online redo logs of an Oracle database are critical to availability and recoverability and should always be multiplexed even in cases where fault tolerance is provided at the storage level.
    The controlfile of an Oracle database is critical to availability and recoverability and should always be multiplexed even in cases where fault tolerance is provided at the storage level.
    "should always be multiplexed even in cases where fault tolerance is provided at the storage level"
    WHY ????
    Please share your experience.
    ./thanks

    Ilmar Kerm wrote:
    Redo logs and controlfile are very critical for database, and if something happened with one copy of them (like file is deleted or corrupted) you can quickly recover by copying over the damaged file with the contents from the surviving file (copies are identical). So copies should be located on separate LUNs/disks/diskgroups/filesystems.Thanks Ilmar for reply.
    I understand what you said its obvious. My questions is that if I already have 2 copies or 3 copies of redolog files with ASM nigh or normal redundancy why I need to do it also with creating multiplex redo file.....

  • Few Questions on ASM

    Hi,
    I am new to ASM and I have few questions regarding ASM.
    1.In a RAC environment I understand there will be 2 ASM instanace for a 2 node RAC.If one of the node crashes for ASM what will happen to
    the other instance and How will other instance will know about crash of one of the instance.
    2.How can I backup ASM database through RAMN and How can I recover to a different new machine without ASM.
    3.Where should I keep my archive logs,can I keep my archive logs on ASM if so how can I configure the database for that.
    4.Usually companies keep 4-5 instance on each node and with ASM it will be one more instance.what will happen to cache fusion for the instances(ASM also uses cache fusion if so how we can query if there is bottleneck on the cache fusion).
    5.How can we administor ASM instances.(ASMCMD OR SRVCTL OR BOTH).
    6.If I want to duplicate the database through RMAN how can i do it if I am using ASM.
    7.ASM instances do we have to take backup or how can I recreate them.
    Regards
    MMU

    MMU,
    ASM is a volume manager like other volume manger available in the market. ASM does not have any data dictionary and there is no need to take backup of ASM instance as this will have only metadata about ASM disks and ASM instance itslef keep mirrored copy of this metadata internally.
    Regarding your questionsa about backup, I would suggest you to go thru Oracle Backup and Recovery Advanced User Guide available from OTN.
    For administration of ASM instance, there are database views starting with v$ASM* that can be very useful. Following are few of ASM views:
    V$ASM_DISK
    V$ASM_DISKGROUP
    V$ASM_OPERATION
    V$ASM_FILE
    V$ASM_ALIAS
    Thanks & Regards

  • Looking for information on the below questions on ASM

    Scenario: (Oracle 10g on Windows 2003 with EMC storage)
    ASM Partition table crashed for LUN 20 on 18th July
    DB was up and running till 23rd July (New LUN (LUN 36) was presented and the RMAN backup used to restore the data that were residing on the corrupt LUN)
    End of the day everything screwed up and the complete grid (4 nodes) was rebuild.
    Links:
    As mentioned in the link: http://www.exforsys.com/forum/oracle-database/487-what-asm-instance-oracle.html
    "The ASM instance is only involved during the creation or deletion of files and when disk configurations change (such as dropping or adding a disk). When these types
    of changes occur, the ASM instance automatically rebalanced the disks and provides the necessary information to refresh the extent map in the SGA of the database
    instance. Of course, this process requires that the ASM instance run concurrently with the database instance, and only shut down after the database instance is
    closed."
    As mentioned in the link: http://www.orafaq.com/wiki/ASM_FAQ#ASM_disk_header.2Fsuperblock_backups.3F
    "ASM disk headers (super-blocks) cannot be backed up and restored in Oracle 10g. By implication, if you use EXTERNAL REDUNDANCY and a single disk's header is
    accidentally overwritten, the entire disk group will have to be restored."
    As mentioned in the link: http://www.datadisk.co.uk/html_docs/oracle/asm.htm
    "ASM is a special instance that does not have any data files, there is only ASM instance one per server which manages all ASM files for each database. The instance
    looks after the disk groups and allows access to the ASM files. Databases access the files directly but uses the ASM instance to locate them. If the ASM instance is
    shutdown then the database will either be automatically shutdown or crash. "
    With the above scenario and the documents provided in the links above, I am unable to get the complete picture of what went wrong. Will be great if some one could
    through more light on the below questions. (Note: we have multiple vendor engaged managing different part of this outage and unable to get the real fact of what went
    wrong)
    1, The ASM had given the details of the disk to the DB, and the DB is managing the disk directly. Also the DB and the ASM instance were up and running till 23rd is
    what i understand going by the details given in the above links, in this scenario how can we confirm that the partition table is corrupt / missing. Is their a way to
    check the same?
    2, ASM disk headers (super-blocks) cannot be backed up, that means that it can not be read directly. Then is it possible to say that the ASM disk header is corrupt /
    missing?
    3, If the ASM disk header / partition table of LUN 20 is corrupt on 18th, can the DB run till 23rd without any issue? will the ASM & DB does not crash?
    4, ASM will strip the data across the available LUN's, will it not be able to rebuild the data on the newly presented LUN 36 instead of using RMAN backup to rebuild the
    data? or is the ASM not configured as it should be done. (WE have multiple LUN's presented to this Grid)
    Edited by: 880333 on Aug 19, 2011 12:35 AM

    What relation with the Oracle Forms product ?
    Francois

  • Question about bit operation

    1/ I know I can use << to translate from number of index to the binary number.
    But how can I translate from binary number to number of index? (e.g. 1024 translates to 10)
    2/ How can I separate two bits in a number? (e.g. 144 translates to 128+16)
    3/ How can I know that the number exists a required bit? (e.g. check 144 if there exists 4th bit)
    Currently, I translate to binary number string first and then use indexOf and lastIndexOf methods to get the location of the bits.
    3rd question I use number==(number|10000)
    Is it any other more efficient methods to achieve that?
    Thanks.

    nwoedf wrote:
    1/ I know I can use << to translate from number of index to the binary number.
    But how can I translate from binary number to number of index? (e.g. 1024 translates to 10)Convert the number to a binary String and go through it keeping track of the 1 bit positions.
    You can use Integer.toString(1024, 2); to convert for example.
    2/ How can I separate two bits in a number? (e.g. 144 translates to 128+16)Same as the first one, then you just need to go through the bits again and translate the indices into the values.
    3/ How can I know that the number exists a required bit? (e.g. check 144 if there exists 4th bit)The & operator can be used for that for example.
    Currently, I translate to binary number string first and then use indexOf and lastIndexOf methods to get the location of the bits.
    3rd question I use number==(number|10000)
    Is it any other more efficient methods to achieve that?Why, is your computer not doing this fast enough?

  • Questions about Deployment Operations Manager 2012 R2

    Hi Folks
    Questions: I have one infrastructure with Operations Manager 2012 R2, two Management Server.
    Now, I'm trying install feature operations manager reporting in SQL Server.
    added the OMDRA and OMDWWA accounts as a local administrator of the SQL server.
    I'm using media installation Operations Manager 2012 R2, but I'm received erros, any idea? Or I need using media installation Operations Manager 2012 SP1?
    Thanks
    Wilsterman Fernandes

    Hi There,
    I had seen a similar issue here. The error log has a point mentioning " ApplyUpdates: Unable to load QFE file."
    I saw this error on this below thread as well.
    https://social.technet.microsoft.com/Forums/en-US/a10ce69e-2584-4a4d-86b9-64ee8c5bf85d/reporting-services-installation-failing?forum=operationsmanagerreporting
    He said he fully re installed the whole setup and it solved the issue.
    But i understand that is quiet difficult and complicated to do.
    =================================================
    I would suggest you check the permissions again
    1.Does your data reader and writer account have SQL permissions i.e sysadmin permissions ?
    2.Also is your SQL server in the same AD Domain or is it in a different domain ?
    3.Is the SQL Server scale of deployment joined ?
    4. Did you look in the ops manager event logs ? Can you check and post them here plz.
    5. Is the operationsmanager DB and warehouse DB as well hosted on the same SQL server where you are trying to install reporting.
    Gautam.75801

  • Question on executing operations in Background

    Hi All,
    I am building up an universal app targeting 8.1 runtime and also new to whole .NET world.
    I have some operations  in my application which I want to perform in parallel, asynchronously and also in background. These operations include file upload, download (both I/O and compute bound).
    So I wanted to execute them In threads.  I would like to process them in 3 threads. Each thread will work on the operation queue and keep waiting perpetually (in while(true) loop) unless an operation is available for execution. These threads would also
    pass task status or progress updates to UI.
    Would also like to have these threads running on Application lock or if the app suspends . If my application terminates or if the network connections is lost these threads will stop. Also would like
    to cancel the operations running in the threads according to me requirements (like cancelling a file download).
    My initial hunch was to use threads. But since threads are not available for windows store apps and my exploration about threading in Windows store apps revealed to use task to perform this.
    I read about the Tasks Asynchrony pattern (TAP) whitepaper published by MS ,channel 9 videos from Bruce Kyle and lot of other blogs. I am convinced to use Tasks .As it runs on a thread pool which
    can take advantage  of multi core processor and is better performing
    Questions on Tasks will be
    Will it be useful as background thread. Can tasks be run as a background thread perpetually.
    I don't really need my tasks to return results. The result from the operations can be relayed to UI through events.
    Do I have to schedule my tasks from a background task API when the app suspend ?
    Does the Task API fit my scenario ?
    Are Background tasks in Windows same as services in Android.  ?
    Thanks a lot and Regards,
    Saurav

    You app's threads will all suspend when the app suspends. If you need to continue running in the background you will need to register a background task.
    BackgroundUploader and Downloader are the best ways to accomplish uploading and downloading in the background.
    For other functionality in the background it depends on what specifically you need to do. Background processing is deliberately limited, but you can create Background Tasks for specific purposes. As hereafter suggested, please see
    Guidelines for background tasks

  • Question on Asm Disk Groups

    Hello,
    I have five 200gb (Total 1 TB) disks on my prod rac environment and we are using 11g 11.1.0.6. These disks have been mounted a while back and the db is currently 50gb full.
    My question is i need to unmount one of the disks of 200gb since we are having a shortage of disks at the moment, so i can use it as the flash recovery drive. My understanding with asm is that even if once disk fails the rebalnce act would happen and it would stripe data across four disks without any loss of data or downtime.
    We are using external redudancy on these disks and they use Raid 5.
    Can i attempt this, if this is possible could you guys give me the best command i can use to do this.
    Thx All

    Just do an
    alter diskgroup <name> drop disk <name>;The documentation states:
    DROP DISK The DROP DISK clause lets you drop one or more disks from the disk group and automatically rebalance the disk group. When you drop a disk, Automatic Storage Management relocates all the data from the disk and clears the disk header so that it no longer is part of the disk group.
    Note:
    If you need to drop more than one disk i strongly recommend to do it in a single step, e.g.
    alter diskgroup <name> drop disk <nameA>,<nameB>;Thsi will do the rebalance only once.
    Ronny Egner
    My Blog: http://blog.ronnyegner-consulting.de

  • Question about KDM Operation

    Hi Gurus,
    I have the following issue with KDM operation while posting invoice document in MIRO t-code:
    I have a PO where value is  EUR 100 currency, then I did the Goods Receipt and then the invoice entry in MIRO also in EUR but instead of EUR100 I enter EUR130.  After posting I display the account document in USD instead of EUR and in some cases I find that all the difference is charge in a KDM account and in others in PRD operation. The exchange rate varies between the goods receipt in MIGO and the invoice entry in MIRO.
    my question is why in some cases all the difference is charge in KDM and in others examples with the same values, same material/plant, same currency and same exchange rate variation the difference is sent to a PRD account and nothing to KDM.....
    PLease advice....
    Thanks

    Hello,
    This issue was solved.
    PRD appears always when there is a difference value enters in MIRO in comparison with the goods receipt, independent of the reason. KDM, instead where there is a variation in the rate exchange between the goods receipt and the invoice registration in MIRO, when the value is equal, minor or higher than the value entered in MIGO up to the equivalent in the conversion currency . Higher than this value only PRD appears.
    Hope this will be useful for anyone of you!

  • Flashing Question Mark - Lion Operating System

    I removed my hard drive and then put it back. When I boot the computer I get a gray screen with a flashing question mark.  Info I found requires an op disk, but I have lion and it is downloaded, what do I do to get my computer to boot?

    Try this:
    Reinstalling Lion Without the Installer
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alterhatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion and click on the Continue button.
    Note: You can also re-download the Lion installer by opening the App Store application. Hold down the OPTION key and click on the Purchases icon in the toolbar. You should now see an active Install button to the right of your Lion purchase entry. There are situations in which this will not work. For example, if you are already booted into the Lion you originally purchased with your Apple ID or if an instance of the Lion installer is located anywhere on your computer.

  • Better practice question on sqlite operation

    Hi everyone,
    This is an open ended question, and I am sure there will be a lot of different directions on this, so here goes....
    I have a master template database (empty), that I copy to a working location.
    At this point, i need to load the working database with some items from another query of the master item list.
    the databases do not have the same fields, only an identifier that tells the application what group of items to copy from the master list and place into the working database.
    So the question is this.....
    What is the better approach to performing this operation?
    The databases are different, so an inline SQL query will not work, and my guess is that an array of items that is built from a query that performs the proper where clause and sorting, then write that array to the working database.
    Does anyone have a better approach?
    take care
    tony

    A similar approach if you do not need the data to be transferred for any other process would be to generate the SQL insert/update statement from your query and then execute the array of statements.

Maybe you are looking for

  • Adicionar condiciones imposto ICMS ao esquema de cálculo europeo (IVA)

    Bon día, Para criar a localização é preciso lançar na SCAT P40XXXX_CU_BR, P99CUST_SD_BR.  Os CAT criam em automático um esquema de cálculo concreto para Brasil que sirva como base para criar o esquema de cálculo do cliente? Salvo impedimento técnico,

  • Best way to move 2 iMovie projects to 1 iDVD project?

    I am in a last minute bind and I was hoping I could get some help! I am making a DVD for my wedding reception that is NEXT weekend. ah! Anyway...here is what I have done: 1. Created three slideshows w/ KB effects in iPhoto and exported them to quickt

  • Primary Index on CDHDR table not working

    Hi Experts, I am accessing the Table CDHDR with following fields in the WHERE clause of the SELECT Query (For All Enrteis). OBJECTCLAS---- >'EINKBELEG' OBJECTID---- >Here I am passing Purchase order No TCODE---- >'ME21N' CHANGE_IND---- >'I' I haven't

  • New to Authorware

    HI I have recently started looking at Authorware 7. I am completely new to Authorware but not to macromedia products and have used Dreamweaver , Flash and Fireworks before. I am creating a virtual enviroment where the user can interact with things an

  • Mac OS X 10.3 - characters such as È è É é instead of punctuation

    I purchased a second hand ibook. It is a G4 1.07 GHz. I have a normal looking keyboard. When I type a question mark I get É, for forward slash I get é, for apostrophe I get è, and for quotation marks I get È. I get 'and " instead of left and right ar