Visit Our UNIX and Linux User Community


Solaris Zones: traps and pitfalls


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris Zones: traps and pitfalls
# 1  
Old 08-09-2013
Solaris Zones: traps and pitfalls

Hi all Solaris Experts,

What are the traps and pitfalls in using Solaris zones?

Specifically, what tools, utilities, system calls don't work or work differently in a non-global zone?

I'm new to zones and I've already encountered one difference which is very significant to me:
orphan processes have PPID of 1 in global zone, while in non-global zone, it's the pid of zsched process.

This by itself will prevent one of my systems to be converted into a zone.
I'm wondering what other differences are there.

Is there a document or web site that lists such issues?

Thanks for your help.
# 2  
Old 08-09-2013
There undoubtedly many differences but why didn't you try to fix or workaround the application that expects orphaned process to be reparented by PID 1 instead of giving up ?
# 3  
Old 08-09-2013
This User Gave Thanks to bartus11 For This Post:
# 4  
Old 08-12-2013
Quote:
Originally Posted by jlliagre
There undoubtedly many differences but why didn't you try to fix or workaround the application that expects orphaned process to be reparented by PID 1 instead of giving up ?
It's not a question of giving up.

Of course it can be fixed, but, when it's fixed, it becomes a new system, customized for the new environment, i.e. the existing system can not be moved into a non-global zone.

---------- Post updated at 07:31 AM ---------- Previous update was at 07:25 AM ----------

Thanks!

I'm looking for more fine grained info.

I did run the zonep2vchk against my existing systems, and it did point a few things, like priocntl and msgctl; but I'm afraid I might miss more.
# 5  
Old 08-12-2013
Quote:
Originally Posted by ad101
It's not a question of giving up.

Of course it can be fixed, but, when it's fixed, it becomes a new system, customized for the new environment, i.e. the existing system can not be moved into a non-global zone.
If you don't want to adapt your application to the zone specific behavior, I have no doubt there are ways to workaround the issue without touching it.
This User Gave Thanks to jlliagre For This Post:
# 6  
Old 08-13-2013
It is not recomended to use tapes from a zone. For example we use NetBackup to backup out servers and it is recommended that the program run on the global zone. They also recommend not using a zone to connect to tapes.
This User Gave Thanks to bitlord For This Post:

Previous Thread | Next Thread
Test Your Knowledge in Computers #872
Difficulty: Medium
In computer science, self-modifying code is code that alters its own instructions while it is executing.
True or False?

10 More Discussions You Might Find Interesting

1. Solaris

Migration of Solaris 10 on physical host to Solaris Zones

Hi All Kindly let me know how can I move Solaris 10 OS running update 10 on physical machine to another machine solaris zone running Solaris 10 update 11 (2 Replies)
Discussion started by: amity
2 Replies

2. Solaris

Solaris zones

Hi guys and gals, Does anyone know how to import solaris zones from the xml files that sit in /etc/zones? I want the zones from one machine to another, all I have is the XML files for the zones, so I can't export them first. Thanks in advance Martin (1 Reply)
Discussion started by: callmebob
1 Replies

3. Solaris

Solaris Zones

Hi friends, Actually I faced problem in solaris zone. i was created 4 zones on my server. but one of them is not working ? so, where i wll get the error logs, and how to troubleshoot the problem. i have some kind of urgency. Please reply. (2 Replies)
Discussion started by: rajaramrnb
2 Replies

4. UNIX for Dummies Questions & Answers

Solaris Zones

Hi Guys, I haven't worked on solaris zones earlier. I have a query regarding the zones. We have MQ software installed on a solaris container. I am not sure on which zone this s/w is intalled. I have logged into this container via putty. When I search for the package, I got the package... (7 Replies)
Discussion started by: vandi
7 Replies

5. Infrastructure Monitoring

Sun Solaris 9 Traps Contain Multiple Alarms

Hi all, I have a Sun Solaris 9 box which acts as a firewall. Sometimes if multiple actions which cause snmp traps occur very close together, a single snmp trap that is sent containing the text for multiple alarms. I would like to prevent that and have a trap sent for each action which would... (0 Replies)
Discussion started by: g0ld2k
0 Replies

6. Solaris

Solaris Zones

Hi Every, I would like to know some questions on Zones??? 1.what are types of zones we can install in global zone??? 2.Exact difference between sparce root and whole root??? 3.can we change the ip address of a running zone??? 4.how to find our in which zone we are running and how many... (8 Replies)
Discussion started by: tirupathiraju_t
8 Replies

7. 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

8. Solaris

Solaris zones

Hi All, I am getting zone error # /usr/sbin/zoneadm -z asflxpoc1 boot -s could not verify net address=169.185.246.229 physical=ce0: No such device or address could not verify net address=169.185.246.230 physical=ce0: No such device or address Any ideas for this error message. The... (13 Replies)
Discussion started by: jegaraman
13 Replies

9. Solaris

List of SNMP Traps supported by Solaris 10

Hi, I want the list of SNMP traps supported by Solaris 10. DO anyone has the list prepared. Regards, Rajesh (1 Reply)
Discussion started by: grrajeish
1 Replies

10. UNIX for Advanced & Expert Users

Solaris Zones

okay people i need some help: i was able to configure zones on my solaris 10 server, the problem is I can't ssh into the zones!!! I can zlogin -C zone2 successfully for both zones. Am I missing something? I can ping the zones, but can't ssh. From the zones, I can ping my global server. (7 Replies)
Discussion started by: Sarccastik Dude
7 Replies

Featured Tech Videos