CA Service Management

Expand all | Collapse all

Notify logged in users about service restart or application unavailable in ca servicedesk

  • 1.  Notify logged in users about service restart or application unavailable in ca servicedesk

    Posted Jan 31, 2017 06:11 AM

    Hi,

     

    we can notify new users who is going to login into SD application about application services not available using pdm_server_control option cmd.

     

    Is there a way to notify active user (logged in users) of CA servicedes application users about service restart or application unavailable. so that they can save their work.

     

    Can any one have idea how to achieve this.



  • 2.  Re: Notify logged in users about service restart or application unavailable in ca servicedesk

    Posted Jan 31, 2017 06:53 AM

    Hi,

    I not sure how optimal this algorithm will be... you can achieve in this way:

    - publish new attribute to Announcements (cnote) factory to mark Announcement as Restart Announcment;

    - create new table to store List Relation between Contact and Announcement and publish BREL relation to cnote factory;

    - create new JavaScript function and call it using setInterval in ahdtop window;

    function should perform background query (AXAJ will be useful here) to cnote factory and fetch all unexpired restart announcements where current contact is not in LREL, if query will return some data show it in YesNo alert, clicking Yes will call another query to add current contact to LREL to prevent future notifications.

     

    IMHO Implementing logic like this using 30 seconds interval shouldn't cause any performance issues...

     

    Regards,

    cdtj



  • 3.  Re: Notify logged in users about service restart or application unavailable in ca servicedesk

    Broadcom Employee
    Posted Jan 31, 2017 02:11 PM