Archives for January 2015

Jan
12

Cleaning up stuck tasks on VMware Horizon Air (Desktone)

I had already tweeted a link to the support KB -> Unable to Delete the Pool at This Time (2100079) but the commands for logging into the database don’t require the options ie “-U”. Below are the commands I used.

Also you can only connect to the database by going from Service Center via ssh -> Tenant Management appliances on the backbone network.

desktone@tenantApp1:~$ psql edb admin
Password for user admin:
psql (9.0.13)
Type “help” for help.

edb=# delete from t_task ;
DELETE 4764
edb-# \q

desktone@tenantApp1:~$ psql fdb admin
Password for user admin:
psql (9.0.13)
Type “help” for help.

fdb=# delete from poolmgr_tasks;
DELETE 1221
fdb=# delete from poolmgr_task_params;
DELETE 0

Jan
08

Common directories and files for troubleshooting VMware Horizon DaaS

Location

File Name/Services

Description

/etc

resolv.conf

Configuration file for DNS resolvers

hosts

Text file that associates IP addresses with hostnames

hostname

Current unqualified hostname on system

mtab

Lists all currently mounted filesystems along with their
initialization options

ntp.conf

Network time configuration file

/etc/network/

interface

Network interface configuration

/etc/logrotate.d/

rsyslog

  • Log rotation and pruning for logs located at
    /var/log
    – non desktone.log
  • To force log rotation run this
    command:

    logrotate
    -f/etc/logrotate.conf

    Used when a log is missing in rsyslog file and the
    file is been corrected.


/etc/init.d

dtService

Primary Horizon DaaS service

memcached

Memcached service

/var/log


Contains various logs related to appliance (jboss, ha, heartbeat,
postgres, slony, system)

/var/log/desktone

desktone.log


/var/log/desktone

Installation.log

Resides only on primary SP appliance

/usr/local/desktone


bin cert mnt release scripts tools

/usr/local/desktone/

.datacenter_id

  • Lists local datacenter id. Run this
    command to list local datacenter id:

    cat.datacenter.id

Scripts to run on the
appliance


/usr/local/desktone/scripts

start_slon_fdb.sh

Start slony process for fdb on local appliance

start_slon_edb.sh

Start slony process for edb on local appliance

backup_db.sh

Backup local fdb and edb

Additional method to
troubleshoot issues


/usr/local/desktone/release/active/conf

desktone-log4j.properties

desktone.log
logging levels. Sometimes edited to increase logging levels related
to specific actions.

emgr.properties

Emgr (element manager) settings. Only applicable on tenant
appliances.

fdb.properties

Property file related to local appliance fdb

edb.properties

Property file related to local appliance edb

ha.cf

Related to HA pair configuration and is set with it is HA pair eth0
IP address as well as the hostname for both appliances in that
pair

haresources

Related to HA pair configuration and is set with the floating
IP/bitmask

vmgr.properties

Rmgr (Resource manager) settings. Only applicable on Rmgr
appliances.

proxy.conf

Conf file related to multi DC configuration

/usr/local/desktone/release/active/deploy


Active branch of files related to Horizon DaaS

$JBOSS_HOME/bin/

run.conf

  • JBoss Bootstrap Script
    Configuration
  • JAVA – Heap memory

/data/repo


Contains debian files related to Horizon DaaS (install files,
service packs. patches). These files are transferred from
/temp

/temp


Temporary location for install, service packs, and patch files to
be placed prior to being moved to /data/repo
Jan
06

Horizon DaaS\Air Advanced Settings Gone Wild

Working with Horizon Air has had some challenges do to lack of Google finding my answers and VMware KB’s having three separate products listed but I do think VMware has the interests of the Service Provider in mind. Since I love nothing more that shooting myself in the foot I went off to change some of the advanced settings. This is harder than it looks because you have to use the “secret” handshake to get at them.

On the policy page for your tenant you need to type dtpolicy anywhere on the page. If you see Do not change policy settings without consulting VMware support, you’re headed in the right direction.

Nutanix Horizon Air

The following VMware KB article talks about the same thing. – I do not see the policy I am searching for http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=2100146&sliceId=1&docTypeI