How to find SQLServer Virtual Cluster name for multiple servers?

Hi Team,
I have a huge clustered environment and have a document that shows all the Physical Node Names in the clusters. But unfortunately we do not have the Virtual Server Names. I know, we can only connect to SQL through Virtual Name so I would like to know if there
is an automated way to find the Virtual Cluster Names (or SQL Server Name). Like using PowerShell or other programming languages. I have tried looking at several forums but did that did not help. 
Some points to think: 
1) I know we can look it up by opening Failover Cluster Manager (FCM) but I have hundreds of servers. So that doesn't really help :( 
2) I have tried Get-ClusterResource cmdlet in Powershell, it gives all the resources that are running but not the name. Like it gives "SQL Server  (MSSQLSERVER)" and not the name.
3) Also I know we can find out using tsql command, SELECT SERVERPROPERTY('SERVERNAME') but again I cannot connect to SQL without the Virtual Name :)
I am pretty sure there should me a way to find it out using scrips since we are able to know it using GUI (FCM).
Really appreciate your help !!

Hi,
In addition, you can find the names of the Cluster , Individual Node Names and SQL Virtual Server Names in the registry. Use the PowerShell command to retrieve registry key values.
The following keys can be used to get the information:
Virtual Server Name
HKEY_LOCAL_MACHINE\CLUSTER\ClusterName
Node Names
HKEY_LOCAL_MACHINE\CLUSTER\NODES\1\NodeName
HKEY_LOCAL_MACHINE\CLUSTER\NODES\2\NodeName
SQL Virtual Server Name:
HEKY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\MSSQLSERVER\CLUSTER\ClusterName
Additional information:
http://blogs.technet.com/b/heyscriptingguy/archive/2012/05/11/use-powershell-to-enumerate-registry-property-values.aspx
Thanks.
Tracy Cai
TechNet Community Support

Similar Messages

  • How to find SQLServer Virtual Cluster name

    team,
    if you have 2 node active/passive cluster with several named instances of SQLServer. How do you find the SQLServer Virtual name on one of the hosts? The only way to connect to SQLServer is via Virtual name and in a situation I dont have that info - how can
    I find it in the registry etc etc
    I know for sql 2005 - i can use configuration manager to identify the virtual name but in 2008 there is no config manager...
    thanks!

    declare @Virtualname varchar(255)
    declare @Virtual varchar(255)
    create table #clusterinfo(info varchar (255))
    insert into #clusterinfo
    exec master..xp_cmdshell 'cluster
    resource /status'
    insert into #clusterinfo
    exec master..xp_cmdshell 'cluster
    node /status'
    insert into #clusterinfo
    exec master..xp_cmdshell 'cluster
    group /status'
    select * from #clusterinfo where info IS NOT NULL and info not like '%---%'
    --drop table #clusterinfo

  • How to find out the printer name for the Idoc

    Hi guys
    I want to find out the printer name for the Idoc,,some default printer is attached for one idoc,then how can we see the printer name for this idoc.
    Regards
    Madhoo

    Hi,
    For ALE/IDOC the  medium will be either ALE or EDI but not printer.So it might be wrongly attached.As such there won't be any printer attached to idoc.
    Regards,
    Nagaraj

  • How to find SAP Script Form name for an particular transaction

    Hi,
    I had an issue, in the transaction F110  Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
    Thanks in advance.

    >
    Muralidhar Medisetty wrote:
    > Hi,
    >
    > I had an issue, in the transaction F110  Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
    >
    > Thanks in advance.
    hey
    NACE is the transaction ..for this u must know the output type..
    Script for Cheque Printing and Payment Advice can be known from Transaction FBZP...
    FBZP -> paying Company Codes -> u will get Script used for Payment Advice
    FBZP -> Pmnt methods in company code -> u will get Script used for Cheque Print
    ....Give points if useful.....
    Edited by: Satyabrata sahoo on Oct 14, 2008 4:42 PM

  • How to find out the infospoke name for an existing infoobject?

    Hi,
    Could any one pls tell me how to find out the existing infospoke name for an infoobject?
    i've tried with where used list but its not coming....can any one pls suggest
    Thanks,
    Suri

    Hi,
        Check in metadata repository for that infoObject.
    If you are still not able to identify, goto RSBO tx and press F4.
    You will get the list of Infospokes available.
    Go in each and chk from the General Tab, if the infoObject is available in the source system.
    Regards,
    Balaji V

  • How to find the Color Space name for a PDEElement

    Hi
    I am trying to find out the color space for each PDEElement in my PDF file. While doing this,
    I put some debug statements ( cout stmts ) that print the color_space as integer values. I gave this list
    after the code.  I belive the color spaces should be something like CMYK, DeviceRGB,DeviceGray..etc.
    How can I know the actual color space name coresponding to these numbers printed in Debug statements.
    Kindly please help me..
    void   ProcessElementDetails(PDEElement  element)
                    PDEGraphicState  gfx_state;
                    ASInt32  pdeType =  PDEObjectGetType(reinterpret_cast<PDEObject>(element));
        ofstream outfile("E:\\temp\\test.txt",ios::app);
        outfile<<"ProcessElementDetails\n";
        if ( pdeType == kPDEText )
          outfile<<"PDE Text type\n";
          PDEText pde_text = (PDEText) element;
          ASInt32 num_run,i;
              num_run = PDETextGetNumRuns(pde_text);
          outfile<<"Number of Runs for PDEText :"<<num_run<<"\n";
          for  (i = 0; i < num_run; i++)
            PDETextGetGState(pde_text,kPDETextRun,i,&gfx_state, sizeof (PDEGraphicState));
            ASAtom  color_space =  PDEColorSpaceGetName(gfx_state.fillColorSpec.space);
            outfile<<"Color Space :"<<color_space<<"\n";
        if (pdeType == kPDEImage )
          outfile<<"PDE Image type\n";
          PDEElementGetGState(element,&gfx_state,sizeof (PDEGraphicState));
          ASAtom color_space = PDEColorSpaceGetName(gfx_state.fillColorSpec.space);
          outfile<<"Color Space :"<<color_space<<"\n";
        if (pdeType == kPDEContainer)
          outfile<<"PDE Container type\n";
                            PDEContent  content =  PDEContainerGetContent(reinterpret_cast<PDEContainer>(element));
                            ASInt32  numElem =  PDEContentGetNumElems(content);
                            for  (ASInt32  i = 0; i < numElem; i++)
                                 element =  PDEContentGetElem(content, i);
                                 ProcessElementDetails(element);
    Debug statements with color numbers:
    ====================================
    ProcessElementDetails
    PDE Image type
    Color Space :700
    ProcessElementDetails
    PDE Text type
    Number of Runs for PDEText :63
    Color Space :388
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :388
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :388
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    ProcessElementDetails
    ProcessElementDetails
    PDE Text type
    Number of Runs for PDEText :38
    Color Space :389
    Color Space :700
    Color Space :390
    Color Space :388
    Color Space :390
    Color Space :388
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :390
    Color Space :389
    Color Space :700
    Color Space :700
    Color Space :700
    Color Space :700
    Color Space :700
    Color Space :700
    Color Space :700
    Color Space :700
    SeparateColorPlates
    PDF file exists
    Number of Pages:1
    Number of Elements:5

    As you may have noticed, the "numbers" you see are actually of type ASAtom -
    which is a type declared in the SDK to represent reused strings. You have to
    read the relevant documentation to learn how to use the SDK - there is no
    way around it. The Acrobat SDK is very powerful, but also a lot more
    complicated than most people expect when they start to work with it. Take
    your time to learn how to use it.
    In this particular case, you need to call this function to convert the
    ASAtom to a string:
    const char* ASAtomGetString<http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/API_References/Acrobat_API_Ref erence/AS_Layer/ASAtom.html#ASAtomGetString135%28%29>
    (ASAtom<http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/API_References/Acrobat_API_Ref erence/AS_Layer/ASAtom.html#ASAtom>atm)
    (from
    http://livedocs.adobe.com/acrobat_sdk/10/Acrobat10_HTMLHelp/API_References/Acrobat_API_Ref erence/AS_Layer/ASAtom.html
    Karl Heinz Kremer
    PDF Acrobatics Without a Net
    [email protected]
    http://www.khkonsulting.com

  • How to find the Adobe barcode name for its corresponding SAP Script barcode

    Dear All,
    We are doing conversions from SAPScript to Adobe forms.
    The barcode used in two sapscript forms are 'BC_CD39' and 'ARTINR' respectively .
    I would like to know the corresponding barcode name to be assigned to Adobe forms as the above barcode names are not present in the Object Library-> Barcode section of Adobe forms.
    regards,
    PP

    >
    Muralidhar Medisetty wrote:
    > Hi,
    >
    > I had an issue, in the transaction F110  Payment advice. They need to adjust the spacing on the cheque printing, which is overlapping the names on the cheque and hence I have forgotten how to find the form name and the driver program of the script. Can anybody suggest me how to find those. Your help will be appreciated.
    >
    > Thanks in advance.
    hey
    NACE is the transaction ..for this u must know the output type..
    Script for Cheque Printing and Payment Advice can be known from Transaction FBZP...
    FBZP -> paying Company Codes -> u will get Script used for Payment Advice
    FBZP -> Pmnt methods in company code -> u will get Script used for Cheque Print
    ....Give points if useful.....
    Edited by: Satyabrata sahoo on Oct 14, 2008 4:42 PM

  • How to find a specific field name for the sapscript?

    Hi all,
    I have to print out the ship-to party in a sales quotation, but I can't find out which field should I use in the sapscript, how to find out?
    I tried to retrieve VBCO2-KUNWE, VBPAPO-KUNNR, VBPAV-KUNNR, but nothing returns.
    Thanks.

    Hi ,
    Can you check
    Table VBPA with PARVW = 'WE' and VBELN and POSNR.
    VBPA-KUNNR  -Ship to Party.
    Lanka

  • How to know the Cluster name for Hyperion Planning Application

    Hi,
    We have 2 Hyperion planning clusters in our Planning environment. As per new requirement, we need to make the copy the existing planning application.
    We are not able to get the defined cluster information for existing planning application.
    Please help on how can we find the cluster name for a Hyperion Planning application.
    Quick help will be appreciated!!
    Thank You.
    Mohit Jain

    Hi John,
    Thanks for your quick response!!
    We tried to run this command on Planning system command. but it did not return any record. We found that table "HSPSYS_APP_CLUSTER_DTL" does not have any record.
    is there any other way, where we can check the planning cluster name.
    Please help on this further.
    Thank You.
    Mohit Jain

  • How to find the exact user exit for our requirement?

    Dear Mr. keerthi,
    can you please explain me how to find the exact user exit for our requirement?

    Hi sandip
    There is more than one method in which you can check for user-exits.The following method is used very often.
    <b>How to find the exact user-exit for your requirement.</b>
    1.     You can check the user exists using transaction SE85.
    2.     Repository Information System -> Enhancements -> Customer exits
    3.     You can search the user-exits by package name.
    4.     Double click on each exit name to check the function module exits.
    <b>The procedure to find the package name.</b>
    Execute transaction SE93 
    Enter the tcode of the transaction for which you want to check the user exit.
    Example: if you want to find the user-exit for purchase orders while changing, enter ME22n  and press display.
    You will get to see the package name
    But you need to confirm that the user exit will get triggered at the appropriate event.
    ( example: you might want some validations to be done ON SAVE of a purchase order)
    <b>Checking if the user-exit is getting triggered or not.</b>
    1.     Open the user exit function module (that you have got in step 4) in Tcode SE37.
    2.     Click on where used button. In the pop up that immediately appears choose only programs .
    3.     You will get a list of programs. Double click on the program name.
    4.     You will get the list of location where this function module user exit is used.
    5.     Place session break points at each of these location ( at each CALL FUNCTION statement)
    6.     Now go to your transaction ( say change purchase order tcode:Me22n) and check if the user exit is getting triggered on appropriate event.
    regards,
    Prasad

  • How to find the appropriate user exit for invoic02 idoc in idoc_output_invo

    Hi all,
    I am new to this community p
    i have issue regarding  the How to find the appropriate user exit for invoic02 idoc in idoc_output_invoic function module.........
    thanks,

    Hi ,
    welcome to SDN.
    You can select the appropriate Customer exit accrding to the available parameters .
    The list of exits available are 
    EXIT_SAPLVEDF_001
    EXIT_SAPLVEDF_002
    EXIT_SAPLVEDF_003
    EXIT_SAPLVEDF_004
    For Example , if you want  to modify the Idoc data(EDIDD) you have to use the EXIT_SAPLVEDF_002. accodingly you can select the user exit according to the avaialable parametres.Use Table MODSAP fto get the Enhancement name.
    Hope this Helps
    Rgds
    Sree
    Edited by: Sree on Jul 23, 2010 12:11 PM

  • How to find out the table name

    hi,
    how to find out the table name in which the data from a particular structure in a particular screen is saved,
    please tell me the procedure to find out the table name for saving the structure data that is inputted at runtime.
    Thanks,
    chinnu

    Hi Chinnu,
    Below are the tables that are referred to find out the table names
    DD02L Table contains the SAP Tables.
    DD02T Table contains the SAP Table Texts.
    DD01L Table contains the Domains
    DD01T Table contains the Domain Texts.
    DD03L Table contains the Table Fields.
    DD03T Table contains the Table Field Texts. (Language Dependent)
    DD04L Table contains the Data Elements.
    DD04T Table contains the Data Element Texts.
    DD05s Table contains the Foreign Key Fields
    last words with L and T only. L->Database Fetch T-> Text
    And the procedure to retrive the table name is as follows
    1. Go to se11
    2. Enter table name DD03T and execute
    3. In the next screen you can find Tables, fields, test etc. there you can enter the field name in the fields 
      and execute.
    4. you can get all tables which contains the field.
    I hope this will solve your problem
    Regards,
    Chandru

  • How to find out the file name

    Hi,
    In selection screen (parameter) user will give input TXT file from presentation server to upload to SAP. I need to capture the file name only but not the path and need to concatenate with date stamp and need to download error log in XLS file to presentation server.
    How to find out the file name from selection screen?
    I searched SCN threads but not found relavant solution.
    Thanks,
    R Kumar

    Hi
    This code gets only filename from selection screen :
    REPORT x.
    PARAMETERS p_file(100).
    DATA : gv_full_path LIKE  ibipparms-path,
           gv_full_path_string TYPE string,
           gv_filename(100),
           gv_file_ext(3).
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Ask user to select file with a popup :
      CALL FUNCTION 'F4_FILENAME'
        IMPORTING
          file_name = gv_full_path.
    Get filename from path :
      gv_full_path_string = gv_full_path.
      CALL FUNCTION 'CH_SPLIT_FILENAME'
        EXPORTING
          complete_filename = gv_full_path_string
        IMPORTING
          extension         = gv_file_ext
          name              = gv_filename.
      CONCATENATE gv_filename '.' gv_file_ext INTO gv_filename.
      p_file = gv_filename.
    I hope it helps.

  • Transaction IW32.How to find out the person name.(Last changed By)

    Hi all,
    When i executed the transaction IW32.Its displays changed by and created by fields. please any body can tell me how to find out the person  name who had made last change with respect to the field changed by.
    Please tell me the table and field name for the field last changed by......
    Regards,
    Munna.

    hi,
    check the table AUFK field AENAM for the order number(AUFNR) in IW32..........

  • How to find PG.xml file name and path associated with a FUNCTION

    Hi,
    I am having a function:IRC_VIS_HOME_PAGE with Web HTML value as below:
    OA.jsp?akRegionCode=IRC_VIS_HOME_PAGE&akRegionApplicationId=800&OAPB=IRC_BRAND
    How to find PG.xml file name and path assoicated with above funtion.
    Thanks,
    ashok

    Ashok,
    Function IRC_VIS_HOME_PAGE will have 2 parameter defined for it which are OASF and OAHP where
    OASF=<SelectedFunctionName> - this tells the Framework to select this function in the given "Home Page" menu context.
    OAHP=<HomePageMenuName> - this is used ONLY with the OASF parameter, and it is used to establish the current menu context. It should point to a "Home Page" menu.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • How to obtain current location with in a flow

    Hi, This might be very basic level query, but i cant figure it out. I want to extract the location with in a flow. ie in my proxy service i have multiple stages and with in each stage i am using some log actions to print some statements. I can see th

  • Too many time to open a session with oracle odbc

    I have to migrate an internet site in Sql Server to Oracle. When I connect Oracle Database with Oracle ODBC, it takes 2 or 3 seconds. So if i have 8 or 10 recordset to open, it takes 20 s. But when sessions are open, they live about 1 m and during th

  • Functionality of Table -- TFAVW

    I need your one help. We have one table TFAVW. Its a standrad table and having worklist realted with customer payment.  Actually i dont know whats the use of this table. whats functionality behind this table.

  • JSK 11.1.18 not starting two instances simultaniously

    Hi, I had downloaded the webcenter site JSK 11.1.1.8 form oracle support and installed two instances one with samples and one with out samples (different ports) . But when i try to start the JSK, one is running (one i am starting first) and other is

  • Yesterday i accidenttly Washed my ipod touch in the washing machine!!! What do i do??

    Yesterday, i accidently washed my iPod touch in the washing machine!!! help me!!