Enter your Email


BTOI | © copyight


Jan 7, 2009
How to save the configuration of a zone in a file and use it to create similar zones!!!

Pleases find the below steps to save the configuration of a zone in a file and use it to create similar zones.

 

Step 1) 
 
Become the super-user.
 
Step 2) 
 
Print the configuration of the zone to a file.
 
bash-3.00# zonecfg -z myzone1 export > myzone1.config
 
Step 3)
 
Specify that myzone.config be used as the zonecfg command file to recreate similar zones.
 
bash-3.00# zonecfg -z myzone2 -f myzone1.config
bash-3.00# zonecfg -z myzone2 info
zonepath: /export/myzone1
autoboot: false
pool:
inherit-pkg-dir:
dir: /lib
inherit-pkg-dir:
dir: /platform
inherit-pkg-dir:
dir: /sbin
inherit-pkg-dir:
dir: /usr
net:
address: 129.158.233.113/24
physical: bge0
device
match: /dev/lofictl
device
match: /dev/lofictl/*
device
match: /dev/lofi/1
device
match: /dev/rlofi/1
 
Step 4)
 
Change the zonepath to /export/myzone2
0 Comments:

Post a Comment

<< Home