Db2

 View Only
  • 1.  DMC: Configuration questions

    Posted Tue June 01, 2021 10:59 AM
    Hi folks,
    I'm looking for a little guidance on recommended configuration for  DMC 3.1.4 on Linux please.

    1. Is it possible to disable non SSL http access either as part of or after a customised script based installation?

    2. Is there a simple way to have all application log files written to a location other than the various locations under ibm-datamgmtconsole used by default?

    3. Are there special consideration for a shared disk cluster install? I've noticed the console_hostname and console_hostip properties in dswebserver_override.properties. Is it supported to set them to localhost and 127.0.0.1?

    Many thanks.

    ------------------------------
    Colin Chapman
    ------------------------------

    #Db2


  • 2.  RE: DMC: Configuration questions

    Posted Wed June 02, 2021 12:28 AM
    Hi Colin,

    If you have not install DMC, you can edit the setup.conf file and set http.port to -1, and this will disable the HTTP port.   Also, you can find more info in: https://www.ibm.com/docs/en/db2-data-mgr-console/3.1.x?topic=installation-customized-product-setup

    If you have already installed DMC, you can follow the these steps to disable HTTP port:
    1. Stop DMC
    2. edit <DMCHome>/wlp/usr/servers/dsweb/bootstrap.properties
    3. change port=11080 to port=-1
    4. Start DMC

    There are couple directories that DMC stores logs files.  You can customize the logs directory by modifying the WLP_OUTPUT_DIR and LOG_DIR attributes in the <DMCHome>/wlp/usr/servers/dsweb/server.env file
    More detailed steps here:  https://www.ibm.com/docs/en/db2-data-mgr-console/3.1.x?topic=support-customizing-trace-log-settings

    I will double check to confirm your last question on shared disk cluster install.




    ------------------------------
    Jason Sizto
    ------------------------------



  • 3.  RE: DMC: Configuration questions

    Posted Thu June 03, 2021 12:28 AM
    Edited by System Fri January 20, 2023 04:45 PM
    Hi Colin,

    Regarding question 3 on shared disk cluster install.  If your use case is for failover and failback on DMC on different nodes.  Maybe you can consider a url proxy server solution to do the switching.  

    For DMC, you can access the console URL by http://localhost:11080 or http://127.0.0.1:11080 if you are setup to connect on the local DMC machine.


    ------------------------------
    Jason Sizto
    ------------------------------



  • 4.  RE: DMC: Configuration questions

    Posted Thu June 03, 2021 06:54 AM

    Hi Jason,
    Thanks for getting back to me and aplologies for not searching the documentation more thoroughly before posting.

    Disabling the http port was worked a treat post installation in my test 3.1.4 image. For our rollout we'll be building using 3.1.5 so I'll disable at install time using setup.conf.

    I've made the WLP_OUTPUT_DIR and LOG_DIR changes you suggested and that works nicely. I noticed that the original log directories still get used for files integration.apikey, integration.token and console.token but presumably all the other old files can safely be removed? Is it also safe to remove the original work/dsweb directory?

    I don't think we would need a URL proxy server as we use cluster DNS names which move with the active server. In fact the solution is a little more complex than that but I wanted to keep my question simple. I'll do some more testing and maybe raise  a support case if I think I need more expert assistance on that!



    ------------------------------
    Colin Chapman
    ------------------------------



  • 5.  RE: DMC: Configuration questions

    Posted Sun June 06, 2021 07:22 PM
    Hi Colin,

    Yes, you can remove the various *.log and *.0, *.1, *.2 etc and ffdc/ in the logs directory.  You can also remove the work/dsweb directory.  Please first stop DMC before perform the rm.

    Thanks.

    ------------------------------
    Jason Sizto
    ------------------------------



  • 6.  RE: DMC: Configuration questions

    Posted Mon June 07, 2021 05:28 AM
    Thanks for your help with this Jason.

    ------------------------------
    Colin Chapman
    ------------------------------