How to create zone on Solaris 11.docx

上传人:b****3 文档编号:4927499 上传时间:2023-05-07 格式:DOCX 页数:13 大小:388.22KB
下载 相关 举报
How to create zone on Solaris 11.docx_第1页
第1页 / 共13页
How to create zone on Solaris 11.docx_第2页
第2页 / 共13页
How to create zone on Solaris 11.docx_第3页
第3页 / 共13页
How to create zone on Solaris 11.docx_第4页
第4页 / 共13页
How to create zone on Solaris 11.docx_第5页
第5页 / 共13页
How to create zone on Solaris 11.docx_第6页
第6页 / 共13页
How to create zone on Solaris 11.docx_第7页
第7页 / 共13页
How to create zone on Solaris 11.docx_第8页
第8页 / 共13页
How to create zone on Solaris 11.docx_第9页
第9页 / 共13页
How to create zone on Solaris 11.docx_第10页
第10页 / 共13页
How to create zone on Solaris 11.docx_第11页
第11页 / 共13页
How to create zone on Solaris 11.docx_第12页
第12页 / 共13页
How to create zone on Solaris 11.docx_第13页
第13页 / 共13页
亲,该文档总共13页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

How to create zone on Solaris 11.docx

《How to create zone on Solaris 11.docx》由会员分享,可在线阅读,更多相关《How to create zone on Solaris 11.docx(13页珍藏版)》请在冰点文库上搜索。

How to create zone on Solaris 11.docx

HowtocreatezoneonSolaris11

HowtocreatezoneonSolaris11

Step1:

Weneedainstallationpathforthezonetobecreated.Createafilesystemunderrpoolofglobalzone

root@solaris#zfscreaterpool/ztest1

Step2:

Createnewzoneztest1

root@solaris#zonecfg-zztest1

Use‘create’tobeginconfiguringanewzone.

zonecfg:

ztest1>create

create:

Usingsystemdefaulttemplate‘SYSdefault’

zonecfg:

ztest1>setzonepath=/rpool/ztest1

zonecfg:

ztest1>setautoboot=true

zonecfg:

ztest1>setbootargs=”-mverbose”

zonecfg:

ztest1>verify

zonecfg:

ztest1>commit

zonecfg:

ztest1>exit

Step3:

Checkthatzoneiscreatedornot

root@solaris#zoneadmlist-icv

IDNAMESTATUSPATHBRANDIP

0globalrunning/solarisshared

–ztest1configured/rpool/ztest1solarisexcl

Step4:

Checkpgkpublisherbeforeinstallzone

root@solaris#pkgpublisher

PUBLISHERTYPESTATUSPLOCATION

solarisoriginonlineFfile:

///export/home/SRU/

solarisoriginonlineFfile:

///export/repoSolaris11/

Step5:

Installztest1zone

root@solaris#zoneadm-zztest1install

/rpool/ztest1mustnotbegroupreadable.

/rpool/ztest1mustnotbegroupexecutable.

/rpool/ztest1mustnotbeworldreadable.

/rpool/ztest1mustnotbeworldexecutable.

changingzonepathpermissionsto0700.

Progressbeingloggedto/var/log/zones/zoneadm.20160105T044843Z.ztest1.install

Image:

Preparingat/rpool/ztest1/root.

InstallLog:

/system/volatile/install.3746/install_log

AIManifest:

/tmp/manifest.xml.dRaWsh

SCProfile:

/usr/share/auto_install/sc_profiles/enable_sci.xml

Zonename:

ztest1

Installation:

Starting…

CreatingIPSimage

Startuplinked:

1/1done

Installingpackagesfrom:

solaris

origin:

http:

//localhost:

1008/solaris/91b04f12f39930ae8e27f5636b7a342e8f460133/

origin:

http:

//localhost:

1008/solaris/99ad5cedc1722d9a912108715ec73749b3c0aafa/

DOWNLOADPKGSFILESXFER(MB)SPEED

Completed280/28053263/53263353.2/353.21.1M/s

PHASEITEMS

Installingnewactions71200/71200

UpdatingpackagestatedatabaseDone

Updatingpackagecache0/0

UpdatingimagestateDone

CreatingfastlookupdatabaseDone

Updatingpackagecache1/1

Installation:

Succeeded

Note:

Manpagescanbeobtainedbyinstallingpkg:

/system/manual

done.

Done:

Installationcompletedin429.364seconds.

NextSteps:

Bootthezone,thenlogintothezoneconsole(zlogin-C)

tocompletetheconfigurationprocess.

Logsavedinnon-globalzoneas/rpool/ztest1/root/var/log/zones/zoneadm.20160105T044843Z.ztest1.install

Step6:

Nowzonestatuswillbeinstalled

root@solaris#zoneadmlist-icv

IDNAMESTATUSPATHBRANDIP

0globalrunning/solarisshared

–ztest1installed/rpool/ztest1solarisexcl

Step7:

Nowwewillseethatfilesystemhasbeencreatedunderztest1pool

root@solaris#zfslist|grepztest

rpool/ztest1680M317G32K/rpool/ztest1

rpool/ztest1/rpool680M317G31K/rpool

rpool/ztest1/rpool/ROOT680M317G31Klegacy

rpool/ztest1/rpool/ROOT/solaris680M317G637M/rpool/ztest1/root

rpool/ztest1/rpool/ROOT/solaris/var43.6M317G42.7M/rpool/ztest1/root/var

rpool/ztest1/rpool/VARSHARE31K317G31K/var/share

rpool/ztest1/rpool/export62K317G31K/export

rpool/ztest1/rpool/export/home31K317G31K/export/home

root@solaris#

Step8:

Bootthezonebyzoneadmcommand

root@solaris#zoneadm-zztest1boot

Step9:

StartXmanagerforOSinstallation

AfterthatOSinstallationwillstartRebootthesystemwhenitsFinish.

Step10:

ChecktheZonestatus

root@solaris#zoneadmlist-icv

IDNAMESTATUSPATHBRANDIP

0globalrunning/solarisshared

1ztest1running/rpool/ztest1solarisexcl

Step11:

Wecanlogintozoneconsolebyzlogin-C

root@solaris#zlogin-Cztest1

[Connectedtozone‘ztest1’console]

ztest1consolelogin:

root

Password:

Lastlogin:

TueJan511:

09:

44onconsole

Jan511:

11:

11ztest1login:

ROOTLOGIN/dev/console

OracleCorporationSunOS5.1111.2March2015

root@ztest1:

~#

[Exitfromzoneuse~.]

Step12:

Checkzoneinformation

root@solaris#dladmshow-link

LINKCLASSMTUSTATEOVER

net0phys1500up—

net1phys1500unknown—

ztest1/net0vnic1500upnet0

root@solaris#zloginztest1

[Connectedtozone‘ztest1’pts/4]OracleCorporationSunOS5.1111.2March2015

root@ztest1:

~#dladmshow-link

LINKCLASSMTUSTATEOVER

net0vnic1500up?

root@ztest1:

~#

root@ztest1:

~#ipadmshow-addr

ADDROBJTYPESTATEADDR

lo0/v4staticok127.0.0.1/8

net0/v4staticok192.168.20.69/24

lo0/v6staticok:

:

1/128

net0/v6addrconfokfe80:

:

8:

20ff:

fe0f:

e570/10

root@ztest1:

~#uname-a

SunOSztest15.1111.2i86pci386i86pc

root@ztest1:

~#ifconfig-a

lo0:

flags=2001000849mtu8232index1

inet127.0.0.1netmaskff000000

net0:

flags=100001000843mtu1500index2

inet192.168.20.69netmaskffffff00broadcast192.168.20.255

ether2:

8:

20:

f:

e5:

70

lo0:

flags=2002000849mtu8252index1

inet6:

:

1/128

net0:

flags=120002004841mtu1500index2

inet6fe80:

:

8:

20ff:

fe0f:

e570/10

ether2:

8:

20:

f:

e5:

70

root@ztest1:

~#zfslist

NAMEUSEDAVAILREFERMOUNTPOINT

rpool711M317G31K/rpool

rpool/ROOT710M317G31Klegacy

rpool/ROOT/solaris710M317G666M/

rpool/ROOT/solaris/var43.8M317G42.8M/var

rpool/VARSHARE992K317G929K/var/share

rpool/VARSHARE/pkg63K317G32K/var/share/pkg

rpool/VARSHARE/pkg/repositories31K317G31K/var/share/pkg/repositories

rpool/export63K317G32K/export

rpool/export/home31K317G31K/export/home

root@ztest1:

~#exit

logout

[Connectiontozone‘ztest1’pts/4closed]root@solaris#zonecfg-zztest1info

zonename:

ztest1

zonepath:

/rpool/ztest1

brand:

solaris

autoboot:

true

autoshutdown:

shutdown

bootargs:

-mverbose

file-mac-profile:

pool:

limitpriv:

scheduling-class:

ip-type:

exclusive

hostid:

tenant:

fs-allowed:

anet:

linkname:

net0

lower-link:

auto

allowed-addressnotspecified

configure-allowed-address:

true

defrouternotspecified

allowed-dhcp-cidsnotspecified

link-protection:

mac-nospoof

mac-address:

auto

auto-mac-address:

2:

8:

20:

f:

e5:

70

mac-prefixnotspecified

mac-slotnotspecified

vlan-idnotspecified

prioritynotspecified

rxringsnotspecified

txringsnotspecified

mtunotspecified

maxbwnotspecified

bwsharenotspecified

rxfanoutnotspecified

vsi-typeidnotspecified

vsi-versnotspecified

vsi-mgridnotspecified

etsbw-lclnotspecified

cosnotspecified

pkeynotspecified

linkmodenotspecified

evsnotspecified

vportnotspecified

root@solaris#

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 成人教育 > 电大

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2