1 & ***********************************************************
2 & * *
3 & * Copyright, C Honeywell Bull Inc., 1987 *
4 & * *
5 & * Copyright, C Honeywell Information Systems Inc., 1984 *
6 & * *
7 & * Copyright c 1972 by Massachusetts Institute of *
8 & * Technology and Honeywell Information Systems, Inc. *
9 & * *
10 & ***********************************************************
11 &
12 &
13 & SYSTEM_START_UP.EC - Installation-dependent commands at system startup time.
14 &
15 & This exec_com is invoked by system_control_ three times:
16 & 1. Before answering service startup, in response to "startup" or "multics" command.
17 & 2. After answering service startup, in response to "startup" or "go" command.
18 & 3. After channel attachment, in response to "startup" or "go" command.
19 &
20 & a ten-second pause is made between step 2 and channel attachment to allow the
21 & message coordinator to get output from "login" commands and such out.
22 &
23 & Modified 1985-01-02, BIM: new system control.
24 & Modified 1985-02-04, Steve Herbst: Added comment showing command line to
25 & log in a Data_Management daemon.
26 &
27 &
28 & HISTORY COMMENTS:
29 & 1) change1987-10-01Beattie, approve1987-10-01MECR0010,
30 & audit1987-10-01Parisek, install1987-10-02MR12.1-1123:
31 & Insert reconfigure command line and exec_com command line to start
32 & scavenging into an "on" command line to prevent an abort when
33 & they signal command_error.
34 & 2) change2022-11-18Swenson, approve2022-11-18MCR10127,
35 & audit2022-11-18GDixon, install2022-11-19MR12.8-1050:
36 & Updated to add support for DM daemon, backup daemon logs, puna support,
37 & commented out IMFT support, fixed cd message coordinator source, and
38 & correct ACLs for HFED for T&D.
39 & END HISTORY COMMENTS
40 &
41 &
42 & ----------------------------------------------------------------------------
43 &
44 & To log in a Data Management daemon, issue the command line:
45 &
46 & login Data_Management Daemon <message_coordinator_channel_id>
47 &
48 & ----------------------------------------------------------------------------
49 &
50 &command_line off
51 &goto &1
52 &
53 &label part1
54 & must create and set acls for ".message" segments used by non-SysDaemon daemons:
55 &
56 &if exists segment mc.message &then &else create mc.message; set_acl mc.message rw *.Daemon.*
57 &if exists segment reader.message &then &else create reader.message; set_acl reader.message rw *.Daemon.*
58 &if exists segment vinc.message &then &else create vinc.message; set_acl vinc.message rw *.Daemon.*
59 &if exists segment vcons.message &then &else create vcons.message; set_acl vcons.message rw *.Daemon.*
60 &if exists segment vcomp.message &then &else create vcomp.message; set_acl vcomp.message rw *.Daemon.*
61 &quit
62 &
63 &label part2
64 &
65 & a.h000 is an example of an installation-dependent channel number
66 & of a terminal in an input/output area remote from the main computer
67 & room. The lines referring to a.h000 and ioc2d are commented out,
68 & and are present to show how a remote i/o terminal can be set up
69 & using the message coordinator
70 &
71 & EXAMPLE OF REMOTE I/O TERMINAL
72 & sc_command accept a.h000
73 sc_command define alarm tty otw_
74 sc_command define scc tty otw_
75 sc_command define asc tty otw_
76 sc_command define ioc tty otw_
77 sc_command define bkc tty otw_
78 sc_command define dmc tty otw_
79
80 & EXAMPLE OF REMOTE I/O TERMINAL
81 & sc_command define ioc2d tty a.h000
82 &
83 sc_command define iolog log iolog
84 sc_command define bklog log bklog
85 sc_command define vinclog log vinclog
86 sc_command define vcomplog log vcomplog
87 sc_command define cdlog log cdlog
88 sc_command define dmlog log dmlog
89 sc_command reroute as severity1 default_vcons asc
90 sc_command reroute as severity2 default_vcons *asc
91 sc_command reroute as severity3 default_vcons *asc
92 sc_command route as severity3 *alarm
93 sc_command route io1 io2 cord prta prtb puna user_i/o ioc
94 & EXAMPLE OF REMOTE I/O TERMINAL
95 & sc_command route io1 prtb cord user_i/o ioc2d
96 sc_command route io1 io2 cord prta prtb puna error_i/o *ioc
97 & EXAMPLE OF REMOTE I/O TERMINAL
98 & sc_command route io1 prtb cord error_i/o *ioc2d
99 sc_command route prta prtb reader io1 puna log_i/o iolog
100 sc_command route prta prtb reader io1 puna log_i/o ioc
101 & EXAMPLE OF REMOTE I/O TERMINAL
102 & sc_command route prtb io1 log_i/o ioc2d
103 sc_command route bk cd cd1 cd2 rt vinc vcons vcomp user_i/o bkc
104 sc_command route bk cd cd1 cd2 rt vinc vcons vcomp error_i/o *bkc
105 sc_command route bk user_i/o error_i/o bklog
106 sc_command route vinc user_i/o error_i/o vinclog
107 sc_command route vcomp user_i/o error_i/o vcomplog
108 sc_command route cd cd1 cd2 user_i/o cdlog
109 sc_command route cd cd1 cd2 error_i/o cdlog
110 &
111 & Data Management Daemon
112 &
113 sc_command route dm user_i/o dmc
114 sc_command route dm error_i/o *dmc
115 sc_command route dm user_i/o error_i/o dmlog
116 &
117 & IMFT
118 &
119 & sc_command route systestfti user_i/o ioc iolog
120 & sc_command route systestfti error_i/o *ioc iolog
121 & sc_command route systestfti log_i/o iolog
122 &
123 & sc_command route systestfto user_i/o ioc iolog
124 & sc_command route systestfto error_i/o *ioc iolog
125 & sc_command route systestfto log_i/o iolog
126 &
127 & CHANGE and uncomment the following line to name the volumes that should
128 & be used for process directories.
129 & sc_command set_pdir_volumes public
130 &
131 sc_command login IO SysDaemon cord
132 sc_command login Backup SysDaemon bk
133 sc_command login IO SysDaemon prta
134 sc_command login Utility SysDaemon ut
135 sc_command login Volume_Dumper Daemon vinc
136 &
137 & Uncomment if you want to start the punch daemon for puna
138 & sc_command login IO SysDaemon puna
139 &
140 & if system rebooted itself after a crash, while unattended flagbox 5 is "unattended"
141 &if and get_flagbox 5 get_flagbox rebooted &then &else &goto not_unattended_reboot
142 & delete the tape drives
143 on command_error "" -brief -restart reconfigure delete device tape_01 02 03 04 05 06 07 08
144 & turn off automatic rebooting, to avoid a crash loop
145 set_flagbox auto_reboot false
146 &label not_unattended_reboot
147 &
148 &quit
149 &
150 &label part3
151 & set_timax 1
152 initialize_peek_limits >system_library_1>ring_zero_meter_limits_ASCII_
153 set_flagbox booting false
154 hpsa >system_library_1>system_privilege_ re *.Daemon.*
155 hpsa >system_library_1>rcp_sys_ re *.HFED.*
156 hpsa >system_library_1>rcp_priv_ re *.HFED.*
157 hpsa >system_library_1>phcs_ re *.HFED.*
158 hpsa >system_library_1>tandd_ re *.HFED.*
159 set_acl >sl1>syserr_log.** list_iacl_seg >sc1>syserr_log
160 save_history_registers off -priv
161 & The following will log in a daemon to scavenge all mounted physical
162 & volumes with inconsistencies.
163 on command_error "" -brief -restart ec admin scav -all -auto -nopt
164 &quit
165 &
166 &label &1
167 &print ERROR &1
168 & end