(file) Return to dcs3_name_change.txt CVS log (file) (dir) Up to [Development] / JSOC / doc

 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                --------------------------END CHANGES--------------------------------------
41                
42                TO TEST:
43                
44                > sum_start_dc
45                > cd /home/production/cvs/JSOC/proj/datacapture/scripts
46                
47                Make sure your DISPLAY is set.
48                Normally you would just run:
49                > socdc
50                
51                and just hit "Start Instances for HMI" or "Start Instances for AIA"
52                accordingly.
53                
54                If you want to run in sim mode where data is generated as if coming
55                from the DDS, then either run socdc0 or socdc1 for AIA or HMI simulation
56                respectively.
57                

Karen Tian
Powered by
ViewCVS 0.9.4