LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Is my solaris 10 with zones? (https://www.linuxquestions.org/questions/solaris-opensolaris-20/is-my-solaris-10-with-zones-416440/)

xpucto 02-17-2006 06:29 AM

Is my solaris 10 with zones?
 
How may I know whether my solaris 10 is with zones or not?
Thanks.

jlliagre 02-17-2006 07:28 AM

yes, you have at least the global zone.

"zoneadm list -c" will display existing zones.

javier.e.menendez 02-19-2006 07:27 AM

zoneadm list -iv is a nice command to use to see all the zones that you have and their state (running, installed, etc).

For every zone that you have, you expect to have an .xml file in the /etc/zones directory. You also have a file called index in that directory that contains a one liner for each zone. Don't edit that file directly though, it's updated by commands like zonecfg and zoneadm.

xpucto 02-21-2006 03:48 AM

Thanks for your answers. I'm asking because I want to install Sun Studio 11. In the documentation it says:
Quote:

if you are installing the product on a system that is running the solaris 10 OS with zones, you must install the solaris OS paches.
If I correctly understood solaris 10 is always with at least 1 global zone. Do they mean here any solaris 10 (with global zone) or solaris 10 with more than this standard global zone?
Thanks.

jlliagre 02-21-2006 04:09 AM

That means with more than the global zone.

Anyway, installing patches, especially O/S patches, is usually a good idea.

xpucto 02-21-2006 04:19 AM

Thanks for the answer.
Quote:

Originally Posted by jlliagre
That means with more than the global zone.

Anyway, installing patches, especially O/S patches, is usually a good idea.

Well, the thing is that the patch installation seems to be a bit complicated and I'm trying to keep things as simple as possible with solaris.

jlliagre 02-21-2006 05:00 AM

Quote:

Originally Posted by xpucto
Well, the thing is that the patch installation seems to be a bit complicated and I'm trying to keep things as simple as possible with solaris.

Installing a patch is a single command: "patchadd", not that complicated.

javier.e.menendez 02-26-2006 10:20 AM

When adding a patch in a system with zones, if you type patchadd patch_name_here, it will try to install the patch in the global zone and then push it to the non global zones. If you want to try to install it in the global zone only, use the -G option with patchadd. Then, it will not try to push it to the non-global zones.


All times are GMT -5. The time now is 12:03 AM.