Packages in zones


 
Thread Tools Search this Thread
Operating Systems Solaris Packages in zones
# 1  
Old 09-21-2011
Packages in zones

hello,
I have this problem. I'm trying to setup 2 zones on my server with different packages. I want one zone to have the package SUNlldap and the other zone to not have it. I don't care what's on the global zone. This package seems to be set to SUNW_PKG_ALLZONES=true. So It seems, that I have to have the package on all or none of the zones. How can I get around this problem? Can I set the SUNW_PKG_ALLZONES to false?

How can I set this up.

By the way this setup is for testing only. The zones are full root, running Solaris 10 10/09 s10s_u8a SPARC.

Thanks for your help
# 2  
Old 09-21-2011
Quote:
This package seems to be set to SUNW_PKG_ALLZONES=true. So It seems, that I have to have the package on all or none of the zones. How can I get around this problem? Can I set the SUNW_PKG_ALLZONES to false?
To save yourself the hassle it's not recommended to set SUNW_PKG_ALLZONES to false.
Otherwise you can pkgadd and pkgrm on non global zones.
refer to the following doc for adding packages under zones

Last edited by h@foorsa.biz; 09-21-2011 at 01:33 PM..
# 3  
Old 09-21-2011
h@foorsa.biz
I can not install or uninstall the package from just one of the zones. The link you gave me say this as well. I used pkgrm on the zone but I got an error saying I needed to do this in the global zone. So I removed the package from the global zone, which uninstalled it from all the zones on the server. I tryed to install the package with the -G option and got an error saying I had to install on all the zones.
Maybe I should see if I can disable the app on the test zone instead?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Zones

haven't work with zones in a while. when shutting down zones from solaris 10 I have to do it from the global zone, but can I just shutdown the global zone and all non global zones will shutdown or do I have to zoneadm -z zonename shutdown for all the non global zones ,then shutdown... (2 Replies)
Discussion started by: goya
2 Replies

2. Solaris

zones

how can we know zone is migrate and which files going to update (3 Replies)
Discussion started by: nsusheelgoud
3 Replies

3. Slackware

Find Slackware Packages - packages.acl.org.ua

Hi! Let me introduce a project for find and download Slackware packages and browse Slackware repositories. The site provides following features: * Large, daily updated database with RPM, DEB, TGZ, TXZ packages for well-known repositories of the Slackware, Fedora, CentOS, RHEL, Debian,... (2 Replies)
Discussion started by: lystor
2 Replies

4. Solaris

Zones

Hi Everyone, How to create a loopback filesystem in a running non golbalzone? and how to share a diskgroup in veritas ? Thanks & Regards Padmaja (1 Reply)
Discussion started by: padmaja
1 Replies

5. Solaris

Zones

Hi Everyone, I need the process of how to add a cpu to a non-global zone or how to add a resource to non-globalzone. Thanks & Regards Padmaja (2 Replies)
Discussion started by: padmaja
2 Replies

6. Solaris

Zones

Hi guys Im using VMware and ive installed solaris 10 in that..ive configured virtual disks in that n im using it..my question is if im gona configure zones in it do i need a seperate NIC card..my virtual interface name is pcn0 and if i create zones can i give pcn0:1 n allocate a seperate... (1 Reply)
Discussion started by: madanmeer
1 Replies

7. Solaris

zones

Hi I need a help in creating a zones.I am trying to create zone in Sun fire T1000 server with single cpu / 8 gb Ram / 73 gb hdd.I am planning to install java based application on two different zones. iam planning to install solaris 10. Can some one suggest what is the best way to create two... (5 Replies)
Discussion started by: solaris8in
5 Replies

8. Solaris

zones

what are the files related to dns zones database file management ? (1 Reply)
Discussion started by: tirupathi
1 Replies

9. Solaris

Regarding Solaris Zones

Hello All, I have a list of Local Zones in my list. I want to find out their Global Zone names exactly....I know the command "arp ..."But I dont know how to filter it correctly and find it out. Thanks in advance, Jacky (9 Replies)
Discussion started by: jegaraman
9 Replies

10. Solaris

Zones

Hi, I want to wheather there is any command by using that we can reboot all the zones , Example : I have 10 zones, I can reboot all 10 zones by using one command (2 Replies)
Discussion started by: manoj.solaris
2 Replies
Login or Register to Ask a Question