3. Publishing Applications to Users
7. SGD Servers, Arrays, and Load Balancing
B. Secure Global Desktop Server Settings
C. User Profiles, Applications, and Application Servers
The tarantella archive Command
tarantella array add_backup_primary
tarantella array edit_backup_primary
tarantella array list_backup_primaries
tarantella array remove_backup_primary
The tarantella emulatorsession Command
tarantella emulatorsession list
tarantella emulatorsession info
tarantella emulatorsession shadow
tarantella emulatorsession suspend
tarantella emulatorsession end
tarantella object list_attributes
tarantella object list_contents
tarantella object new_container
tarantella object new_dynamicapp
tarantella object new_windowsapp
tarantella object remove_mapping
tarantella object remove_member
The tarantella passcache Command
The tarantella restart Command
The tarantella security Command
tarantella security certrequest
tarantella security decryptkey
tarantella security fingerprint
The tarantella service Command
The tarantella tokencache Command
The tarantella uninstall Command
The tarantella version Command
The tarantella webserver Command
tarantella webserver add_trusted_user
tarantella webserver delete_trusted_user
tarantella webserver list_trusted_users
The tarantella webtopsession Command
Examines the SGD server’s log files.
tarantella query audit | billing | errlog | uptime
The following table shows the available subcommands for this command.
|
Note - All commands include a --help option. You can use tarantella query command --help to get help on a specific command.
The following example displays all error logs.
# tarantella query errlog
The following example displays how long the SGD server newyork.indigo-insurance.com has been available.
# tarantella query uptime --server newyork.indigo-insurance.com
Displays all log entries matching some criteria.
tarantella query audit { --app app | --person person | --host host | --filter filter } [ --server arrayhost ] [ --format text|csv|xml ]
The following table shows the available options for this command.
|
Note - The output that you see depends on the Log Filter settings for the array. To produce log entries for processing by this command, make sure the Log Filter attribute on the Global Settings -> Monitoring tab in the Administration Console includes at least one filter that outputs to a .jsl file.
The attributes you use in the filter are the log fields used in the .jsl log files. The following table lists the commonly used attributes.
|
Note - A complete list of all the log fields is available in the /opt/tarantella/var/serverresources/schema/log.at.conf schema file.
The following example displays all log entries for the UNIX system user indigo that were logged on the SGD server boston.indigo-insurance.com.
# tarantella query audit \ --person .../_user/indigo --server boston.indigo-insurance.com
The following example outputs all log entries that refer to the Write-o-Win application, in comma-separated values (CSV) format.
# tarantella query audit \ --app "o=applications/cn=Write-o-win" --format csv
The following example outputs all log errors that occurred on or after 23 October 2003 for the Write-o-Win application, in human-readable text format.
# tarantella query audit \ --filter "(&(log-category=*error*)(log-tfn-name=o=applications/cn=Write-o-win) (log-date>=2003/10/23 00:00:00.0))"\ --format text
Outputs billing information for the array, or for a subset of the array, over a time period. Information is displayed on screen in CSV format.
tarantella query billing { --full | --sessions | --summary } --start date --days days --end date [ --servers arrayhost... ]
The following table shows the available options for this command.
|
The billing files are written at midnight local time each day.
You must run this command on the primary server in the array.
Note - You must enable billing services, see Billing Service, and restart all SGD servers in
the array before any data is logged.
The following example displays billing information for the entire array, for the 30 days from May 1, 2000.
# tarantella query billing --full \ --start "2000/05/01" --days 30
The following example displays a short summary of billing information for the servers prague and paris, for the 30 days from January 1 2000.
# tarantella query billing --summary \ --start "2000/01/01" --days 30 \ -- servers prague.indigo-insurance.com paris.indigo-insurance.com
The following example displays billing information for all application sessions for the entire array for the period January 19 2001 to January 22 2001 and outputs the results to a file called Sessions.csv.
# tarantella query billing --sessions \ --start "2000/01/19" --end "2000/01/23" > sessions.csv
Displays the error logs of SGD components.
tarantella query errlog [ all|xpe|tpe|print|jserver|pemanager|proxy|wm ] [ --server arrayhost ]
The following table shows the available options for this command.
|
Note - To display error log information from the JServer component, make sure the Log Filter attribute on the Global Settings -> Monitoring tab of the Administration Console includes at least one filter that outputs to an error.log file. The attribute does include this, by default.
The following example displays all error logs.
$ tarantella query errlog
The following example displays the X Protocol Engine error log on the SGD server newyork.indigo-insurance.com.
$ tarantella query errlog xpe \ --server newyork.indigo-insurance.com
Displays how long SGD servers have been available for.
tarantella query uptime [ --server arrayhost ]
The following table shows the available options for this command.
|
The following example displays how long all SGD servers in the array have been available for.
$ tarantella query uptime