|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.basics.structs.ServerDeclarationStruct
public class ServerDeclarationStruct
A ServerDeclaration represents a system which is available
for execution of sand nodes. These declarations form the "hardware" part
of the overall deployment configuration in abbreviated form. Most details
are left to sandman. To make offline development possible, sandman has a
runtime switch to launch the entire configuration on the local machine,
ignoring the servers specified in the configuration.
To avoid duplicating information used internally by sandman, the
servername is used as a lookup key into the available servers.
| Field Summary | |
|---|---|
protected java.lang.String |
description
Additional descriptive information useful for identifying this server. |
protected java.lang.String |
serverID
A unique identifier for this server. |
protected java.lang.String |
servername
The name of the server for SAND Configuration purposes. |
| Constructor Summary | |
|---|---|
ServerDeclarationStruct()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String servername
The name of the server for SAND Configuration purposes.
protected java.lang.String description
Additional descriptive information useful for identifying this
server. Optional.
protected java.lang.String serverID
A unique identifier for this server. When determining which
nodes out of a configuration should be loaded for a particular
machine, the SAND environment checks the ID of the machine it is
running on against this value.
If the SAND_SERVERID environment variable is set, then its
value is compared with this value. If the SAND_SERVERID is not
set, then the current IP Address is compared with this value. If
the direct IP address comparison fails, an attempt is made to
convert this value to an IP address through DNS lookup and the
comparison is retried.
The startup process logs a message if it finds no matching
server identification. This is not an error, as the system
may be dynamically reconfigured for load balancing or other
purposes at runtime.
The IP address is the most direct specification, but is
impractical for a pool of identical webservers. By giving all
the webservers the same SAND_SERVERID value, they are effectively
one logical server in the deployment configuration.
For more information on advanced configuration options, contact
Structs And Node Development
Services
| Constructor Detail |
|---|
public ServerDeclarationStruct()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||