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
-
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.
-
Verify that the matching DTD file
(remotereboot.dtd)
exists in the same directory.
-
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>
-
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" />
-
Restart the active Infocast server:
service infocastserverd restart
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.