Dylan's Main Page
This document is only for Larry and Kevin. Anyone else can read it if they feel like wasting time... nothing secret here, but this isn't for you...
If Dylan hasn't already set you up with gpg, cvs and a copy of the dhcp files from cvs, get him.
The new DHCP config system uses CVS to distribute the files and GPG to ensure that they were written by the good guys. CVS has a "repository" on arthur, and you work on copies that you download to your local system. You then use gpg to sign the file you've changed, so the dhcp servers will know it's legit.
My scripts on the DHCP servers will send emails to all of us whenever anything happens. If Dylan makes a change, he, Larry and Kevin will get an email. If Dylan forgets to sign the dhcpd.hosts file, he, Larry and Kevin will get an email.
You absolutely always have to do this first. This ensures that the local copy you're working on has any changes made by anyone else. If you forget this step, CVS is usually smart enough to merge your changes, but you don't really want CVS to have to be smart.
Open the dhcpd.hosts file in your editor of choice and make the changes you want.
The old system broke down for Kevin, and this is the new system. Make sure you have gpg.exe somewhere in your execution path. If in doubt, search for gpg.exe and copy it to C:\windows\system32. This new method involves a batch file called signit.bat that I've added to the CVS repository. That means it will show up in your working directory the next time you do a CVS "Update"
If this doesn't work, contact me and I should be able to help you get things set up correctly so it will work.
This will open the GPGee file signing utility.
When the DHCP servers process your files, they will send us all email saying how things went. Do NOT make changes and then walk away without reading an email from both servers saying things worked.
Because the DHCP servers check for changes every 5 minutes regardless of what you are doing, it might check in the 20 seconds between when you committed the dhcpd.hosts file and when you commit the dhcpd.hosts.asc file. If that is the case, it will send us email complaining about it. Then, 5 minutes later (assuming you've uploaded a proper signature ) it will send us another email saying everything is fine.
If you change dhcpd.hosts and forget to upload a new dhcpd.hosts.asc, we will each get an email every 5 minutes.
If you get a bad signature message, try the following:
If you make changes, but CVS refuses to accept them, try this.
Updated Thu Oct 26 17:27:50 PDT 2006
Dylan's Main Page