Go to main content
Oracle® VM Server for SPARC OpenStack Nova Driver and Utilities 1.0 Administration Guide

Exit Print View

Updated: May 2017
 
 

Oracle VM Server for SPARC OpenStack Compute Node Configuration Properties

This reference section covers standard OpenStack Nova configuration information that pertains to the Oracle VM Server for SPARC OpenStack Nova driver as well as configuration information that is specific to the Oracle VM Server for SPARC OpenStack Nova driver.

Oracle VM Server for SPARC OpenStack Compute Node

This section provides reference information about the Oracle VM Server for SPARC OpenStack compute node /etc/nova/nova.conf configuration file and the properties that are specific to the Oracle VM Server for SPARC product.

Compute Node /etc/nova/nova.conf Configuration File

The following sample /etc/nova/nova.conf configuration file is based on a cloud controller with an IP address of 10.0.68.51 and a host name of controller, a compute node with an IP address of 10.0.68.50 and a host name of compute0, and a service password of services-password for all service accounts. Each line that has been updated with the cloud controller and compute node information is highlighted.

 

[DEFAULT]
rabbit_host=10.0.68.51
my_ip=10.0.68.50
host=compute0
block_device_allocate_retries=360
compute_driver=ldoms.LDomsDriver
novncproxy_base_url=http://10.0.68.51:6080/vnc_auto.html
vncserver_listen=$my_ip
vncserver_proxyclient_address=$my_ip
vnc_enabled=true

[database]
connection = mysql://nova:services-password@controller.domain-name/nova

[glance]
host=10.0.68.51

[keystone_authtoken]
auth_uri = http://10.0.68.51:5000/v2.0/
signing_dir=$state_path/keystone-signing
identity_uri = http://10.0.68.51:35357/
admin_user = nova
admin_password = services-password
admin_tenant_name = service

[neutron]
url=http://10.0.68.51:9696
admin_username=neutron
admin_password=services-password
admin_tenant_name=service
admin_auth_url=http://10.0.68.51:5000/v2.0
proxyclient_address=$my_ip

[serial_console]
serialproxy_host=10.0.68.51
serialproxy_port=6083
enabled=true
base_url=ws://10.0.68.51:6083/
listen=$my_ip
proxyclient_address=$my_ip

[ldoms]
set_admin_passwd_on_guest=false
permit_root_logins=true
admin_user=root
force_volume_build=true
create_zvols=true
zvol_base=rpool/vm_disks
configure_all_routes=false
vds_name=primary-vds0
min_free_space_pct=10
dlm_nfs_server=10.0.68.51
dlm_nfs_share=/saspool/nfspool
dlm_nfs_mountpoint=/mnt/dlm
dlm_port=4999

Oracle VM Server for SPARC OpenStack Compute Node Configuration File Properties

The following section lists the properties that are specific to the Oracle VM Server for SPARC product.

  • admin_user=root specifies the account name of the administration user in the guest domain. The default value is root.

  • create_zvols=true | false specifies whether to store Oracle VM Server for SPARC root disks on top of ZFS volumes. This property also depends on the value of the force_volume_build property.

    When this property value is false and force_volume_build=false, Oracle VM Server for SPARC root disks are raw files stored in the location specified by instance_path, which defaults to /var/lib/nova/instances.

    When this property value is true and force_volume_build=false, Oracle VM Server for SPARC root disks are stored on top of ZFS volumes. The initial root ZFS volume stores the Oracle VM Server for SPARC image, and each VM is a clone of the base ZFS volume that is created for this image.

    The default value is true.

  • dlm_nfs_mountpoint=mount-point specifies the local mount point. The default mount point is /mnt/dlm and should be used as-is.

  • dlm_nfs_server=IP-address specifies an IP address to an NFSv4 server that has delegation=off. This property must be set to enable distributed lock management (DLM), and the Nova evacuation and rebuild capabilities. If this property is not set, or is set to no value, DLM is disabled, and Nova evacuations fail.

  • dlm_nfs_share=/export/dlm specifies the NFSv4 share on the NFSv4 server for DLM. The share requires at least one Gbyte of disk space and must be reliably accessible. If this server is inaccessible for as long as ten minutes, any compute nodes that cannot access the share panic.

  • dlm_port=port-number specifies the port that DLM uses to communicate with other nodes. The default value is 4999 and should be left as-is unless this port is already used.


    Note - This port must be set to the same port on all compute nodes.
  • force_volume_build=true | false specifies whether to force the use of Cinder volumes instead of local storage even when a cloud user requests a VM that uses Boot from Image that typically uses local storage (virtual disk files or ZFS volumes). When the value is true, mimic Oracle Solaris OS behavior which uses Cinder volumes to create Boot from Image instances. When the value is false, mimic OpenStack behavior which uses Nova-managed local storage. The default value is false.

  • configure_all_routes=true | false specifies whether to configure all default routes. When set to true, all default routes are configured if your environment has multiple networks per VM and more than one network has a default route.


    Note - When you configure a logical domain with multiple networks, multiple default routers might be provided to the guest domain. By default, the guest domain configures the first default router presented to it, based on the order in which the networks are attached to the domain. If you want to set all default routers that are provided, set configure_all_routes=true in the /etc/nova/nova.conf configuration file. This property is set to false by default, as using multiple default routers without careful consideration can cause network issues.

    When set to false, the VM uses the default route only from the first network configured with a default route on this VM. The default value is false.

  • min_free_space_pct=percentage specifies the minimum percentage of space that must be free to create new instances when using local file-based storage. If creating a new VM image will leave less than the specified percentage, the creation fails. Valid values are from 0 to 100. The default value is 10 percent.

  • permit_root_logins=true | false specifies whether to permit direct SSH logins by the root user. The default value is false.

  • set_admin_passwd_on_guest=true | false specifies whether to set the administration user password on the guest domain. When the value is set to true and you use Horizon to create a VM without using a password, OpenStack generates a password for the VM without informing you of the password. Therefore, the default value is false.

  • vds_name=primary-vds0 specifies the Oracle VM Server for SPARC virtual disk server in the control domain. The default value is primary-vds0.

  • zvol_base=rpool/vm_disks specifies the ZFS dataset location in which to store the Oracle VM Server for SPARC ZFS volumes. This property applies only when create_zvols=true.