Skip to content

smbdriver job from smb-volume/2.0.4

Github source: c009ef2 or master branch

Properties

adminPort

port smbdriver listens on for admin requests

Default
8590

allowed_in_mount

Comma separated list of white-listed options that may be accepted in the mount_config options.

Default
""
Example
username,password,file_mode,dir_mode,readonly,domain,vers,sec

cell_mount_path

path to mount volumes into on the cell

Default
/var/vcap/data/volumes/smb

debug_addr

address smbdriver will serve debug info

Default
127.0.0.1:8689

default_in_mount

Comma separated list default values for options that may be configured in the mount_config options, formatted as ‘option:default’. If an option is not specified in the volume mount, or the option is not white-listed, then the specified default value will be used instead.

Default
""
Example
vers:3.0

disable

disable smbdriver

Default
false

driver_path

path to place driver spec/json file for volman to discover

Default
/var/vcap/data/voldrivers

enable_unique_volume_ids

opt-in to unique volume IDs

Default
true

listen_port

port smbdriver listens on

Default
8589

log_level

smbdriver log level

Default
info

log_time_format

Format for timestamp in component logs. Valid values are ‘unix-epoch’ and ‘rfc3339’.

Default
rfc3339

ssl

insecure_skip_verify

When connecting over SSL, skip verification of server IP addresses in the certificate

Default
false

tls

ca_cert

PEM encoded CA certificate. If not provided, driver will not accept TLS connections

Default
""
Example
'| -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----'

client_cert

PEM encoded client certificate

Default
""
Example
'| -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----'

client_key

PEM encoded client private key

Default
""
Example
'| -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----'

server_cert

PEM encoded server certificate

Default
""
Example
'| -----BEGIN CERTIFICATE----- ... -----END CERTIFICATE-----'

server_key

PEM encoded server private key

Default
""
Example
'| -----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----'

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/smbdriver/ directory (learn more).

  • bin/drain (from drain.erb)
  • bin/pre-start (from install.erb)
  • bin/smbdriver_ctl (from ctl.erb)
  • config/certs/ca.crt (from ca.crt.erb)
  • config/certs/client.crt (from client.crt.erb)
  • config/certs/client.key (from client.key.erb)
  • config/certs/server.crt (from server.crt.erb)
  • config/certs/server.key (from server.key.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.