Topic
  • 11 replies
  • Latest Post - ‏2013-10-04T11:24:44Z by louie
louie
louie
5 Posts

Pinned topic Service Topology

‏2013-09-30T10:54:13Z |

Hi there,

I just install the SCALA onto my RH ES 6.4, and I can also create the sample applications without any problem.

However, when I try to modify/add the service topology in the datasource, I cannot see any topology entries, just blank at the bottom.

P.S.: the sample app. has come with the topology of Cloud application and etc...

Do I need to install some rpm? I have tried Firefox ESR 17.0.9 or 24, it has got the same issue.

Thanks,

Louie

Updated on 2013-10-01T08:33:24Z at 2013-10-01T08:33:24Z by GER_MCC
  • louie
    louie
    5 Posts
    ACCEPTED ANSWER

    Re: Service Topology

    ‏2013-10-04T11:24:44Z  
    • RSMT
    • ‏2013-10-04T09:46:24Z

    Hi Louie,

    Did you invoke load Sample scenarios twice ? if yes then this could happen ? I will raise a enhancement request on sample scenario to update the ServiceTopology only if it was not done before.

    Regards,

    Geetha

    Hi Sachin, Geetha,

    Sorry, I have overlooked on the contents in that file for 2 same node names. After I have deleted the contents and it is working now... really thanks for your help.

    Meanwhile, I do not think I have invoked to load the sample scenarios for twice. Previously, I have tried to use the web browser to load the sample application for couple times, but, it seem the sample applications cannot be worked correctly.

    Finally, I change the jvm.options on the initial heap to 2G, max heap to 6G, and I use the command createDemo.sh to load the sample applications, instead from web browser.  Thus, all the sample applications are working without any problem, and I do not think I have performed 2 times on executing the createDemo.sh script.

    P.S.: Before  loading the sample applications, I have reverted the server VMware image to a clean image. So, I do not think I have performed 2 times on loading the sample applications.

    Anyway, millions thanks for your support and advice.

    Thanks,

    Louie

  • dmcclure
    dmcclure
    103 Posts

    Re: Service Topology

    ‏2013-09-30T12:21:35Z  

    Are you trying to do this by editing the topology json file - unityServiceTopology.json?

    [SCALA HOME]/wlp/usr/servers/Unity/apps/Unity.war/com/ibm/tivoli/loganalytics/framework/unityServiceTopology.json

    This file looks like this. You can specify the groupings desired here and save the file. Then they will show up in the logsource panel and you can map in the logsource to a point in the topology group file.

    [
        {
            "type": "Service",
            "name": "Cloud Provider Application",
            "value": [
                {
                    "type": "Middleware",
                    "name": "transaction",
                    "value": []
                },
                {
                    "type": "Middleware",
                    "name": "WebServer",
                    "value": [
                        {
                            "type": "Hostname",
                            "name": "cldegd58"
                        },
                        {
                            "type": "Hostname",
                            "name": "cldegd59"
                        }
                    ]
                },
                {
                    "type": "Middleware",
                    "name": "WAS",
                    "value": [
                        {
                            "type": "Hostname",
                            "name": "cldegd60"
                        },
                        {
                            "type": "Hostname",
                            "name": "cldegd61"
                        }
                    ]
                },
                {
                    "type": "Middleware",
                    "name": "DB2",
                    "value": [
                        {
                            "type": "Hostname",
                            "name": "cldegd70"
                        }
                    ]
                },
                {
                    "type": "Middleware",
                    "name": "MQ",
                    "value": [
                        {
                            "type": "Hostname",
                            "name": "cldegd80"
                        }
                    ]
                },
                {
                    "type": "Middleware",
                    "name": "Oracle",
                    "value": [
                        {
                            "type": "Hostname",
                            "name": "cldegd90"
                        }
                    ]
                }
            ]
        },
        {
            "type": "Service",
            "name": "Day Trader",
            "value": [
                {
                    "type": "Application",
                    "name": "Trading Application",
                    "value": [
                        {
                            "type": "Middleware",
                            "name": "WWW",
                            "value": [
                                {
                                    "type": "Hostname",
                                    "name": "syswasdmsles"
                                }
                            ]
                        },
                                            {
                            "type": "Middleware",
                            "name": "WAS",
                            "value": [
                                {
                                    "type": "Hostname",
                                    "name": "syswasdmsles"
                                },
                                {
                                    "type": "Hostname",
                                    "name": "syswassles"
                                }
                            ]
                        },
                        {
                            "type": "Middleware",
                            "name": "DB2",
                            "value": [
                                {
                                    "type": "Hostname",
                                    "name": "sysdb2sles"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
     

     

    Your feedback on this capability and process to add/modify/update is appreciated!

    Thanks!

    Doug

  • RSMT
    RSMT
    10 Posts

    Re: Service Topology

    ‏2013-09-30T13:58:27Z  
    • dmcclure
    • ‏2013-09-30T12:21:35Z

    Are you trying to do this by editing the topology json file - unityServiceTopology.json?

    [SCALA HOME]/wlp/usr/servers/Unity/apps/Unity.war/com/ibm/tivoli/loganalytics/framework/unityServiceTopology.json

    This file looks like this. You can specify the groupings desired here and save the file. Then they will show up in the logsource panel and you can map in the logsource to a point in the topology group file.

    [
        {
            "type": "Service",
            "name": "Cloud Provider Application",
            "value": [
                {
                    "type": "Middleware",
                    "name": "transaction",
                    "value": []
                },
                {
                    "type": "Middleware",
                    "name": "WebServer",
                    "value": [
                        {
                            "type": "Hostname",
                            "name": "cldegd58"
                        },
                        {
                            "type": "Hostname",
                            "name": "cldegd59"
                        }
                    ]
                },
                {
                    "type": "Middleware",
                    "name": "WAS",
                    "value": [
                        {
                            "type": "Hostname",
                            "name": "cldegd60"
                        },
                        {
                            "type": "Hostname",
                            "name": "cldegd61"
                        }
                    ]
                },
                {
                    "type": "Middleware",
                    "name": "DB2",
                    "value": [
                        {
                            "type": "Hostname",
                            "name": "cldegd70"
                        }
                    ]
                },
                {
                    "type": "Middleware",
                    "name": "MQ",
                    "value": [
                        {
                            "type": "Hostname",
                            "name": "cldegd80"
                        }
                    ]
                },
                {
                    "type": "Middleware",
                    "name": "Oracle",
                    "value": [
                        {
                            "type": "Hostname",
                            "name": "cldegd90"
                        }
                    ]
                }
            ]
        },
        {
            "type": "Service",
            "name": "Day Trader",
            "value": [
                {
                    "type": "Application",
                    "name": "Trading Application",
                    "value": [
                        {
                            "type": "Middleware",
                            "name": "WWW",
                            "value": [
                                {
                                    "type": "Hostname",
                                    "name": "syswasdmsles"
                                }
                            ]
                        },
                                            {
                            "type": "Middleware",
                            "name": "WAS",
                            "value": [
                                {
                                    "type": "Hostname",
                                    "name": "syswasdmsles"
                                },
                                {
                                    "type": "Hostname",
                                    "name": "syswassles"
                                }
                            ]
                        },
                        {
                            "type": "Middleware",
                            "name": "DB2",
                            "value": [
                                {
                                    "type": "Hostname",
                                    "name": "sysdb2sles"
                                }
                            ]
                        }
                    ]
                }
            ]
        }
     

     

    Your feedback on this capability and process to add/modify/update is appreciated!

    Thanks!

    Doug

    Hi,

    Adding to Doug's comment,  Could you copy/paste your json to JSONLint and ensure that there are no syntax errors? Also a browser cache clearing will help.

    Regards,

    Geetha

  • louie
    louie
    5 Posts

    Re: Service Topology

    ‏2013-09-30T16:17:13Z  

    No, i am not editing the unityServiceTopology.json ([SCALA HOME]/wlp/usr/servers/Unity/apps/Unity.war/com/ibm/tivoli/loganalytics/framework/unityServiceTopology.json), which is come from the demo package.

    Moreover, I have also validated this file json data in JSONLint without error.

    Here is the screencap, and I cannot see the topology info... that I can select or change

    Any clue?

    thx

  • RSMT
    RSMT
    10 Posts

    Re: Service Topology

    ‏2013-10-01T06:18:05Z  
    • louie
    • ‏2013-09-30T16:17:13Z

    No, i am not editing the unityServiceTopology.json ([SCALA HOME]/wlp/usr/servers/Unity/apps/Unity.war/com/ibm/tivoli/loganalytics/framework/unityServiceTopology.json), which is come from the demo package.

    Moreover, I have also validated this file json data in JSONLint without error.

    Here is the screencap, and I cannot see the topology info... that I can select or change

    Any clue?

    thx

    Could you please try Clearing browser cache and reload URL? 

    Regards,

    Geetha

  • louie
    louie
    5 Posts

    Re: Service Topology

    ‏2013-10-02T03:34:55Z  
    • RSMT
    • ‏2013-10-01T06:18:05Z

    Could you please try Clearing browser cache and reload URL? 

    Regards,

    Geetha

    Actually, I have used 3 different machines (firefox) to access my server, it still cannot see the topology information. Even, I have clear all browser cache.

    Any idea on it? Is it related on missing some rpm or java version?

    thx

    Louie

  • RSMT
    RSMT
    10 Posts

    Re: Service Topology

    ‏2013-10-03T07:03:28Z  
    • louie
    • ‏2013-10-02T03:34:55Z

    Actually, I have used 3 different machines (firefox) to access my server, it still cannot see the topology information. Even, I have clear all browser cache.

    Any idea on it? Is it related on missing some rpm or java version?

    thx

    Louie

    Given that loading of sample scenario has worked, there are no additional rpm or specific java versions required.

    Following will help us to debug what is going wrong

    0) What is the firefox version being used?

    1) can you provide the content of [SCALA HOME]/wlp/usr/servers/Unity/apps/Unity.war/com/ibm/tivoli/loganalytics/framework/unityServiceTopology.json

    2) Could you enable Firebug ( need to download and install if you dont have this already) ? and with firebug active, can you go to Service topology panel and provide us the output of following call from Firebug  . example of what I found on my VM is attached below for reference

     

     

    Attachments

  • louie
    louie
    5 Posts

    Re: Service Topology

    ‏2013-10-03T07:57:52Z  
    • RSMT
    • ‏2013-10-03T07:03:28Z

    Given that loading of sample scenario has worked, there are no additional rpm or specific java versions required.

    Following will help us to debug what is going wrong

    0) What is the firefox version being used?

    1) can you provide the content of [SCALA HOME]/wlp/usr/servers/Unity/apps/Unity.war/com/ibm/tivoli/loganalytics/framework/unityServiceTopology.json

    2) Could you enable Firebug ( need to download and install if you dont have this already) ? and with firebug active, can you go to Service topology panel and provide us the output of following call from Firebug  . example of what I found on my VM is attached below for reference

     

     

     I have used either Firefox ESR17.0.9 or ESD17.0.6, result is the same

    Attached is the Firebug screencap, as well as the unityServiceTopology.json

    thx

    Louie

    Updated on 2013-10-03T07:58:21Z at 2013-10-03T07:58:21Z by louie
  • RSMT
    RSMT
    10 Posts

    Re: Service Topology

    ‏2013-10-03T09:52:26Z  
    • louie
    • ‏2013-10-03T07:57:52Z

     I have used either Firefox ESR17.0.9 or ESD17.0.6, result is the same

    Attached is the Firebug screencap, as well as the unityServiceTopology.json

    thx

    Louie

    This shows that server is returning the service topology . It appears to be display issue and currently investigating the same. Will revert back shortly.

     

    Regards,

    Geetha

  • SachinM.Nayak
    SachinM.Nayak
    2 Posts

    Re: Service Topology

    ‏2013-10-04T08:12:27Z  
    • louie
    • ‏2013-10-03T07:57:52Z

     I have used either Firefox ESR17.0.9 or ESD17.0.6, result is the same

    Attached is the Firebug screencap, as well as the unityServiceTopology.json

    thx

    Louie

    Attached Service topology JSON has a problem

    This contains two nodes at the first level with the same name  (With name "Cloud Provider Application" )

    We cannot include two sibling nodes with the same name.

     

    Regards,

    Sachin

  • RSMT
    RSMT
    10 Posts

    Re: Service Topology

    ‏2013-10-04T09:46:24Z  
    • louie
    • ‏2013-10-03T07:57:52Z

     I have used either Firefox ESR17.0.9 or ESD17.0.6, result is the same

    Attached is the Firebug screencap, as well as the unityServiceTopology.json

    thx

    Louie

    Hi Louie,

    Did you invoke load Sample scenarios twice ? if yes then this could happen ? I will raise a enhancement request on sample scenario to update the ServiceTopology only if it was not done before.

    Regards,

    Geetha

  • louie
    louie
    5 Posts

    Re: Service Topology

    ‏2013-10-04T11:24:44Z  
    • RSMT
    • ‏2013-10-04T09:46:24Z

    Hi Louie,

    Did you invoke load Sample scenarios twice ? if yes then this could happen ? I will raise a enhancement request on sample scenario to update the ServiceTopology only if it was not done before.

    Regards,

    Geetha

    Hi Sachin, Geetha,

    Sorry, I have overlooked on the contents in that file for 2 same node names. After I have deleted the contents and it is working now... really thanks for your help.

    Meanwhile, I do not think I have invoked to load the sample scenarios for twice. Previously, I have tried to use the web browser to load the sample application for couple times, but, it seem the sample applications cannot be worked correctly.

    Finally, I change the jvm.options on the initial heap to 2G, max heap to 6G, and I use the command createDemo.sh to load the sample applications, instead from web browser.  Thus, all the sample applications are working without any problem, and I do not think I have performed 2 times on executing the createDemo.sh script.

    P.S.: Before  loading the sample applications, I have reverted the server VMware image to a clean image. So, I do not think I have performed 2 times on loading the sample applications.

    Anyway, millions thanks for your support and advice.

    Thanks,

    Louie