Paul writes: > I am new to Solaris 2.10 and Zones. I looked at setting the /etc/system in > the zone and the file did not exist. Can I make the /etc/system file local > to the zone? I tried just creating it and that diod not work.
Correct. With Zones, the system has only *ONE* kernel. As /etc/system is a hack that tweaks variables in the kernel, it can't be used in side non-global zones. It'd be a security problem (at best). Note that the Zones feature in OpenSolaris is generally discussed on [EMAIL PROTECTED], but that Solaris 10 is _not_ OpenSolaris. Issues about Solaris 10 (and older releases) should be directed to Sun's support group. OpenSolaris is (in general) newer than Solaris 10. There are features in OpenSolaris that are not yet in S10, and some that will almost certainly _never_ be there. > After some research it seems I could use projadd and projmod to set these > variables locally. Right; that's the right way to do things. > I need to set the following (**Now Obsolete** /etc/system) for a single zone > > set semsys:seminfo_semmni=100 > set semsys:seminfo_semmns=1024 > set semsys:seminfo_semmsl=256 > set shmsys:shminfo_shmmax=4294967295 > set shmsys:shminfo_shmmni=100 > set maxusers=32 > > I'm not sure what the correct commands for doing this is any help would be > great. Generally, you don't want to tune anything with /etc/system, if you can avoid it. Instead, you'll want something like this in the zone configuration (to prevent the sort of DoS attack that maxusers is aimed at): add rctl set name=zone.max-lwps add value (priv=privileged,limit=1000,action=deny) end You'll probably want to discuss the other bits with the Zones community. -- James Carlson, Solaris Networking <[EMAIL PROTECTED]> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-discuss mailing list [email protected]
