Identifying the MDM server lock mask codes

I am trying to write some monitoring scripts for our MDM system and I would like to be able to detect the state of the MDM server/repository based on the entry in the a2i_xcat_dbs.a2i_serverstatus database table. There is a field that looks like it might be interesting - SERVERLOCKMASK. From trial and error I think the following values are correct:
1 -  loading / loaded
512 - Archiving
513 - Archive Online
4096 - Verifying
4097 - Verifying Online
Has anyone else done any research on these codes? If so could you please validate/correct what I have here and add additional codes you have observed?
Thanks,
Paul

Hi Paul,
I actually have some experience on that, and the best is NOT to look at the database tables. You may figure out how it works, but development colleagues are free to change the DB side without notice... And than after an update to the newest version you have to start all over again.
The best solution is simply to go over the MDM APIs. In principle all that information is available from the Java and ABAP APIs.
For the java APIs you should look into the packages com.sap.mdm.repository.commands.GetRepositoryProperties and com.sap.mdm.repository.commands.GetRepositoryPropertiesCommand.
For the ABAP APIs I should look in more detail.
Now a more "gohthic" solution would be to call directly CLIX from Java using java.lang.Runtime, and than uncode the response String in order to get the infos you need...
I hope that Helps...

Similar Messages

  • Error starting the MDM server in client system

    Hi MDM Experts,
    I am new to MDM and we have just installed MDM 5.5 on our system. We are able to 'Mount the Repository' via the MDM Console on the client side but when we try to 'Start MDM Server', we encounter the error below:
    "Error starting MDM server: The machine (server name) is not Windows-based. The MDM server cannot be started from this application; please use CLIX on the machine instead."
    What must we do to resolve this error? Please help us on this matter.
    Thanks in advance!
    ASP

    Hi ASP,
    MDM server operations can Be performed through Console only if your Server is Windows based.
    You can perform the some repository options through Console ,but for any Server based operations like Mounting the server,Start/Stop server  etc you will have to operate through the CLIX ie Command line interface.
    I Guess yours is a Unix based system or something else which is not Windows based.
    so it will not allow you,
    Either you install your server on  a windows based system to operate through Console.
    Or if you want to continue with the NON windows based system then you will have to use CLIX for most of your Console opeartions.
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • Outlook is unable to connect to the proxy server.(Error Code 10)

    Hi,
    I had problems with RPC proxy, I was trying to setup cutover migration.
    So I read somewhere that i need to change the certprincipalname with Set-Outlookprovider.
    But after this change my outlook was not working anymore
    The settings before the change were:
    Name                          Server                        CertPrincipalName             TTL
    EXCH                                                                        
                 1
    EXPR                                                                        
                 1
    WEB                                                                          
                1
    So I set this back to the original (above) but this didn't helped...
    Outlook 2013 and Exchange 2013
    There is a problem with the proxy server's security certificate. The name on the security certificate is invalid or does not match the name of the target site mail.abc-company.com.
    Outlook is unable to connect to the proxy server.(Error Code 10)

    Hi,
    Please make sure the mail.abc-company.com is included in your Exchange certificate which has been assigned with IIS service.
    If possible, please run the following command for double check:
    Get-ExchangeCertificate | FL
    For Autodiscover service, please run
    Test E-mail AutoConfiguration to check if the connection is successful in Log tab and confirm the other services URL can use proper namespace in Results tab for request access.
    If the Autodiscover service fails, please create a SRV record with mail.abc-company.com for Autodiscover service to have a try:
    http://support2.microsoft.com/kb/940881/en-us
    Regards,
    Winnie Liang
    TechNet Community Support

  • Outlook is unable to connect to the proxy server. (Error code 0)

    Hello,
    I have just commenced a Exchange 2007 SP3 to Exchange 2013 SP1 migration following the following guide: http://blogs.technet.com/b/meamcs/archive/2013/07/25/part-1-step-by-step-exchange-2007-to-2013-migration.aspx
    As per the above guide, my 2007 environment is now known as legacy.company.com and my 2013, webmail.company.com.
    I'm using the same certificate on both boxes and it has the names autodiscover.company.com, webmail.company.com and legacy.company.com. All that seems to be working fine.
    OWA is functioning perfectly, hitting https://webmail.company.com will pass the user off to https://legacy.company.com if the mailbox is on 2007. Alongside this, Outlook also has no issues connecting to 2007 mailboxes with the client proxy settings
    being reconfigured to https://legacy.company.com automatically.
    My problem comes when a mailbox is migrated to 2013. OWA functions fine and presents the mailbox but Outlook is unable to connect, presenting the error:
    There is a problem with the proxy server's security certificate.
    The name on the security certificate is invalid or does not match the name of the target site webmail.company.com.
    Outlook is unable to connect to the proxy server. (Error Code 0)
    If I modify the Outlook client's settings and disable "Only connect to proxy servers that have this principal name in their certificate: msstd:webmail.company.com", Outlook connects and functions fine.
    I'm at a loss and have tried everything I can think and find on google. Any suggestions would be greatly appreciated.

    Hi,
    Please refer to the following article :
    http://support.microsoft.com/kb/923575
    Cause:
    This issue may occur if one or more of the following conditions are true:
    The connection to the  server requires a certification authority (CA).
    You have not trusted the certification authority at the root.
    The certificate may be invalid or revoked.
    The certificate does not match the name of the site.
    A third-party add-in is preventing access. 
    Solution:
    To examine the certificate, follow these steps:
    In Microsoft Internet Explorer, connect to the RPC server or to the secure server. For example, type
    https://www.<var>server_name</var>.com/rpc in the Address bar of the Web browser, and then press ENTER.
    Note The <var>server_name</var> placeholder references the RPC server name or the secure server name.
    Double-click the padlock icon that is located in the lower-right corner of the Web browser.
    Click the Details tab.
    Note the information in the following fields:
    Valid to
    The Valid to field indicates the date until which  the certificate is valid.
    Subject
    The data in the  Subject field should match the site name.
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Outlook is unable to connect to the proxy server.(Error Code 10) when users opened Outlook 2010

    Hi All
    Exchange Server - 2013 CU2 (Windows 2012 Standard)
    AD Server - 2003 R2 SP2
    exchange-svr01.domain.com - internal name
    mail.company.net - external name
    When users opened Outlook 2010, they will encountered
    "There is a problem with the proxy server's security certificate. The name on the security certificate is invalid or does not match the name of the target site exchange-svr01.domain.com.
    Outlook is unable to connect to the proxy server.(Error Code 10)"
    I also used the Microsoft Remote Connectivity Analyzer to test RPC/HTTP connectivity.
    The RPC/HTTP test completed successfully.
        Validating the certificate name.
         Certificate name validation failed.
         Host name company.net doesn't match any name found on the server certificate CN=AMAZONA-U59HG9G.
    Testing SSL mutual authentication with the RPC proxy server.
         The test passed with some warnings encountered.
    The certificate common name company.net doesn't match the mutual authentication string provided mail.company.net; however, a match was found in the subject alternative name extension.
     please help.

    Hi PS CL
    [PS] C:\Windows\system32>Get-OutlookAnywhere
    RunspaceId                         : c457e8aa-a0f3-4a0f-aa02-9eff24d02821
    ServerName                         : exchange-svr01
    SSLOffloading                      : True
    ExternalHostname                   : mail.company.net
    InternalHostname                   : exchange-svr01.domain.com
    ExternalClientAuthenticationMethod : Negotiate
    InternalClientAuthenticationMethod : Ntlm
    IISAuthenticationMethods           : {Basic, Ntlm, Negotiate}
    XropUrl                            :
    ExternalClientsRequireSsl          : True
    InternalClientsRequireSsl          : True
    MetabasePath                       : IIS://exchange-svr01.domain.COM/W3SVC/1/ROOT/Rpc
    Path                               : C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\rpc
    ExtendedProtectionTokenChecking    : None
    ExtendedProtectionFlags            : {}
    ExtendedProtectionSPNList          : {}
    AdminDisplayVersion                : Version 15.0 (Build 712.22)
    Server                             : exchange-svr01
    AdminDisplayName                   :
    ExchangeVersion                    : 0.20 (15.0.0.0)
    Name                               : Rpc (Default Web Site)
    DistinguishedName                  : CN=Rpc (Default Web
                                         Site),CN=HTTP,CN=Protocols,CN=exchange-svr01,CN=Servers,CN=Exchange
    Administrative
                                         Group (FYDIBOHF23SPDLT),CN=Administrative
    Groups,CN=domain,CN=Microsoft
                                         Exchange,CN=Services,CN=Configuration,DC=domain,DC=COM
    Identity                           : exchange-svr01\Rpc (Default Web Site)
    Guid                               : 33c3cb74-e490-487d-844c-4072334089a1
    ObjectCategory                     : domain.COM/Configuration/Schema/ms-Exch-Rpc-Http-Virtual-Directory
    ObjectClass                        : {top, msExchVirtualDirectory, msExchRpcHttpVirtualDirectory}
    WhenChanged                        : 8/17/2013 10:14:55 AM
    WhenCreated                        : 6/25/2013 1:47:50 PM
    WhenChangedUTC                     : 8/17/2013 2:14:55 AM
    WhenCreatedUTC                     : 6/25/2013 5:47:50 AM
    OrganizationId                     :
    OriginatingServer                  : ADserver.domain.COM
    IsValid                            : True
    ObjectState                        : Changed

  • MDM console GUI on Windows is not mounting the MDM server on Solaris

    Hello MDM experts,
    This is kind of administrative problem. I am basis person, installing SAP MDM 5.5 SP04 for the first time.
    I have configured the MDM server (mds) on solaris 10 system. I have also configured MDM import server(mdis) and Syndication serever (mdss) on the same machine. I have installed the database software and configured the empty repository on the same host machine.
    So, Database and all the 3 MDM services (mds,mdis,mdss) are running on Solaris machine.
    After that, I installed "MDM console fat client GUI" component on my desktop and trying to "mount the server" by specifying the "hostname" of the solaris machine where MDM services are running.
    But I am not able to mount it...it says invalid server and does not mount.
    Any idea what might be the problem ????
    I referred following link :
    http://help.sap.com/saphelp_mdmgds55/helpdata/EN/8e/9f9c427055c66ae10000000a155106/frameset.htm
    which says, you should have administrative right on Solaris machine where MDM server is running....but how do I have that being a Windows user ???
    Please advise.

    Hello Mark,
    1. When I right click on the "SAP MDM servers" node in "Console Hierarchy" pane on the left hand side of the Console GUI, and select "Mount MDM Server..." option in context menu, I get a dialog box for entering my MDM server name.
    I typed in the fully qualified host name of my solaris server where "mds-r" is running.
    When I click "OK" button, it adds an entry in "Console Hierarchy" on left hand side, but the entry comes with "Yellow exclamation Mark" sign. Also it says Status "Invalid" when I see the "MDM servers" section on right hand side top.
    When I right click on my newly created entry of MDM server, all the options on context menu like "Mount Repository, Create Repository, Connect to MDM server" look greyed out. Only the option of "Unmount MDM server" seems to be enabled
    2. I tried to do the same thing on 2 different Windows machines and got the same output.
    Regards,
    Bharat

  • Repositories are invalid after restarting the MDM Server in MDM 7.1

    Hi SDNers,
    After I restarted the MDS server I am not able to logon to the repository. When I tried to connect to repository I am getting an error like "Repository Connect Failed and The MDM Repository is Invalid"
    I tired to delete but I am not able to delete also. While deleteing it is giving an error like  "MDM Repository is in Read Only Mode".
    So I am not able to Delete the repository also to create a new Repository.
    Any Help or Solution
    Thanks
    Kiran
    Edited by: Kiran on Apr 6, 2011 6:40 AM

    Kiran -
    some of the below ways you can check
    1. Check your mds.ini settings. and do unmount nad then mount the MDM server again. Try to Monitor the Authentication for Particular repositry which you want to connect to your MDM 7.1 server
    2. after checking the note 1325833. try restart database server first then MDM server.
    3. also try to check with Appropriate repository option once.
    HTH
    thx
    Deep

  • Identify the number server calls using java

    how to identify the number server calls that are made for rendering the page, Also have each call transmission data too.using java language.

    What??? What are you talking about? What environment? What server?

  • After stoping the MDM Server there will write a core-file

    Hello,
    I have a question about stopping the MDM Server. My MDM Server is running on a SUN Server. When I stopped the MDM Server with sapcontrol -nr 00 -function Stop and sapcontrol -nr 00 -function StopService the MDM Server alsways write a core-File in /usr/sap/<SID>/MDS00/work. The core file are bigger than 8 GB. Did anybody know if I can configure that there will create no core-file after a normal shutdown?
    Gretting
    Thomas
    Edited by: Thomas Haase on Oct 8, 2010 10:51 AM

    Rahul,
    You can see the log files through console. You have the Logs in console which you can view. The log files are also maintained in the logs, besides the archives, ready and exception folders.
    Indraveer

  • How to identify the device is locked or not?

    how to identify the iphone is locked or not

    Call AppleCare, give them the model and serial number and ask them if it is locked and if yes, which cell carrier it is locked with.

  • The API Library version must match the MDM Server version

    hi friends,
    The API Library version must match the MDM Server version
    is it compulsory.
    if so please let me know the compatible matching versions between them....

    Hi Ram,
    Yes the JAR file Version should be compatible with the version of MDM Server.
    Supposedly you have MDM Version of SP05 the Jar files should also be of SP05 version , if you use JAR files of older version it wouldnt contain  new classes and methods of the newer APIs and would also contain some old classes which arent present in latest version.
    Thanks
    Namrata

  • Application unable to identify the managed server after restart

    Hi
              I have a application deployed in a cluster in production environment which has two managed servers configured to it in separate machines. this application generates a wsdl file.
              now we are facing a strange problem as below.
              when one managed server crashes and goes down in some situation, the cluster is able to manage it.
              we have a class which does remote binding of objects.
              Even when we restart the second server it is not able to identify it.
              Edited by [email protected] at 04/18/2008 9:45 PM

    Hi,
    I tried starting the server from the console as well as from command prompt. Here I am giving the command below.
    nohup ./startManagedWebLogic.sh bi_server1 t3://machineIP:portNo > bis1_startup.log &
    But each time I got the same exception.
    Korandla

  • There is a problem with the security certificate of the proxy server. Error code 18 and 38.

    Hi All,
    After several hours and a short night of sleep I'm out of ideas and hopefully someone here can help me trying to solve this one. First of all the situation:
    Exchange 2013 on a remote location with a CA-certificate.
    Outlook 2010 and 2013 on different locations, locally installed and on RDS.
    When I open Outlook on my laptop all is fine, no errors, good sync, no problem. But when I open Outlook on our Remote Desktop Servers with Outlook 2013 I'm getting errors like "There is a problem with the security certificate of the proxy server. The
    name on the security certificate is invalid or does not match the name of the site. Outlook is unable to connect to this server. (Error code 18)". Opening Outlook 2010 the message is the same, but the error code now is 38.
    After this Outlook opens and is working, there's one more error though. After a while an security warning pops up with the message: "Information you exchange with this site cannot be viewed or changed by others. However, there is a problem with the
    site's security certificate. * The security certificate was issued by a company you have not chosen to trust. View the certificate to determine whether you want to trust the certifying authority. * The security certificate is valid. * The name on the security
    certificate is invalid or does not match the name of the site."
    Strangest thing is, it is the certificate of my RDS! It isn't my valid en officially bought certificate from my mailserver. What's going on? I'm out of options, what I've tried so far (in random order):
    - restarting mailserver and AD;
    - restarting switches;
    - restarting routers;
    - restarting RDS, AD and all other servers;
    - bypassed proxyserver for RDS;
    - created a new profile;
    - checked recently installed updates;
    - checked certificate on mailserver;
    - checked RDS on a different location, working fine.
    Nothing helped, what can I do next? Please advice.
    Regards.

    Found a thread that solves half my problem (https://social.technet.microsoft.com/Forums/office/en-US/70d18244-889a-4d95-ac3f-e234672a82b2/there-is-a-problem-with-the-proxy-servers-security-certificate-error-when-starting-outlook?forum=exchangesvrclients).
    The first message can be suppressed by adding this to the Exchange config:
    set-outlookprovider -Identity EXCH -CertprincipalName msstd:webmail.domain.tld
    set-outlookprovider -Identity EXPR -CertprincipalName msstd:webmail.domain.tld
    Giving the command get-outlookprovider, gives me empty information regarding the certprinipalname. Filled
    this and after recreating the profile or deleting the ost-file I still have the second alert with the local certificate of my RDS.
    Not completely where I want to be, any help regarding the second alert is greatly appreciated!

  • Repository is invalid after crash of the MDM Server in MDM 7.1

    Hello,
    after a crash of our MDS the slave repository is invalid. When I tried to connect to the repository I am getting an error like
    Repository connect failed
    Error: The MDM repository is Invalid
    I tired to delete but I am not able to delete also. While deleteing it is giving an error like
    The MDM repository is in read-only mode
    The master repository on the same db server and MDS server works fine. I'm also unable to unmount the repository and note 1325833 was not helpful.
    Any Help or Solution?
    Thanks

    Hello Patrick G.
    Sometimes we had  some situation.
    Create your master repository archive .
    Connect to database directly and drop you slave repository tablespace.
    Than create slave repository again.
    in Database you repositories have names like [repository_name] M000 or [repositoryname] _Z000
    Regards
    Kanstantsin Chernichenka

  • Programatically identify the application server vendor

    Hi everyone,
    We have just passed J2EE certification for an application migrated from WebLogic to NetWeaver 6.40.
    Now, we are trying to merge code and resources as much as possible, but there are part of the code where it is just not possible to write generic, and we want to detect what is the type of the application server running.
    Is there any simple code to write - like some env/system property to check - which makes it possible to know that we are running on SAP's J2EE engine ?
    Any help is appreciated,
    Thanks

    Hi Vladimir,
    Thanks for the proposal, I will try to implement it and see how it is handy.
    Actually, the original application is targetted to version 8.1 SP4 of WebLogic app server, which is rather loose on some aspects of the J2EE specifications. Namely it doesn't care when you use non-XA resources, i.e. execute local transactions, when a JTA transaction has already started.
    Our application makes use of this "looseness" for performance gain, i.e. some transactions need not be part of the global transaction and makes the system overall faster when executed as local. This also allows flexibility whether we want to privilege performance or data consistency without changing the code.
    NetWeaver's J2EE engine, on the contrary, has a strict constraint on this: if a JTA transaction is started, every transactional resource used thereafter must be XA. Conversely, if not JTA transaction was started, then XA resources cannot be used.
    As we want to keep the flexibility to use XA or non-XA resources without changing the source code, parts of the code involving JTA transactions and XA/non-XA resources should be switched depending on the app server type.
    But I just realized we might as well just test the class of resources involved...
    I will give you points after tested your proposal.

Maybe you are looking for