Sponsored Content
Full Discussion: zones
Operating Systems Solaris zones Post 302358308 by sbk1972 on Friday 2nd of October 2009 05:13:33 AM
Old 10-02-2009
Hi,

I would use FSS aswell, as the underlying resources arent that meaty. Let the FSS decide, also later on you can always enforce shares if you want.

The next question is whether you want sparse / or non sparse zones ? i.e. non-sparse = complete copy of the OS or sparse when you are sharing the global zone's core directories e.g. lib /bin etc etc. I would opt for non-sparse due to the sizr of your root drives / applications.

After that, Shared / Exclusive ip ?? I would imagine, due to the level of resources on your server, you would go for shared-ip. Makesl ife far easier.

So, an example of the zone config would be :-

Code:
create -b
set zonepath=/zones/roots/app-svr
set autoboot=true
set bootargs="-m verbose"
# Zone CPU Resources
set scheduling-class=FSS
# Zone Network Configurations
set ip-type=shared
add net
set address=X.X.X.X/25
set physical=qfe1
set defrouter=X.X.X.X
end
add attr
set name=comment
set type=string
set value="Application Server"
end

Put all that into a file call app1.cfg, then assuming the hostname is app-svr :-

Code:
# zonecfg -z  app-svr  -f app1.cfg
# zonecfg -z  app-svr   verify

# zoneadm list -icv    - lists all zones
# zoneadm -z app-svr install
# zoneadm -z app-svr  ready
# zoneadm -z app-svr  boot

# zlogin -C app-svr

:-) Easy.

SBK

Last edited by DukeNuke2; 10-02-2009 at 08:35 AM.. Reason: added code tags
 

10 More Discussions You Might Find Interesting

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

2. Solaris

Solaris Zones

I have a Solaris 10 box configured with a global zone and 3 non-global zones. All of the zones need to be configured so they can access and run an application in the global zone located at /export/home. How do i make this application and all of its accompanying files available to the 3 non-global... (3 Replies)
Discussion started by: goose25
3 Replies

3. Solaris

zones

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

4. Solaris

Global Zones

I'm logged into a non-global zone server. How would I find out what the global zone server name is from there? (1 Reply)
Discussion started by: soupbone38
1 Replies

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

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

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

8. Solaris

zones

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

9. Solaris

Tseries and zones

Does anyone know if I have to use LDOMS on a Tseries server? Or can I just setup zones using solaris 10 without using LDOMS? thanks. (2 Replies)
Discussion started by: cornsnap
2 Replies

10. 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
lx(5)							Standards, Environments, and Macros						     lx(5)

NAME
lx - Linux branded zone DESCRIPTION
The lx brand uses the branded zones framework described in brands(5) to enable Linux binary applications to run unmodified on a machine with a Solaris Operating System kernel. The lx brand includes the tools necessary to install a CentOS 3.x or Red Hat Enterprise Linux 3.x distribution inside a non-global zone. The brand supports the execution of 32-bit Linux applications on x86/x64 machines running the Solaris system in either 32-bit or 64-bit mode. Supported Linux Distributions The lx brand emulates the system call interfaces provided by the Linux 2.4.21 kernel, as modified by Red Hat in the RHEL 3.x distributions. This kernel provides the system call interfaces consumed by the glibc version 2.3.2 released by Red Hat. In addition, the lx brand partially emulates the Linux /dev and /proc interfaces. Configuration and Administration The lx brand supports the whole root non-global zone model. All of the required linux packages are installed into the private file systems of the zone. The zonecfg(1M) utility is used to configure an lx branded zone. Once a branded zone has been installed, that zone's brand cannot be changed or removed. The zoneadm(1M) utility is used to report the zone's brand type and administer the zone. The zlogin(1) utility is used to log in to the zone. Application Support The lx zone only supports user-level Linux applications. You cannot use Linux device drivers, Linux kernel modules, or Linux file systems from inside an lx zone. You cannot add any non-standard Solaris devices to a Linux zone. Any attempt to do so will result in a zone that zonecfg(1M) will refuse to verify. You cannot run Solaris applications inside an lx zone. Solaris debugging tools such as DTrace (see dtrace(1M)) and mdb (see mdb(1)) can be applied to Linux processes executing inside the zone, but the tools themselves must be running in the global zone. Any core files generated are produced in the Solaris format, and such files can only be debugged with Solaris tools. ATTRIBUTES
See attributes(5) for a description of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWlxr, SUNWlxu | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ SEE ALSO
mdb(1), zlogin(1), zonename(1), dtrace(1M), zoneadm(1M), zonecfg(1M), brands(5), zones(5), lx_systrace(7D) SunOS 5.11 19 Sep 2006 lx(5)
All times are GMT -4. The time now is 01:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy