--- loncom/clusteradmin 2011/05/16 15:48:26 1.5 +++ loncom/clusteradmin 2018/08/20 22:31:49 1.7 @@ -1,4 +1,29 @@ #!/usr/bin/perl +# The LearningOnline Network with CAPA +# Push admin files from cluster manager to cluster's "name servers". +# +# $Id: clusteradmin,v 1.7 2018/08/20 22:31:49 raeburn Exp $ +# +# Copyright Michigan State University Board of Trustees +# +# This file is part of the LearningOnline Network with CAPA (LON-CAPA). +# LON-CAPA is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# LON-CAPA is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with LON-CAPA; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# +# /home/httpd/html/adm/gpl.txt +# +# http://www.lon-capa.org/ =pod @@ -8,9 +33,12 @@ =head1 DESCRIPTION -Performs an adminstrative action on DNS hosts in the current hosts.tab -file. For this to work, the current host must be the cluster administrator -on the target systems. That is this must be a host in managers.tab +Performs an adminstrative update on (a) "DNS" hosts or domains in the current +dns_hosts.tab or dns_domain.tab files, or (b) update of the Certificate +Revocation List (CRL) file for the cluster. + +For this to work, the current host must be the cluster administrator +on the target systems. That is this must be a host in managers.tab. Furthermore, lonc must be running on this system. The action is specified by the 'command' parameter which may have additional arguments. @@ -39,8 +67,8 @@ on this system. 'file' is the name of t =head1 ASSUMPTIONS -Assume that loncapa is installedin /home/httpd/lib/perl so that we can use -it's modules. If this is not the case, you mus modify the +Assume that loncapa is installed in /home/httpd/lib/perl so that we can use +it's modules. If this is not the case, you must modify the use lib line in the program before you can use it.