solaris containers/zones reboot order


 
Thread Tools Search this Thread
Operating Systems Solaris solaris containers/zones reboot order
# 1  
Old 08-07-2008
solaris containers/zones reboot order

Hi,

I'm running containers/zones on Solaris 10:

SunOS be2900 5.10 Generic_118833-33 sun4u sparc SUNW,Netra-T12

zoneadm list -vc gives:

ID NAME STATUS PATH
0 global running /
1 bvsmapp01 running /zones/bvsmapp01
2 bvsmapp04 running /zones/bvsmapp04
3 bvsmdb01 running /zones/bvsmdb01
4 bvsmapp03 running /zones/bvsmapp03
5 bvsmapp02 running /zones/bvsmapp02
6 bvsmapp05 running /zones/bvsmapp05

The zone ID 3 called bvsmdb01 is the database zone; this needs to be started up before all the other zones following a reboot. All the databases on bvsmdb01 (118 Oracle9i and Oracle10g databases) need to be started up and open before zones 1,2,4,5,6 are started. Otherwise the automatic startup of the applications on these zones will fail - they will not be able to connect to an open database.

All zones are currently set to automatically reboot.

How can I guarantee that the database zone is rebooted first following a full server reboot and that all the databases on that database zone are open and available before the other zones are rebooted?

Thanks,

Jabberwocky
# 2  
Old 08-07-2008
If thats the case, I will rather have the database sitting in my global zone.
If you insist on booting from the zone, then you'll have to disable auto boot and do it manually. If you're using VCS cluster for eg, all this can be controlled easily
# 3  
Old 08-07-2008
for the time being, i would make a script for this. place it in the legacy. set each to autoboot false and have the script boot up each zone appropriately and in the order you want.
# 4  
Old 08-07-2008
That'll be the way to go for now. Scripting that out is pretty easy.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Red Hat

Looking for equivalent of Solaris containers/zones in RHEL7 Linux

Hi, I come from a legacy Solaris background with lots of experience with Solaris Containers/zones that we use for network and process isolation from each other. Currently we have a RHEL7 Linux VM running on VMWare, but we would like to segment that VM with some form of containers and achieve... (1 Reply)
Discussion started by: ckmehta
1 Replies

2. Solaris

Lot of services in non-global zones, in uninitialized after reboot

Hello, This is Solaris-10 server, running with 4 non-global zones. This server was hung today and I had to reboot it forcefully from console. Then root file-system was not clean and I had to run fsck from failsafe mode. After it came back in run-level-3, lot of services are showing in... (3 Replies)
Discussion started by: solaris_1977
3 Replies

3. Solaris

Zones not booting after server reboot

Hello guys This is my first post. I have very little experience and I woud appreciate your input on this problem. I have a server running Solaris 10. In that server I have 2 zones that work perfectly fine, however, if I reboot the server, the zones don't boot and I have to do it manually. i... (12 Replies)
Discussion started by: designbc
12 Replies

4. Solaris

difference between zones and containers

Hi Expects, Can broadly explain difference between Zones and containers. (4 Replies)
Discussion started by: Rajesh_Apple
4 Replies

5. Solaris

Which zones will be up on reboot ?

Hey there, I m writing a system managament tool, which for Solaris-land, will have functionality to check currently up zones, compare with those up at the "last good system reference point ", and also find out which zones will be up on a system reboot. dumpadm list -v gives me the current... (1 Reply)
Discussion started by: shriyer
1 Replies

6. Solaris

need help on containers/zones

Hello, I have been using sparc workstations :SUNW,Ultra-5_10 Total 4 such machines. Users use it for mpich programming and all run solaris 8 but I always have hard time maintaining these machines. Authentication for these machines work from solaris 10 using NIS and there are nfs mounts on... (14 Replies)
Discussion started by: upengan78
14 Replies

7. Solaris

Clustering Solaris Zones/Containers

Hello everyone. I'm working on a fairly large project at my company and have been looking for some guidance. I just happened to stumble on this forum when looking for help with Solaris, so I'm hoping that you all won't mind me bothering you with my questions. :) Anyway, here goes. Is it... (8 Replies)
Discussion started by: trouphaz
8 Replies
Login or Register to Ask a Question