ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/doc/dcs3_name_change.txt
Revision: 1.3
Committed: Wed Oct 15 19:49:20 2008 UTC (14 years, 11 months ago) by production
Content type: text/plain
Branch: MAIN
CVS Tags: NetDRMS_Ver_1-1, Ver_4-7
Changes since 1.2: +6 -0 lines
Log Message:
add .pgpass

File Contents

# 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     foo:*:*:production:hmi4sdo
44     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     If you want to run in sim mode where data is generated as if coming
61     from the DDS, then either run socdc0 or socdc1 for AIA or HMI simulation
62     respectively.
63