The cinder.volume.drivers.san.solaris Module

class SolarisISCSIDriver(*cmd, **kwargs)

Bases: cinder.volume.drivers.san.san.SanISCSIDriver

Executes commands relating to Solaris-hosted ISCSI volumes.

Basic setup for a Solaris iSCSI server:

pkg install storage-server SUNWiscsit

svcadm enable stmf

svcadm enable -r svc:/network/iscsi/target:default

pfexec itadm create-tpg e1000g0 ${MYIP}

pfexec itadm create-target -t e1000g0

Then grant the user that will be logging on lots of permissions. I’m not sure exactly which though:

zfs allow justinsb create,mount,destroy rpool

usermod -P’File System Management’ justinsb

usermod -P’Primary Administrator’ justinsb

Also make sure you can login using san_login & san_password/san_private_key

create_export(context, volume)
create_volume(volume)

Creates a volume.

delete_volume(volume)

Deletes a volume.

ensure_export(context, volume)

Synchronously recreates an export for a logical volume.

local_path(volume)
remove_export(context, volume)

Removes an export for a logical volume.

solaris_execute(*cmd, **kwargs)

Previous topic

The cinder.volume.drivers.san.san Module

Next topic

The cinder.volume.drivers.scality Module

This Page