EasyManuals Logo

Oracle ZFS Storage Appliance User Manual

Oracle ZFS Storage Appliance
650 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #37 background imageLoading...
Page #37 background image
Command Line Interface (CLI)
The last command is also useful to retrieve values that have been automatically set by the
appliance during the creation of a dynamic node. For example, each replication action is
assigned an ID by the appliance when it is created. Using the last command with the get id
command, you can retrieve the ID without using the name of the replication action:
dory:shares p1/share replication> create
dory:shares p1/share action (uncommitted)> set target=dory
target = dory (uncommitted)
dory:shares p1/share action (uncommitted)> set pool=p0
pool = p0 (uncommitted)
dory:shares p1/share action (uncommitted)> commit
dory:shares p1/share replication> last get id
id = 7034367a-d4d8-e26f-fa93-c3b454e3b595
dory:shares p1/share replication>
Note that when last is combined with another command (in this case, get id), the command is
run in the context of the last-visited node, but the current node remains unchanged.
Because last allows you to retrieve the last-visited node and its values without specifying the
name of the node, this command is particularly convenient for scripting:
script
project = 'myproj';
target = 'mytarget';
target_pool = 'notmypool';
run('cd /');
run('shares select ' + project);
run('replication');
run('create');
set('target', target);
set('pool', target_pool);
run('commit');
run('last');
id = get('id');
printf("Sending update for replication action id %s ...", id);
run('sendupdate');
while (get('state') != 'idle') {
printf(".");
run('sleep 1');
}
printf("done\n");
.
To return to the previous context, use the done command:
dory:configuration> done
dory:>
About the Oracle ZFS Storage Appliance 37

Table of Contents

Other manuals for Oracle ZFS Storage Appliance

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Oracle ZFS Storage Appliance and is the answer not in the manual?

Oracle ZFS Storage Appliance Specifications

General IconGeneral
Connectivity10GbE, 40GbE, InfiniBand, Fibre Channel
ProtocolsNFS, SMB, iSCSI, Fibre Channel, HTTP
Operating SystemOracle Solaris
Data Protectionsnapshots, clones, remote replication
Data ReductionInline compression, deduplication
High AvailabilityRedundant hardware components (controllers, power supplies, fans). Automatic failover between controllers. Hot-swappable drives and components. Cluster configurations for increased availability and scalability.
Management InterfaceWeb-based GUI, CLI, REST API
Storage TypeHybrid (SSD + HDD), All-Flash
Storage CapacityUp to several petabytes
EncryptionAES-256 encryption at rest

Related product manuals