Verifying the container

  1. To check if the container is up, run the following command:

    ps | grep lxc

    The container appears within one to two minutes, as shown here:

    3153    containe  1440 S    lxc-start -d -P /tmp/container -n 50593792
    28392  root          1104 S    grep lxc
  2. Do a SwitchDIInit, run the following command:

    /usr/bin/SwitchDIInits.sh -s,

    The database is updated successfully.

    1. If the database is not updated successfully, run the following command:

      sqlite3 /usr/share/itron/database/muse01.db "delete from CONTAINEROVERLAY where OverlayUID= 50659329"
    2. After you execute this command, run the SwitchDllnitcommand again (step 2).

    3. To verify that the agent has come, run the following command:

      ps | grep Agent

      The agent appears within one to two minutes, as shown here:

      26052 containe  6084 S    /usr/bin/0302ff83/VoltageAgent_Daemon
      28016 root      1104 S    grep Agent
  3. After the agent has come up, run the following command to make sure the agent installed is the proper one as the agent image pushed.

    cat /tmp/container/50593792/rootfs/etc/agents.d/*.info

    The following agent information is returned:

    name=VoltageAgent
    description=Voltage Agent
    majorversion=0
    minorversion=2
    buildnumber=5
    revisionnumber=837937292
    minappserveversion=0.0.0.0
    feature=0x0303fffc
    feature=0x03031f83
    feature=0x03032f83
    feature=0x03033f83
    feature=0x03034f83
    overlayid=0x0305ff83
    agentid=0x0302ff83
    overlayid_dec=50724739
    agentid_dec=50528131
    flashpath=/usr/share/flash
    builddate=Fri Feb 12 08:49:30 UTC 2021