Maximo Open Forum

Expand all | Collapse all

Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

  • 1.  Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 06-04-2025 07:58

    Hi All,

    I am using MAS 9.0 and set the system property of mxe.name=MASTST. Same name is showing all servers in Users application serversessions tab.

    How can we update servername for each pod/server bundle to differentiate from which server user logged in?

    Tried with setting JVM options with mxe.name="MASUITST" & mxe.name=MASUITST for server bundle in administration workspace. But both didn't work.


    #Administration

    ------------------------------
    Hari Veerla
    IBM
    ------------------------------


  • 2.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 06-04-2025 11:36

    In MAS you should map the serverhost on maxsession to the serverhost in the serversession table to identify which pod a user is logged into. There is no way to control the name at a pod specific level. You could change away from MXServer in the server bundles but all the UI, all the MIF, etc. would still have a single name. Since users are all going to route to the same server bundle normally, I don't see how a different name would help. 



    ------------------------------
    Steven Shull
    Naviam
    ------------------------------



  • 3.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 06-17-2025 06:53

    Yes, we can set servername on bundle level by setting the property mxe.name with name of the server in bundle level properties not on JVM options.

    It is showing same name for all pods present on that bundle. Like ui, mea, report & cron with different names.



    ------------------------------
    Hari Veerla
    IBM
    ------------------------------



  • 4.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 06-19-2025 02:58

    Hi @Hari Veerla,

    You can use this query to identify which pod a user is connected to.

    select ss.javajvmname, ms.* from maxsession ms
    inner join serversession ss on ss.serverhost = ms.serverhost;

    Thus, you don't need to set the mxe.name for each bundle, as they will be the same for all pods with the same bundle type.



    ------------------------------
    Maycon Belfort
    Naviam
    IBM Champion 2025
    ------------------------------



  • 5.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 06-25-2025 03:08

    Hi Hari,

    I talked to the MAS development team about this and this is the answer:

    When the bundle pod is deployed, environment variable $hostname is always instantiated to be the pod id. 

    Add -Dmxe.name=${HOSTNAME}  as bundle jvm option would make the server name to be the pod id. 



    ------------------------------
    mark robbins
    Cohesive
    IBM Champion 2017-2024 Inclusive
    See my blog on Maximo support related topics here:
    https://www.linkedin.com/pulse/maximo-support-advice-from-non-ibm-engineer-article-mark-robbins/
    ------------------------------



  • 6.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 06-26-2025 10:10

    This did not work for me on manage 9.0,  the servername field in maxsession table shows literal '${HOSTNAME}' after adding -Dmxe.name=${HOSTNAME} to bundle jvm option.  So ${HOSTNAME} is not really instantiated.



    ------------------------------
    Jiang Monge
    GM
    ------------------------------



  • 7.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 06-26-2025 10:41

    As per our private conversation... I am checking this further with the development team



    ------------------------------
    mark robbins
    Cohesive
    IBM Champion 2017-2024 Inclusive
    See my blog on Maximo support related topics here:
    https://www.linkedin.com/pulse/maximo-support-advice-from-non-ibm-engineer-article-mark-robbins/
    ------------------------------



  • 8.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 06-27-2025 08:34

    Jiang, did you set the Additional Server Bundle Properties so that there is an entry Name=mxe.name and Value='your server name'?



    ------------------------------
    Steven Hauptman
    IBM
    ------------------------------



  • 9.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 06-27-2025 09:24
    Edited by Jiang Monge 06-27-2025 09:26

    Steve, I added -Dmxe.name=${HOSTNAME} to bundle jvm option per Mark Robbins suggestion.  Are you saying instead of jvm option, I need to add to Bundle level properties, an entry Name=mxe.name and Value='your server name'?  What would be correct value?  Ideally, we need pod name to be populated as we have multiple pods per server bundle. Would ${HOSTNAME} work in this place?



    ------------------------------
    Jiang Monge
    GM
    ------------------------------



  • 10.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 06-30-2025 15:39

    Jiang, I think you need both.



    ------------------------------
    Steven Hauptman
    IBM
    ------------------------------



  • 11.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 07-01-2025 09:24

    Thanks Steven,  set both jvm option and bundle properties as show in screenshot below still didn't work.  So far the best solution is the sql provided by Maycon Belfort.

    maxsession table:



    ------------------------------
    Jiang Monge
    GM
    ------------------------------



  • 12.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 07-01-2025 15:51

    Hi Jiang, in the bundle level properties give it a name like JIANGSERVER.



    ------------------------------
    Steven Hauptman
    IBM
    ------------------------------



  • 13.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 07-02-2025 08:52

    Hi Steven, in our production we have 12 UI pods, if I hardcode mxe.name = XYZSERVER, won't all maxsession user sessions have XYZSERVER serverhost value?  The goal is to have serverhost field display the specific UI server bundle pod name that a user session is running in.



    ------------------------------
    Jiang Monge
    GM
    ------------------------------



  • 14.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 07-28-2025 06:47

    Hi Jiang, Thanks and It's fixed. Able to see servername by setting property on Server Bundle additional server bundle properties with name as mxe.name and value as SERVERNAME (without quotes).



    ------------------------------
    Hari Veerla
    IBM
    ------------------------------



  • 15.  RE: Unique Server Name for each server bundle/pod to show on MAS manage users application in server sessions tab

    Posted 07-28-2025 06:47

    I am able to see server name on mange session in user application after setting property for each server bundle in Additional Server Bundle Property.

    Name as mxe.name and value as MASUI (without quotes).

    This will show you same name for all pods in that bundle.



    ------------------------------
    Hari Veerla
    IBM
    ------------------------------