Go to main content

Using Oracle® Compute Cloud Service - Dedicated Compute Capacity - SPARC Model 300

Exit Print View

Updated: April 2018
 
 

Configure an iSCSI LUN as a Kernel Zone Root Pool

Complete these steps to configure a volume (LUN) as a kernel root zone. See Zone Brands for a description of the different zone types.

  • Create a kernel zone.

    Update the system-provided default device storage property (which defaults to a local zvol) to your new URI as follows:

    root@opc-192-168-50-6:~# zonecfg -z kz
    Use 'create' to begin configuring a new zone.       
    zonecfg:kz> create -t SYSsolaris-kz
    zonecfg:kz> info device
    device 0:
     storage.template: dev:/dev/zvol/dsk/%{global-rootzpool}/VARSHARE/zones/%{zonename}/disk%{id}          
     storage: dev:/dev/zvol/dsk/rpool/VARSHARE/zones/kz/disk0
     id: 0
     bootpri: 0
    zonecfg:kz> select device 0
    zonecfg:kz:device> set storage=iscsi://192.168.50.36/luname.naa.600144f0e196e8460000579dd8ce0003
    zonecfg:kz:device> end  
    zonecfg:kz> info device
    device 0:       
     storage: iscsi://192.168.50.36/luname.naa.600144f0e196e8460000579dd8ce0003
     id: 0
     bootpri: 0
    zonecfg:kz> exit
    root@opc-192-168-50-6:~#

    Note -  See Prepare a Volume for Use With Zones for information about identifying the URI.