Remote reboot example

Here is an example of how to use remote reboot. The following example will reboot all connected IP-STBs until the software version matches.

Main flow

  1. Create an XML file containing the desired reboot information in the main infocast directory. You can find an example file in the description of the configuration files of the Remote Reboot application. Name the file notification.reboot.xml.
  2. Verify that the matching DTD file (remotereboot.dtd) exists in the same directory.
  3. Make the Infocast server transmit the remote reboot object by adding it to the existing Metadata channel:

      <object>
        <name>cmd.reboot</name>
        <infocast-type>generic</infocast-type>
        <source>
          <source-name>notification.reboot.xml</source-name>
          <source-type>xmlfile</source-type>
        </source>
        <precoding>crc16</precoding>
      </object>

  4. Make the IP-STBs listen for the reboot object by adding it to the infocast client configuration. Add the following line to the Metadata channel section of the Infocast client configuration:

        <Object name="cmd.reboot" fetch="Prefetch"/>
    

  5. Restart the active Infocast server:

    service infocastserverd restart

    Note! Keep the notes under Managing an environment with redundant KreaTV Infocast Servers in mind if you have several active KreaTV Infocast Servers in your network.

Post condition

All IP-STBs connected will reboot according to the settings in notification.reboot.xml.