Restore Zones With Archiveadm

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 17

Xshell for Xmanager Enterprise 5 (Build 0517)

Copyright (c) 2002-2014 NetSarang Computer, Inc. All rights reserved.

Type `help' to learn how to use Xshell prompt.


[c:\~]$

Connecting to 192.168.1.151:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

Last login: Tue Dec 1 14:17:50 2020 from 192.168.1.139


Oracle Corporation SunOS 5.11 11.3 September 2015
root@solaris113:~# bash
root@solaris113:~#
root@solaris113:~# df -kh
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris 274G 4.7G 240G 2% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 47G 1.7M 47G 1% /system/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap2.so.1
244G 4.7G 240G 2% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
rpool/ROOT/solaris/var
274G 315M 240G 1% /var
swap 47G 20K 47G 1% /tmp
rpool/VARSHARE 274G 48K 240G 1% /var/share
rpool/export 274G 32K 240G 1% /export
rpool/export/home 274G 32K 240G 1% /export/home
rpool/export/home/rahman
274G 765K 240G 1% /export/home/rahman
rpool 274G 4.8M 240G 1% /rpool
rpool/VARSHARE/zones 274G 31K 240G 1% /system/zones
rpool/VARSHARE/pkg 274G 32K 240G 1% /var/share/pkg
rpool/VARSHARE/pkg/repositories
274G 31K 240G 1% /var/share/pkg/repositories
192.168.1.139:/ 13G 5.7G 7.8G 42% /net/192.168.1.139
192.168.1.139:/repoincsol11.3.35
50G 9.4G 41G 19%
/net/192.168.1.139/repoincsol11.3.35
rpool/repobase 274G 31K 240G 1% /repobase
rpool/repoinc35 274G 31K 240G 1% /repoinc35
root@solaris113:~# cd net
bash: cd: net: No such file or directory
root@solaris113:~# cd /
root@solaris113:/# cd net/192.168.1.139
root@solaris113:/net/192.168.1.139# ls
base data publisher repo
repobasesol11.3 repobasesoll11.4 repoincsol11.3.35 repoincsol11.30
repoincsoll11.4
root@solaris113:/net/192.168.1.139# cd repobasesol11.3
root@solaris113:/net/192.168.1.139/repobasesol11.3# df -kh
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris 274G 4.7G 240G 2% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 47G 1.7M 47G 1% /system/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap2.so.1
244G 4.7G 240G 2% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
rpool/ROOT/solaris/var
274G 315M 240G 1% /var
swap 47G 20K 47G 1% /tmp
rpool/VARSHARE 274G 48K 240G 1% /var/share
rpool/export 274G 32K 240G 1% /export
rpool/export/home 274G 32K 240G 1% /export/home
rpool/export/home/rahman
274G 765K 240G 1% /export/home/rahman
rpool 274G 4.8M 240G 1% /rpool
rpool/VARSHARE/zones 274G 31K 240G 1% /system/zones
rpool/VARSHARE/pkg 274G 32K 240G 1% /var/share/pkg
rpool/VARSHARE/pkg/repositories
274G 31K 240G 1% /var/share/pkg/repositories
192.168.1.139:/ 13G 5.7G 7.8G 42% /net/192.168.1.139
192.168.1.139:/repoincsol11.3.35
50G 9.4G 41G 19%
/net/192.168.1.139/repoincsol11.3.35
rpool/repobase 274G 31K 240G 1% /repobase
rpool/repoinc35 274G 31K 240G 1% /repoinc35
192.168.1.139:/repobasesol11.3
50G 9.4G 41G 19%
/net/192.168.1.139/repobasesol11.3
root@solaris113:/net/192.168.1.139/repobasesol11.3# cd /
root@solaris113:/# pkg set-publisher -G "*" -g
file:///net/192.168.1.139/repobasesol11.3 solaris
root@solaris113:/# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F
file:///net/192.168.1.139/repobasesol11.3/
root@solaris113:/# pkg set-publisher -g file:///net/192.168.1.139/repoincsol11.3.35
solaris
root@solaris113:/#
root@solaris113:/# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F
file:///net/192.168.1.139/repobasesol11.3/
solaris origin online F
file:///net/192.168.1.139/repoincsol11.3.35/
root@solaris113:/# pkgrepo refresh -s /file:///net/192.168.1.139/repobasesol11.3/
pkgrepo: file protocol error: code: 22 reason: The path
'/file:/net/192.168.1.139/repobasesol11.3' does not contain a valid package
repository.
Repository URL: 'file:///file:///net/192.168.1.139/repobasesol11.3'.
root@solaris113:/# pkgrepo list -s file:///net/192.168.1.139/repobasesol11.3/
solaris
PUBLISHER NAME O VERSION
solaris system/zones/brand/solaris r 0.5.11,5.11-
0.173.0.0.0.1.0:20110826T190028Z
root@solaris113:/# pkgrepo list -s file:///net/192.168.1.139/repoincsol11.3.35/
solaris
PUBLISHER NAME O VERSION

pkgrepo list: The following pattern(s) did not match any packages:
solaris
root@solaris113:/#
root@solaris113:/# pkg list -af entire
NAME (PUBLISHER) VERSION IFO
entire 0.5.11-0.175.3.35.0.6.0 ---
entire 0.5.11-0.175.3.1.0.5.0 i--
root@solaris113:/#
root@solaris113:/# pkg update
------------------------------------------------------------
Package: pkg://solaris/consolidation/osnet/[email protected],5.11-
0.175.3.35.0.6.0:20180810T151331Z
License: lic_OTN

You acknowledge that your use of this Oracle Solaris software product
is subject to, and may not exceed the use for which you are authorized,
(i) the license or cloud services terms that you accepted when you
obtained the right to use Oracle Solaris software; or (ii) the license
terms that you agreed to when you placed your Oracle Solaris software
order with Oracle; or (iii) the Oracle Solaris software license terms
included with the hardware that you acquired from Oracle; or, if (i),
(ii) or (iii) are not applicable, then, (iv) the OTN License Agreement
for Oracle Solaris (which you acknowledge you have read and agree to)
available at
http://www.oracle.com/technetwork/licenses/solaris-cluster-express-license-
167852.html.
Note: Software downloaded for trial use or downloaded as replacement
media may not be used to update any unsupported software.

Packages to remove: 39
Packages to install: 25
Packages to update: 579
Packages to change: 1
Mediators to change: 1
Create boot environment: Yes
Create backup boot environment: No

Release Notes:

Requirements to transition from one version of OpenLDAP to another.

_Only required if the system is being used as an OpenLDAP server._

Ordinarily a system is being used as an OpenLDAP server when SMF service


instance ldap/server is enabled and online.

For further information refer to instructions in


/usr/share/doc/release-notes/openldap-transition.txt

NOTE: In the event a new BE was created, you will need to mount it
(see beadm(1M)) in order to refer to the instructions.
pkg: The following packages require their licenses to be accepted before they can
be installed or updated:
----------------------------------------
Package: pkg://solaris/consolidation/osnet/[email protected],5.11-
0.175.3.35.0.6.0:20180810T151331Z

License: lic_OTN
License requires acceptance.

To indicate that you agree to and accept the terms of the licenses of the packages
listed above, use the --accept option. To display all of the related licenses, use
the --licenses option.
root@solaris113:/# beadm list
BE Flags Mountpoint Space Policy Created
-- ----- ---------- ----- ------ -------
solaris NR / 5.90G static 2020-12-01 12:22
root@solaris113:/# pkg update --accept
------------------------------------------------------------
Package: pkg://solaris/consolidation/osnet/[email protected],5.11-
0.175.3.35.0.6.0:20180810T151331Z
License: lic_OTN

You acknowledge that your use of this Oracle Solaris software product
is subject to, and may not exceed the use for which you are authorized,
(i) the license or cloud services terms that you accepted when you
obtained the right to use Oracle Solaris software; or (ii) the license
terms that you agreed to when you placed your Oracle Solaris software
order with Oracle; or (iii) the Oracle Solaris software license terms
included with the hardware that you acquired from Oracle; or, if (i),
(ii) or (iii) are not applicable, then, (iv) the OTN License Agreement
for Oracle Solaris (which you acknowledge you have read and agree to)
available at
http://www.oracle.com/technetwork/licenses/solaris-cluster-express-license-
167852.html.
Note: Software downloaded for trial use or downloaded as replacement
media may not be used to update any unsupported software.

Packages to remove: 39
Packages to install: 25
Packages to update: 579
Packages to change: 1
Mediators to change: 1
Create boot environment: Yes
Create backup boot environment: No

Release Notes:

Requirements to transition from one version of OpenLDAP to another.

_Only required if the system is being used as an OpenLDAP server._

Ordinarily a system is being used as an OpenLDAP server when SMF service


instance ldap/server is enabled and online.

For further information refer to instructions in


/usr/share/doc/release-notes/openldap-transition.txt
NOTE: In the event a new BE was created, you will need to mount it
(see beadm(1M)) in order to refer to the instructions.

DOWNLOAD PKGS FILES XFER (MB) SPEED


Completed 644/644 37264/37264 1015/1015 0B/s

PHASE ITEMS
Removing old actions 20676/20676
Installing new actions 22441/22441
Updating modified actions 24218/24218
Updating package state database Done
Updating package cache 618/618
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1

A clone of solaris exists and has been updated and activated.


On the next boot the Boot Environment solaris-1 will be
mounted on '/'. Reboot when ready to switch to this updated BE.

Updating package cache 1/1

---------------------------------------------------------------------------
NOTE: Please review release notes posted at:

http://www.oracle.com/pls/topic/lookup?ctx=solaris11&id=SERNS
---------------------------------------------------------------------------

root@solaris113:/# beadm list


BE Flags Mountpoint Space Policy Created
-- ----- ---------- ----- ------ -------
solaris N / 184.0K static 2020-12-01 12:22
solaris-1 R - 9.24G static 2020-12-01 14:52
root@solaris113:/# reboot

Connection closed by foreign host.

Disconnected from remote host(192.168.1.151:22) at 15:16:58.

Type `help' to learn how to use Xshell prompt.


[c:\~]$ ssh [email protected]

Connecting to 192.168.1.151:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

Last login: Tue Dec 1 14:34:15 2020 from 192.168.1.155


Oracle Corporation SunOS 5.11 11.3 July 2018
root@solaris113:~# bash
root@solaris113:~#
root@solaris113:~# pkg list entire
NAME (PUBLISHER) VERSION IFO
entire 0.5.11-0.175.3.35.0.6.0 i--
root@solaris113:~# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F
file:///net/192.168.1.139/repobasesol11.3/
solaris origin online F
file:///net/192.168.1.139/repoincsol11.3.35/
root@solaris113:~# pkgrepo list -s file:///net/192.168.1.139/repobasesol11.3/
solaris
PUBLISHER NAME O VERSION
solaris system/zones/brand/solaris r 0.5.11,5.11-
0.173.0.0.0.1.0:20110826T190028Z
root@solaris113:~# df -kh
Filesystem Size Used Available Capacity Mounted on
rpool/ROOT/solaris-1 274G 5.2G 236G 3% /
/devices 0K 0K 0K 0% /devices
/dev 0K 0K 0K 0% /dev
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 46G 828K 46G 1% /system/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
rpool/ROOT/solaris-1/var
274G 265M 236G 1% /var
/usr/lib/libc/libc_hwcap2.so.1
241G 5.2G 236G 3% /lib/libc.so.1
fd 0K 0K 0K 0% /dev/fd
swap 46G 20K 46G 1% /tmp
rpool/VARSHARE 274G 48K 236G 1% /var/share
rpool/VARSHARE/zones 274G 31K 236G 1% /system/zones
rpool/export 274G 32K 236G 1% /export
rpool/export/home 274G 32K 236G 1% /export/home
rpool/export/home/rahman
274G 765K 236G 1% /export/home/rahman
rpool/repobase 274G 31K 236G 1% /repobase
rpool/repoinc35 274G 31K 236G 1% /repoinc35
rpool 274G 3.9M 236G 1% /rpool
rpool/VARSHARE/pkg 274G 32K 236G 1% /var/share/pkg
rpool/VARSHARE/pkg/repositories
274G 31K 236G 1% /var/share/pkg/repositories
192.168.1.139:/ 13G 5.7G 7.8G 42% /net/192.168.1.139
192.168.1.139:/repobasesol11.3
50G 9.4G 41G 19%
/net/192.168.1.139/repobasesol11.3
root@solaris113:~# Dec 1 16:11:14 solaris113 sendmail[2357]: [ID 702911
mail.alert] unable to qualify my own domain name (solaris113) -- using short name

Connection closed by foreign host.

Disconnected from remote host(192.168.1.151:22) at 16:08:33.

Type `help' to learn how to use Xshell prompt.


[c:\~]$ ssh [email protected]

Connecting to 192.168.1.151:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

Last login: Tue Dec 1 16:26:20 2020 from 192.168.1.155


Oracle Corporation SunOS 5.11 11.3 July 2018
root@solaris113:~# bash
root@solaris113:~# uptime
4:26pm up 1:04, 4 users, load average: 0.16, 0.05, 0.04
root@solaris113:~# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F
file:///net/192.168.1.139/repobasesol11.3/
solaris origin online F
file:///net/192.168.1.139/repoincsol11.3.35/
root@solaris113:~# pwd
/root
root@solaris113:~# cd /
root@solaris113:/# cd media
root@solaris113:/media# ls
reflexmasspapp17.uar
root@solaris113:/media# cd /
root@solaris113:/# Dec 1 16:27:16 solaris113 sendmail[3079]: [ID 702911
mail.alert] unable to qualify my own domain name (solaris113) -- using short name

root@solaris113:/#
root@solaris113:/#
root@solaris113:/#
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# uname -ai
SunOS solaris113 5.11 11.3 i86pc i386 i86pc
root@solaris113:/#
root@solaris113:/# prtdiag -v|more
System Configuration: Sun Microsystems Sun Fire X4440
BIOS Configuration: American Megatrends Inc. 0ABMN068 10/26/2009
BMC Configuration: IPMI 2.0 (KCS: Keyboard Controller Style)

==== Processor Sockets ====================================

Version Location Tag


-------------------------------- --------------------------
Quad-Core AMD Opteron(tm) Processor 8360 SE CPU 1
Quad-Core AMD Opteron(tm) Processor 8360 SE CPU 2

==== Memory Device Sockets ================================

Type Status Set Device Locator Bank Locator


----------- ------ --- ------------------- ----------------
unknown empty 0 DIMM0 BANK0
unknown empty 0 DIMM1 BANK1
DDR2 in use 0 DIMM2 BANK2
DDR2 in use 0 DIMM3 BANK3
DDR2 in use 0 DIMM4 BANK4
DDR2 in use 0 DIMM5 BANK5
DDR2 in use 0 DIMM6 BANK6
DDR2 in use 0 DIMM7 BANK7
unknown empty 0 DIMM8 BANK8
unknown empty 0 DIMM9 BANK9
DDR2 in use 0 DIMM10 BANK10
DDR2 in use 0 DIMM11 BANK11
DDR2 in use 0 DIMM12 BANK12
DDR2 in use 0 DIMM13 BANK13
DDR2 in use 0 DIMM14 BANK14
DDR2 in use 0 DIMM15 BANK15

==== On-Board Devices =====================================


Gigabit Ethernet #1
Gigabit Ethernet #2
Gigabit Ethernet #3
Gigabit Ethernet #4
AST2000 VGA

==== Upgradeable Slots ====================================

ID Status Type Description


--- --------- ---------------- ----------------------------
0 available PCI Express PCIExp SLOT0
1 available PCI Express PCIExp SLOT1
2 available PCI Express PCIExp SLOT2
3 in use PCI Express PCIExp SLOT3
4 available PCI Express PCIExp SLOT4
5 available PCI Express PCIExp SLOT5
root@solaris113:/#
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zoneadm list
global
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zonecfg -z reflexmasspapp17 create -a
/media/reflexmasspapp17.uar
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
- reflexmasspapp17 configured /zones/reflexmasspapp17 solaris excl
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zoneadm -z reflexmasspapp17 install
zoneadm: zone reflexmasspapp17: WARNING: Skipping network interface: net resource
for 'reflexmasspapp17_0_196': unable to find physical 'reflexmasspapp17_0_196':
object not found.
zoneadm: zone reflexmasspapp17: WARNING: Skipping network interface: net resource
for 'reflexmasspapp17_1_196': unable to find physical 'reflexmasspapp17_1_196':
object not found.
zoneadm: zone reflexmasspapp17: verifying fs /logs failed: could not access zfs
dataset 'reflexmasspapp17_logs': filesystem does not exist
zoneadm: zone reflexmasspapp17: verifying fs /apps failed: could not access zfs
dataset 'reflexmasspapp17_apps': filesystem does not exist
zoneadm: zone reflexmasspapp17 failed to verify
root@solaris113:/#
root@solaris113:/# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
- reflexmasspapp17 configured /zones/reflexmasspapp17 solaris excl
root@solaris113:/#
root@solaris113:/# zonecfg -z reflexmasspapp17
zonecfg:reflexmasspapp17> info
zonename: reflexmasspapp17
zonepath: /zones/reflexmasspapp17
brand: solaris
autoboot: true
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
tenant:
fs-allowed:
fs 0:
dir: /logs
special: reflexmasspapp17_logs
raw not specified
type: zfs
options: []
fs 1:
dir: /apps
special: reflexmasspapp17_apps
raw not specified
type: zfs
options: []
net 0:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: reflexmasspapp17_0_196
defrouter not specified
net 1:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: reflexmasspapp17_1_196
defrouter not specified
dedicated-cpu:
ncpus: 8
cpus not specified
cores not specified
sockets not specified
capped-memory:
physical: 20G
[swap: 40G]
rctl 0:
name: zone.max-swap
value: (priv=privileged,limit=42949672960,action=deny)
zonecfg:reflexmasspapp17> remove net 1
zonecfg:reflexmasspapp17> info
zonename: reflexmasspapp17
zonepath: /zones/reflexmasspapp17
brand: solaris
autoboot: true
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
tenant:
fs-allowed:
fs 0:
dir: /logs
special: reflexmasspapp17_logs
raw not specified
type: zfs
options: []
fs 1:
dir: /apps
special: reflexmasspapp17_apps
raw not specified
type: zfs
options: []
net 0:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: reflexmasspapp17_0_196
defrouter not specified
dedicated-cpu:
ncpus: 8
cpus not specified
cores not specified
sockets not specified
capped-memory:
physical: 20G
[swap: 40G]
rctl 0:
name: zone.max-swap
value: (priv=privileged,limit=42949672960,action=deny)
zonecfg:reflexmasspapp17> remove fs 0
zonecfg:reflexmasspapp17> remove fs 1
zonecfg:reflexmasspapp17> info
zonename: reflexmasspapp17
zonepath: /zones/reflexmasspapp17
brand: solaris
autoboot: true
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
tenant:
fs-allowed:
net 0:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: reflexmasspapp17_0_196
defrouter not specified
dedicated-cpu:
ncpus: 8
cpus not specified
cores not specified
sockets not specified
capped-memory:
physical: 20G
[swap: 40G]
rctl 0:
name: zone.max-swap
value: (priv=privileged,limit=42949672960,action=deny)
zonecfg:reflexmasspapp17>
zonecfg:reflexmasspapp17>
zonecfg:reflexmasspapp17>
zonecfg:reflexmasspapp17> select net 0
zonecfg:reflexmasspapp17:net> info
net 0:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: reflexmasspapp17_0_196
defrouter not specified
zonecfg:reflexmasspapp17:net>
zonecfg:reflexmasspapp17:net> set physical=net0
zonecfg:reflexmasspapp17:net> info
net 0:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: net0
defrouter not specified
zonecfg:reflexmasspapp17:net>
zonecfg:reflexmasspapp17:net> end
zonecfg:reflexmasspapp17> commit
zonecfg:reflexmasspapp17>
zonecfg:reflexmasspapp17>
zonecfg:reflexmasspapp17> info
zonename: reflexmasspapp17
zonepath: /zones/reflexmasspapp17
brand: solaris
autoboot: true
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
tenant:
fs-allowed:
net 0:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: net0
defrouter not specified
dedicated-cpu:
ncpus: 8
cpus not specified
cores not specified
sockets not specified
capped-memory:
physical: 20G
[swap: 40G]
rctl 0:
name: zone.max-swap
value: (priv=privileged,limit=42949672960,action=deny)
zonecfg:reflexmasspapp17> exit
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zoneadm -z reflexmasspapp17 install
zoneadm: zone reflexmasspapp17: WARNING: Skipping network interface: interface
'net0' is used in the global zone.
The following ZFS file system(s) have been created:
rpool/zones
rpool/zones/reflexmasspapp17
Progress being logged to
/var/log/zones/zoneadm.20201201T093724Z.reflexmasspapp17.install
Image: Preparing at /zones/reflexmasspapp17/root.

Install Log: /system/volatile/install.4153/install_log


AI Manifest: /tmp/manifest.xml.2e6Svc
SC Profile: /usr/share/auto_install/sc_profiles/enable_sci.xml
Zonename: reflexmasspapp17
Installation: Starting ...

Creating IPS image


Startup linked: 1/1 done
Installing packages from:
solaris
origin:
http://localhost:1008/solaris/0bd9d0b4a5a73c62583eb29f7a484bcb2e0beb0b/
origin:
http://localhost:1008/solaris/4cc6c8d54ba059fbe529e17e6ea571e178aad5cc/
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 270/270 52336/52336 475.2/475.2 460k/s

PHASE ITEMS
Installing new actions 70213/70213
Updating package state database Done
Updating package cache 0/0
Updating image state Done
Creating fast lookup database Done
Updating package cache 1/1
Installation: Succeeded

Note: Man pages can be obtained by installing pkg:/system/manual

done.

Done: Installation completed in 1247.626 seconds.

Next Steps: Boot the zone, then log into the zone console (zlogin -C)

to complete the configuration process.

Log saved in non-global zone as


/zones/reflexmasspapp17/root/var/log/zones/zoneadm.20201201T093724Z.reflexmasspapp1
7.install
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
- reflexmasspapp17 installed /zones/reflexmasspapp17 solaris excl
root@solaris113:/#
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zoneadm -z reflexmasspapp17 boot
zoneadm: zone reflexmasspapp17: WARNING: Skipping network interface: interface
'net0' is used in the global zone.
zone 'reflexmasspapp17': error: dedicated-cpu setting cannot be instantiated:
Invalid configuration
zone 'reflexmasspapp17': error: Error: Insufficient cpu resources exist to satisfy
all psets.
zoneadm: zone reflexmasspapp17: call to zoneadmd(1M) failed: zoneadmd(1M) returned
an error 9 (zone state change failed)
root@solaris113:/# zonecfg -z reflexmasspapp17
zonecfg:reflexmasspapp17> info
zonename: reflexmasspapp17
zonepath: /zones/reflexmasspapp17
brand: solaris
autoboot: true
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
tenant:
fs-allowed:
net 0:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: net0
defrouter not specified
dedicated-cpu:
ncpus: 8
cpus not specified
cores not specified
sockets not specified
capped-memory:
physical: 20G
[swap: 40G]
rctl 0:
name: zone.max-swap
value: (priv=privileged,limit=42949672960,action=deny)
zonecfg:reflexmasspapp17>
zonecfg:reflexmasspapp17> remove dedicated-cpu
zonecfg:reflexmasspapp17> info
zonename: reflexmasspapp17
zonepath: /zones/reflexmasspapp17
brand: solaris
autoboot: true
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
tenant:
fs-allowed:
net 0:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: net0
defrouter not specified
capped-memory:
physical: 20G
[swap: 40G]
rctl 0:
name: zone.max-swap
value: (priv=privileged,limit=42949672960,action=deny)
zonecfg:reflexmasspapp17> commit
zonecfg:reflexmasspapp17> verify
zonecfg:reflexmasspapp17> exit
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zoneadm -z reflexmasspapp17 boot
zoneadm: zone reflexmasspapp17: WARNING: Skipping network interface: interface
'net0' is used in the global zone.
zone 'reflexmasspapp17': warning: skipping network interface 'net0' which is used
in the global zone
zone 'reflexmasspapp17': error: failed to add network device
zoneadm: zone reflexmasspapp17: call to zoneadmd(1M) failed: zoneadmd(1M) returned
an error 9 (zone state change failed)
root@solaris113:/# zonecfg -z reflexmasspapp17
zonecfg:reflexmasspapp17> info
zonename: reflexmasspapp17
zonepath: /zones/reflexmasspapp17
brand: solaris
autoboot: true
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
tenant:
fs-allowed:
net 0:
address not specified
allowed-address not specified
configure-allowed-address: true
physical: net0
defrouter not specified
capped-memory:
physical: 20G
[swap: 40G]
rctl 0:
name: zone.max-swap
value: (priv=privileged,limit=42949672960,action=deny)
zonecfg:reflexmasspapp17> remove net 0
zonecfg:reflexmasspapp17> info
zonename: reflexmasspapp17
zonepath: /zones/reflexmasspapp17
brand: solaris
autoboot: true
autoshutdown: shutdown
bootargs:
file-mac-profile:
pool:
limitpriv:
scheduling-class:
ip-type: exclusive
hostid:
tenant:
fs-allowed:
capped-memory:
physical: 20G
[swap: 40G]
rctl 0:
name: zone.max-swap
value: (priv=privileged,limit=42949672960,action=deny)
zonecfg:reflexmasspapp17> commit
zonecfg:reflexmasspapp17> verify
zonecfg:reflexmasspapp17> exit
root@solaris113:/#
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zoneadm -z reflexmasspapp17 boot
root@solaris113:/# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
3 reflexmasspapp17 running /zones/reflexmasspapp17 solaris excl
root@solaris113:/# zlogin -C reflexmasspapp17
[Connected to zone 'reflexmasspapp17' console]
127/127
SC profile successfully generated as:
/etc/svc/profile/sysconfig/sysconfig-20201201-101332/sc_profile.xml

Exiting System Configuration Tool. Log is available at:


/system/volatile/sysconfig/sysconfig.log.8368
Hostname: reflexmasspapp17

reflexmasspapp17 console login: root


Password:
Dec 1 17:15:37 reflexmasspapp17 login: ROOT LOGIN /dev/console
Oracle Corporation SunOS 5.11 11.3 July 2018
root@reflexmasspapp17:~#
root@reflexmasspapp17:~#
root@reflexmasspapp17:~# bash
root@reflexmasspapp17:~#
root@reflexmasspapp17:~#
root@reflexmasspapp17:~#
root@reflexmasspapp17:~# cat /etc/passwd
root:x:0:0:Super-User:/root:/usr/bin/bash
daemon:x:1:1::/:
bin:x:2:2::/usr/bin:
sys:x:3:3::/:
adm:x:4:4:Admin:/var/adm:
lp:x:71:8:Line Printer Admin:/:
uucp:x:5:5:uucp Admin:/usr/lib/uucp:
nuucp:x:9:9:uucp Admin:/var/spool/uucppublic:/usr/lib/uucp/uucico
dladm:x:15:65:Datalink Admin:/:
netadm:x:16:65:Network Admin:/:
netcfg:x:17:65:Network Configuration Admin:/:
smmsp:x:25:25:SendMail Message Submission Program:/:
gdm:x:50:50:GDM Reserved UID:/var/lib/gdm:
zfssnap:x:51:12:ZFS Automatic Snapshots Reserved UID:/:/usr/bin/pfsh
upnp:x:52:52:UPnP Server Reserved UID:/var/coherence:/bin/ksh
xvm:x:60:60:xVM User:/:
mysql:x:70:70:MySQL Reserved UID:/:
openldap:x:75:75:OpenLDAP User:/:/usr/bin/pfbash
webservd:x:80:80:WebServer Reserved UID:/:
postgres:x:90:90:PostgreSQL Reserved UID:/:/usr/bin/pfksh
svctag:x:95:12:Service Tag UID:/:
unknown:x:96:96:Unknown Remote UID:/:
nobody:x:60001:60001:NFS Anonymous Access User:/:
noaccess:x:60002:60002:No Access User:/:
nobody4:x:65534:65534:SunOS 4.x NFS Anonymous Access User:/:
aiuser:x:61:61:AI User:/:
ikeuser:x:67:12:IKE Admin:/:
pkg5srv:x:97:97:pkg(5) server UID:/:
root@reflexmasspapp17:~#
root@reflexmasspapp17:~#
root@reflexmasspapp17:~# cat /etc/shadow
root:$5$b8guEY/N$rPNX1V/OJhHu7ZI0s9vl6vjg6nGIXG8GIK1Ymztcnf5:18597::::::
daemon:NP:6445::::::
bin:NP:6445::::::
sys:NP:6445::::::
adm:NP:6445::::::
lp:NP:6445::::::
uucp:NP:6445::::::
nuucp:NP:6445::::::
dladm:*LK*:18597::::::
netadm:*LK*:18597::::::
netcfg:*LK*:18597::::::
smmsp:NP:6445::::::
gdm:*LK*:::::::
zfssnap:NP:::::::
upnp:NP:::::::
xvm:*LK*:6445::::::
mysql:NP:::::::
openldap:NP:18597::::::
webservd:*LK*:::::::
postgres:NP:::::::
svctag:*LK*:6445::::::
unknown:*LK*:18597::::::
nobody:*LK*:6445::::::
noaccess:*LK*:6445::::::
nobody4:*LK*:6445::::::
aiuser:*LK*:18597::::::
ikeuser:*LK*:18597::::::
pkg5srv:NP:18597::::::
root@reflexmasspapp17:~#
root@reflexmasspapp17:~#
root@reflexmasspapp17:~# pwd
/root
root@reflexmasspapp17:~# cd /
root@reflexmasspapp17:/# zpool status
pool: rpool
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM


rpool ONLINE 0 0 0
c2t4d0s0 ONLINE 0 0 0

errors: No known data errors


root@reflexmasspapp17:/#
root@reflexmasspapp17:/#
root@reflexmasspapp17:/# ~.
[Connection to zone 'reflexmasspapp17' console closed]
root@solaris113:/# zoneadm list -cv
ID NAME STATUS PATH BRAND IP
0 global running / solaris shared
3 reflexmasspapp17 running /zones/reflexmasspapp17 solaris excl
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zlogin -c reflexmasspapp17
zlogin: illegal option -- c
usage: zlogin [ -dCESTU ] [ -e cmdchar ] [-l user] zonename [command [args ...] ]
root@solaris113:/#
root@solaris113:/#
root@solaris113:/# zlogin -z reflexmasspapp17
zlogin: illegal option -- z
usage: zlogin [ -dCESTU ] [ -e cmdchar ] [-l user] zonename [command [args ...] ]
root@solaris113:/# zlogin reflexmasspapp17
[Connected to zone 'reflexmasspapp17' pts/5]
Last login: Tue Dec 1 17:15:37 2020 on console
Oracle Corporation SunOS 5.11 11.3 July 2018
root@reflexmasspapp17:~#
root@reflexmasspapp17:~# ~.
[Connection to zone 'reflexmasspapp17' pts/5 closed]
root@solaris113:/#
root@solaris113:/#
root@solaris113:/#

You might also like