Network Management

 View Only
  • 1.  starting/stopping IMC services in linux

    Posted Mar 06, 2020 07:54 AM

    Hi, I just installed IMC at linux (CentOS) server and I have some concerns how it starts after server restart?

    I did found that there is file:

    /etc/rc.d/init.d/imcdmsd

    that starts

    /opt/iMC/deploy/jdk/jre/bin/java -server -Xrs -Xms256m -Xmx2048m -cp /opt/iMC/deploy/deploy.jar -Djavax.net.ssl.trustStore=/opt/iMC/deploy/truststore -Djavax.net.ssl.trustStorePassword=*********** -Djava.awt.headless=true -Djava

    but I'm still looking how following processes are started?

    /opt/iMC/common/jre/bin/java -server -Xrs -Dimc.home=/opt/iMC/euplat/client -Dimc.root=/opt/iMC -Dfile.encoding=GB18030 -Djava.io.tmpdir=/opt/iMC/tmp -Duser.language=en -Duser.country=US -jar /opt/iMC/euplat/client/bin/bootstrap
    /opt/iMC/common/jre/bin/java -server -Xrs -Dimc.home=/opt/iMC/seplat/client -Dimc.root=/opt/iMC -Dfile.encoding=GB18030 -Djava.io.tmpdir=/opt/iMC/tmp -Duser.language=en -Duser.country=US -jar /opt/iMC/seplat/client/bin/bootstrap
    /opt/iMC/common/jre/bin/java -server -Xmx3072m -Xrs -XX:PermSize=64m -XX:MaxPermSize=1024m -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=../log -Dimc.home=/opt/iMC/client -Duser.language=en -Duser.country=US -Dfile.encoding=G
    /opt/iMC/common/jre/bin/java -Xms256m -Xmx1024m -Dimc.home=/opt/iMC/unbam -Duser.language=en -Duser.country=US -Djavax.net.ssl.keyStore=/opt/iMC/unbam/security/keystore -Djavax.net.ssl.keyStorePassword=************ -Dfile.encodin

    2500 ? Sl 0:13 img
    2507 ? Sl 0:34 imcsysdm 3
    2581 ? Sl 0:00 \_ ./tftpserver
    2935 ? Sl 0:03 \_ ./imcnetresdm
    2939 ? Sl 0:01 \_ ./imcl2topodm
    2945 ? Sl 0:00 \_ ./imcjobmgrdm
    2951 ? Sl 0:00 \_ ./imccmdmgrdm
    2956 ? Sl 0:16 \_ ./imcfaultdm
    2960 ? Sl 0:00 \_ ./imcupgdm
    2964 ? Sl 0:00 \_ ./imccfgbakdm
    2968 ? Sl 0:00 \_ ./imciccdm
    2972 ? Sl 0:02 \_ ./imcperfdm
    2976 ? Sl 0:00 \_ ./imcvlandm
    2980 ? Sl 0:00 \_ ./imcacldm
    2984 ? Sl 0:01 \_ ./imcsyslogdm
    2988 ? Sl 0:01 \_ ./imcvnmdm
    2992 ? Sl 0:00 \_ ./imcinventorydm
    2999 ? Sl 0:01 \_ ./imcvxlandm
    3035 ? Sl 0:14 \_ ./receiver
    3040 ? Sl 0:06 \_ ./processor
    3049 ? Sl 0:01 \_ ./imcanalyzerdm
    3055 ? S 0:00 \_ /bin/sh /opt/iMC/server/bin/../../server/bin/start_wlan.sh
    3071 ? Sl 0:07 | \_ ./imcwlandm
    3061 ? Sl 0:01 \_ ./imcwlanperfdm
    3068 ? Sl 0:12 \_ ./imcwipsdm
    3079 ? Sl 0:00 \_ ./imcdhcpagentdm
    18708 ? Sl 0:00 \_ ./dbman

    The installation was performed using silent mode and I did changed -Dfile.encoding=GB18030 to -Dfile.encoding=UTF-8 in install script however some processes still start with Dfile.encoding GB18030.

    How can I change it?

    I don't want to have GUI on this server so I'm looking for the CLI commands to manage IMC on linux server.

    Can anyone point me some documentation for it?



  • 2.  RE: starting/stopping IMC services in linux

    Posted Mar 06, 2020 10:10 AM

    Hello,

    I've posted here how the IMC processes themselves could be manually stopped and started via CLI: https://community.hpe.com/t5/IMC/How-to-start-and-stop-iMC-services-using-command-line-in-linux/td-p/7077160#.XmJQ56gzaUk

    To start them on boot, you should check the box "automatically start the services when the OS starts" on the Deployment Monitoring Agent. The CLI equivalent would be to enable the imcdmsd process with chkconfig imcdmsd on.

    That said, without using DMA using a GUI, you won't be able to upgrade iMC or run database backup/restore or other features that must be done via the DMA, so I really don't recommend running it CLI-only. Please be aware that running iMC on CLI-only is not supported (also on Linux), hence it isn't mentioned in the Linux installation guides, and the non-silent installer will inform you of this and refuse to proceed if you attempt to run it from a command prompt without X.



  • 3.  RE: starting/stopping IMC services in linux

    Posted Mar 06, 2020 12:51 PM

    Actually I installed IMC from iMC_PLAT_7.3_E0605_Enterprise_Linux.zip after unzipping it 

    cd linux/install/
    chmod -R 700 ./*.sh

    there was a file:
    ./installsilence.sh

    Similar proces was for applying a patch iMC_PLAT_7.3_E0605P06_Lin.zip

    cd linux/install/
    chmod -R 700 ./*.sh
    ./updateSilence.sh

    I didn't get any warnings that it isn't supported but I got nice log within same directories what was done by this scripts.

    From what you wrote I understand that it's not supported but in my opinion running GUI in linux server just for the ability to configure something by clicking in GUI is not always desirable if same is possible to gain using just CLI.

    I didn't test backup/restore procedure yet but there is a process dbman which I suppose is able to run this procedures based on some configuration files.

    Does anyone know if processes should be invoked with file.encoding=GB18030 regardless of what language was choosen during installation? Can it be changed and where?