Sunday 20 May 2018

Procedure To Configure a Whole Root Zone on Solaris 10


Steps:-

1.Start the zone configuration.

#zonecfg -z wholerootzone, where wholerootzone is the name of the new whole root zone.

Create a configuration for the specified zone.

zonecfg:wholerootzone> create -b

2.Set the zone path.

The zone path must specify a highly available local file system. The file system must be managed by the SUNW.HAStoragePlus resource.

zonecfg:wholerootzone> set zonepath=/global/zones/HA/wholerootzone (Any local filesystem which has enough space to host)

3.Set the autoboot value.

If the autoboot value is set to true, the zone is automatically booted when the global zone is booted. The default value is false.

zonecfg:wholerootzone> set autoboot=false

If resource pools are enabled on the system, associate a pool with the zone.

zonecfg:wholerootzone> set pool=pool_default, where pool_default is the name of the resource pool on the system.

4.Add a network virtual interface.

zonecfg:wholerootzone> add net

5.Set the IP address for the network interface.

zonecfg:wholerootzone> set address=10.255.255.255

6.Set the physical device type for the network interface.

zonecfg:wholerootzone> set physical=hme0

zonecfg:wholerootzone> end

7.Verify and commit the zone configuration.

zonecfg:wholerootzone> verify

zonecfg:wholerootzone> commit

zonecfg:wholerootzone> exit

No comments:

Post a Comment