Table of Contents |
---|
Use "(/reg/g/xpp/scripts/)iocmanager" from a terminal. It will guess the hutch you want the iocmanager IocManager for by looking at the hostname of the machine. If you would like to see another hutches/areas iocmanagerIocManager, do e.g. "iocmanager XXX".
where XXX is a three-letter lowercase hutch name (ie: fee, las, amo, sxr, xpp, xrt, xcs, cxi, mec).
Starting version R1-1-2 or later of the IocManager will open a window similar to the following:
...
...
Add Running to Config will add an IOC that was found to be running but not in the configuration file to the configuration. (This could also be considered an "undelete" function.)
Set from Running will change the configured parameters to agree with what is currently running.
Revert IOC will discard all unapplied user changes to this IOC and restore the values saved in the configuration file.
Remember Version will add the current version to the history list for this IOC.
Edit Details will allow the changing of the rarely changed fields cmd, flags, and delay.
In version R1-3-4, a tool was added to assist finding IOCs by PV name. Enter a regular expression contained in the PV into the "Find PV" field and hit enter. A popup window will show which IOCs have a matching PV. If only one IOC has a match, it will be selected as well.
Should this window remain empty, then this PV is not served from any IOC controlled by this IOC manager. Try another area (e.g. the XRT for some of the IOCs serving hutches in the FEH). In case of success, you should see something like:
In the IOC managerIocManager, this IOC is now also selected (if there is only a single IOC found as findPV allows for regular expressions).
More information about the iocmanager IocManager (mostly aimed at PCDS personnel) can be found here: IOC Manager User GuideStaff Guide
The 'console' option will drop you into the procServ session running the IOC. How to use procServ to reboot the underlying process/IOC (and how to connect to a session if you have issues with the console option) is described here.
So you do:
telnet <hostname> <port>
Among the printout you will see:
@@@ Use ^X to kill the child, auto restart mode is ON, use ^T to toggle auto restart
So you type ctrl-t until you have auto restart in ON or OFF, depending on what you want. With ON, ctrl-x will restart. With autorestart OFF, ctrl-x will stop the process and you will see:
@@@ ^R or ^X restarts the child, ^Q quits the server
So with ctrl-q, the session will be closed.