KSVD ENVIRONMENT VARIABLES

This file documents the environment variables used throughout the KSVD software.
Symbols must have either the KSVD_ or the UNIQB_ prefix, and must appear
at the beginning of a line.

--------------------------------------------------------------------------------
System Configuration

KSVD_CLUSTER_UUID
	UUID for the entire cluster

KSVD_SERVER_UUID
	UUID for the particular server

KSVD_SESSION_UUID
	UUID for a particular image

UNIQB_SERVER_ROLE
	Server role as defined by ksvd-config

UNIQB_TOMCAT_PORT
	TCP port number that tomcat listens to https on (cluster-wide setting)

UNIQB_NAT_SUBNET
	Not used by core (supported by rc.ksvdinat)

UNIQB_BRIDGE_AUTO
UNIQB_BRIDGE_DEV
UNIQB_BRIDGE_STP
UNIQB_DELETED_IMG_CLEANUP_INT
	Interval between image cleanups (performed by uniqbprod), in seconds

UNIQB_MC_USER
	User name/UID under which MC is run

KSVD_USE_PAM
	use PAM Linux user accounts internally if set

UNIQB_MEMUTIL_THRESHOLD
	Memory utilization threshold above which sessions will not be started on the
	server

UNIQB_KSVD_CMADDR
	On non-cluster master, set to IP address of cluster master.
	On cluster master, set to 127.0.0.1

UNIQB_KSVD_PUBADDR
	Public IP address of this server for management traffic. (defaults to system hostname)
	If KSVD_USER_PUBADDR is not defined then user traffic also traverses this subnet

KSVD_USER_PUBADDR
	Public IP address of this server for user traffic.

UNIQB_KSVD_RDESKTOP_ENABLED
	Allow direct RDP via rdesktop-style mstshash into broker (default: no)

KSVDCMD_SERVER_TIMEOUT
	Server inactivity timeout before dropped from CM, in seconds (default: 90)

KSVD_POOL_REPLENISH_DELAY
	How many seconds an enabled CM waits before it start replenishing
	desktop pools (giving servers time to connect and inform of instances
	they are already running). (default: 90)

KSVD_POOL_INSTANCE_START_TIMEOUT
	How many minutes to give pool instances to start.
	An instance that fails to start within this period gets restarted.
	(default: 5)

UNIQB_TICKET_EXPIRATION
	Duration (in seconds) of the Spice authentication ticket.
	Default is 60 seconds.

UNIQB_DEFERRED_UPDATE_LIMIT
	The maximum duration (in minutes) a running LEAF session can continue to run while an
	update is pending. When the limit is reached the desktop is shut down automatically.

UNIQB_DISCONNECTED_USE_LIMIT
	The maximum duration (in days) since LEAF's last connection to a VDI server
	before it no longer can launch new sessions

UNIQB_BRANCH_USER_DATA_SYNC_TIME
	In a branch download server, the local time of day at which user data sync
	should be performed. The format is HH:MM (HH is 0 to 23)

UNIQB_KSVDSMART_TIMEOUT
	ksvdsmart connections time out if no response is received within this
	number of seconds.

UNIQB_KSVDSMART_ACCEPT_ON_MGMT_PUBADDR
	if set to yes, ksvdsmartd listens on the management network. default: yes

UNIQB_KSVDSMART_ACCEPT_ON_USER_PUBADDR
	if set to yes, ksvdsmartd listens on the user network. default: no

KSVD_BRANCH_SYNC_NETCFG
	if set, will synchronize netcfg.csv to branches (also requires read 
	permission for MC_USER on the file)

UNIQB_LEAF_UPDATES_BASEURL
	The URL from which LEAF updates are to be downloaded.
	If not set, LEAF will fill in the URL it used for connecting to the SmartSync
	server.

UNIQB_LEAF_SYNC_INTERVAL
	In leaf, the time (in minutes) between checks for
	user data sync, new gold images, settings files, or provtab changes

UNIQB_LEAF_STATUS_INTERVAL
	In leaf, the time (in minutes) between status reports to server

UNIQB_LEAF_SYNC_FILTER
	In include/exclude filter for selecting which user data files are synchronized

UNIQB_LEAF_BACKUP_COPIES
	In leaf, the number of backup copies maintained for user data files as they
	are synchronized between server and leaf

UNIQB_LEAF_DETAILED_LOGS
	The number of detailed logs LEAF and ksvdsmartd will keep. If 0 then
	detailed logs are disabled

UNIQB_AD_DOMAINS
	Active Directory domains for user authentication (e.g. in User console, LEAF console)

UNIQB_USER_RESOLVES_DATA_SYNC_CONFLICTS
	In leaf, user data sync conflicts are left to the user to resolve.
	If not set, the newest of the two files prevails

UNIQB_USERNAME_SPACE_REPLACEMENT
	The character with which to replace spaces in user names.
	If not set, no replacement is performed.

UNIQB_RDESKTOP_LIKEWISE_CACHE
	Set to "on" if the connection broker is not to clear the Likewise Open
	cache (if applicable) for a user logging in directly with rdesktop
	default: off (cache is cleared, ensuring latest group membership is
	accurate for provisioning sake)

UNIQB_MAX_CLUSTER_MASTER_TIMESTAMP_AGE
	The cluster master must update dbaddress at least as frequently as
	this number of seconds. If it does not, it is considered unhealthy,
	and a fail-over process is initiated.

KSVD_SPICE_SECURITY_ENABLE 
	if "yes", SPICE connections are encrypted using SSL.
	if "no", SPICE connections use normal tcp connections.

KSVD_SPICE_SECURITY
	Specifies where SPICE is to load certificates, matching keys, etc. 
	The syntax is that accepted by qemu-kvm for the -spice option.
	Leave unset to disable (and use normal tcp connections for spice)

KSVD_SPICE_SERVER_CERT
	Points to the Server Certificate file

KSVD_SPICE_CA_FILE
	Points to the Certificate Authority certificate store, used by SPICE 
	clients to authenticate the certificate sent by the SPICE server.

UNIQB_SPICE_IMAGE_COMPRESSION
	Overrides the default automatic setting for SPICE image compression of
	lossless images: auto_glz (default), auto_lz, quic, glz, lz, or off

UNIQB_SPICE_JPEG_COMPRESSION
	Overrides the default automatic setting for SPICE JPEG compression of
	lossy images over a WAN, for photorealistic images: auto (default),
	never, or always

UNIQB_SPICE_ZLIB_COMPRESSION
	Overrides the default automatic setting for SPICE ZLIB/GLZ compression 
	of lossy images over a WAN, for non-photorealistic images:
	auto (default), never, or always

UNIQB_SPICE_AUDIO_COMPRESSION
	Overrides the default automatic setting for SPICE audio playback
	compression: on (default), or off

UNIQB_SPICE_STREAMING_VIDEO
	Configure the video stream detection mode: off, all, filter.

KSVD_CACHEIO_ENABLE
	indicates the cluster is participating in Read CacheIO

KSVD_CACHEIO_DIR
	Read CacheIO (gold image) cache directory. Must not be empty

KSVD_CACHEIO_SYNC_INTERVAL
	The time (in minutes) between checks for new gold images when Read CacheIO is enabled

KSVD_CACHEIO_DISABLE_USER_IMAGE_TEMPLATES
	Disallows storing qcow2 user image templates in the cacheio directory,
	which consumes about 100MB. (default: false)

KSVD_BRANCH_SYNC_INTERVAL
	In a branch download server, the time (in minutes) between checks for
	new gold images, settings files, or provtab changes

KSVD_DISABLE_CPUFREQ
	yes|no, if set to yes, does not adjust CPU frequency scaling when
	VMs are running

KSVD_DISABLE_TIMEZONE_UPDATES
	if set, guest will not get timezone updates based on the client's

UNIQB_FIRST_INSTALLED_VERSION
	The KSVD version with which this cluster has been first installed.
	Value is based on PRODBLD, i.e. is structured as "r550.12345"
	Clusters installed prior to r550 will have a value such as "r510.12345"
	(even if first installed with r410, e.g.)

KSVD_ISOLATED_GATEWAY
	yes|no, if set to yes, uses KSVD_GATEWAY_CM_LIST to determine
	where the cluster master is, and executes management operations
	on the cluster master

KSVD_GATEWAY_CM_LIST
	In an isolated gateway, a semi-colon-separated list of IP addresses
	or FQDN of the CM candidates.

KSVD_LOCAL_DOMAIN_NAME
	The name of the local domain. Default is 0local

KSVD_DISCONNECTED_SESSION_EXPIRATION
	The time, in minutes, that a pool instance remains disconnected until
	it is shutdown (and the instance can be reassigned to another user)

KSVD_DBMOND_LOCK_TYPE
	The locking type to be used by the MC DB monitor (ksvd-dbmond).
	Either "posix" or "symlink"

KSVD_LEAF_ENABLE_USER_CONTROLS
	If set, enables user control of gold image updates and of user data sync.

KSVD_LEAF_DISABLE_GOLD_UPDATES
KSVD_LEAF_DISABLE_USER_DATA_SYNC
	If set, and user controls are enabled, upon first login to server LEAF 
	is configured with these features disabled, until the user enables them.

KSVD_SERVICE_RECONNECT_DELAY
	time to delay before attempting to reconnect to the KSVD service, after
	discovering that it has gone away.
	A value of 0 or lower means KSVD service will not be restarted after
	an abrupt termination.

KSVD_GUEST_TERMINATION_TIMEOUT
	Time given the guest to terminate after the guest service notifies that
	it is about to restart or shutdown. This addresses cases where qemu-kvm
	or Windows fails to perform the restart/shutdown and just "hang".
	(default is 5 minutes.)

KSVD_LINUX_SCRIPT_TIMEOUT
	Time given to a Linux guest to execute the administrator-defined script
	(e.g. domain join script) before giving up and terminating the guest.
	(default is 90 seconds.)

KSVD_GUEST_RESPONSE_TIMEOUT
	Guest agent connections time out if no response is received within this
	number of seconds.

UNIQB_MAC_RETURN
	if "yes", desktops need to return their mac address to the MC pool upon 
	termination.

UNIQB_CPU_AFFINITY
	if set, enables round-robin CPU affinity "pinning" of new VM
	processes; note that this is for testing only, not production!

KSVD_MAX_LAUNCH_LOAD
	maximum load average allowed (in percentage of total CPU threads) before
	ksvdmpcd prevents starts; e.g. if there are 4 threads the maximum
	value can be 400

KSVD_SPICE_KEYMAP
	semicolon-separated key assignments for the spice client
	e.g.
	"toggle-fullscreen=ctrl+shift+f11;release-cursor=ctrl+shift+f12"

KSVD_INITIAL_RESOURCE_TAGS
	The initial settings for the server.

KSVD_RESOURCE_TAGS
	In a server's context: the resources supported by this server
	In a desktop's context: the resources a server must support in order for
	this desktop to be run on it.

KSVD_MAX_SESSIONS
	The maximum number of sessions the server may run.
	Default: 32 times the number of CPUs

KSVD_ORG_SETTINGS_FILES
	Comma-separated list of organization defined in a multi-tenant system.
	Each organization listed includes the prefix "org_".
	The global organization is listed as "org_".

KSVD_CM_THREAD_POOL_SIZE
	The number of threads employed by the CM to service connections from
	uniqbprod and from the CM. default: 4

KSVD_MC_AUTO_RELOAD_CONFIG
	MC auto reload config, true->false, false->true, need restart MC

KSVD_DEV_USB_SCHEME
	four schemes can be choosen: disable standalone native all

KSVD_NATIVE_USB_NUM
	when using native usb scheme, the maximum usb num can be redirected
	Defalut: 3

KSVD_NATIVE_USB_MODE
	when using native usb scheme, decide with mode usb should be use
	Defalut: 3

UNIQB_CACHEIO_LIMIT
	to limit the cacheio transmission speed(Kbps),only for CM_VDI
--------------------------------------------------------------------------------
Session Configuration

UNIQB_SI_MASTER
	Path of the gold image on which a given provisioned desktop is based

UNIQB_SI_POOL
	The name of the pool to which a provisioned desktop belongs

UNIQB_SI_TYPE
	Session type (bit mask)

UNIQB_SFLG_OTHER
	Used (mostly) to transfer the contents of .session-info inside
	settings.local when downloading a desktop to LEAF

UNIQB_DEV_USB_LIST
	USB device settings; see wiki page USB_Device_Selection_Settings

UNIQB_DEV_USB_SCHEME
    USB redirect policy global type.

KSVD_NATIVE_USB_NUM
    USB redirect channel number, when you select spice usb redirect policy.
	
KSVD_NATIVE_USB_MODE
	USB redirect protocol type

UNIQB_PROTO_LINUX_BROADBAND
UNIQB_PROTO_LINUX_DSL
UNIQB_PROTO_LINUX_LAN
UNIQB_PROTO_LINUX_MODEM
UNIQB_PROTO_WIN_BROADBAND
UNIQB_PROTO_WIN_DSL
UNIQB_PROTO_WIN_LAN
UNIQB_PROTO_WIN_MODEM
	protocol restrictions for various network types; see wiki page
	Display_Protocol_Selection_Settings

UNIQB_CUSTOM_PRINTCAP
UNIQB_CUSTOM_PRINTCAP_ENABLE
UNIQB_DEV_CDROM
UNIQB_DEV_CDROM2
UNIQB_DEV_CDROM_AUTO
UNIQB_DEV_CDROM_ENABLE
UNIQB_DEV_FDA
UNIQB_DEV_FDA_ENABLE
UNIQB_DEV_FDB

UNIQB_DEV_SERIAL
	Sets the guest's serial port. Any value accepted by the qemu -serial option may be used. 
	Default is /dev/null
UNIQB_DEV_PARALLEL
	Sets the guest's paralel port. Any value accepted by the qemu -parallel option may be used. 
	Default is /dev/null

UNIQB_DEV_VGA
UNIQB_DISABLE_CLIENTSMB
UNIQB_DISABLE_POSIX_LOCKS
UNIQB_DISABLE_TABLET
UNIQB_FULL_SCREEN
UNIQB_GUEST_CPU_BITS
UNIQB_GUEST_CPU_CORES
UNIQB_GUEST_CPU_MODEL
UNIQB_GUEST_PRINTER_ENABLE
UNIQB_GUEST_SIZE
UNIQB_HOST_PRINTER_ENABLE
UNIQB_INST_VERSION
UNIQB_LINUX_SSIGNON
UNIQB_LINUX_SSIGNON_CREATE
UNIQB_MACH_TYPE
UNIQB_MIN_UR_INT
	Time between "Update ready" notifications (minutes). Default: 1 minute
UNIQB_NIC1_MODEL
UNIQB_NIC2_BRIDGE
UNIQB_NIC2_VLAN
UNIQB_NIC2_IPV4_ADDR
UNIQB_NIC2_IPV4_GATEWAY
UNIQB_NIC2_IPV4_MASK
UNIQB_NIC2_MODEL
UNIQB_NIC2_TYPE

UNIQB_OLD_BRIDGE_DEV
UNIQB_POLICY
UNIQB_SETTINGS_NAME
	The human-readable name of the settings
UNIQB_RAM_SIZE
UNIQB_REBOOT_DELTA_PERSISTENCE

UNIQB_SAVE_WIN_PROFLIST

KSVD_CONNECTION_BAR_DISABLE
	If set (to "yes") disables the connection bar in the user console

UNIQB_SHARED_CLIPBOARD
UNIQB_SHARED_DEVS
UNIQB_SHARED_DEVS_RO
UNIQB_SHARED_DOCS
UNIQB_SHARED_DOCS_DIR
UNIQB_SHARED_DOCS_DIR_SET
UNIQB_SHARED_DOCS_RO
UNIQB_SHARED_HOME
UNIQB_SHARED_HOME_RO
UNIQB_SNAPSHOT_MODE
UNIQB_USERDISK_NONPERSIST
	If set to yes, deletes the user disk image upon session exit 
	(and to be safe, before session start, in case exit was not clean); 
	the user disk image is kept on disk during runtime so that we can fence 
	sessions that start on multiple servers in a cluster.
	Also note that the size of the user disk is still honored from the
	session settings as if it were persistent
UNIQB_SNAP_DIR
KSVD_ENABLE_LOCAL_SNAPSHOT
	If set to true, boot qemu with snapshot=on, use local tmp delta snapshot img;
	If set to false, boot qemu with snapshot=off, use shared delta snapshot img;
UNIQB_SYNC_TIME
UNIQB_SYNC_TZ
UNIQB_UPGRADE_CDROM
UNIQB_USERIMG_MAXSIZE
UNIQB_USERIMG_SRC
UNIQB_USERIMG_FMT
UNIQB_USER_SIZE
UNIQB_VIRTUAL_AUDIO
UNIQB_VIRTUAL_NIC_FLIP
UNIQB_VMCLOCK_UTC
UNIQB_VM_CLOCK_TYPE
UNIQB_QEMU_KVM_EXE
	If set to the absolute path of a KSVD-compatible qemu-kvm, uniqb-runtime
	will use this instead of choosing qemu-kvm (for Windows) or qemu-kvm-iot
	(for SMP Linux); useful for testing patches or forcing the use of
	iothread (or not)

UNIQB_GUEST_BOOT_NICE
	nice value to set qemu-kvm to from early boot to guest service agent
	start (default is 0)

UNIQB_GUEST_LOGON_NICE
	nice value to set qemu-kvm to from guest service agent start to guest
	user agent start (default is 0)

UNIQB_GUEST_RUNTIME_NICE
	nice value to set qemu-kvm to from guest user agent start onward

UNIQB_GUEST_CLOCK_DRIFTFIX
	type of driftfix on real-time clock in guest ([slew]|none)

UNIQB_GUEST_CLOCK_SOURCE
	source for KVM RTC ([host]|vm)
	
UNIQB_KVM_KERNEL_PIT_DISABLED
	if set, disables KVM in-kernel PIT/IRQ chip and reinjection

UNIQB_KVM_UNIX_CLOCK_INT
	interval for qemu-kvm "unix" clock, in microseconds (default=999)

UNIQB_KVM_MAX_CPU_PER_THREAD
	if >=0, maximum qemu-kvm CPU percentage allowed (per host CPU thread),
	which can be >100 if host CPU has multiple threads (default=unlimited)

UNIQB_GUEST_TDF_ENABLED
	set to enable guest time drift fix (-tdf option) 
	unclear how this differs from UNIQB_GUEST_CLOCK_DRIFTFIX, but it's a
	different option in qemu-kvm

UNIQB_GUEST_MEM_PATH
	set if using explicit hugepages, typical value is /libhugetlbfs;
	leave blank otherwise

KSVD_LINUX_GUEST_INITIAL_DELAY
	a number of seconds the guest service should delay before starting
	networking-related operations. some operations appear to fail if
	started too early (even though the guest already has a valid ipaddr).
	(default is 10)

UNIQB_KVM_SHADOW_MEM
	amount of KVM shadow memory in MB to allocate in the kernel, leave 
	blank for default

UNIQB_TITLE
UNIQB_INST_CDROM
UNIQB_INST_FLOP
UNIQB_USERIMG_DEFAULT

UNIQB_SCREENSHOT_INT
	integer - seconds between screenshot captures (default is 60).
	If zero or negative, screenshot captures are disabled

UNIQB_AD_COMPNAME_PREFIX
  Computer Name prefix for AD join
 
UNIQB_AD_DOMAIN_FQDN
UNIQB_AD_OU
UNIQB_AD_ADMIN_USERNAME
UNIQB_AD_ADMIN_PASSWORD

UNIQB_HARD_DRIVE_TYPE
	"ide" or "virtio".  Default is ide.

UNIQB_USE_HDA_INSTEAD_OF_DRIVE
	for windows XP/2003 only, set this to force the use of the -hda flag 
	when invoking qemu-kvm, workaround for qemu bug as documented here:
	http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=579166

KSVD_SPICE_RATE_LIMIT
	maximum kilobits per second allowed per socket connection for SPICE
	sessions (and respective USB sockets) - default: 0 (unlimited)

KSVD_RDPNX_RATE_LIMIT
	maximum kilobits per second allowed per socket connection for RDP/NX
	sessions - default: 0 (unlimited)

KSVD_TAP_RATE_LIMIT
	maximum Megabits per second allowed for a session's TAP interface
	(formerly known as "NIC2") - default: 0 (unlimited)

KSVD_TAP_BURST_RATE_LIMIT
	maximum Megabits per second a session's TAP interface is allowed to
	burst to - default: 0 (unlimited)

KSVD_LEAF_TAP_USE_FIRST_BRIDGE
	Bridging uses the first bridge found, overriding UNIQB_NIC2_BRIDGE
	yes|no - default: no

KSVD_LEAF_ALL_CPUS
	use all available CPUs for session when running on LEAF
	yes|no - default: no

KSVD_LEAF_ALL_RAM
	use all available remaining RAM for session when running on LEAF
	yes|no - default: no

KSVD_LEAF_USERIMG_SIZE
	use a specific size for the user disk image on LEAF
	default: 0 - does not override regular session value

KSVD_SESSION_IDLEOFF
	shutdown session if idle for N minutes (integer, default: 0 - disabled)

KSVD_SESSION_MAX_SHUTDOWN_SECS
	maximum number of seconds to wait for graceful shutdown before aborting
	(integer, default: 90)

KSVD_MAX_EVENTS_IN_MSG
	maxmimum number of events sent by uniqbprod to ksvdcmd in one message.
	too many messages might cause communication timeouts
	(integer, default: 100)

KSVD_LEASES_FILE_SIZE_LIMIT
	the maximum size dhcp.leases will grow before dhcpd is restarted
	default: 1MB

UNIQB_MAX_TOUCH_TIME_DIFF
	the maximum file touch time

UNIQB_MAX_TOUCH_TIME_WARN
	when the file touch time exceed the time, MC web will receive a
out-of-sync warn report

UNIQB_USERDISK_MODE
	user disk mode
	0:redirect user profile directory 1:no redirect of user directory 2:redirect part of user directory(desktop,document,etc.)
	(0|1|2 default: 0)

UNIQB_ENABLE_FILE_CLIPBOARD_AGENT2CLIENT_COPYPASTE
	enable the copypaste from agent to client
	yes|no - default: yes

UNIQB_ENABLE_FILE_CLIPBOARD_CLIENT2AGENT_COPYPASTE
	enable the copypaste from client to agent
	yes|no - default: yes

UNIQB_ENABLE_FILE_DRAG_CLIENT2AGENT_COPYPASTE
	enable file xfer from client to agent
	yes|no - default: yes
--------------------------------------------------------------------------------
Debugging Support

UNIQB_PREFIX_DEV
	Allows running KSVD from a location other than /usr/lib/ksvd

UNIQB_VERBOSE_SCRIPTS
	Turns on tracing (i.e. set -x) in shell scripts

UNIQB_DBG_ACCEPT_FROM_ANY
	When various accepting tcp connections (e.g. LEAF core), accept connections
	from any host, rather than from localhost only. For security reasons
	this should never be enabled in production environments

UNIQB_DBG_MOD_ALL
	Sets logging level for all KSVD components

UNIQB_DBG_GUEST
	Sets logging level for the guest

UNIQB_DBG_MOD_LEAF
	Log level for LEAF (set in server), overrides LEAF UNIQB_DBG_MOD_ALL

UNIQB_DBG_DATA_DUMP_MAX_SIZE
	Maximum amount of data to be dumped by uniqb_log_data.
	Default is 0.

UNIQB_DBG_RAW_QEMU_OUTPUT
	If set, qemu output is passed unfiltered to uniqb.txt

UNIQB_DBG_USE_NM
	Causes execution of binaries with symbolic information

UNIQB_DBG_DONT_FORK
	Avoids deamonizing and forking in servers, to simplify running the program
	in a debugger

UNIQB_DBG_LEAF_UNLOCK
	If found in any desktop settings, creates a desktop symlink to a terminal

UNIQB_DBG_LEAF_WEBROOT
	Root of static files served by ksvdleafd to its GUI

UNIQB_GDB_ENABLE
	Runs uniqb-runtime with a debugger attached

UNIQB_GDB_DYNAMIC
	If not set to "yes", overrides UNIQB_GDB_ENABLE for dynamic desktops

UNIQB_DBG_NO_FULL_SCREEN
	Disable fullscreen mode when launching a desktop

UNIQB_DBG_UDSYNC_PAUSE
	Introduces a pause while synchronizing files, to simplify debugging
	without having to synchronize large files

UNIQB_DBG_LIMITS_ARE_IN_SECONDS
	If set, limits such as UNIQB_DISCONNECTED_USE_LIMIT and UNIQB_DEFERRED_UPDATE_LIMIT 
	are treated as the number of seconds (rather than days or minutes, as the case
	might be)

UNIQB_DBG_BRANCH_TEST_UDSYNC
	If set, ksvdbranchd performs a user data sync as soon as it starts 
	(in addition to at the scheduled time)

UNIQB_DBG_FAKE_GUEST
	If set, uniqb-runtime does not launch qemu-kvm, for stress testing a single
	server configuration.

UNIQB_VALGRIND 
	If set, KSVD daemons are launched under valgrind control.
	If the value of this variable is 1, then valgrind is invoked with the
	options found in etc/valgrind.options. Otherwise the contents of this
	variable are passed to valgrind as options to use.
	Examples: 
	UNIQB_VALGRIND=1 /etc/init.d/KSVD start          # use options from valgrind.options
	UNIQB_VALGRIND="--leak-check=yes" /etc/init.d/KSVD start # override valgrind.options

UNIQB_DBG_MAX_LINES_PER_LOGFILE
	The number of lines at which the log file is split

KSVD_DBG_GUEST
	If set, and build is trunk, notifies the guest agent that development
	support is enabled. the guest may use this to enable functionality that is
	undesirable in production, but is helpful during development.

KSVD_DBG_VERBOSE_HTTP
	Logs contents of http requests and responses. Available in trunk only.

KSVD_LINUX_GUEST_HOMES
	If set, instructs Linux guests to create home directories for local account, even
	in SSO mode. This is useful for logging into the guest when guest networking fails.

KSVD_DBG_KSVDSMART_BC
	If set, ksvdsmartd-bc is enabled even if system is running in native 
	(i.e. non-PAM) mode

KSVD_DBG_IMMEDIATE_SPICE_AVAILABILITY
	By default guests are marked as being available for SPICE connections
	as soon as they start up. If set to "no", then SPICE connections are
	not enabled immediately.

KSVD_DBG_RDP_THROUGH_INNER_NIC
	If set to yes, the RDP/NX protocol will pass through non-Private NIC,
	otherwise it will pass through inner NIC.

KSVD_DBG_NO_SSL_TO_MC
	If set, CM requests to the MC are sent on port 8080 instead of on
	the configured SSL port.

KSVD_DISK_IMAGE_TYPE
	gow3 or qcow2. Expected to be needed only for development. Default: qcow2

UNIQB_NOFILE_LIMIT
	limit number of uniqbprod open file.Default: 1
	0 or 1,0 not limit, 1 limit
--------------------------------------------------------------------------------
App Layers Support

KSVD_APP_TITLE
	Symbolic title used to name link to app layer for a session
	(appears in ~$UNIQB_MC_USER/.ksvd/apps/<app>/settings.ksvd)

KSVD_APP_LAYERS
	The app Layers provisioned to a given desktop
--------------------------------------------------------------------------------
Authenticate method
UNIQB_CLIENT_AUTH_METHOD:
	client login authentication method, choose in password, name_key,
name_password_key, default password
--------------------------------------------------------------------------------

