Movatterモバイル変換


[0]ホーム

URL:


Go to main content
oracle home

Creating and Using Oracle® Solaris Zones

Exit Print View

 
Search Scope:
  »  ...Documentation Home  »  Oracle Solaris 11.3 Information Library  »  Creating and Using Oracle® ...  »  Getting Started With Oracle Solaris Zones on ...  »  Assigning Shared Storage Resources to Oracle ...
Updated: April 2019
 
 

Assigning Shared Storage Resources to Oracle Solaris Zones

Assign shared storage resources to zones in the zone configuration byusing storage URIs to describe the location of a storage object.

Two zone configuration resource types,rootzpool, andzpool, and a property type,storage, areused to assign shared storage resources to a particular Oracle Solaris Zone. These areconfigured and maintained with thezonecfg.

storage Property for Zones

    When using shared storage resources, thestorageproperty defines the location of the storage object in a host-independent formatby using storage URIs. The following storage URIs are currently supported by theOracle Solaris Zones framework in Oracle Solaris:

  • dev: local device path storage URI, DAS

  • iscsi: iSCSI storage URI

  • lu: Fibre Channel (FC) and Serial Attached SCSI(SAS)

The storage property is managed using the followingzonecfg subcommands from within arootzpool orzpool resource scope:

zonecfg:zonename:zpool>add storageURI stringzonecfg:zonename:zpool>remove storageURI string

rootzpool Resource

Therootzpool resource is a dedicated ZFS storage poolfor a zone. The entire zone installation is encapsulated into its own dedicatedZFS storage pool. This ZFS storage pool will be composed of shared storageresources.

Therootzpool resource must specify at least onestorage property. Multiple storage properties can be specified to describeredundant ZFS storage pool configurations. Note that there can be only onerootzpool resource per zone configuration.

The ZFS storage pool name for arootzpool resource willbe automatically assigned aszonename_rpool. The name cannot bechanged. Therootzpool resource is managed by using thefollowingzonecfg subcommands from the global resourcescope:

zonecfg:zonename>add rootzpoolzonecfg:zonename:rootzpool>add storageURI stringzonecfg:zonename:rootzpool>endzonecfg:zonename>remove rootzpoolzonecfg:zonename>select rootzpool storage=URI stringzonecfg:zonename>info rootzpool

zpool Resource

Thezpool resource describes a ZFS storage poolcomposed of shared storage resources that is delegated to the Oracle Solaris Zone. Thezpool resource will specify at least one storage property.Multiple storage properties can be specified to describe redundant ZFS storagepool configurations. There can be multiplezpool resourcesdefined for a zone configuration.

The ZFS storage pool name for azpool resource isassigned by combining the zone name and the specified name property, aszonename_name. For thename property, thezonecfg will verify that the string iseligible for a ZFS storage name and a ZFS dataset name. The stringrpool is not permitted and cannot be used for thisproperty.

Thezpool resource is managed using the followingzonecfg subcommands from the global resource scope:

zonecfg:zonename>add zpoolzonecfg:zonename:zpool>add storageURI stringzonecfg:zonename:zpool>set name=name stringzonecfg:zonename:zpool>endzonecfg:zonename>remove zpoolzonecfg:zonename>remove zpool name=name stringzonecfg:zonename>remove zpool storage=URI stringzonecfg:zonename>select zpool storage=URI stringzonecfg:zonename>info zpoolzonecfg:zonename>info zpool name=name stringzonecfg:zonename>info zpool storage=URI string

Renaming Zones

You can use thezoneadm command to rename a zone ineither the configured or the installed state.

Restrictions on Zone Configuration

To alter a storage resource URI within arootzpool orzpool resource when the location description changes for anexisting shared storage resource, use thezonecfg remove storageold URI command syntax followed by theadd storagenew URIcommand.

Copyright © 2004, 2019, Oracle and/or its affiliates. All rights reserved. 
Previous
Next

[8]ページ先頭

©2009-2025 Movatter.jp