This is most likely an issue with cacao or the vda service
If the Oracle VDI host runs into a virtual machine, check that the machine has enough RAM
Check the status of cacao and the vda service as described in Section 10.9.2, “The System Is Not Reacting as Expected”.
Try restarting the service:
/opt/SUNWvda/sbin/vda-service restart
This is most likely an issue with the MySQL database
Try restarting the service
/opt/SUNWvda/sbin/vda-service restart
If problem persists, you need to troubleshoot the MySQL database:
If you are using the Oracle VDI MySQL Embedded database, it is important to know that MySQL Embedded is quite demanding regarding physical resources, this specifically concerns CPU power, RAM and network bandwidth. The first thing to check is always if the network connectivity is provided and that the database service is running.
Run the following command to check if the embedded MySQL database Master and Slave (if configured) are running.
/opt/SUNWvda/sbin/vda-db-status
On Oracle Solaris platforms, you can also check that the status of the database on the Master or Slave host with the following command:
# svcs svc:/application/database/vdadb:default
If everything is fine you should see something similar to this:
STATE STIME FMRI online Mrz_18 svc:/application/database/vdadb:default
If the database service is not running, start it.
On Oracle Solaris platforms, use either of the following commands:
# svcadm enable svc:/application/database/vdadb:default
# svcadm clear svc:/application/database/vdadb:default
On Linux platforms, use the following command:
# /etc/init.d/vda-db-init start
If none of this helps, check the MySQL log files for possible
root causes for your database problems. The log files in
/var/opt/SUNWvda/mysql
. Information about
the MySQL Cluster log file format can be found in the official
MySQL documentation
MySQL
Cluster Log Messages.
Refer to the Troubleshooting item Section 10.8.1, “I Cannot Log in to Oracle VDI Manager”.
If you need to change the root password of an Oracle VDI host, run the following UNIX command.
# passwd root New Password: <enter new password> Re-enter new Password: <confirm>
During the initial configuration of Oracle VDI (using
an external database), an Oracle VDI database user
account (default, vdadb
) was created.
Change the password on the MySQL side by using the following MySQL CLI commands.
mysql> UPDATE mysql.user SET password=PASSWORD('<new_password>') WHERE user='vdadb'; mysql> FLUSH PRIVILEGES;
In order to change the password on Oracle VDI, reconfigure Oracle VDI.
No, the Sun Ray Software configuration is stored in an LDAP-based datastore.
If you run the /opt/SUNWvda/sbin/vda
command,
and:
You are getting the error message, "This command cannot be used because Oracle Virtual Desktop Infrastructure is not running on this server",
cacaoadm
and
vda-db-status
show that
Oracle VDI is running fine,
look in your /etc/hosts
file to see if you
have an IPv6 localhost there. Comment that out and try to run
the vda
command again.
It might be necessary to customize the LDAP filters
ldap.user.object.filter
and
ldap.user.search.filter
as described in
Appendix C, User Directory LDAP Filters and Attributes, especially if the user
directory is OpenLDAP or Novell eDirectory.
You can force to abort all active jobs:
Verify that the Oracle VDI service is running.
Enter the following command in the shell:
# /opt/SUNWvda/mysql/bin/mysql \ --defaults-file=/etc/opt/SUNWvda/my.cnf -D vda -u root -p -e "UPDATE \ t_job SET status = 'CANCELED', endtime = NOW() \ WHERE status IN ('RUNNING','QUEUED','CANCELLING') AND type <> 'DESTROY_POOL'"
If asked for a password, enter the MySQL database administrator password selected when you configured Oracle VDI on the primary host.
If the administrator password was automatically generated, see Section 10.8.12, “How Do I Log in to the Embedded MySQL Database?”.
If you are using a remote MySQL database, use the remote database administrator user and password.
By default, all Oracle VDI service messages are logged in the Cacao log file. To change the logging level or the log history, see Section 9.3.2, “How to Check the Oracle VDI Log Files”.
Logging in to the Oracle VDI database in order to change settings and data is not supported. Only use the Oracle VDI administration tools to perform these tasks.
Obtain the database password.
When you configure the primary host in an Oracle VDI Center and you use the embedded MySQL database, you can either provide your own password for the database administrator or have a password automatically generated.
To obtain the password, run the following command as root:
# /opt/SUNWut/sbin/utpw -p
When you configure the primary host in an Oracle VDI Center, the password selected (whether manually specified or automatically generated) is used for both the embedded Oracle VDI database and the Sun Ray data store. It is possible to change the Sun Ray data store password independently of Oracle VDI, for example by using the Sun Ray Administration Tool. Such password changes are not supported by Oracle VDI, and it might mean that you can no longer access the automatically-generated password.
Log in to the embedded database.
On the Oracle VDI host that has the master or slave database, run the following command as root :
# /opt/SUNWvda/mysql/bin/mysql --defaults-file=/etc/opt/SUNWvda/my.cnf -u root -p
When prompted, type the administrator password.