VM Server 2.2.1 & 11gR2 RAC ... How to get ASM command prompt?

Hi,
I am using Oracle VM Server 2.2.1, and two database instances
created by the Oracle 11gR2 RAC template?
My memory seems to have slipped. How do I get to the ASM command prompt?
What ORACLE_HOME do I set?
What ORACLE_SID do I use?
What 'login words' do I use?
Thank you.
Andre M

AIM wrote:
Hi,
I am using Oracle VM Server 2.2.1, and two database instances
created by the Oracle 11gR2 RAC template?
My memory seems to have slipped. How do I get to the ASM command prompt?
What ORACLE_HOME do I set?
What ORACLE_SID do I use?
What 'login words' do I use?
Thank you.
Andre M
Hi Andre,
Starting from 11g you can use asmcmd or sqlplus to manage ASM. below is the example
$ > export ORACLE_HOME=<your Grid infrastructure location>
$ > export ORACLE_SID=+ASM1
$ > sqlplus / as sysasm
or
$ > asmcmd
Hope it helps
Cheers

Similar Messages

  • How to execute a Command Prompt command from J2SE code executing on Windows

    How to execute a Command Prompt command from J2SE code executing on Windows??
    Please help me

    [http://java.sun.com/docs/books/tutorial/getStarted/]
    ~

  • How java runs in command prompt and why java runs on it

    how java runs in command prompt and why java runs on it

    command prompt was used before the development of IDEs like RAD,eclipse etc.
    its still used for better understanding of the compilation and errors.
    type the java file and save the file(source file) in the bin folder of ur jdk environment with extension .java. the source file must be the one that has the main method declared.
    in the cmd prompt screen , set the path of bin folder.
    eg:C:/program files/jdk(some version)/bin/...
    for compilation,type:
    javac (source file_name).java and press enter
    for running the file:
    java source file_name

  • Oracle 11gR2 RAC : How to resume runInstaller to continue to install Grid ?

    Folks,
    Hello.
    I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer.
    I have been installing Grid Infrastructure using runInstaller from step 1 to step 9 of 10 in both VM rac1 and rac2.
    After finish running the script root.sh in VM rac1 and rac2, the Computer is shut down automaticall because I don't touch the keyboad for a long time. When I resume the Computer, runInstaller Wizard is gone. My question is:
    How to resume runInstaller to continue to install Grid ?
    Thanks.

    Hi!
    You can't resume runInstaller.
    You must Clear you envinronment, and try again.

  • Oracle 11gR2 RAC: how to solve "user profile creation mask failed" ?

    Folks,
    Hello.
    I am installing Oracle 11gR2 RAC using 2 Virtual Machines (rac1 and rac2 whose OS are Oracle Linux 5.6) in VMPlayer.
    I am using Cluster Verification Utility (CVU) to test the 2 nodes for Grid installation as follows:
    [ora11g@rac1 grid] $ ./runcluvfy.sh stage -pre crsinst -n all -r 11gR2 -orainv ora11g -fixup -fixupdir /mydir -verbose
    All items for rac2 are passed. There is only one item for rac1 is not passed as follows:
    Check default user profile creation mask:
    Node Name: rac1
    Available: 0002
    Required: 0022
    Comment: failed
    There are 3 ways to solve this issue:
    1) In the file /etc/bashrc, change the line "umask 0002" to "umask 0022".
    2) In the file /etc/profile, add line "umask 0022" at the end of the file.
    3) In the file /etc/csh.cshrc, change the line "umask 002" to "umask 0022".
    In rac2, I got the same issue in the past. I just change the line "umask 0002" to "umask 0022" in the file /etc/bashrc and the issue is solved.
    But in rac1, I have tried each of the 3 options and also combined 1) and 2), 1) and 3), 2) and 3), 1) and 2) and 3). Totally, that's 7 options. But all of 7 options cannot solve the issue.
    The script runcluvfy.sh still tests rac1 user profile creation mask failed. My question is:
    Do any folk understand how to solve VM rac1 user profile creation mask problem ?
    Thanks.

    Folks,
    Hello. I follow the document "Oracle Grid Infrastructure Installation Guide 11g Release 2 (11.2) for Linux E22489-04" and do the following:
    [root@rac1 /]#echo $SHELL
    Output: /bin/bash
    This means we need to edit Bash shell file .bash_profile.
    [ora11g@rac1 ~]$vi /home/ora11g/.bash_profile
    Add this line: umask 022
    Then I save the file .bash_profile and reboot OS.
    Then I run the following command:
    [ora11g@rac1 grid] $ ./runcluvfy.sh stage -pre crsinst -n all -r 11gR2 -orainv ora11g -fixup -fixupdir /mydir -verbose
    But the reusult is the same. The issue is not solved as follows:
    Check default user profile creation mask:
    Node Name: rac1
    Available: 0002
    Required: 0022
    Comment: failed
    Do any folk understand how to solve VM rac1 user profile creation mask problem ?
    Thanks.

  • How to run a command prompt " command " through java code

    hi all,
    There is a command
    "java -jar selenium-server.jar -interactive"
    which i am running through command prompt after going to D:\MyFolder\Examples .
    i want to execute this command using java code .please help

    This has already been answered in your other two threads on this topic - http://forum.java.sun.com/thread.jspa?threadID=5221221&messageID=9898287#9898287 and http://forum.java.sun.com/thread.jspa?threadID=5221223&messageID=9898290#9898290.
    For some reason you don't want to read the reference that tells you exactly how to do what you want and how to avoid the pitfalls - http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html .

  • How to get ALL command line parameters

    Hi,
    Is there possibility to get all command line parameters which
    Flex builder invokes when I press RUN button ?
    I am asking because I want to create mxmlc ant task with the
    same parameters as Flex builder.
    I wrote something like that below but I have a problem with
    invoking remote function, it seems that poduced SWF inf flex
    builder an my script (below) arent the same - and mayby have some
    security differences.
    Any Ideas how to get all compiler argumets from flex builder
    quote:
    <mxmlc
    file="${flex.src}\main.mxml"
    output="${flex.output}\main.swf"
    services="${path.tomcat.root.WEB}/flex/services-config.xml"
    context-root="${path.tomcat.root}"
    use-network="true"
    keep-generated-actionscript="false"
    debug="false"
    locale="en_US"
    incremental="true"
    >
    <!--load-externs="${LOADEXTERNS}"
    link-report="link-report.xml" -->
    <load-config
    filename="${FLEX_HOME}\frameworks\flex-config.xml"/>
    <source-path path-element="${FLEX_HOME}\frameworks"/>
    <compiler.source-path path-element="${flex.src}"/>
    <compiler.library-path dir="${FLEX_HOME}\frameworks"
    append="true">
    <include name="libs" />
    <include name="../bundles/{locale}" />
    </compiler.library-path>
    </mxmlc>

    Hi,
    Try -dump-config compiler argument, which will write all the
    currently set configuration values. Please find more details at the
    URL below.
    http://www.quilix.com/node/9
    Hope this helps.

  • How to get the command line interface for WRT160NL router

    hi,
    How can I get the command line interface for WRT160NL router. please suggest.

    If you’re trying to access the web-based interface of your router, just use its default IP address (192.168.1.1). The Username is left blank and the Password is "admin". Here’s a quick link on how to do that.

  • How to close the command prompt

    Hi,
    I am new to Java. I am using Swing. i used System.exit(0) to close my frame when a condition is met. But the command prompt is not closed. How do i close that automatically

    Answered in your duplicate thread.Duplicate? It's a cross-post:
    http://forum.java.sun.com/thread.jspa?threadID=5127667
    I will also answer in that thread
    Kaj

  • How to close the command prompt from program

    Hi,
    I am using Swing. i used System.exit(0) to close my frame when a condition is met. But the command prompt is not closed. How do i close that automatically

    @Op.
    When was the command prompt opened?
    It won't close if it was opened before you started your application, and it won't close if you are executing your application from a bat/cmd-file that doesn't terminate.
    Kaj

  • How To Invoke A Command Prompt When I Run a Java Program ??

    Currently I want to invoke the Command Prompt(cmd)...through a JAVA PROGRAM....
    Can AnyOne tell me how to do it ???
    Thanx in advance.....

    hi,
    to be more specific, use the following, because you mention cmd i suppose you are using Windows NT
    so here goes
    String cmd[] = {"cmd.exe"};
    Runtime.getRuntime().exec(cmd);
    cheerz
    ynkrish

  • How to get asm diskgroups read/writes per hour or day

    Hi ,
    we have 2 production databases sitting on same server (2 node RAC) and using the same ASM disk groups.
    we have been having issues since past 2 days where we see lot of I/O from one of the dabase .
    I was asked to provide the disk I/O stats from past 1 week.
    wondering how can I get this information either from v$asm_disk_iostat (which gives overall usage but no timestamp) or from grid control (like host disk I/O usage )

    Try this :
    ASMCMD> iostat -t -G diskgroup 5
    In 11G release 2 ASMCMD has a iostat feature that allows you to list the reads and writes per disk (either as I/O operation or bytes)
    iostat [-et][--io] [--suppressheader] [--region] [-G diskgroup] [interval]-e display error statistics (write/read)
    -t display time statistics giving the total I/O time in hundredths of a second (requires TIMED_STATISTICS to be true)
    -G diskgroup
    interval – repeat the command every X seconds

  • How tostart dbconsole from command prompt on Oracle 11g release  11.1.0.7.0

    Have been trying to start my dbconsole from Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\rosina>emctl start dbconsole
    Environment variable ORACLE_SID not defined. Please define it.
    C:\Users\rosina>set ORACLE_SID=orcl
    C:\Users\rosina>emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
    https://rosina-PC:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ...System error 5 has occurred.
    Access is denied.
    how do i detect the problem?
    and how do i start my dbconsole

    875131 wrote:
    Have been trying to start my dbconsole from Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.
    C:\Users\rosina>emctl start dbconsole
    Environment variable ORACLE_SID not defined. Please define it.
    C:\Users\rosina>set ORACLE_SID=orcl
    C:\Users\rosina>emctl start dbconsole
    Oracle Enterprise Manager 11g Database Control Release 11.1.0.7.0
    Copyright (c) 1996, 2008 Oracle Corporation. All rights reserved.
    https://rosina-PC:1158/em/console/aboutApplication
    Starting Oracle Enterprise Manager 11g Database Control ...System error 5 has occurred.
    OS configuration/setup error
    what clues exist within EM log file
    When was last time EM worked OK?
    What changed since then?

  • How to get "Standard" commands Guid and Id in .Vsct file

    Hi,
    Please have a screen shot -
    I want to know the guid & id of above commands (sub menus) like Standard, Debug, Debug Location, customize etc. 
    I found guid & id for customize submenu from below line is - 
    <UsedCommand Condition="!Defined(No_CustomizeToolbarsCommand)" guid="guidVSStd97" id="cmdidCustomizeToolbars"/>
    But I want Guid and Id for "Standard" sub menu ?
    Please help.

    Hi,
    I have removed "Build" & "Customize.." sub menus as follows - 
    private readonly List<string> cmdList = new List<string> { "Build", "&Customize..." };
     try
                    CommandBar comBar = CommandBars["View"];
                    CommandBarControls mBar = comBar.Controls;
                    List<string> itemtodelete = new List<string>();
                    foreach (CommandBarControl commandBarControl in mBar)
                        string caption = commandBarControl.Caption;
                        if(caption == "&Toolbars")
                            CommandBarPopup childcontrol = commandBarControl as CommandBarPopup;
                            List<string> childList = new List<string>();
                            foreach (CommandBarControl windowChildControl in childcontrol.Controls)
                                string childname = windowChildControl.Caption;
                                if (cmdList.Contains(childname))
                                    childList.Add(childname);
                            foreach (string command in childList)
                                childcontrol.Controls[command].Delete();
                    foreach (string command in itemtodelete)
                        comBar.Controls[command].Delete();
    Basically "Toolbars" sub menu has 2 child i.e. "Build " & "Customize.." but it shows "Debug", "Debug Location" etc. I don't know when it comes and how to keep only "Standard" menu to see only
    "Standard Toolbar".
    But currently above line executes nothing under " View->Toolbars". I want to show only "View->Toolbars->Standard" option. 
    Please advice. Thanks

  • How to get my Command-SHIFT-3 back to snap shot desktop???

    Is there a way to set this?
    I installed a video free-war/shareware program and change it to command (Apple) Shift 4, the default is the same except commandshift3, the same used to snapshot the desk. I can no longer take snap shots of the desktop, although I am glad I learned about COMMANDSHIFT4 (size of what you want, now I don't have to edit images), but would like to have my defaults back.
    The program is SnapZ Pro, captures audio/video. Not as smooth as iSHOWu but IshowU for some reasons DOES NOT capture audio from programs (FCP, DVD Pro, Garage Band, etc...). just the mic works. Trying to solve that too as iSHOWu seems to render quicker and is a tad bit smoother and easier to use.
    Thanks!
    If there are others out there (trials), I would like to try them.
    I don't like the big GREEN TRIAL on the video from iSHOWu, that is lame, makes me want to look for one for free, but its only $20.00 but it doesn't work (capturing program sounds) whereas SnapZ Pro does. Are there others I can try?
    Anyway, how to I get my AppleShift3 back to capture screens (dual). Thanks you guys!

    First things first!
    I don't think I asked correctly!
    I installed it, made the changes to APPLESHIFT2, now my APPLE+SHIFT=3 no longer, as in IT NOT LONGER SNAP SHOTS MY DESKTOP is not working, so is there a way to fix this?
    Also, with all the codecs and compressions I am wondering why iSHOWu which is located here:
    http://www.shinywhitebox.com/home/home.html
    And am having some problems capturing PROGRAM sounds NOT mic, but anyway, once you are down the file renders even if its 3-6 minutes long.
    This program, the one you like TAKES forever to render!
    What compressions are they using at lynda.com for there training modules?!?!
    How can they have something that is 15.03 minutes, looks great and is 26.2 MB whereas my test files....at 45 seconds is 86 MB?
    Yeah, something definitely up with that!
    Any ideas to the two thins? Getting my AppleSHIFT3 to work as well as why is ynda training files at 15 + minutes on 26 MB and my 45 second test file is 86MB?!?!
    Thanks!

Maybe you are looking for