TOF OPS: How to mask a tray out of Anaconda
to mask out a tray in anaconda.... first, log into tofcontrol
[tof@tofcontrol ~]$ which TOF_Mon
alias TOF_Mon='cd /home/tof/tof/anaconda_two/debug; ulimit -c 1000000; /home/tof/tof/anaconda_two/AnacondaII'
[tof@tofcontrol ~]$ cd /home/tof/tof/anaconda_two/
[tof@tofcontrol anaconda_two]$ cd db
exit out of anaconda.
if you are doing this remotely, call the CR and ask them to do it and let you know when it's done.
[tof@tofcontrol db]$ vi tcpus.sql
near the top, you'll see "create table tcpus" and then the table contents. the last entry in this table is the variable "installed".
scroll down and you'll see
[snip]
begin transaction;
-- west
insert into tcpus values ( 1, 3, 43, 72, 68, 3, 'C2', 3, 0, 1, 1, 1);
insert into tcpus values ( 2, 3, 44, 58, 58, 3, 'C3', 3, 1, 1, 2, 1);
insert into tcpus values ( 3, 3, 45, 67, 63, 3, 'D0', 3, 2, 1, 3, 1);
[snip]
each line is setting the 12 variables in the tcpus table.
the first number in each line is the tray number.
the last number in each line is the "installed" variable and is =1 if it's an active tray, and is =0 for a masked tray.
see tray 95
insert into tcpus values ( 95, 2, 62, 116, 112, 2, 'H1', 6, 10, 8, 11, 0);
and 102
insert into tcpus values (102, 4, 39, 69, 65, 4, 'C3', 5, 5, 9, 6, 0);
....so, go to the line that has the tray number that you want to mask out as the first number of the 12.
then change the last number in that same line from 1 to 0.
change all the trays that you want, then save the file and exit vi.
then enter: make
and then ask the crew to restart anaconda.
this tray should now show up as black (disabled) in anaconda - ask the crew to check this.
- llope's blog
- Login or register to post comments