Administration guide > Secure the deployment environment > Tutorial: Integrate WebSphere eXtreme Scale security with WAS


Secure the deployment environment > Tutorial: Integrate WebSphere eXtreme Scale security with WAS >

< Previous


Module 5: Use the xsadmin tool to monitor data grids and maps

Use the xsadmin tool to show the primary data grids and map sizes of the Grid data grid. The xsadmin tool uses the MBean to query all of the data grid artifacts, such as primary shards, replica shards, container servers, map sizes, and so on.

In this tutorial, the container and catalog servers are running in WebSphere Application Server application servers. The WebSphere eXtreme Scale run time registers the Managed Beans (MBean) with the MBean server that is created by the WebSphere Application Server run time. The security that is used by the xsadmin tool is provided by the WebSphere Application Server MBean security. Therefore, WebSphere eXtreme Scale specific security configuration is not necessary.

  1. Use a command-line tool, open the DMGR_PROFILE/bin directory.

  2. Run the xsadmin tool. Use the -primaries parameter as in the following examples:

    [Linux][Unix]

    xsadmin.sh -g Grid -m mapSet –dmgr -primaries
    

    [Windows]

    xsadmin.bat -g Grid -m mapSet –dmgr -primaries
    

    Because the catalog server runs in the deployment manager, the -dmgr parameter is required. With this parameter, the WebSphere eXtreme Scale run time connects to the WebSphere Application Server MBean server. If the BOOTSTRAP_PORT, is set to a value other than 2809, specify the port number with the -p parameter.

    Before you can view the output, you are prompted to log in with the WebSphere Application Server ID and password.

  3. View the command output.

    *** Showing all primaries for grid - Grid & mapset - mapSet
    Partition Container                           Host                    Server
    0         myCell02\myNode04\xs2_C-1 myhost.mycompany.com myCell02\myNode04\xs2
    1         myCell02\myNode04\xs2_C-1 myhost.mycompany.com myCell02\myNode04\xs2
    2         myCell02\myNode04\xs2_C-1 myhost.mycompany.com myCell02\myNode04\xs2
    3         myCell02\myNode04\xs2_C-1 myhost.mycompany.com myCell02\myNode04\xs2
    4         myCell02\myNode04\xs2_C-1 myhost.mycompany.com myCell02\myNode04\xs2
    

If you see the following exception on WebSphere eXtreme Scale v7.1, verify that the PM20613 interim fix is installed:

Could not load class: com.ibm.ws.security.auth.ContextManagerImpl


Lesson checkpoint

You used the xsadmin tool in WebSphere Application Server by using the -dmgr parameter.

< Previous