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

File: [Development] / JSOC / doc / dcs3_name_change.txt (download)
Revision: 1.5, Tue Dec 14 14:19:50 2010 UTC (11 years, 11 months ago) by production
Branch: MAIN
CVS Tags: Ver_LATEST, Ver_DRMSLATEST, Ver_9-5, Ver_9-41, Ver_9-4, Ver_9-3, Ver_9-2, Ver_9-1, Ver_9-0, Ver_8-8, Ver_8-7, Ver_8-6, Ver_8-5, Ver_8-4, Ver_8-3, Ver_8-2, Ver_8-12, Ver_8-11, Ver_8-10, Ver_8-1, Ver_8-0, Ver_7-1, Ver_7-0, Ver_6-4, Ver_6-3, Ver_6-2, Ver_6-1, Ver_6-0, Ver_5-14, Ver_5-13, Ver_5-12, NetDRMS_Ver_LATEST, NetDRMS_Ver_9-9, NetDRMS_Ver_9-5, NetDRMS_Ver_9-41, NetDRMS_Ver_9-4, NetDRMS_Ver_9-3, NetDRMS_Ver_9-2, NetDRMS_Ver_9-1, NetDRMS_Ver_9-0, NetDRMS_Ver_8-8, NetDRMS_Ver_8-7, NetDRMS_Ver_8-6, NetDRMS_Ver_8-5, NetDRMS_Ver_8-4, NetDRMS_Ver_8-3, NetDRMS_Ver_8-2, NetDRMS_Ver_8-12, NetDRMS_Ver_8-11, NetDRMS_Ver_8-10, NetDRMS_Ver_8-1, NetDRMS_Ver_8-0, NetDRMS_Ver_7-1, NetDRMS_Ver_7-0, NetDRMS_Ver_6-4, NetDRMS_Ver_6-3, NetDRMS_Ver_6-2, NetDRMS_Ver_6-1, NetDRMS_Ver_6-0, NetDRMS_Ver_2-7, NetDRMS_Ver_2-5, HEAD
Changes since 1.4: +1 -1 lines
fix passwd

	dcs3:/home/production/cvs/JSOC/doc/dcs3_name_change.txt 10/15/2008


The system is configured for a 'hostname -s' of dcs3.
The full host name is dcs3.jsoc.Stanford.EDU

If the machine is renamed, everything will still work if 
the short hostnmae (hostname -s) is dcs3.

If the short hostname must be different than dcs3 then make
these changes:

--------------------------START CHANGES--------------------------------------
Do as user production

1.)

/etc/sudoers  change dcs3 to the new name (use visudo as root)

2.)

/home/production/cvs/JSOC/base/sums/scripts/sum_start_dc and sum_stop_dc
change $HOST3 from dcs3 to new name.

3.)

/home/production/cvs/JSOC/base/sums/apps/sum_svc.c and tapearc.c
change dcs3 to the new name.

/home/production/cvs/JSOC/base/sums/apps/Rules.mk
change dcs3.jsoc.Stanford.EDU to new full host name

> cd /home/production/cvs/JSOC
> make sums

4.)

/home/production/.login  change all dcs3 to the new short name

5.)

Add to /home/production/.pgpass 
foo:*:*:production:<password>
where 'foo' is the new host name that you have.

--------------------------END CHANGES--------------------------------------

TO TEST:

> sum_start_dc
> cd /home/production/cvs/JSOC/proj/datacapture/scripts

Make sure your DISPLAY is set.
Normally you would just run:
> socdc

and just hit "Start Instances for HMI" or "Start Instances for AIA"
accordingly.

If you want to run in sim mode, select simulate radio button before
select 'Start Instances'. 


Karen Tian
Powered by
ViewCVS 0.9.4