we purchased two more licences, bringing the total to three.
Carleton Astronet Admin Log
we purchased two more licences, bringing the total to three.
NOTE: SEE BOTTOM OF THIS POST FOR UPDATE:
i moved the h subdirectory below rather than at the same level as the gen directory. now idl on algol finds it and starts up fine with phil’s routines:
Now on algol at:
/data/psrdata/usr4/OH/wapp03/philstuff/gen/h
rather than at
as on arcturus at
/data/psrdata/usr4/OH/wapp03/philstuff/h
——————————-
but note that in late May 2006 JMW realized it is more subtle than this:
in /data/psrdata/usr4/OH/wapp03/philstuff/gen/
in aodefdir.pro, i had to define the path to
/data/psrdata/usr4/OH/wapp03/philstuff/
at which point all path difficulties cleared up. so the above “fix” is obsolete (if it ever worked!) In future installations, it should not be necessary to move the h directory.
OUT OF DATE as of 2008-11-01.
We decided to convert the Raid1 array to LVM instead of a monolithic partition. This will make life easier.
Commands:
- mkdir /docs
- mkdir /data
- added lines to /etc/fstab:
algol:/data /data nfs defaults 1 1
algol:/docs /docs nfs defaults 1 1
exit 0
All in all, not that hard. The permissions are all correct, so hopefully this was just as easy & painless as I think it was.
OUT OF DATE as of 2008-11-01.
Modified Algol:
hosts.allow:
#
# hosts.allow This file describes the names of the hosts which are
# allowed to use the local INET services, as decided
# by the ‘/usr/sbin/tcpd’ server.
#
sshd: ALL
ALL: .physics.carleton.edu
ALL: LOCAL
ALL: 127.0.0.1
hosts.deny
#
# hosts.deny This file describes the names of the hosts which are
# *not* allowed to use the local INET services, as decided
# by the ‘/usr/sbin/tcpd’ server.
#
# The portmap line is redundant, but it is left to remind you that
# the new secure portmap uses hosts.deny and hosts.allow. In particular
# you should know that NFS uses portmap!
ALL: ALL
OUT OF DATE as of 2008-11-01.
Put script in cron.daily on Algol:
#!/bin/bash
# Copy /etc/passwd /etc/shadow /etc/groups to /etc/secret directory
# Created by:
# Mark Knight
# 4/25/06
/bin/cp /etc/shadow /etc/secret/
/bin/cp /etc/passwd /etc/secret/
/bin/cp /etc/group /etc/secret/
/bin/chmod -R u=r,go= /etc/secret/
exit 0
Copy script to local /etc/ folder on clients:
#!/bin/bash
# Copy /etc/passwd /etc/shadow /etc/groups from /etc/secret directory
# Created by:
# Mark Knight
# 4/25/06
/bin/cp /etc/secret/shadow /etc/
/bin/cp /etc/secret/passwd /etc/
/bin/cp /etc/secret/group /etc/
/bin/chmod u=rw,go=r /etc/group
/bin/chmod u=rw,go=r /etc/passwd
/bin/chmod u=r,go= /etc/shadow
exit 0
Include client computer in Algol’s /etc/exports, and put /etc/secret in client computer’s NFS mounts in /etc/fstab.
To access the old system log, which still has useful info, go to /docs/sysinfo/sulog. New entries should NOT be placed there but rather here on this blog that you are reading.
(For much of May and until June 7, it was on algols /data/arcturus/doks/sysinfo/sulog.–jmw)
(note that even earlier sulogs are in /docs/thuban-doks/sysinfo)
(other old gems like backup lists are under /docs/thuban-doks, like ourhints and dumps)
Updated 2018 June: for idl 6.3 on canopus and deneb , goddard libe is now at
/usr/local/exelis/
It was never installed on mirzam idl 8.6 but when it is (soon) it will be in a similar place except replace “excelis” with “harris”. –jmw
Drew and Joel brought in the IDL NASA GSFC Library, as the Heiles tutorial uses a routine from it to enable reading columns from a table. There are many other excellent IDL astro routines in it.
We gunzipped and untarred the download into
algols /usr/local/rsi/idl_6.3/lib/goddard as of May 2006,
(((((((on original post said we put it into:/space/share/astro/idl/idl_6.2/lib/goddard))))))
and after adding Sirius and Mirzam licenses we had to go to algols /usr/local/rsi/idl_6.3/lib/ as root and
scp -r goddard root@mirzam:/usr/local/rsi/idl_6.3/lib/
and
scp -r goddard root@sirius:/usr/local/rsi/idl_6.3/lib/
Note that inside ~.idlstartup, one has
!path = expand_path(‘+/gig1/usr4/OH/wapp03/philstuff/gen’)+’:’+ !path
which (because of the “+”) takes all subdirectories containing files ending in .pro or .sav from the above directories. I believe that the above is operating also on the unix path as well, though the parenthesis would suggest no. Maybe !path is an already expand_path-ed version of unix path.
anyway this works. we can access the Goddard library from inside IDL. But also note that its location suggests we may need/want to move it once we upgrade to next version of IDL.
NOTE ADDED JUNE 2008: DONT CONFUSE GODDARD LIBS WITH GBTIDL!
AS FAR AS I KNOW, WE USE STD GODDARD LIBS WITHOUT MODS.
(We DID have to mod GBTIDL – see above posts.)
To create the directory “test” in /home, execute as root: