manila.conf with Replication

This section provides an example Manila configuration file (manila.conf) that contains one backend, 'cdotSingleSVM1', that is in the same replication domain as 'cdotSingleSVM2'. Therefore, both backends must include their configuration stanzas so that 'cdotSingleSVM1' can communicate with 'cdotSingleSVM2' in order to manage replication on ONTAP as needed; even though the only enabled backend for this Manila share service instance is 'cdotSingleSVM1'.

[Important]Important

Vserver names must be unique, even accross clusters, in order to support replication between them.

[keystone_authtoken]
signing_dir = /var/cache/manila
admin_password = nomoresecrete
admin_user = manila
admin_tenant_name = service
auth_protocol = http
auth_port = 35357
auth_host = 10.236.168.134

[DEFAULT]
rabbit_userid = stackrabbit
rabbit_password = stackqueue
rabbit_hosts = 10.236.168.134
rpc_backend = rabbit
enabled_share_backends = cdotSingleSVM1
enabled_share_protocols = NFS,CIFS
neutron_admin_password = nomoresecrete
cinder_admin_password = nomoresecrete
nova_admin_password = nomoresecrete
default_share_type = default
state_path = /opt/stack/data/manila
osapi_share_extension = manila.api.contrib.standard_extensions
rootwrap_config = /etc/manila/rootwrap.conf
api_paste_config = /etc/manila/api-paste.ini
share_name_template = share-%s
scheduler_driver = manila.scheduler.filter_scheduler.FilterScheduler
verbose = True
debug = True
auth_strategy = keystone
replica_state_update_interval = 300

[DATABASE]
connection = mysql://root:stackdb@127.0.0.1/manila?charset=utf8

[oslo_concurrency]
lock_path = /opt/stack/manila/manila_locks

[cdotSingleSVM1]
share_backend_name=cdotSingleSVM1
share_driver = manila.share.drivers.netapp.common.NetAppDriver
driver_handles_share_servers=False
netapp_storage_family=ontap_cluster
netapp_server_hostname=10.63.40.150
netapp_server_port=80
netapp_login=admin
netapp_password=netapp1!
netapp_vserver=manila-vserver
netapp_transport_type=http
netapp_aggregate_name_search_pattern=^((?!aggr0).)*$
replication_domain=replication_domain_1

[cdotSingleSVM2]
share_backend_name=cdotSingleSVM2
share_driver = manila.share.drivers.netapp.common.NetAppDriver
driver_handles_share_servers=False
netapp_storage_family=ontap_cluster
netapp_server_hostname=10.63.40.151
netapp_server_port=80
netapp_login=admin
netapp_password=netapp1!
netapp_vserver=manila-vserver-2
netapp_transport_type=http
netapp_aggregate_name_search_pattern=^((?!aggr0).)*$
replication_domain=replication_domain_1



loading table of contents...