Sysadmin:AddComputer: Difference between revisions

From Earlham CS Department
Jump to navigation Jump to search
Skylar (talk | contribs)
No edit summary
 
Skylar (talk | contribs)
No edit summary
Line 3: Line 3:
# Add the machine's hostname and IP address to /usr/local/etc/namedb/cs.zone. Make sure to update the serial number at the top of the file, and to end hostnames with a period so that they are FQDN. Also make sure to use an IP address that is not already  taken.
# Add the machine's hostname and IP address to /usr/local/etc/namedb/cs.zone. Make sure to update the serial number at the top of the file, and to end hostnames with a period so that they are FQDN. Also make sure to use an IP address that is not already  taken.
# Add the machine's reverse record to /usr/local/etc/namedb/159.28.230.zone. The same rules as above apply.
# Add the machine's reverse record to /usr/local/etc/namedb/159.28.230.zone. The same rules as above apply.
# Restart DNS by sending a SIGHUP to the named process, or using the "rndc reload" command.
# Restart DNS by sending a SIGHUP to the named process, or using the <tt>rndc reload</tt> command.
# Add the machine to /etc/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon.
# Add the machine to /etc/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon.
# Restart dhcpd by killing it and restarting it ''with the same command-line options''.
# Restart dhcpd by killing it and restarting it ''with the same command-line options''. There should be a <tt>/usr/local/etc/rc.d/isc-dhcpd.sh</tt> script now that we've upgraded to FreeBSD 5.
# Copy dhcpd.conf to quarkprime, and restart dhcpd there as well.
# Copy dhcpd.conf to quarkprime, and restart dhcpd there as well.

Revision as of 20:42, 16 August 2005

These are the changes that need to be made if a computer is to be added to the CS network, follow these steps.

  1. Add the machine's hostname and IP address to /usr/local/etc/namedb/cs.zone. Make sure to update the serial number at the top of the file, and to end hostnames with a period so that they are FQDN. Also make sure to use an IP address that is not already taken.
  2. Add the machine's reverse record to /usr/local/etc/namedb/159.28.230.zone. The same rules as above apply.
  3. Restart DNS by sending a SIGHUP to the named process, or using the rndc reload command.
  4. Add the machine to /etc/dhcpd.conf. You will need its Ethernet MAC address for this. Make sure to terminate each field with a semicolon.
  5. Restart dhcpd by killing it and restarting it with the same command-line options. There should be a /usr/local/etc/rc.d/isc-dhcpd.sh script now that we've upgraded to FreeBSD 5.
  6. Copy dhcpd.conf to quarkprime, and restart dhcpd there as well.