Go to main content
Guía de administración de Oracle® ZFS Storage Appliance, versión OS8.7.0

Salir de la Vista de impresión

Actualización: Marzo de 2017
 
 

Configuración de destinos SRP (CLI)

En el siguiente ejemplo, se muestra cómo crear un grupo de destinos SRP llamado targetSRPgroup con el contexto configuration san targets srp groups de la CLI:

  • Para configurar destinos SRP, use los siguientes comandos de la CLI:
    swallower:configuration san targets srp groups> create
    swallower:configuration san targets srp group (uncommitted)> set name=targetSRPgroup
                             name = targetSRPgroup (uncommitted)
    swallower:configuration san targets srp group (uncommitted)> 
    set targets=eui.0002C903000489A4
                          targets = eui.0002C903000489A4 (uncommitted)
    swallower:configuration san targets srp group (uncommitted)> commit
    swallower:configuration san targets srp groups> list
    GROUP     NAME
    group-000 targetSRPgroup
             |
             +-> TARGETS
                 eui.0002C903000489A4
    
Ejemplo 1  Creación de un LUN asociado con un grupo de destinos SRP mediante el uso de la CLI

En el siguiente ejemplo, se muestra cómo crear un LUN y asociarlo con el grupo targetSRPgroup usando el contexto shares de la CLI:

swallower:shares default> lun mylun
swallower:shares default/mylun (uncommitted)> set targetgroup=targetSRPgroup
                  targetgroup = targetSRPgroup (uncommitted)
swallower:shares default/mylun (uncommitted)> set volsize=10
                      volsize = 10 (uncommitted)
swallower:shares default/mylun (uncommitted)> commit
swallower:shares default> list
Filesystems:
NAME             SIZE    MOUNTPOINT
test             38K     /export/test
LUNs:
NAME              SIZE    GUID
mylun             10G     600144F0E9D19FFB00004B82DF490001

Temas relacionados