Sponsored Content
Operating Systems Solaris Configuring zone and LDOM boot order Post 302953164 by jim mcnamara on Tuesday 25th of August 2015 03:10:31 PM
Old 08-25-2015
Yes.

zonefcg to set autoboot to False for each non-global zone.
Create a script that calls zoneadm to boot each zone.
Code:
#!/bin/bash
declare -a waits=( 10 20 10 )   # wait 10 20 and 10 seconds
cnt=0
for z in zone1 zone2 zone3
do
   zoneadm -z "$z" boot
   #optional if you need to wait for applications to start
   sleep ${waits[cnt]}
   cnt=$(( $cnt  + 1 ))
done

You may also have some alternate script to make sure a db zone is fully up, for example.
This User Gave Thanks to jim mcnamara For This Post:
 

9 More Discussions You Might Find Interesting

1. HP-UX

Need Help for configuring Boot from San

Hi all, I am trying to configure my HPUX host 11.31 IA64 to boot from a LUN for EMC clariion CX3-80 (Flaire PNR 26). I am following the below mentioned steps.. vi /tmp/idf 3 EFI 500MB HPUX 100% HPSP 400MB idisk -f /tmp/idf -w /dev/rdisk/diskxxx insf -e pvcreate -B... (0 Replies)
Discussion started by: barun agarwal
0 Replies

2. Solaris

Services configuring to come up at boot process

I want to configure one service to come up as a normal strat-up process after reboot, instead of starting it manually. I tried to configure it in inetd.conf but it didn't work. Could you please suggest, how I can achieve this ?? (3 Replies)
Discussion started by: pankajwagh81
3 Replies

3. HP-UX

Configuring LAN to be able to boot from it.

Hi, I have an IA machine on which I want to install the HP 11.31 from LAN. I have the lan card and ignite server available. How do I need to configure the LAN card to be able to boot from it and install the OS? Thanks in advance Pritam (2 Replies)
Discussion started by: prits31
2 Replies

4. Solaris

configuring boot server

Hi experts, I want to configure a boot server, tried googling for some document for steps and all leads to JumpStart server. Any help with be much appreciated Thanks (9 Replies)
Discussion started by: kumarmani
9 Replies

5. Solaris

Configuring interface in zone

Hi All, Please help me in configuring interface in zone I've zone with dedicated interface and I want this interface to get up with global system boot. I am struggling with IP, as always after reboot interface is not getting up automatically and I understand the reason for that.... (10 Replies)
Discussion started by: kumarmani
10 Replies

6. Solaris

ldom and zone

hi, what is the difference between ldom and zone. can we install any other os than sun in ldom. thanks, snj. (2 Replies)
Discussion started by: snjksh
2 Replies

7. Solaris

Zone failes to boot due to mount issue, dir exists in zone.

I have two physical servers, with zones that mount local storage. We were using "raw device" in the zonecfg to point to a metadevice on the global zone (it was not mounted in the global zone at any point). It failed to mount on every boot because the directory existed in the zone. I... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

8. Solaris

Network Config on Zone in a Guest LDOM

Solaris for Sparc 11.1 with the latest patches. Created a Guest LDOM with two vnet's net0 and net1, installed a guest whole root, ip exclusive zone that I want to be able to utilize DHCP. I have been able to create the zone but unable to get it to boot because I am unable to assign an anet to it.... (4 Replies)
Discussion started by: os2mac
4 Replies

9. Solaris

Login slowness from LDOM to ZONE

Need assitance in troubleshooting steps . Below is the issue I have LDOM which has 4 zones on it . One zone logging into the server takes 13sec where as other zones are quick . Troubleshooting steps which I did - Checked /var/tmp . Not many files - We have LDAP but thought that wouldnt be... (7 Replies)
Discussion started by: ajayram_arya
7 Replies
rem_drv(1M)						  System Administration Commands					       rem_drv(1M)

NAME
rem_drv - remove a device driver from the system SYNOPSIS
rem_drv [-b basedir] device_driver DESCRIPTION
The rem_drv command informs the system that the device driver device_driver is no longer valid. If possible, rem_drv unloads device_driver from memory. rem_drv also updates the system driver configuration files. If rem_drv has been executed, the next time the system is rebooted it automatically performs a reconfiguration boot (see kernel(1M)). OPTIONS
The following options are supported: -b basedir Sets the path to the root directory of the diskless client. Used on the server to execute rem_drv for a client. The client machine must be rebooted to unload the driver. Note - The root file system of any non-global zones must not be referenced with the -b option. Doing so might damage the global zone's file system, might compromise the security of the global zone, and might damage the non-global zone's file system. See zones(5). -C Remove dangling device attribute nodes bound to the driver being removed. This causes any device ownership or permissions customiza- tions made to any node not to be preserved if the driver is added back. Recommended for use when reprovisioning a machine from one configuration or use to another where past administrative customizations might not be desired. EXAMPLES
Example 1 Removing the sd Driver The following example removes the sd driver from use: example% rem_drv sd Example 2 Removing a Diskless Client The following example removes the driver from the sun1 diskless client. The driver is not uninstalled or unloaded until the client machine is rebooted. example% rem_drv -b /export/root/sun1 sd Note the caveat on the use of the -b option in the description of that option, above. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
add_drv(1M), kernel(1M), update_drv(1M), attributes(5), zones(5), devfs(7FS) SunOS 5.11 13 Aug 2007 rem_drv(1M)
All times are GMT -4. The time now is 12:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy