3.6. How to Configure Oracle VDI on a Primary Host

You can configure Oracle VDI on a host in the following circumstances:

To use a remote MySQL database instead of the embedded Oracle VDI MySQL database, ensure you have all the required information as described in Section 3.3, “Preparing to Use a Remote MySQL Database”.

  1. (Optional) Start the configuration script.

    This step is not necessary if you configure the software at the same time as installing the software.

    Run the following command as root:

    # /opt/SUNWvda/sbin/vda-config

    A list of configuration types is displayed.

                   
    1 New Oracle VDI Center
    2 Join Oracle VDI Center
                    
    Select (1/2):
  2. To configure the host as the primary host in an Oracle VDI Center, type 1 and press the Return key.

    If you are configuring an Oracle VDI Center that contains only one host, type 1.

    A list of configuration settings is displayed.

    Review the settings for a new Oracle VDI Center:
       Name: VDI Center
       Administrator Password: ********
       DNS name of this host: primary.example.com
       Maximum number of sessions on this host: 1000
       User ID range start: 160000
       Database: Embedded Oracle VDI
    
    Do you want to create the Oracle VDI Center now? 
    Enter 'c' to customize the settings. ([y]/c):

    The default is to use the embedded Oracle VDI MySQL database. To use a remote MySQL database, you must customize the configuration settings.

    • To accept the defaults and create the Oracle VDI Center, press the Return key.

    • To change the settings before creating the Oracle VDI Center, type c and press the Return key.

      If you change the settings, you can review the changes before they are applied.

    The host is configured using the supplied settings.

    The following are the configuration settings for a primary host:

    • Name: The name of the Oracle VDI Center. The name can contain alphanumeric characters as well as spaces.

    • Administrator Password: The password used to secure the embedded Oracle VDI MySQL database and the Sun Ray datastore.

      Normally you do not need to know this password and an automatically-generated password is used. To use the automatically-generated password, press the Return key. Otherwise you can provide a password, which you have to enter twice to confirm. The password must contain at least five characters.

    • DNS name of this host: The fully-qualified DNS name of the host, for example primary.example.com. There must be a valid DNS entry for the host, otherwise the configuration fails.

    • Maximum number of sessions on this host: This is the maximum number of user sessions that can run on each Oracle VDI host in the Oracle VDI Center.

    • User ID range start: Oracle VDI creates a local user for each user session on the Oracle VDI host. This option enables you to specify the starting number of the user ID.

    • Database: Choose whether to use the embedded Oracle VDI MySQL database, or connect to a remote MySQL database. For more information about using remote databases, see Section 3.3, “Preparing to Use a Remote MySQL Database”.