OK, found the solution -- the SUNWrcap pkg wasn't available on the 
system as it was a default install.

After installing the pkg and manually importing the manifest, it worked!

-bash-3.2# svccfg import rcap.xml
-bash-3.2# svcs -a|grep rcap
disabled       10:23:59 svc:/system/rcap:default
-bash-3.2# svcadm enable svc:/system/rcap:default

-bash-3.2# !zo
zoneadm -z sparse-zone boot
zoneadm: zone 'sparse-zone': Unable to set route for interface lo0 to ?????
zoneadm: zone 'sparse-zone':
-bash-3.2#
--bmk
Madhan Kumar Balasubramanian wrote:
>
>>> With non-indiana pkging, the pkgs are inherited from the global zone which
>>> ensures that software that I have installed in global zone work in lz as
>>> well. But with IPS, the pkgs are extracted from the image repository which
>>> is as good as a fresh install.
>>>     
>>
>>    Yup. That is how it is in OpenSolaris as of now. All zones are whole-root
>>    zones. Zones support in OpenSolaris will undergo changes going forward.
>>
>>   
> That sounds like major change!!   Does it mean sparse-root zone 
> functionality is not yet included in IPS?
>>> Also setting memory cap doesn't seem to work while setting cpu cap is
>>> working.
>>> Has anyone tried?
>>>
>>>
>>>    AFAIK the memory cap only restricts RSS not total VM consumption.
>>>    So is it that RSS is not getting capped ?
>>>
>>>
>>> zoneadm -z <zone> boot itself is failing unless I remove the memory cap
>>> parameters. snv_86 rc3 build. Haven't tried in later builds.
>>>     
>>
>>    Does the zone config verify: zonecfg -z zone verify ?
>>   
>
> yup.  Quite strange. Unfortunately, the new bugzilla doesn't seem to 
> be in sync with other sun CR tracking tools and I couldn't find any 
> CRs related to the issue till now.
>
> -bash-3.2# zoneadm -z sparse-zone boot
> zoneadm: zone 'sparse-zone': enabling system/rcap service failed: 
> entity not found
> zoneadm: zone 'sparse-zone': call to zoneadmd failed
> -bash-3.2# zonecfg -z sparse-zone info
> zonename: sparse-zone
> zonepath: /export/sparse-zone
> brand: ipkg
> autoboot: false
> bootargs:
> pool:
> limitpriv:
> scheduling-class:
> ip-type: shared
> net:
>         address: xxxxxxx
>         physical: e1000g0
>         defrouter not specified
> capped-memory:
>         physical: 1G
>         [swap: 4G]
> rctl:
>         name: zone.max-swap
>         value: (priv=privileged,limit=4294967296,action=deny)
> -bash-3.2# zonecfg -z sparse-zone verify
> -bash-3.2#
>
> Best Regards,
> Madhan Kumar
>> Regards,
>> Moinak.
>>
>>   
> _______________________________________________
> ug-bosug mailing list
> List-Unsubscribe: mailto:ug-bosug-unsubscribe at opensolaris.org
> List-Owner: mailto:ug-bosug-owner at opensolaris.org
> List-Archives: http://www.opensolaris.org/jive/forum.jspa?forumID=54
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20080817/131b8167/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Madhan_Balasubramanian.vcf
Type: text/x-vcard
Size: 170 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20080817/131b8167/attachment.vcf>

Reply via email to