Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

How-to Reboot an RTEMS IOC

Panel

Rebooting an IOC from LCLSHOME

In most cases, from the productin system it is best to use the lclshome interface to reboot an IOC.

  1. log into the host lcls-builder or lcls-srv02 (from lcls-prod02 first), using the iocegr or physics shared account.
  2. start up the LCLSHOME edm page (e.g. >lclshome )
  3. Click the Network button to bring up the Network page
  4. Click the upper tab for the sector in which the IOC resides
  5. Click the 'More IOC Info & IOC Reboot...' button (lower right-hand corner)
  6. Click the 'Reboot...' button for the IOC you wish to reboot
Panel

Rebooting in IOC from iocConsole

If you first need to see the state of the IOC, or you need to watch it reboot, then iocConsole gives you better insight. You need to have the proper permission for this option; you must be in the laci group. See Jingchen Zhou to have your login added. Note that in production, the iocegr and physics account have the proper permissions.

  1. Start iocConsole for the IOC you wish to reboot (e.g. >iocConsole ioc-in20-bp01 )
  2. at the prompt, type in rtemsReboot() (e.g. Cexp>rtemsReboot() )
  3. if you wish, you can stay in iocConsole to verify the IOC reboots successfully
  4. detach from iocConsole (type in 'ctrl-a' then 'd') (do not type in 'exit'!)
Panel

Rebooting by resetting the Wiener Crate

When all else fails, you can try resetting the crate in which the IOC resides (keep in mind the entire crate will be reset). This is done by using the web interface for the crate:

  1. log into a production host, such as lcls-prod02
  2. start up the LCLSHOME edm page (e.g. >lclshome )
  3. Click the Network button to bring up the Network page
  4. Click the upper tab for the sector in which the IOC resides
  5. Click the 'More IOC Info & IOC Reboot...' button (lower right-hand corner)
  6. Click the 'Mozilla...' button for the IOC you wish to reboot, this brings up the web interface
  7. it will ask for a username and password (you should be able to get this from Ernest Williams)
  8. to reset the crate, click on the SYSRESET button
Panel

Rebooting by telneting to your IOC

If you are not able to use iocConsole you can telnet to your ioc as follows:

telnet <nodename, or ip address>
password: rtems

for rtems-4.7.1
rtemsReboot()

For rtems-4.9.1 and greater
bsp_reset()