Project

General

Profile

Hosts » History » Version 1

Joseph Foley, 2015-09-05 02:57

1 1 Joseph Foley
{{toc}}
2
3
h1. Hosts
4
5
These hosts are all @.dev.ru.is@ DNS names unless specifically noted.
6
7
Naming scheme:
8
* critical infrastructure: 13 Icelandic Christmas lads and family
9
* general servers/personal projects: Norse gods
10
* unallocated: numerically spelled out and matching IP
11
12
Services are done through DNS CNAMES unless this is unsupported in the application.
13
14
15
h2. Hosts by DNS name
16
17
* @baldur@ (RU controlled)
18
** cisco router 
19
* @hod@ (RU controlled)
20
** ethernet switch 
21
* @eir@ (freysteinn)
22
** bridge/firewall
23
** Shorewall filtering/routing
24
** [[NAT]]  connected to @frigga@ (foley, freysteinn)
25
** [[DNS Server]] primary 
26
** [[DHCP Server]] 
27
* @centipede@ (ymir, freysteinn) *DECOMISSIONED*
28
** cluster frontnode 
29
* @gryla@ (foley, stephans)
30
** Kerberos server for DEV.RU.IS primary: [[Kerberos Tests]]
31
** [[AFS Server]]
32
*** db server aka @afsdb1@
33
*** file server
34
** [[DNS Server]] secondary (foley) cname @ns2.dev.ru.is@
35
** [[NTP Server]] strata-1 (foley) cname @time.dev.ru.is@
36
* @stekkjarstaur@ (foley)
37
** Kerberos server for DEV.RU.IS secondary cname @kerberos-1.dev.ru.is@ [[Kerberos Tests]]
38
** [[AFS Server]]
39
** Backups
40
*** samvinna.ru.is backups
41
*** projects.cs.ru.is backups
42
** db server aka @afsdb2.dev.ru.is@
43
* @giljagaur@ (foley, stephans, jay)
44
** Kerberos server for DEV.RU.IS secondary cname @kerberos-2.dev.ru.is@ [[Kerberos Tests]]
45
** [[PXE Server]] (foley, stephans, freysteinn, kupo, baldur) on cname @pxe.dev.ru.is@
46
** [[AFS Server]]
47
*** db server aka @afsdb3.dev.ru.is@
48
*** file server
49
* @gluggagaegir@ (foley)
50
** [[AFS Server]]
51
*** file server on fast SCSI3 disks
52
* @frigga@ wireless access point (freysteinn)
53
** [[Wireless Access Point]]
54
* @broadcast@ NOT REAL
55
** This is a placeholder for the network broadcast
56
* @pottasleikir@ (freysteinn)
57
** Nagios server
58
* @day@ (Gunnar, hakkavélin)
59
** Nginx Web server
60
** PostgreSQL Database server
61
** E-Mail server (todo)
62
* @buri@
63
** A backup for Day for swapping out
64
65
h2. Projects/Personal
66
67
* @odin@ (foley, hannes)
68
** RU Ad-hoc wireless project
69
** Previously RU-MIT collaboration server for Gedeminas Urbonas project
70
* @njord@ (foley)
71
** Hardware on loan from CS IT
72
** Centos test server for [[IPA and ActiveDirectory]]
73
* @ketkrokur@ (kupo, zarutian)
74
** debian shell server
75
* @tiki@ (kupo, freysteinn)
76
** [[Minecraft Server]] 
77
* @loki@ (kupo) 
78
** [[Tor Exit node]] DISABLED.  Waiting for RHNet to change policy on anonymization
79
* @earth@ (jg, foley)
80
** Speech research server (jg, hassan)
81
* @aegir@ (bjarni, freysteinn)
82
** Bjarnis experimental server
83
* @"otr":https://en.wikipedia.org/wiki/%C3%93tr@ (used to be vale) 
84
** raspberry pi server running raspbian (debian squeeze) and tor
85
* @bor@ (foley)
86
** foley's backup server (MIT, some AFS)
87
**** Repositories with Icelandic Blood Bank (oes@ru.is)
88
** foley's svn server
89
*** Project with Czech Technical Institute: Irena Valterova <irena@uochb.cas.cz>
90
** foley's photo gallery server
91
** foley's Dev Project Server [[ChiliProject]]
92
93
h2. Offsite
94
95
Also, servers not on devnet that have related services
96
* @samvinna.ru.is@
97
** jabber(XMPP) on cname @jabber.ru.is@
98
** gallery on cname @gallery.ru.is@
99
** afs fileserver for dev.ru.is
100
** chiliproject
101
** svn server (connected to chiliproject) on cname @svn.ru.is@
102
103
h2. Unallocated
104
105
* @stufur@
106
** Previously Windows Server 2008 Standard
107
** Previously [[ActiveDirectory server]] for @dev.ru.is@ for testing
108
* @bolverk@ - previously ActiveDirectory server
109
* @freyr@ - ubuntu 10.04, used to be gluggagaegir
110
* @freyja@
111
* @gattathefur@  - ubuntu 12.04 installed
112
* @hurdaskellir@  - ubuntu 12.04 installed
113
* @bragi@    
114
* @vidar@ changed from einherjar
115
* @hoder@ changed from forseti
116
117
h1. Common
118
119
Useful configuration files and information at @/afs/dev.ru.is/host/common@
120
121
h2. Synchronization
122
123
Ideas for server synchornization at @/afs/sipb.mit.edu/machine/office/bin/syncsipb@
124
125
h2. Adding users to a host
126
127
Since we are using AFS and kerberos, you need to have the UIDs of the local user match what AFS thinks.
128
If/when we get the IPA or LDAP infrastructure setup, this will be done automatically.  For now, you have to do it manually:
129
130
# Find out what the user's AFS UID is
131
<pre>pts examine [USERNAME]</pre>
132
## as an example, test has the UID 20012
133
<pre>pts examine test
134
Name: test, id: 20012, owner: system:administrators, creator: foley.afsadm,
135
  membership: 0, flags: S----, group quota: 20.
136
</pre>
137
# Create a user with that UID.  In this example, it will be the username "test".  When it asks you for a Kerberos password, just leave it blank.  If you don't have ksu working, use sudo instead.
138
<pre> ksu -e /usr/sbin/adduser --uid 20012 test
139
Authenticated foley@DEV.RU.IS
140
Account root: authorization for foley@DEV.RU.IS for execution of
141
               /usr/sbin/adduser successful
142
Changing uid to root (0)
143
Adding user `test' ...
144
Adding new group `test' (20012) ...
145
Adding new user `test' (20012) with group `test' ...
146
Creating home directory `/home/test' ...
147
Copying files from `/etc/skel' ...
148
Current Kerberos password:
149
Current Kerberos password:
150
passwd: Authentication token manipulation error
151
passwd: password unchanged
152
Try again? [y/N]
153
Changing the user information for test
154
Enter the new value, or press ENTER for the default
155
        Full Name []: Test User
156
        Room Number []: V101
157
        Work Phone []: 123-45678
158
        Home Phone []:
159
        Other []:
160
Is the information correct? [Y/n]
161
</pre>
162
163
h1. Frequently Asked Questions
164
165
h2. I can't ssh in from the outside!  But I can ssh from a host on devnet.
166
167
This is because we are using the DenyHosts measure to reduce breakins.  This sees how many failed attempts to login from a given IP address happen and blocks them if it happens too much.  Unfortunately, all of the traffic from RU appears to come from fire-out.ru.is, which is 130.208.247.2 so it needs to be whitelisted
168
169
More information at http://denyhosts.sourceforge.net/faq.html#allowed
170
In short, edit the @/var/lib/denyhosts/allowed-hosts@ file and put a line with the IP address, but no date/time.
171
If you have AFS running, you can simply connect to the default allowed-hosts in the Workstation config
172
<pre>ln -s /afs/dev.ru.is/project/devnet/Public/Workstation/var/lib/denyhosts/allowed-hosts /var/lib/denyhosts/allowed-hosts</pre>
173
Recommended content:
174
<pre>130.208.247.2
175
130.208.208.35
176
130.208.208.37
177
130.208.208.39
178
130.208.208.40
179
130.208.208.44
180
</pre>
181
182
To take that IP off the bad list, http://denyhosts.sourceforge.net/faq.html#3_19
183
In short, remove all lines from @/var/lib/denyhosts/host-*@ that contain the IP address