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 1: Line 1:
These are the changes that need to be made if a computer is to be added to the CS network, follow these steps.
These are the changes that need to be made if a computer is to be added to the CS network, follow these steps.


# Add the machine's hostname and IP address to /etc/namedb/mzxgdf/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 /etc/namedb/master/cs.zone (or public.zone for the public network). 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 /etc/namedb/master/159.28.230.zone. The same rules as above apply.
# Add the machine's reverse record to /etc/namedb/master/159.28.230.zone (or 159.28.231.zone for the public zone). The same rules as above apply.
# Restart DNS by sending a SIGHUP to the named process, or using the <tt>rndc reload</tt> 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 /usr/local/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''. There should be a <tt>/usr/local/etc/rc.d/isc-dhcpd.sh</tt> script now that we've upgraded to FreeBSD 5.
# 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 15:14, 18 April 2006

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 /etc/namedb/master/cs.zone (or public.zone for the public network). 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 /etc/namedb/master/159.28.230.zone (or 159.28.231.zone for the public 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 /usr/local/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.