免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3475 | 回复: 0
打印 上一主题 下一主题

Solaris zone and pool setup [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-12-01 09:45 |只看该作者 |倒序浏览
pool for zone:
run the following command in opensolaris 0811 rc2 failed, why??
# pooladm -s
# pooladm
pooladm: couldn't open pools state file: Facility is not active
# pooladm -e
svcadm: Instance "svc:/system/pools:default" is in maintenance state.
pooladm: cannot enable pools: Error 0
# svcs -xv
svc:/system/pools:default (resource pools framework)
State: maintenance since November 28, 2008  2:57:30 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/share/man -s 3LIB libpool
   See: man -M /usr/share/man -s 1M pooladm
   See: man -M /usr/share/man -s 1M poolbind
   See: man -M /usr/share/man -s 1M poolcfg
   See: man -M /usr/share/man -s 1M poolstat
   See: /var/svc/log/system-pools:default.log
Impact: This service is not running.
#
Solution:
1. start poold manually:
# /usr/lib/pool/poold
# pgrep -l poold
  1333   poold
# poolcfg -c 'create pset pset_web_zone'      %don't assign pset.min/max
# poolcfg -c 'create pool pool_web_zone'
# poolcfg -c 'associate pool pool_web_zone(pset pset_web_zone)'
# pooladm -c
# psrset
Allocate memory for zone:
# pkg install SUNWrcap
# rcapadm -E
# ps -ef | grep rcapd
# cp /etc/nsswitch.files /etc/nsswitch.conf
# projmod -K 'rcap.max-rss=4000000000' system
#  cat /etc/project
# rcapadm
# rcapadm -c 50
# rcapadm
# rcapstat -g
               
               
                # pooladm -s
# pooladm
pooladm: couldn't open pools state file: Facility is not active
# pooladm -e
svcadm: Instance "svc:/system/pools:default" is in maintenance state.
pooladm: cannot enable pools: Error 0
# svcs -xv
svc:/system/pools:default (resource pools framework)
State: maintenance since November 28, 2008  2:57:30 PM CST
Reason: Start method exited with $SMF_EXIT_ERR_CONFIG.
   See: http://sun.com/msg/SMF-8000-KS
   See: man -M /usr/share/man -s 3LIB libpool
   See: man -M /usr/share/man -s 1M pooladm
   See: man -M /usr/share/man -s 1M poolbind
   See: man -M /usr/share/man -s 1M poolcfg
   See: man -M /usr/share/man -s 1M poolstat
   See: /var/svc/log/system-pools:default.log
Impact: This service is not running.
#
#include stdio.h>
int main()
{
return 0;
}


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/87077/showart_1673656.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP