Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Solaris 11.# zone questions

Solaris


Reply    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 01-09-2017
fly3rs fly3rs is offline
Registered User
 
Join Date: Sep 2016
Last Activity: 26 January 2017, 1:35 PM EST
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Solaris 11.# zone questions

Hello,

I am working on building Solaris 11.3 system going to install it with SPARC 11.3 text iso then update system with 11.3 local IPS repo. Once that is all done my question is can I install non global zones on the system that are 11.0, 11.1, 11.2 and if so what is the best way to go about this? I can't seem to find any reasonable info or documentation. My guess is to copy over 11.0 IPS repo and activate it then try to install zone from that but if anyone has some solid advise that would be great.

Thanks in advance,

Steve
Sponsored Links
    #2  
Old Unix and Linux 01-09-2017
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 24 February 2017, 5:30 PM EST
Location: Outside Paris
Posts: 4,828
Thanks: 18
Thanked 612 Times in 538 Posts
I'd rather install Solaris 11.0 create a 11.0 zone then detach it, update to 11.1, create a 11.1 zone then detach it, update to 11.2, create/detach a 11.2 zone, update to 11.3, create a 11.3 zone and finally attach the three previously detached zones without updating them.

Alternatively, kernel zones can be used to install 11.2 and newer updates, and ldoms can install whatever Solaris release the hardware support.
The Following User Says Thank You to jlliagre For This Useful Post:
hicksd8 (01-10-2017)
Sponsored Links
    #3  
Old Unix and Linux 01-10-2017
fly3rs fly3rs is offline
Registered User
 
Join Date: Sep 2016
Last Activity: 26 January 2017, 1:35 PM EST
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks jlliagre,

That makes sense but I will be getting zone requests for 11.0 11.1 11.2 after the global zone is already at level 11.3 so this will not work for me.

thanks again for the response...
    #4  
Old Unix and Linux 01-10-2017
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlos
 
Join Date: Dec 2007
Last Activity: 24 February 2017, 5:30 PM EST
Location: Outside Paris
Posts: 4,828
Thanks: 18
Thanked 612 Times in 538 Posts
If I understand correctly "getting zone requests", you can definitely keep one zone of each kind as template and create the requested ones by cloning.
Sponsored Links
    #5  
Old Unix and Linux 01-13-2017
os2mac's Unix or Linux Image
os2mac os2mac is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 24 February 2017, 5:25 PM EST
Location: Anchorage, AK
Posts: 220
Thanks: 20
Thanked 20 Times in 20 Posts
The way we do this, is to build a zone, configure and harden it, zfs send it to a gzip file and then build new ones from there.

also you can build custom distros to include specific packages (one for DB servers, one for applications servers, etc).

Creating a Custom Oracle Solaris 11 Installation Image

with regards to creating a zone at a particular SRU level. You can easily do this with pkg update by updating your repo to the most current level then specifying the specific SRU you want to use I.E.


Code:
pkg update entire@0.5.11,5.11-0.175.3.10.0.5.0:20160706T18

Sponsored Links
    #6  
Old Unix and Linux 4 Weeks Ago
fly3rs fly3rs is offline
Registered User
 
Join Date: Sep 2016
Last Activity: 26 January 2017, 1:35 PM EST
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
OK I don't think I am explaining this correct. I have a Solaris 11.3 system fully patched. I need to create 11.0, 11.1 and 11.2 zones on the Global zone which is 11.3. I have 11.0 11.1 and 11.2 IPS repo's available on the system. When I try to create a new zone with the 11.0 IPS repo set in pkg publisher the zone install fails with this message:

Failed Checkpoints:

Checkpoint execution error:

The following pattern(s) did not match any allowable packages. Try
using a different matching pattern, or refreshing publisher information:

Installation: Failed. See install log at /system/volatile/install.24386/install_log
ERROR: auto-install failed.

I have already refreshed the publisher information to no avail.

I don't understand that if I have the 11.0 repo set in pkg publisher on the global zone why I can't install an 11.0 zone on the global zone??
Sponsored Links
    #7  
Old Unix and Linux 4 Weeks Ago
os2mac's Unix or Linux Image
os2mac os2mac is offline
Registered User
 
Join Date: Oct 2012
Last Activity: 24 February 2017, 5:25 PM EST
Location: Anchorage, AK
Posts: 220
Thanks: 20
Thanked 20 Times in 20 Posts
From my experience, when moving a zone from a global zone of a lesser patch level to a global zone of a higher patch level part of the process of attaching the zone is to bring the patch level up to that of the server. I.E. the zones are required to be at the level of the global zone.

another interesting corollary is that you can't do the opposite. I.E. you can't take a zone from a GZ of a higher patch level to the GZ of a lower patch level. It will fail to attach and give you a non-sensical error message.

So knowing all that, I would imagine that trying to install an 11.0 zone to an 11.3 GZ probably won't work.

so I have two additional questions for you,

#1. is this SPARC or X86?

#2. If SPARC, have you considered using LDOMs?
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone? custos UNIX for Advanced & Expert Users 2 10-06-2014 12:58 PM
Solaris 10 local zone on Solaris 11 global zone aixlover Solaris 5 01-25-2012 07:39 PM
Solaris Zone : Non global Zone check failed jegaraman Solaris 7 10-22-2008 04:31 AM
zone questions upengan78 Solaris 3 06-09-2008 03:35 PM



All times are GMT -4. The time now is 11:55 AM.