X-Git-Url: http://scm.dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;ds=inline;f=html%2Fadminmanual-4.html;h=f74b9e43dddbff1bf9cbc1b612a1b8483bb4c400;hb=cfd6c95eaa4899f2c70eca3d706d85b840c43791;hp=b7227c25e70e3e5e9edbcd67ace4475819f0987b;hpb=9cfd05889c539c625a4fb3ee9fdbc0fea847452c;p=spider.git diff --git a/html/adminmanual-4.html b/html/adminmanual-4.html index b7227c25..f74b9e43 100644 --- a/html/adminmanual-4.html +++ b/html/adminmanual-4.html @@ -1,8 +1,8 @@
- -From 1.48 onwards it will become increasingly possible to control DXSpider's -operation with scripts of various kinds. -
+operation with scripts of various kinds.
+The directory /spider/scripts is where it all happens and is used for several things. Firstly it contains a file called startup that can be used to call in any changes to the cluster from the default settings on startup. This @@ -25,7 +25,7 @@ script is executed immediately after all initialisation of the node is done but before any connections are possible. Examples of this include how many spots it is possible to get with the sh/dx command, whether you want registration/passwords to be permanently on etc. An example file is shown -below and is included in the distribution as startup.issue. +below and is included in the distribution as startup.issue.
@@ -33,7 +33,7 @@ below and is included in the distribution as startup.issue.
# startup script example
#
# set maximum no of spots allowed to 100
-# set/var $Spot::maxspots = 1
+# set/var $Spot::maxspots = 100
#
# Set registration on
# set/var $main::reqreg = 1
@@ -43,22 +43,22 @@ below and is included in the distribution as startup.issue.
#
-+
+As usual, any text behind a # is treated as a comment and not read. To use this file, simply rename it from startup.issue to startup. In our example above there are three options. The first option is the amount of spots that a user can request with the sh/dx command. Normally the default is to give 10 spots unless the user specifies more. Without this line enabled, the maximum a user can request is 100 spots. Depending on your link quality -you may wish to enable more or less by specifying the number. If you simply -uncomment the line, the maximum would be 1 spot! -
-
The other 2 options are dealt with more fully in the security section. -
+you may wish to enable more or less by specifying the number.
+ +The other 2 options are dealt with more fully in the security section.
+Secondly, it is used to store the login scripts for users and nodes. Currently this can only be done by the sysop but it is envisaged that eventually users will be able to set their own. An example is included in the distibution but here is -a further example. +a further example.
@@ -74,18 +74,19 @@ t g0jhc You abt?
blank +
+
The lines in between commands can simply insert a blank line or a character such as a + sign to make the output easier to read. Simply create this script with your favourite editor and save it with the callsign of the user as the -filename. Filenames should always be in lower case. -
+filename. Filenames should always be in lower case.
+Commands can be inserted in the same way for nodes. A node may wish a series -of commands to be issued on login, such as a merge command for example. -
+of commands to be issued on login, such as a merge command for example.
+Thirdly, there are 2 default scripts for users and nodes who do not have a specifically defined script. These are user_default and -node_default -
+node_default
+