solaris migrate global zone from 10 to 11

# flarcreate -S -n s10-serv1 -x /export/zones \
-x /export/share -L cpio /export/share/s10-serv1.flar

(sol11)
mount|grep /export/share

zonecfg -z zone2
zone1: No such zone configured Use 'create' to begin configuring a new zone.
zonecfg:zone2> create -t SYSsolaris10
zonecfg:zone2> set zonepath=/zones/zone2
zonecfg:zone2> set autoboot=true
zonecfg:zone2> select anet linkname=net0
zonecfg:zone2:anet> set allowed-address=192.168.0.117/24
zonecfg:zone2:anet> set configure-allowed-address=true
zonecfg:zone2:anet> end
zonecfg:zone2> set hostid=34dcc40c
zonecfg:zone2> verify
zonecfg:zone2> commit
zonecfg:zone2> exit

root@s11- serv1:~# zoneadm -z zone2 install -a \
/export/share/s10-serv1.flar -u

root@s11-serv1:~# zoneadm –z zone2 boot

This entry was posted in solaris. Bookmark the permalink.

Comments are closed.