1 production 1.2 dcs3:/home/production/cvs/JSOC/doc/dcs3_name_change.txt 10/15/2008
|
2 production 1.1
3
4 The system is configured for a 'hostname -s' of dcs3.
5 The full host name is dcs3.jsoc.Stanford.EDU
6
7 If the machine is renamed, everything will still work if
8 the short hostnmae (hostname -s) is dcs3.
9
10 If the short hostname must be different than dcs3 then make
11 these changes:
12
13 --------------------------START CHANGES--------------------------------------
14 Do as user production
15
16 1.)
17
18 /etc/sudoers change dcs3 to the new name (use visudo as root)
19
20 2.)
21
22 /home/production/cvs/JSOC/base/sums/scripts/sum_start_dc and sum_stop_dc
23 production 1.1 change $HOST3 from dcs3 to new name.
24
25 3.)
26
27 /home/production/cvs/JSOC/base/sums/apps/sum_svc.c and tapearc.c
28 change dcs3 to the new name.
29
30 /home/production/cvs/JSOC/base/sums/apps/Rules.mk
31 change dcs3.jsoc.Stanford.EDU to new full host name
32
33 > cd /home/production/cvs/JSOC
34 > make sums
35
36 4.)
37
|
38 production 1.2 /home/production/.login change all dcs3 to the new short name
|
39 production 1.1
|
40 production 1.3 5.)
41
42 Add to /home/production/.pgpass
|
43 production 1.5 foo:*:*:production:<password>
|
44 production 1.3 where 'foo' is the new host name that you have.
45
|
46 production 1.1 --------------------------END CHANGES--------------------------------------
47
48 TO TEST:
49
50 > sum_start_dc
51 > cd /home/production/cvs/JSOC/proj/datacapture/scripts
52
53 Make sure your DISPLAY is set.
54 Normally you would just run:
55 > socdc
56
57 and just hit "Start Instances for HMI" or "Start Instances for AIA"
58 accordingly.
59
|
60 production 1.4 If you want to run in sim mode, select simulate radio button before
61 select 'Start Instances'.
|
62 production 1.1
|