1 <div class="plroundedupdate">
2 <div class="plroundedwhite">
3 <h3>Confirm Reboot Node With PCU</h3>
5 <?php if ( $node['boot_state'] == "disable" ): ?>
9 Use the 'Test Reboot' button. This will set the boot state to 'rins' and
10 attempt to reboot your machine using the registered PCU.
13 <?php elseif ( $node['boot_state'] == "rins" || $node['boot_state'] == "reinstall" ): ?>
14 <dt>If Reboot succeeds,</dt><dd>
15 your machine will reboot, install the bootstrap image, and
16 contacted PLC. Finally, the boot state will be updated to 'boot'.
18 Continue using the 'Reload' button to check whether the node has
19 completed its installation.
21 <dt>If Reboot fails,</dt><dd>
22 there will be an error displayed that will assist you in
23 diagnosing the error. Otherwise, please double check the
24 registered information for the PCU, and that you can operate the
25 PCU manually (using it's web or ssh interface).
27 To try the test again, use 'Test Reboot'.<br>
30 <dt><b>Success!!</b></dt><dd>
31 The installation is complete; your machine has reached the final
32 'boot' state. You can continue to the final stage.</dd>
37 <tr><th>Site: </th><td> <a href='/db/sites/index.php?id=<?= $site_id ?>'><?= $site['name'] ?></a></td></tr>
38 <tr><th>Hostname: </th><td nowrap><?= $node['hostname'] ?></td></tr>
39 <tr><th>Boot State: </th><td><?= $node['boot_state'] ?> </td>
41 <?php if ( $node['boot_state'] == "disable" ): ?>
42 <span class='error'> Start with the 'Test Reboot' button.</span>
43 <?php elseif ( $node['boot_state'] == "rins" ): ?>
44 <br>'Test Reboot' to start again.<br>
45 'Reload' to Reload this page.
47 <b>Success!!</b> Your machine has booted and contacted PLC.
48 'Continue' to the final stage.
52 <tr><th>Model: </th><td><?= $node['model'] ?></td></tr>
53 <tr><th>Version: </th><td nowrap='1'><?= $node['version'] ?></td></tr>
54 <tr><th>Last Contact: </th><td><?= $last_contact_str ?></td></tr>
55 <?php if ( isset($error) && ! empty($error) ): ?>
58 <span class='error'> <?= $error ?> </span>
66 <?= form_open("confirm/reboot/$site_id/$pcu_id/$node_id",
67 array('style' => 'display: inline; margin: 0px')) ?>
68 <input type='submit' name='reboot_node' value='Test Reboot'>
70 <?= form_open("confirm/stage8_rebootpcu/$pcu_id/$site_id/$node_id", array('style' => 'display: inline; margin: 0px')) ?>
71 <input type='submit' name='reload_contact' value='Reload'>
73 <?= form_open("confirm/complete/$site_id/$pcu_id/$node_id",
74 array('style' => 'display: inline; margin: 0px')) ?>
75 <?php if ( $node['boot_state'] == "boot" ): ?>
76 <input type='submit' value='Continue'>
78 <input type='submit' disabled value='Continue'>
80 <input type='submit' value='Debug Continue'>
82 </tbody></table><br />
89 If you do not see an error, this does not mean that none have
90 occurred. We need your help in verifying that the PCU function is
94 Please be patient. Installations may take between 10 to 30
95 minutes depending on the speed of your hardware and network. Checking the
96 console is the fastest way to verify that the installation is proceeding.