How to find name and instnace host names in the CCR

Hello

How to find the name of the instance of the RAC and the hostnames in RAC environment.

Thank you

You can find the information using sqlplus, connect to one of your RAC instances, try with it, hope this helps.

SQL > select instance_number, instance_name, status of gv$ instance;

INSTANCE_NUMBER STATUS INSTANCE_NAME
--------------- ---------------- ------------
OPEN 1-A01
OPEN 6 A02
OPEN 5 A03
OPEN 4-A04
OPEN 3 A05
OPEN 2 A05

6 selected lines.

Tags: Database

Similar Questions

  • How to find children and parent of a resource in the HQU

    How to find children and parents of a resource in the HQU?
    for example, there is a server, how can I find all its services and its platform?

    by the way, where can I get a full HQU API doc? There is no description in detail in the Documentation of HQU:http://support.hyperic.com/display/hypcomm/HQU+Documentation

    Hello

    You can use the ResourceCategory.getPlatform () method to get the parent platform and you can use Resource.getViewableChildren () to the children. Here is a very basic example which comes out in the server.log:

    import org.hyperic.hq.hqu.rendit.metaclass.ResourceCategory
    import org.hyperic.hq.hqu.rendit.helpers.ResourceHelper
    imports org.hyperic.hq.authz.server.session.AuthzSubjectManagerEJBImpl AuthzMan

    def authzMan = AuthzMan.one
    def Overlord = authzMan.overlordPojo
    def rHelper = new ResourceHelper (overlord)

    def resource = rHelper.find (server: 12226)

    println ("" Resource: "+ resource.name +" is a child of ' + ResourceCategory.getPlatform (resource) .name + "and has children:" ")
    resource.getViewableChildren (overlord) .every child {-->
    println (child.name + "\n")
    }

    As far as documentation goes, what you see on this page is all that is available at this time. I use the code source HQApi as reference when I can't find anything in the docs.

  • How to find users and groups in the Sun box

    Please adivce how to find users and group in sunsolaris

    Thanks in advance

    We can get all the details of the Group of the file/etc/Group.

    Similarly the user details are in/etc/passwd.

  • How can I make and delete a snapshot of the command line in ESXi 4?

    How can I make and delete a snapshot of the command line in ESXi 4?  ghettoVCB4i does, but I need unusual behaviour for two virtual machines.  I need to be able to save only one of the two virtual drives, not both.  So I can't use this script here.  I need to write a script that will:

    1 copy off the .vmx

    2 make a snapshot of a virtual computer running

    3 use the vmkfstools command to clone the vmdk in the backup location

    4 remove the snapshot.

    The snapshot is the part that I do not know how.  I do not see a flash drive in vmkfstools and I do not understand the snapshot code in ghettoVCB4i.

    Thank you!

    vmkfstools is a tool for working with VMDK, has nothing to do with stereotypes. In the Busybox unsupported console, the only tool that you can use for some of the management of the virtual computer is vim-cmd , which is about a wrapper for VMware vimsh, take a look at our site for more information: http://engr.ucsb.edu/~duonglt/vmware/#vmware_vimsh

    Basically, you're going to do something like the following:

    vim-cmd "vmsvc/snapshot.create XXXX FIRST_SNAPSHOT MY_FIRST_SNAPSHOT_1"
    

    where XXXX is VmId to the virtual machine that is retrieved from vmsvc/getallvms, then you are going to deliver the snapshot.remove

    Here are some other useful commands dealing with snapshots:

    Vim - cmd vmsvc/snapshot.removeall \[VmId]

    [[[vim - cmd vmsvc/snapshot.remove \[VmId\] \[removeChildren\] \[snapshotLevel\] \[snapshotIndex\]

    Vim - cmd vmsvc/snapshot.get \[VmId\]

    ghettoVCB4i uses vimsh to do these things as well.

    =========================================================================

    William Lam

    VMware vExpert 2009

    Scripts for VMware ESX/ESXi and resources at: http://engineering.ucsb.edu/~duonglt/vmware/

    repository scripts vGhetto

    VMware Code Central - Scripts/code samples for developers and administrators

    http://Twitter.com/lamw

    If you find this information useful, please give points to "correct" or "useful".

  • How to find a specific voice memo file in the backup from my iPhone to my Mac? I know where to find the backup, but not how to recover specific files. Thank you.

    How to find a specific voice memo file in the backup from my iPhone to my Mac? I know where to find the backup, but not how to recover specific files. Thank you.

    You can't look "inside" a backup. Just use iTunes to sync with your iPhone, then you'll see a separate category for voice memos in the sidebar.

  • How can I copy and paste a page in the same DC Adobe .pdf?

    How can I copy and paste a page in the same DC Adobe .pdf?

    Open the Page thumbnails. You can select the pages and then drag the pages. When you hold down the CTRL key you can copy pages.

  • Uninstall windows games 8 and how to find them and delete them

    I can't find games on my windows 8 and when I run the virus it scans stalls on the course through png for the games files

    You want to "Uninstall" your games, rather than just deleting (which removes only the partially).

    Windows key + X

    Control Panel

    Programs

    Programs and features

    (right click on the game of your choice and select 'Uninstall')

    Sometimes the games are listed by the Publisher (such as tangent, rather solitary games, etc.) If you are not sure, do not uninstall it until you do a Web search and will find his name of the editor).

    NOTE:  Be very careful when you do this... it really uninstall quick.  Don't carelessly zip autour with your mouse, or finger or you can easily remove the other important programs by accident.

  • With the help of Hewlett Packard Win 7 64 bit with Lightroom 5.7. I have read many explanations of how to drag and drop digital images in Lightroom - but I never got.  I need to know WHERE LTRM drop, HOW to find them and how to get them I

    I need to know EXACTLY how to drag and drop digital pictures into LTRM. WHERE to put them. HOW to find them. How to MOVE in the DEVELOPMENT MODULE.

    When you drag / drop photos, you actually perform a step to import, so it would be wise to figure out how to import your photos and all of the affected options. I agree with Jim Hess and al., drag / drop are an easy way to screw up your organization. Importing is a much more organized way to manage things. There are a lot of tutorial vid3os on import.

  • How to find .fmb and the path of .fmx pending

    Hi all
    I use oracle EBS 12.1.1
    I can access form of people in India HRMS manager-> people-> Enter and keep the responsibility.
    I want to make some adjustments on this form of people.
    How can I do that.
    Can I have to first FTP which form the server, then how to find where this form is stored?

    Best to ask this question in the forum of the EBS.

  • How to find a value in any column of the table - essentially a search

    Hi guys,.

    Thanks in advance for your help.

    I'll try to find a value in any column of the table? How can I do?

    An example of value would be "FEDERAL."

    Using Oracle 11 g and SQL Developer.

    Thank you

    It's a question that is asked in the past several times (but not recently from what I remember).

    Michaels has provided in the past, solutions which are quite clever, just using SQL...

    10g of solution

    Michaels > var val varchar2 (5)

    Michaels > exec: val: = "Sub".
    PL/SQL procedure successfully completed.

    Michaels > select distinct substr (: val, 1, 11) "keyword."
    substr (table_name, 1, 14) "table."
    substr (t.column_value.getstringval (), 1, 50) ' / value of the column.
    CLO.
    Table
    (xmlsequence
    (dbms_xmlgen.getxmltype ("select" | column_name))
    || 'from ' | table-name
    || ' where upper (')
    || column_name
    || ') as superior (' %' |: val)
    || '%'')'
    ) .extract (' LINES/rowset / * "")
    )
    ) t
    -where table_name in ('EMPLOYEES', 'JOB_HISTORY', 'SERVICES')
    order of the "Table".

    11g upwards

    SQL > select table_name,.
    column_name,
    : search_string search_string.
    result
    from (select column_name,
    table_name,
    "ora: view("' ||) " table_name | "") / LINE /' | " column_name | "[ora:contains (text ()," %' |: search_string | ")]. (%») > 0]' str
    CLO
    where table_name in ('EMP', 'Department')),
    XMLTable (columns str result varchar2 (10) path '.')
    /

    TABLE_NAME COLUMN_NAME SEARCH_STRING RESULT
    ------------------------------ ------------------------------ -------------------------------- ----------
    DEPT                           DNAME                          es                               RESEARCH
    EMP                            ENAME                          es                               JAMES
    EMP                            JOB                            es                               SALESMAN
    EMP                            JOB                            es                               SALESMAN

    4 selected lines.

  • How to join tables and get ppl not in the list of the other table

    Hi, I have 2 tables

    Table (girlscoutid, quarter, point)

    Table b (girlscoutid, fname lname)

    I want to get the names of ppl who didn't sell any point/s for Q4

    girlscoutid agenda quarter
    7771drinks4QS
    9000Tickets4QW
    7771Cookies2QS
    5085books3QF
    3010Tickets3QW
    5085Cookies1QF

    lscoutid fname lname
    7771JennRichochet
    9000LauraWilkins
    5085SallyMae
    3010DoraMcKenzie

    That's what I have, however, I get duplicates and also 7771 appears on the list even if she sold something on the 4th quarter. Any suggestions?

    SELECT fname, lname, a.girlscoutid

    Of a, b

    WHERE a.girlscoutid = b.girlscoutid

    AND the term NOT AS "4Q_";

    Hello

    So, all the information that you want to see figure in table b, but if you want to see it depends on the table has.

    This looks like a job for a semi Join.  Here's a way to do it:

    SELECT b.fname

    b.lname

    b.girlscoutid

    B

    LEFT OUTER JOIN has IT a.girlscoutid = b.girlscoutid

    AND a.quarter NOT AS "4Q_" - or a.TERM, if it is the column

    WHERE a.girscoutid IS NULL

    ;

    What you posted was an INNER join, where the rows of each table are included in the only game that if they have a corresponding row in the other table.

    An OUTER join includes all the rows in a table (table b in this case) if they have a match in the other table.  If a line of b has no corresponding row in a, then all the columns that are supposed to come from table will be NULL in the result set.  Given that the join condition includes = b.girlscoutid a.girlscoutid, this means that the only way to a.girlscoutid can be NULL in the result set is if the b line is included although it has no corresponding line one, which are exactly the lines that we want to display.  (You can try to run the query above with the WHERE clause, deleted, just to see how it works.)

    Alternatively, you can get the desired results by using a subquery NOT EXISTS, a NOT IN subquery or analytical functions.  The semi join, supra, is probably the most effective solution.

  • How can I build and pass a variable to the function getField?

    I need to know how to build and pass a variable to the function getField():

    I have a form of several sections similar to a spreadsheet.  Each section contains 5 rows of 11 columns.  Currently I have calculations in the field I want to consolidate and move to the level of the document.  The field names in each column are identical except for a row identifier.  For example, in the 1st row: a_debtType1, a_debtTerm1, adebtRate1, etc.  I want to be able to pass to a function of level document line identifier and that connect a function "getField.  Here is an example:

    Document-level:

    function calculateLoan (lineNumber) {}

    var myDate = getField("a_debtType"+lineNumber).valueAsString;

    var myDate = getField("a_debtTerm"+lineNumber).valueAsString;

    .. few treatment

    return

    }

    Level of the form:

    change the information in the form is ready for line 1

    function calculateLoan("1");

    Thanks in advance for any help.

    It seems good except how you call the function of what you have. The calculation script should be something like:

    Custom calculate script

    calculateLoan("1");

    Note that you can also get the line number if it is contained in behalf of the field that calls the script if you don't disturb him passing as parameter, assuming you named the fields correctly.

    For example, to calculate the field is called "row_total.1", you can get the line number in the script like this:

    var no_lig = event.target.name.split(".") [1] ;

  • How to retrieve login and access my photos in the gmail account

    Original title: * e-mail address is removed from the privacy *.

    I opened an account a few years ago and added photos to it while I Wouln't their loose and thought I would remember the information to display in the future, I used my Gmail account I believe and my blackberry phone is the device used to download my photos.

    How to find or retrieve my log of Info or an account to receive my photos...

    Hello

    The question you posted would be better suited in the gmail support forum. Check out the link and post your query.
  • URGENT: Need to flashback table, how to find SNA for quite some time before the update that's happened?

    Hi all

    I have a new database 11G, I haven't used before flashback, but my retention time is a day... I have once the developer did a massive update to a table to corrupt.

    How can I find the RCS for this time so I can try this table of flashback?

    Thank you

    Cayenne

    Thank you.. I also found that it works:

    SQL > select timestamp_to_scn (to_timestamp('20140103152000','YYYYMMDDHH24MISS')) SNA double;

    SNA

    ----------

    98344246

    Although does NOT work all the time. But that's just what Oracle when you give him a timestamp to flashback to: it converts the timestamp of a SNA and then restores the data based on the SNA.

    See table of Flashback in the language SQL doc

    http://docs.Oracle.com/CD/B28359_01/server.111/b28286/statements_9012.htm

    TIMESTAMP CLAUSE

    Specify a value of timestamp corresponding to the point in time to which you want to return to the table. The expr must evaluate to a valid time stamp in the past. The table will flash back to a period of about 3 seconds to the specified timestamp.

    This precision "3 seconds" is because of this conversion to SNA - Oracle uses its internal table.

    YVERT is accurate, if you know, but you typically do not have.

    Read and consider these warnings in app dev guide advanced

    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28424/adfns_flashback.htm

    Guidelines for Oracle Flashback Query

    . . .

    General guidelines for Oracle Flashback Table

    . . .

    • For querying the latest data at a specific time, use a SNA. If you use a timestamp, questioned real time can be up to 3 seconds before the time you specify. Oracle database uses the SNA and assigns them to the timestamps to a granularity of 3 seconds.

    For example, suppose values SNA 1000 and 1005 are mapped on the timestamps 08:41 and 08:46, respectively. A query for a moment between 08:41 and 08:45:59 is mapped to the SCN 1000; an Oracle Flashback Query at 08:46 is mapped to the SNA 1005.

    By reason of this time-to-SNA map, if you specify a time slightly after a DDL (such as a table creation) Oracle database operation can use a SNA which is located just before the DDL operation, causing the error ORA-1466.

    . . .

  • How can I view and then rotate or crop the images duplicate

    My wife has a large photo collection (more than 50,000 images) and created a copy of a hundred photographs to include in a video that I'm trying.

    The problem is that I can't host elements to display these images because they are "double images".

    I had to go to "display" Location of the folder mode"able to find the directory.  When I did, I noticed the 10 subdirectories had not been imported, so I tried to import them and got this error:

    Nothing has been imported.  The files or selected it to import one or more files did not all types of supported files, or the files are already in this catalogue.

    I realize they are duplicates, but I want TO see them I can modify them (rotation, cropping, etc).

    (Q) is there a way to get items to 'jump me' to the original photo so that I can rotate or crop the 'original '.  NOTE: I use the Version value function or save my changes as a "new image" altogether.  I think that if it worked, I could create an "Album" that "duplicate" of the photo that my wife gave me and achieve what I have to do.

    I am brand new to elements (previously, I used ACDSee and it could do without hassle).  I have heard and read that organizing Elements 9 is much improved, so I wanted to give it a try.

    (Q) elements have a simple checkbox to allow me to work with duplicate images?

    (Q) is the solution to create a different catalog?    I did to work around this problem (for now).

    Also

    (Q) Elements 9, have a way to show all the images in all the files under a given folder?  I found that if I have a directory that contains 10 subdirectories, when I'm in the upper level without images directory are displayed.  In ACDSee, it show me all images in a directory given, including all subdirectories.  Is it possible to do it in Adobe Elements 9?

    Thanks for any help.

    The Organizer is not a browser, it's a database: even if he can show the photos in your folder structure, it works only on files that have been 'imported' and listed in the catalogue. It can show your saved photos displayed according to the structure of actual file based on the paths saved with each file present, but you will have problems if a top-level folder is empty.

    However, items saved in a catalog cannot be duplicates, and the Organizer prevents duplicates to be registered. There is no simple way to one click to override this constraint, which would mean another database 'key', that is to rename the duplicates, you wish to register.

    In practice: since you have to rename duplicates before importing them, you could do this directly in Windows or any other freeware like Faststone photoresizer.

    Or you may open these images directly from the Publisher, the navigation in your folder structure.

    Imagine you have duplicates in a folder and rename them and import them using only the PES:

    -To the editor, use the 'treat multiple files' to export the files in this folder and rename them, e.g. "IMG_0012.jpg" + "dupl" indicating the same destination folder

    -Try again "get files and videos ' Organizer.

Maybe you are looking for

  • tried 2 x to install and got 2 other browsers unknown - confused

    tried to install I tunes and instead groovorio has been installed. I uninstalled, but always groovorio browser window. called ISP who has accompanied me through security, privacy, by default the browser setting. I could get Yahoo search (which I've n

  • Process of waveform data (accumulated results)

    Hi all I am currently treating a waveform data that I read of DAQ card. Data are digital waveforms, so first I convert it to table DBL and then put the table in a block of prcessing (see attachment). Since I expect to get a report and indeed I got wh

  • text rotation

    Hi all I want to continually move the text in a control to the string like this during my entire program execution "This is a text box. 'It's a text box T "is is a Th text box. "s is a text Thi box." "is it a text box. «s a text box that i» "it's a t

  • How to install the raid without floppy drive drivers

    I am building my own computer and I want to run Win XP Pro SP3 and Windows 7 64-bit.  The only reason why I'm eager to keep XP is that several of my old programs that I use, are not compatible with Windows 7.  I know that XP is sometimes "fussy" abou

  • I accidentally said GI contact for abuse, how to fix this?

    I moved the cursor on laptop, distracted me and somehow clicked on "report this person for abuse" on the message box IM, how can I report that there is no abuse of this contact?