What is the minimum specification required to complete the configuration before the exit command is issued?

You are creating a native Oracle Solaris zone that will be called zd1. The zone must have a virtual
network interface configured. You use the following command to create the zone configuration:
# zonecfg –z zd1
zonecfg:zd1> create
What is the minimum specification required to complete the configuration before the exit command
is issued?

You are creating a native Oracle Solaris zone that will be called zd1. The zone must have a virtual
network interface configured. You use the following command to create the zone configuration:
# zonecfg –z zd1
zonecfg:zd1> create
What is the minimum specification required to complete the configuration before the exit command
is issued?

A.
A zonepath must be set.

B.
An anet resource must be added.

C.
No other configuration parameters need to be set.

D.
Both an anet configuration and a zonepath must be set.

Explanation:
* Example:
root@solaris:~# zonecfg -z zd1
Use ‘create’ to begin configuring a new zone.
zonecfg:zd1> create
create: Using system default template ‘SYSdefault’
zonecfg:zd1> exit
zonepath cannot be empty.
Zone zd1 failed to verify
zd1: Required resource missing
Configuration not saved; really quit (y/[n])? n
zonecfg:zd1> verify
zonepath cannot be empty.
zd1: Required resource missing
zonecfg:zd1> set zonepath=/zones/zd1
zonecfg:zd1> exit
Note:
* anet
Automatic network interface.
The anet resource represents the automatic creation of a network resource for an exclusive-IP
zone.



Leave a Reply 2

Your email address will not be published. Required fields are marked *


dupek

dupek

In Solaris 11.2:
root@s11exam:~# zonecfg -z zd1
Use ‘create’ to begin configuring a new zone.
zonecfg:zd1> create
create: Using system default template ‘SYSdefault’
zonecfg:zd1> verify
zonecfg:zd1> commit
zonecfg:zd1> exit
root@s11exam:~# zonecfg -z zd1 info
zonename: zd1
zonepath: /system/zones/zd1
brand: solaris
autoboot: false
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
tenant:
fs-allowed:
anet:
linkname: net0
lower-link: auto
allowed-address not specified
configure-allowed-address: true
defrouter not specified
allowed-dhcp-cids not specified
link-protection: mac-nospoof
mac-address: auto
mac-prefix not specified
mac-slot not specified
vlan-id not specified
priority not specified
rxrings not specified
txrings not specified
mtu not specified
maxbw not specified
bwshare not specified
rxfanout not specified
vsi-typeid not specified
vsi-vers not specified
vsi-mgrid not specified
etsbw-lcl not specified
cos not specified
pkey not specified
linkmode not specified
evs not specified
vport not specified

So in Solaris 11.2 C is correct but in before Solaris 11.2 A is correct…