This section describes maintenance tasks--creating server groups and removing packages.
Use server groups to simplify DSJ server administration when you install the same applications to multiple servers. A server group file is a text file that contains the names and port numbers of the servers in the group, and the names of any nested server group files, which are preceded by the "@" character. For example:
alpha, 10000 beta, 10000 @SlowServers
This lists two servers, and one nested group file. This server group file can then be used in the Available Servers list for an application, again preceded by the "@" character, by itself or with other servers. For example:
Available Servers: @MainServers
To create a server group from the administration frame:
This creates the server group file in the ServerDatabaseManagerDirectory directory. You can also create server group files manually.
Packages are added to the DSJ database automatically when you add an application. When you remove an application, packages are not deleted, because the package may be needed by another application; the server does not keep reference counts or do other similar tracking.
You can leave orphaned packages in the database, especially if you plan to restore the application in the near future. Occasionally, you may want to remove all unneeded packages to reclaim disk space. This is done from the administration frame:
The server makes a copy of the database file (dsj.data
in the DatabaseDirectory directory) at the beginning of the
rewrite, so you must have enough free disk space to hold a second copy
of the file to commit your changes.
You may also click Remove to manually remove the highlighted package. The changes are not written unless you click Commit.