December 24 - AppLogic 2.4.7 is now available and is the latest production release!
Server Management Commands
The following commands are supported:
| Command | Description |
| list | List set of servers |
| info | Retrieve server information |
| reboot | Reboot a server |
| shutdown | Shutdown a server |
| enable | Enable a server |
| disable | Disable a server |
list
| Description: | List servers |
| Syntax: | server list [--batch] [--verbose] [--map] |
| Arguments: | --batch | Display output in UDL format |
| --verbose | Display all server information in the list |
| --map | Display list of components running on each server |
| Examples: | server list - List all servers of the grid. |
| Notes: | A specification of the output of this command can be found here. |
Typical Output
Version 1.2.5 and later
Name State CPU Mem(MB) BW (Mbps)
Alloc Free Alloc Free Alloc Free
srv1 up 0.27 0.63 456 1056 9 1990
srv2 up 0.00 1.00 0 1768 0 1999
Previous versions
Name State CPU Mem(MB) Bandwidth(Mbps)
srv1 up 0.10 384.00 0.20
srv2 up 0.00 128.00 0.10
info
| Description: | Retrieve detailed information for a specific server. |
| Syntax: | server info name [ --batch ] [ --map ] |
| Arguments: | name | Name of server for which to retrieve information. |
| --batch | Display information in UDL format |
| --map | Display list of components running on the server |
| Examples: | server info srv1 - Display information for 'srv1' |
| Notes: | A specification of the output of this command can be found here. |
Typical Output
Version 1.2.5 and later
Name : srv1
State : up
Enabled : true
IP Address 1 : 192.168.5.1
IP Address 2 : 64.46.38.95
--- CPU Information ---
Total CPUs : 1
CPU Type : Intel(R) Xeon(TM) CPU 2.80GHz
CPU Frequency : 2800 Hz
CPU Bogomips : 5596
CPU Load : 0.00
Reserved CPUs : 0.10
Free CPUs : 0.90
Allocated CPUs : 0.00
--- Memory Information ---
Total Memory : 2047.00 MB
Reserved Memory : 535.00 MB
Free Memory : 1512.00 MB
Allocated Memory : 0.00 MB
--- Network Bandwidth Information ---
Total Bandwidth : 2000.00 Mbps
Reserved Bandwidth : 0.20 Mbps
Free Bandwidth : 1999.80 Mbps
Allocated Bandwidth : 0.00 Mbps
--- Disk Information ---
Total Disks : 1
Disk Total : 72978.90 MB
Disk Reserved : 50.00 MB
Disk Free : 9410.85 MB
Previous versions
Name : srv1
State : up
Enabled : true
IP Address 1 : 192.168.13.1
IP Address 2 : 209.97.213.104
--- CPU Information ---
Total CPUs : 1
CPU Type : Intel(R) Xeon(TM) CPU 2.80GHz
CPU Frequency : 2807 Hz
CPU Bogomips : 5596
CPU Load : 0.00
CPU Free : 0.90
CPU Allocated : 0.10
--- Memory Information ---
Total Memory : 2047.00 MB
Reserved Memory : 0.00 MB
Free Memory : 1663.00 MB
Allocated Memory : 384.00 MB
--- Network Bandwidth Information ---
Bandwidth Total : 2000.00 Mbps
Bandwidth Free : 1999.80 Mbps
Bandwidth Allocated : 0.20 Mbps
--- Disk Information ---
Total Disks : 1
Disk Total : 72978.90 MB
Disk Reserved : 50.00 MB
Disk Free : 14899.14 MB
reboot
| Description: | Reboot a server |
| Syntax: | server reboot name [ --force ] |
| Arguments: | name | Name of the server to reboot. If name is "--all", then all servers are rebooted. |
| Examples: | server reboot srv1 - Reboot 'srv1' |
| Notes | This command will fail if there is an application currently running on the server (a volume is in use, or a component on the server) and if the --force option is not specified. |
shutdown
| Description: | Shutdown a server |
| Syntax: | server shutdown name [ --force ] |
| Arguments: | name | Name of the server to shutdown. If name is "--all", then all servers are rebooted. |
| Examples: | server shutdown srv1 - Shutdown 'srv1' |
| Notes | This command will fail if there is an application currently running on the server (a volume is in use, or a component on the server) and if the --force option is not specified. |
enable
| Description: | Enable a server for scheduling |
| Syntax: | server enable name |
| Arguments: | name | Name of the server to enable. If name is "--all", then all servers that are currently disabled are enabled. |
| Examples: | server enable srv1 - Enable 'srv1' for scheduling |
| server enable --all - Enable all servers for scheduling |
| Notes: | No error will be displayed when this command is executed on a server that is already enabled. |
disable
| Description: | Disable a server for scheduling |
| Syntax: | server disable name |
| Arguments: | name | Name of the server to disable. If name is "--all", then all servers are disabled. |
| Examples: | server disable srv1 - Disable srv1 for scheduling |
| server disable --all - Disable all servers for scheduling |
| Notes: | This command affects only further scheduling of the server. |
--
BeckyH - 23 May 2006