Network Info Page
All hosts are now maintained via our database/web form
except hosts in domains other than phas/physics/astro.ubc.ca. IE:
engphys.ubc.ca
sciencecoop.ubc.ca
smithchallenge.ubc.ca
concours_smith.ubc.ca
mriresearch.ubc.ca
These must be maintained by hand on the DNS server.
Adding an entry to the network database:
Logon to the PHAS Intranet and go to Forms->Network Admin, or click on the link below: Network Admin Page
You can search for an existing host in the list, or type the hostname (typing a partial name
will do a first match search). Hit the [Search] button to start the lookup.
Under the \"Add New Host\" section you first select your \"Subnet\".
Specific defaults (which can be changed) have been set for the various subnets.
The web form will automatically find the next available ip address
in the appropriate range. You can enter
another ip address in the range and the program will check if it is available.
You must enter at least a hostname, email contact and room no..
Contact Email addresses are useful for making an Expiry Date unecessary.
ie. when the dept. member's id is deleted a script can notify us to remove
the DNS entry.
We don't have any rules/polices for what is entered under HW and OS.
We should probably agree on something, but for now, enter whatever you like.
Once you have INSERTed a record you can retrieve it for editing.
The Show Subnet window is a first cut at searching the database. You can
sort the results by clicking on the column headings and click on a hostname to fetch
that record.
Updating the DNS Server
Log onto the DNS server: ssh root@dns
Go to the appropriate directory: cdc (alias set up to go to /var/named/chroot/domain)
Run the script to update the DHCP and DNS tables: ./create_dns.pl
The script will go through several iterations of creating a new DHCP/DNS
file and comparing it with the current one. It will run a diff
on each iteration and ask you whether you want to save the new file.
This is so you can check that nothing too wierd is happening.
You only need to save the files that have been changed, but it
shouldn't matter if you say 'Y' to all.
Restart the name service: service named restart OR
Restart the dhcp service: service dhcpd restart OR
Restart both name and dhcp services on dns and dns2: ./restarts
Check the log file for errors: tail -50 /var/log/messages
Updating the FWSM
Send Ron or Mary Ann a message with the hostname, ip address and
port to allow through (eg. SSH, HTTP or ??).
The FWSM configuration file is parsed nightly and the database is updated. The
\"fwsm_rule\" field is therefore not editable, but is only changed by the parse script.