Revision: | 1.5 |
Committed: | Tue Dec 14 14:19:50 2010 UTC (12 years, 9 months ago) by production |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | NetDRMS_Ver_6-4, NetDRMS_Ver_8-0, NetDRMS_Ver_6-2, NetDRMS_Ver_6-3, NetDRMS_Ver_6-0, NetDRMS_Ver_6-1, Ver_6-0, Ver_6-1, Ver_6-2, Ver_6-3, Ver_6-4, NetDRMS_Ver_2-7, NetDRMS_Ver_2-5, NetDRMS_Ver_8-8, Ver_8-5, NetDRMS_Ver_7-0, NetDRMS_Ver_8-1, Ver_5-14, Ver_5-13, Ver_5-12, Ver_7-0, Ver_LATEST, NetDRMS_Ver_LATEST, NetDRMS_Ver_9-9, NetDRMS_Ver_8-12, NetDRMS_Ver_8-10, NetDRMS_Ver_8-11, NetDRMS_Ver_9-1, NetDRMS_Ver_9-0, NetDRMS_Ver_9-3, NetDRMS_Ver_9-2, NetDRMS_Ver_9-5, NetDRMS_Ver_9-4, NetDRMS_Ver_8-2, NetDRMS_Ver_8-3, NetDRMS_Ver_9-41, Ver_9-41, Ver_DRMSLATEST, NetDRMS_Ver_8-4, NetDRMS_Ver_8-5, NetDRMS_Ver_8-6, Ver_8-8, NetDRMS_Ver_8-7, Ver_8-2, Ver_9-3, Ver_8-0, Ver_8-1, Ver_8-6, Ver_8-7, Ver_8-4, Ver_8-11, Ver_7-1, Ver_9-1, Ver_8-3, NetDRMS_Ver_7-1, Ver_9-5, Ver_9-4, Ver_8-10, Ver_9-2, Ver_8-12, Ver_9-0, HEAD |
Changes since 1.4: | +1 -1 lines |
Log Message: | fix passwd |
# | User | Rev | Content |
---|---|---|---|
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 | 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 |