Configuring SRP Targets (CLI)
To configure SRP targets, use the following CLI commands:
hostname:configuration san targets srp groups> create hostname:configuration san targets srp group (uncommitted)> set name=targetSRPgroup name = targetSRPgroup (uncommitted) hostname:configuration san targets srp group (uncommitted)> set targets=eui.0002C903000489A4 targets = eui.0002C903000489A4 (uncommitted) hostname:configuration san targets srp group (uncommitted)> commit hostname:configuration san targets srp groups> list GROUP NAME group-000 targetSRPgroup | +-> TARGETS eui.0002C903000489A4
The following example demonstrates how to create an SRP target group named targetSRPgroup
using the CLI configuration san targets srp groups
context:
Example 2-1 Creating a LUN associated with the Target SRP Group using the CLI
The following example shows how to create a LUN, and associate it with targetSRPgroup
using the CLI shares
context:
hostname:shares default> lun mylun hostname:shares default/mylun (uncommitted)> set targetgroup=targetSRPgroup targetgroup = targetSRPgroup (uncommitted) hostname:shares default/mylun (uncommitted)> set volsize=10 volsize = 10 (uncommitted) hostname:shares default/mylun (uncommitted)> commit hostname:shares default> list Filesystems: NAME SIZE MOUNTPOINT test 38K /export/test LUNs: NAME SIZE GUID mylun 10G 600144F0E9D19FFB00004B82DF490001