Db2

Db2

Where DBAs and data experts come together to stop operating and start innovating. Connect, share, and shape the AI era with us.


#Data


#Data
#Databases
#Operatingsystems
#Db2
#Databasesolutions
 View Only
  • 1.  DMC Service auto start option

    Posted 03/21/22 04:19 PM
    Has anyone enabled this script to start DMC service automatically when server reboot ?
    I was looking this option from DMC documentation, but could not find the script in the installed path  ?

    Scripts we are looking :

     <install_directory>/bin/disableservice.sh

     <install_directory>/bin/enableservice.sh

    Current DMC Version: 3.1.6.1 Enterprise



    ------------------------------
    Krishna Uppalapati
    ------------------------------

    #Db2


  • 2.  RE: DMC Service auto start option

    Posted 03/22/22 09:06 AM
    Hi Krishna,
    Which operating system does your DMC install in? As the above doc, the autostart service feature is supported only on Mac operating system, so you could just to find the both scripts under bin folder in mac and windows (It also includes) operating system.

    Thanks.


    ------------------------------
    fei fan
    ------------------------------



  • 3.  RE: DMC Service auto start option

    Posted 03/22/22 09:06 AM
    Hi Krishna,
    Which operating system  does your DMC install in? As the above doc mentioned, the autostart service feature is supported only on Mac operating system, so you can just find both scripts under bin folder in Mac and Windows (seem it also includes) operating system.

    Thanks.

    ------------------------------
    fei fan
    ------------------------------



  • 4.  RE: DMC Service auto start option

    Posted 03/22/22 02:24 PM

    Operating System Information:

    OSName:   Linux
    NodeName: ah-1210136-001.sdi.corp.bankofamerica.com
    Version:  3
    Release:  10
    Machine:  x86_64
    Distros:  Red Hat Enterprise Linux Server 7.9


    ------------------------------
    Krishna Uppalapati
    ------------------------------



  • 5.  RE: DMC Service auto start option

    Posted 03/22/22 08:56 PM
    HI Krishna,

    Thanks for your info, so the autostart service feature can not be supported in Linux operating system for now.

    Thanks.

    ------------------------------
    fei fan
    ------------------------------



  • 6.  RE: DMC Service auto start option

    Posted 06/06/24 05:40 AM

    Hi,

    Is autostart still not supported for linux (DMC 3.1.12) : https://www.ibm.com/docs/en/db2-data-mgr-console/3.1.x?topic=administering-autostarting-console

    Thanks



    ------------------------------
    Ivan Milojevic
    Comtrade System Integration
    Belgrade
    ------------------------------



  • 7.  RE: DMC Service auto start option

    Posted 06/06/24 09:35 AM

    Hello Ivan,

    The autostart is still not supported for Linux, and currently there are no plans to implement that feature, as there are no requests at IBM Aha! for that.

    My recommendation is to submit an idea at IBM Aha! and see if the product manager will consider this feature in a future release of DMC:

    https://ibm-data-and-ai.ideas.ibm.com/?category=7093947472735440072

    However, you still have the option to add the DMC startup script command in one of the Linux startup processes, such as crontab or inetd for example.   You will need to check with your Operating System administrator which one would be the better option for your case.

    I hope that helps!



    ------------------------------
    Cintia Ogura
    ------------------------------



  • 8.  RE: DMC Service auto start option

    Posted 06/06/24 09:55 AM

    Thank you Cintia!



    ------------------------------
    Ivan Milojevic
    Comtrade System Integration
    Belgrade
    ------------------------------



  • 9.  RE: DMC Service auto start option

    Posted 06/11/24 04:48 AM

    Why not use the systemd linux service? 

    Just create a script in /etc/systemd/system, e.g. 'dmconsole.service' :

    # ibm datamanagementconsole
    # Starts datamanagementconsole
    # Note: any customizations to this file will be lost the next time this is updated

    [Unit]
    Description=dmconsole
    Requires=db2fmcd.service

    [Service]
    ExecStart=/opt/ibm/ibm-datamgmtconsole/bin/startup.sh
    KillMode=process
    KillSignal=SIGHUP
    Restart=ExecReload=/opt/ibm/ibm-datamgmtconsole/bin/restart.sh

    [Install]
    WantedBy=default.target

    and enable the start at boot with:

    #sudo systemctl enable dmconsole.service



    ------------------------------
    Robert Falkenau
    ------------------------------