答复: Unable to add the external cluster

2015-07-16 Thread zhangyan
Unable to add the external cluster这个错误,可以试试如下方法:

 

登录,vSphere Client,点击左右的根几点localhost之类的,后侧选择数据中心tab,
会发现列表中有一个cloud.zone属性,将true改成false,在cloudstack中重新添加即
可

 

发件人: 草原之夜 [mailto:1510645...@qq.com] 
发送时间: 2015年7月16日 11:30
收件人: users-cn
主题: Unable to add the external cluster

 

大家好:

我们搭建环境时出现了一些问题

环境信息如下:CS 4.4.3 + vmware VSphere 5.1

 

1、资源池在Cloud-HA01,网络全部是分布式虚拟交换机(dvS-Manage:划分了3个端口组
不同VLAN,用作管理、存储和VMotion;dvS-APP用于生产环境应用划分3个端口组 不同
VLAN),

   管理(CloudStack)在另外一个HA中   网络采用标准交换机,划分了4个端口组,
其中2个用于管理和存储 

 

2、主存储使用SAN共享存储

3、二级存储采用Linux虚拟机的NFS服务

创建区域后报错信息:

出现问题;请更正以下各项:

Unable to add the external cluster

点击返回修改提示到添加“集群”选项那个页面。

环境图片  如下图示:

ESXI挂载的主机存储和网络配置;



两个不同的HA Cloud-HA01用于资源池,Cloud-mgmt用于管理;

网络截图



具体日志信息如下:

2015-07-15 14:54:02,701 DEBUG [c.c.a.ApiServlet]
(catalina-exec-17:ctx-ccd06bfc) ===START===  192.168.17.101 -- GET
command=addClusteramp;amp;zoneId=126813cc-dcde-471f-b799-608e3551115eamp;a
mp;hypervisor=VMwareamp;amp;clustertype=ExternalManagedamp;amp;podId=3ed9b
e26-5f38-4820-aa53-da440988b1c6amp;amp;username=rztadminamp;amp;url=http%3
A%2F%2F192.168.17.20%2FJHRZ-Cloud%2FCloud-HA01amp;amp;clustername=192.168.1
7.20%2FJHRZ-Cloud%2FCloud-HA01amp;amp;response=jsonamp;amp;sessionkey=HJPr
FL%2BJJ7XnfalNyXUYV%2BuZpNw%3Damp;amp;_=1436943416046

2015-07-15 14:54:02,788 INFO  [c.c.h.v.VmwareServerDiscoverer]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) Discover host. dc: 6, pod: 6,
cluster: 12, uri host: 192.168.17.20

2015-07-15 14:54:02,906 INFO  [c.c.h.v.VmwareServerDiscoverer]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) Detected private network label
: dvS-Manage,17

2015-07-15 14:54:02,906 DEBUG [c.c.h.v.r.VmwareContextFactory]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) initialize VmwareContext. url:
https://192.168.17.20/sdk/vimService, username: rztadmin, password: R***

2015-07-15 14:54:02,982 INFO  [c.c.h.v.u.VmwareContext]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) New VmwareContext object,
current outstanding count: 1

2015-07-15 14:54:03,083 INFO  [c.c.h.v.m.VmwareManagerImpl]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) Preparing network on host
com.cloud.hypervisor.vmware.util.VmwareContext@52495618
mailto:com.cloud.hypervisor.vmware.util.VmwareContext@52495618  for
dvS-Manage,17

2015-07-15 14:54:03,119 ERROR [c.c.h.v.m.HypervisorHostHelper]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) Unable to find
vSwitchdvS-Manage

2015-07-15 14:54:03,119 WARN  [c.c.h.v.VmwareServerDiscoverer]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) Unable to connect to Vmware
vSphere server. service address: 192.168.17.20

2015-07-15 14:54:03,119 INFO  [c.c.h.v.u.VmwareContext]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) Disconnecting VMware session

2015-07-15 14:54:03,126 WARN  [c.c.r.ResourceManagerImpl]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) Unable to find the server
resources at http://192.168.17.20/JHRZ-Cloud/Cloud-HA01

2015-07-15 14:54:03,126 INFO  [c.c.u.e.CSExceptionErrorCode]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) Could not find exception:
com.cloud.exception.DiscoveryException in error code list for exceptions

2015-07-15 14:54:03,569 WARN  [o.a.c.a.c.a.c.AddClusterCmd]
(catalina-exec-17:ctx-ccd06bfc ctx-ad7804a8) Exception: 

com.cloud.exception.DiscoveryException: Unable to add the external cluster

at
com.cloud.resource.ResourceManagerImpl.discoverCluster(ResourceManagerImpl.j
ava:530)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:317)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:183)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:150)

at
org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(Expos
eInvocationInterceptor.java:91)

at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:172)

at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:204)

at com.sun.proxy.$Proxy148.discoverCluster(Unknown Source)

at
org.apache.cloudstack.api.command.admin.cluster.AddClusterCmd.execute(AddClu
sterCmd.java:196)

at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)

at com.cloud.api.ApiServer.queueCommand(ApiServer.java:680)

at com.cloud.api.ApiServer.handleRequest(ApiServer.java:509)

at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)

at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)

at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)

at

CloudStack4.4.3+KVM DataVolume Resize失败

2015-07-13 Thread zhangyan
发现个问题,
CloudStack4.4.3+KVM 数据盘resize,显示成功,但实际没发生变化,后来发现

只有当虚拟机是运行态的时候,数据盘扩容才能成功;
停止态的虚拟机,数据盘扩容不报错,但实际上没有成功;


请问这是CloudStack的bug吗?有人遇到过没?


~~
不报错,但实际不成功时,日志如下

com.cloud.storage.VmWorkResizeVolume{volumeId:92,currentSize:1073741824,newSize:2147483648,newServiceOfferingId:61,shrinkOk:false,userId:2,accountId:2,vmId:89,handlerName:VolumeApiServiceImpl}
2015-07-13 15:07:09,024 DEBUG [c.c.a.t.Request] 
(Work-Job-Executor-85:ctx-26f49590 job-946/job-947 ctx-3887adf3) Seq 
1-4330211041716900257: Sending  { Cmd , MgmtId: 345052689640, via: 
1(cloudstack.aclome), Ver: v1, Flags: 100011, 
[{com.cloud.agent.api.storage.ResizeVolumeCommand:{path:671673d2-67ef-449e-855c-71548069620a,pool:{id:2,uuid:9d641cdd-95a7-3086-9ef6-b78f8759847e,host:10.4.41.110,path:/export/186kvmprimary,port:2049,type:NetworkFilesystem},vmInstance:i-2-89-VM,newSize:2147483648,currentSize:1073741824,shrinkOk:false,wait:0}}]
 }
2015-07-13 15:07:09,137 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-11ba9de2) Resetting hosts suitable for reconnect
2015-07-13 15:07:09,139 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-11ba9de2) Completed resetting hosts suitable for reconnect
2015-07-13 15:07:09,139 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-11ba9de2) Acquiring hosts for clusters already owned by this 
management server
2015-07-13 15:07:09,140 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-11ba9de2) Completed acquiring hosts for clusters already owned by 
this management server
2015-07-13 15:07:09,140 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-11ba9de2) Acquiring hosts for clusters not owned by any management 
server
2015-07-13 15:07:09,141 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-11ba9de2) Completed acquiring hosts for clusters not owned by any 
management server
2015-07-13 15:07:09,423 DEBUG [c.c.a.t.Request] (AgentManager-Handler-7:null) 
Seq 1-4330211041716900257: Processing:  { Ans: , MgmtId: 345052689640, via: 1, 
Ver: v1, Flags: 10, 
[{com.cloud.agent.api.storage.ResizeVolumeAnswer:{newSize:1073741824,result:true,details:success,wait:0}}]
 }
2015-07-13 15:07:09,423 DEBUG [c.c.a.t.Request] 
(Work-Job-Executor-85:ctx-26f49590 job-946/job-947 ctx-3887adf3) Seq 
1-4330211041716900257: Received:  { Ans: , MgmtId: 345052689640, via: 1, Ver: 
v1, Flags: 10, { ResizeVolumeAnswer } }
2015-07-13 15:07:09,423 DEBUG 
[o.a.c.s.d.d.CloudStackPrimaryDataStoreDriverImpl] 
(Work-Job-Executor-85:ctx-26f49590 job-946/job-947 ctx-3887adf3) Resize: volume 
started at size 1073741824 and ended at size 1073741824

---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


答复: 回复:Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败

2015-07-13 Thread zhangyan
真实原因未找到,但找到问题所在,供大家参考

正常来说情况,/dev/kvm这个链接到一个字符设备;
而我的这台KVM主机,却是一个文件夹,文件夹里面是一个链接(到/dm-0)

解决办法是从一台好用的KVM主机拷贝字符设备



-邮件原件-
发件人: zhangyan [mailto:zy.zhang...@neusoft.com] 
发送时间: 2015年7月6日 11:43
收件人: users-cn@cloudstack.apache.org
主题: 答复: 回复:Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败

请问/dev/kvm 是个文件夹还是个块设备,目前kvm是个文件夹,里面有个文件叫kvm,
连接至/dev/dm-0;

还是/dev/kvm是个链接,直接链接至/dev/dm-0

Kvm-ok执行完毕信息如下:
INFO: /dev/kvm exists
KVM acceleration can be used


这个正常吗?

-邮件原件-
发件人: 无心菜 [mailto:79112...@qq.com]
发送时间: 2015年7月6日 10:38
收件人: users-cn
主题: 回复:Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败

您的计算节点KVM配置确定都正确吗?
kvm/kvm_intel//都加载正常吗?/dev/kvm设备创建是否成功?您发个更详细的日志吧


-- 原始邮件 --
发件人: zhangyan;zy.zhang...@neusoft.com;
发送时间: 2015年7月6日(星期一) 上午10:33
收件人: users-cnusers-cn@cloudstack.apache.org; 

主题: Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败



Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败,请问是什么原因?

谢谢!

 

 

start VM on Host[-7-Routing] due to internal error: Process exited while
reading console log output: char device redirected to /dev/pts/0 (label
charserial0)

Could not access KVM kernel module: Is a directory

failed to initialize KVM: Is a directory

 

张研

基础软件事业部

东软集团(大连)有限公司

大连市黄浦路901号D1-219,116085
Email: zy.zhang...@neusoft.com mailto:zy.zhang...@neusoft.com 

Phone:   13624094815

 


---
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation,
its subsidiaries and/or its affiliates. If any reader of this communication
is not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying is strictly prohibited, and may be
unlawful.If you have received this communication in error,please immediately
notify the sender by return e-mail, and delete the original message and all
copies from your system. Thank you. 

---

---
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation,
its subsidiaries and/or its affiliates. If any reader of this communication
is not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying is strictly prohibited, and may be
unlawful.If you have received this communication in error,please immediately
notify the sender by return e-mail, and delete the original message and all
copies from your system. Thank you. 

---
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


答复: 回复:Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败

2015-07-05 Thread zhangyan
这个是错误信息


Could not access KVM kernel module: Is a directory

failed to initialize KVM: Is a directory



-邮件原件-
发件人: 朱益萍 [mailto:874413...@qq.com] 
发送时间: 2015年7月6日 10:36
收件人: users-cn
主题: 回复:Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败

你的错误信息呢




-- 原始邮件 --
发件人: zhangyan;zy.zhang...@neusoft.com;
发送时间: 2015年7月6日(星期一) 上午10:33
收件人: users-cnusers-cn@cloudstack.apache.org; 

主题: Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败



Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败,请问是什么原因?

谢谢!

 

 

start VM on Host[-7-Routing] due to internal error: Process exited while
reading console log output: char device redirected to /dev/pts/0 (label
charserial0)

Could not access KVM kernel module: Is a directory

failed to initialize KVM: Is a directory

 

张研

基础软件事业部

东软集团(大连)有限公司

大连市黄浦路901号D1-219,116085
Email: zy.zhang...@neusoft.com mailto:zy.zhang...@neusoft.com 

Phone:   13624094815

 


---
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation,
its subsidiaries and/or its affiliates. If any reader of this communication
is not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying is strictly prohibited, and may be
unlawful.If you have received this communication in error,please immediately
notify the sender by return e-mail, and delete the original message and all
copies from your system. Thank you. 

---

---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


答复: 回复:Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败

2015-07-05 Thread zhangyan
请问/dev/kvm 是个文件夹还是个块设备,目前kvm是个文件夹,里面有个文件叫kvm,
连接至/dev/dm-0;

还是/dev/kvm是个链接,直接链接至/dev/dm-0

Kvm-ok执行完毕信息如下:
INFO: /dev/kvm exists
KVM acceleration can be used


这个正常吗?

-邮件原件-
发件人: 无心菜 [mailto:79112...@qq.com] 
发送时间: 2015年7月6日 10:38
收件人: users-cn
主题: 回复:Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败

您的计算节点KVM配置确定都正确吗?
kvm/kvm_intel//都加载正常吗?/dev/kvm设备创建是否成功?您发个更详细的日志吧


-- 原始邮件 --
发件人: zhangyan;zy.zhang...@neusoft.com;
发送时间: 2015年7月6日(星期一) 上午10:33
收件人: users-cnusers-cn@cloudstack.apache.org; 

主题: Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败



Ubuntu14.04下KVM,cloudstack4.4.3系统虚拟机启动失败,请问是什么原因?

谢谢!

 

 

start VM on Host[-7-Routing] due to internal error: Process exited while
reading console log output: char device redirected to /dev/pts/0 (label
charserial0)

Could not access KVM kernel module: Is a directory

failed to initialize KVM: Is a directory

 

张研

基础软件事业部

东软集团(大连)有限公司

大连市黄浦路901号D1-219,116085
Email: zy.zhang...@neusoft.com mailto:zy.zhang...@neusoft.com 

Phone:   13624094815

 


---
Confidentiality Notice: The information contained in this e-mail and any
accompanying attachment(s) is intended only for the use of the intended
recipient and may be confidential and/or privileged of Neusoft Corporation,
its subsidiaries and/or its affiliates. If any reader of this communication
is not the intended recipient, unauthorized use, forwarding, printing,
storing, disclosure or copying is strictly prohibited, and may be
unlawful.If you have received this communication in error,please immediately
notify the sender by return e-mail, and delete the original message and all
copies from your system. Thank you. 

---
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


CS4.4.3 KVM(CentOS6.6) Volume Snapshot失败

2015-06-10 Thread zhangyan
CloudStack4.4下 对KVM虚拟机拍磁盘快照好用吗?

全局参数已经修改kvm.snapshot.enabled=true




~~~

2015-06-10 17:47:34,542 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-25:ctx-e27ebe1b job-1297/job-1298 ctx-40323cd4) Seq
8-4411275835009401462: Sending  { Cmd , MgmtId: 345052689640, via:
8(cloudstack.aclome), Ver: v1, Flags: 100011,
[{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.
cloudstack.storage.to.SnapshotObjectTO:{path:/mnt/9d641cdd-95a7-3086-9ef
6-b78f8759847e/92d7e6ab-83ec-496e-9324-f30919c9117d/1ccc2115-0fa6-410f-b31a-
6ef7ec41818c,volume:{uuid:92d7e6ab-83ec-496e-9324-f30919c9117d,volum
eType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStor
eTO:{uuid:9d641cdd-95a7-3086-9ef6-b78f8759847e,id:4,poolType:Netwo
rkFilesystem,host:10.4.41.110,path:/export/186kvmprimary,port:204
9,url:NetworkFilesystem://10.4.41.110/export/186kvmprimary/?ROLE=Primary
STOREUUID=9d641cdd-95a7-3086-9ef6-b78f8759847e}},name:ROOT-222,size:5
368709120,path:92d7e6ab-83ec-496e-9324-f30919c9117d,volumeId:227,vmNa
me:i-2-222-VM,accountId:2,format:QCOW2,id:227,deviceId:0,hyper
visorType:KVM},dataStore:{org.apache.cloudstack.storage.to.PrimaryData
StoreTO:{uuid:9d641cdd-95a7-3086-9ef6-b78f8759847e,id:4,poolType:N
etworkFilesystem,host:10.4.41.110,path:/export/186kvmprimary,port
:2049,url:NetworkFilesystem://10.4.41.110/export/186kvmprimary/?ROLE=Prim
arySTOREUUID=9d641cdd-95a7-3086-9ef6-b78f8759847e}},vmName:i-2-222-VM,
name:BC-VM-2a063eb5b7144c2baaf8042a5156a4aa_ROOT-222_20150610094732,hyp
ervisorType:KVM,id:7,quiescevm:false,physicalSize:0}},destTO:{or
g.apache.cloudstack.storage.to.SnapshotObjectTO:{path:snapshots/2/227,
volume:{uuid:92d7e6ab-83ec-496e-9324-f30919c9117d,volumeType:ROOT,
dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uuid:9
d641cdd-95a7-3086-9ef6-b78f8759847e,id:4,poolType:NetworkFilesystem,
host:10.4.41.110,path:/export/186kvmprimary,port:2049,url:Networ
kFilesystem://10.4.41.110/export/186kvmprimary/?ROLE=PrimarySTOREUUID=9d641
cdd-95a7-3086-9ef6-b78f8759847e}},name:ROOT-222,size:5368709120,path
:92d7e6ab-83ec-496e-9324-f30919c9117d,volumeId:227,vmName:i-2-222-VM
,accountId:2,format:QCOW2,id:227,deviceId:0,hypervisorType:KVM
},dataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://10.4.41.110/ex
port/186kvmsecondary,_role:Image}},vmName:i-2-222-VM,name:BC-VM-
2a063eb5b7144c2baaf8042a5156a4aa_ROOT-222_20150610094732,hypervisorType:
KVM,id:7,quiescevm:false,physicalSize:0}},executeInSequence:false,
options:{fullSnapshot:true},wait:21600}}] }
2015-06-10 17:47:34,768 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-12:null) SeqA 9-3511: Processing Seq 9-3511:  { Cmd ,
MgmtId: -1, via: 9, Ver: v1, Flags: 11,
[{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:214,_lo
adInfo:{\n  \connections\: []\n},wait:0}}] }
2015-06-10 17:47:34,773 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentManager-Handler-12:null) SeqA 9-3511: Sending Seq 9-3511:  { Ans: ,
MgmtId: 345052689640, via: 9, Ver: v1, Flags: 100010,
[{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
2015-06-10 17:47:34,982 DEBUG [c.c.a.t.Request]
(AgentManager-Handler-14:null) Seq 8-4411275835009401462: Processing:  {
Ans: , MgmtId: 345052689640, via: 8, Ver: v1, Flags: 10,
[{org.apache.cloudstack.storage.command.CopyCmdAnswer:{result:false,det
ails:Failed to backup 1ccc2115-0fa6-410f-b31a-6ef7ec41818c for disk
/mnt/9d641cdd-95a7-3086-9ef6-b78f8759847e/92d7e6ab-83ec-496e-9324-f30919c911
7d to /mnt/d336139b-a6b0-308f-b23f-ec814ebd3cb6/snapshots/2/227,wait:0}}]
}
2015-06-10 17:47:34,983 DEBUG [c.c.a.t.Request]
(Work-Job-Executor-25:ctx-e27ebe1b job-1297/job-1298 ctx-40323cd4) Seq
8-4411275835009401462: Received:  { Ans: , MgmtId: 345052689640, via: 8,
Ver: v1, Flags: 10, { CopyCmdAnswer } }
2015-06-10 17:47:35,010 DEBUG [c.c.s.s.SnapshotManagerImpl]
(Work-Job-Executor-25:ctx-e27ebe1b job-1297/job-1298 ctx-40323cd4) Failed to
create snapshot
com.cloud.utils.exception.CloudRuntimeException: Failed to backup
1ccc2115-0fa6-410f-b31a-6ef7ec41818c for disk
/mnt/9d641cdd-95a7-3086-9ef6-b78f8759847e/92d7e6ab-83ec-496e-9324-f30919c911
7d to /mnt/d336139b-a6b0-308f-b23f-ec814ebd3cb6/snapshots/2/227
at
org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.backupSnapshot(Sn
apshotServiceImpl.java:282)
at org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.
backupSnapshot(XenserverSnapshotStrategy.java:137)
at org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.
takeSnapshot(XenserverSnapshotStrategy.java:304)
at
com.cloud.storage.snapshot.SnapshotManagerImpl.takeSnapshot(SnapshotManagerI
mpl.java:966)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57
)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:43)
at 

答复: CS4.4.3 KVM(CentOS6.6) Volume Snapshot失败

2015-06-10 Thread zhangyan
对,是Centos6.6,qemu是

qemu-img-0.12.1.2-2.445.el6.x86_64

这个版本有问题吗?

-邮件原件-
发件人: Wei ZHOU [mailto:ustcweiz...@gmail.com] 
发送时间: 2015年6月10日 21:52
收件人: users-cn@cloudstack.apache.org
主题: Re: CS4.4.3 KVM(CentOS6.6) Volume Snapshot失败

centos 6吧,qemu-img什么版本

2015-06-10 13:11 GMT+02:00 zhangyan zy.zhang...@neusoft.com:

 CloudStack4.4下 对KVM虚拟机拍磁盘快照好用吗?

 全局参数已经修改kvm.snapshot.enabled=true




 ~~
 ~~
 ~~~

 2015-06-10 17:47:34,542 DEBUG [c.c.a.t.Request] 
 (Work-Job-Executor-25:ctx-e27ebe1b job-1297/job-1298 ctx-40323cd4) Seq
 8-4411275835009401462: Sending  { Cmd , MgmtId: 345052689640, via:
 8(cloudstack.aclome), Ver: v1, Flags: 100011,

 [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org.apache.

 cloudstack.storage.to.SnapshotObjectTO:{path:/mnt/9d641cdd-95a7-30
 86-9ef

 6-b78f8759847e/92d7e6ab-83ec-496e-9324-f30919c9117d/1ccc2115-0fa6-410f
 -b31a-

 6ef7ec41818c,volume:{uuid:92d7e6ab-83ec-496e-9324-f30919c9117d,
 volum

 eType:ROOT,dataStore:{org.apache.cloudstack.storage.to.PrimaryDa
 taStor

 eTO:{uuid:9d641cdd-95a7-3086-9ef6-b78f8759847e,id:4,poolType:
 Netwo

 rkFilesystem,host:10.4.41.110,path:/export/186kvmprimary,por
 t:204
 9,url:NetworkFilesystem://
 10.4.41.110/export/186kvmprimary/?ROLE=Primary
 STOREUUID=9d641cdd-95a7-3086-9ef6-b78f8759847e
 }},name:ROOT-222,size:5

 368709120,path:92d7e6ab-83ec-496e-9324-f30919c9117d,volumeId:227
 ,vmNa

 me:i-2-222-VM,accountId:2,format:QCOW2,id:227,deviceId:0,
 hyper

 visorType:KVM},dataStore:{org.apache.cloudstack.storage.to.Prima
 ryData

 StoreTO:{uuid:9d641cdd-95a7-3086-9ef6-b78f8759847e,id:4,poolTy
 pe:N

 etworkFilesystem,host:10.4.41.110,path:/export/186kvmprimary,port
 :2049,url:NetworkFilesystem://
 10.4.41.110/export/186kvmprimary/?ROLE=Prim
 arySTOREUUID=9d641cdd-95a7-3086-9ef6-b78f8759847e
 }},vmName:i-2-222-VM,

 name:BC-VM-2a063eb5b7144c2baaf8042a5156a4aa_ROOT-222_20150610094732
 ,hyp

 ervisorType:KVM,id:7,quiescevm:false,physicalSize:0}},destTO
 :{or

 g.apache.cloudstack.storage.to.SnapshotObjectTO:{path:snapshots/2/227,

 volume:{uuid:92d7e6ab-83ec-496e-9324-f30919c9117d,volumeType:ROOT,

 dataStore:{org.apache.cloudstack.storage.to.PrimaryDataStoreTO:{uu
 id:9

 d641cdd-95a7-3086-9ef6-b78f8759847e,id:4,poolType:NetworkFilesystem,

 host:10.4.41.110,path:/export/186kvmprimary,port:2049,url:
 Networ
 kFilesystem://
 10.4.41.110/export/186kvmprimary/?ROLE=PrimarySTOREUUID=9d641
 cdd-95a7-3086-9ef6-b78f8759847e
 }},name:ROOT-222,size:5368709120,path

 :92d7e6ab-83ec-496e-9324-f30919c9117d,volumeId:227,vmName:i-2-
 222-VM

 ,accountId:2,format:QCOW2,id:227,deviceId:0,hypervisorType
 :KVM },dataStore:{com.cloud.agent.api.to.NfsTO:{_url:nfs://
 10.4.41.110/ex
 port/186kvmsecondary
 ,_role:Image}},vmName:i-2-222-VM,name:BC-VM-

 2a063eb5b7144c2baaf8042a5156a4aa_ROOT-222_20150610094732,hypervisorType:

 KVM,id:7,quiescevm:false,physicalSize:0}},executeInSequence:false,
 options:{fullSnapshot:true},wait:21600}}] }
 2015-06-10 17:47:34,768 DEBUG [c.c.a.m.AgentManagerImpl]
 (AgentManager-Handler-12:null) SeqA 9-3511: Processing Seq 9-3511:  { 
 Cmd ,
 MgmtId: -1, via: 9, Ver: v1, Flags: 11,

 [{com.cloud.agent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:21
 4,_lo adInfo:{\n  \connections\: []\n},wait:0}}] }
 2015-06-10 17:47:34,773 DEBUG [c.c.a.m.AgentManagerImpl]
 (AgentManager-Handler-12:null) SeqA 9-3511: Sending Seq 9-3511:  { 
 Ans: ,
 MgmtId: 345052689640, via: 9, Ver: v1, Flags: 100010, 
 [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] 
 }
 2015-06-10 17:47:34,982 DEBUG [c.c.a.t.Request]
 (AgentManager-Handler-14:null) Seq 8-4411275835009401462: Processing:  
 {
 Ans: , MgmtId: 345052689640, via: 8, Ver: v1, Flags: 10,

 [{org.apache.cloudstack.storage.command.CopyCmdAnswer:{result:fals
 e,det ails:Failed to backup 1ccc2115-0fa6-410f-b31a-6ef7ec41818c 
 for disk

 /mnt/9d641cdd-95a7-3086-9ef6-b78f8759847e/92d7e6ab-83ec-496e-9324-f309
 19c911
 7d to
 /mnt/d336139b-a6b0-308f-b23f-ec814ebd3cb6/snapshots/2/227,wait:0}}]
 }
 2015-06-10 17:47:34,983 DEBUG [c.c.a.t.Request] 
 (Work-Job-Executor-25:ctx-e27ebe1b job-1297/job-1298 ctx-40323cd4) Seq
 8-4411275835009401462: Received:  { Ans: , MgmtId: 345052689640, via: 
 8,
 Ver: v1, Flags: 10, { CopyCmdAnswer } }
 2015-06-10 17:47:35,010 DEBUG [c.c.s.s.SnapshotManagerImpl] 
 (Work-Job-Executor-25:ctx-e27ebe1b job-1297/job-1298 ctx-40323cd4) 
 Failed to create snapshot
 com.cloud.utils.exception.CloudRuntimeException: Failed to backup 
 1ccc2115-0fa6-410f-b31a-6ef7ec41818c for disk

 /mnt/9d641cdd-95a7-3086-9ef6-b78f8759847e/92d7e6ab-83ec-496e-9324-f309
 19c911 7d to /mnt/d336139b-a6b0-308f-b23f-ec814ebd3cb6/snapshots/2/227
 at

 org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.backupSnaps
 hot(Sn
 apshotServiceImpl.java:282)
 at
 org.apache.cloudstack.storage.snapshot.XenserverSnapshotStrategy.
 backupSnapshot(XenserverSnapshotStrategy.java:137

答复: CloudStack4.4.3 安装失败【Requires: java7】

2015-06-08 Thread zhangyan
CentOS6.6做本地yum源安装CloudStack-Management好用,CentOS6.5或者CentOS7都不
好用;

安装CloudStack-Agent,需要先安装
jakarta-commons-daemon-jsvc-1.0.1-8.9.el6.x86_64.rpm,  否则安装失败




-邮件原件-
发件人: ���s [mailto:jason.zr.zh...@icloud.com] 
发送时间: 2015年6月5日 20:13
收件人: users-cn@cloudstack.apache.org
主题: Re: CloudStack4.4.3 安装失败【Requires: java7】

你用Centos 6.6试试

发自张荣的 iPad mini2

 在 2015年6月5日,10:37,zhangyan zy.zhang...@neusoft.com 写道:
 
 CentOS6.5下利用系统盘做本地yum源,安装CloudStack,报错Requires: java7,如
何
 解决???
 
 
 
 先用yum安装java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 或者
 jdk-7u79-linux-x64.rpm,再安装cloustack-management还是不行,为什么?
 
 
 
 
 
 ~~
 ~~ ~
 
 -- Processing Dependency: java7 for package:
 cloudstack-management-4.4.3-shapeblue0.el6.x86_64
 
 --- Package kernel-headers.x86_64 0:2.6.32-431.el6 will be installed
 
 -- Finished Dependency Resolution
 
 Error: Package: cloudstack-management-4.4.3-shapeblue0.el6.x86_64
 (cloudstack)
 
   Requires: java7
 
 You could try using --skip-broken to work around the problem
 
 You could try running: rpm -Va --nofiles --nodigest
 
 
 
 --
 - Confidentiality Notice: The information 
 contained in this e-mail and any accompanying attachment(s) is 
 intended only for the use of the intended recipient and may be 
 confidential and/or privileged of Neusoft Corporation, its 
 subsidiaries and/or its affiliates. If any reader of this 
 communication is not the intended recipient, unauthorized use, 
 forwarding, printing,  storing, disclosure or copying is strictly 
 prohibited, and may be unlawful.If you have received this communication in
error,please immediately notify the sender by return e-mail, and delete the
original message and all copies from your system. Thank you.


---

---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


CloudStack4.4.3 安装失败【Requires: java7】

2015-06-04 Thread zhangyan
CentOS6.5下利用系统盘做本地yum源,安装CloudStack,报错Requires: java7,如何
解决???

 

先用yum安装java-1.7.0-openjdk-1.7.0.45-2.4.3.3.el6.x86_64 或者
jdk-7u79-linux-x64.rpm,再安装cloustack-management还是不行,为什么?

 

 


~

-- Processing Dependency: java7 for package:
cloudstack-management-4.4.3-shapeblue0.el6.x86_64

--- Package kernel-headers.x86_64 0:2.6.32-431.el6 will be installed

-- Finished Dependency Resolution

Error: Package: cloudstack-management-4.4.3-shapeblue0.el6.x86_64
(cloudstack)

   Requires: java7

You could try using --skip-broken to work around the problem

You could try running: rpm -Va --nofiles --nodigest

 

---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


cloudstack 禁用列表【avoid set】如何解除?

2015-05-27 Thread zhangyan
大家好,

 

CloudStack创建虚拟机有时会因为所选主机在禁用列表中,导致创建失败;

 

但不知道为什么CloudStack会将这些主机加入到禁用列表,

 

即使主机服务恢复正常了,但CloudStack仍然保存着禁用列表,重启管理节点也无效!

 

 

大家有没有好办法,可以将主机从禁用列表中移除?请多指教~~

 

 

 

DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-46:ctx-a9daef0d 
ctx-f4ea0189) Deploy avoids pods: [1], clusters: [], hosts: [2]

---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


CLoudStack 添加KVM后 系统虚拟机状态为空

2015-05-26 Thread zhangyan
各位好:

 遇到一个问题,VMware上的一台VM上安装KVM及CloudStack Agent,将其添加
到CS4.3(简单网络)中去,系统虚拟机agent状态为空,console进去系统虚拟机,发
现它与来宾网络网关不通!!!这是什么原因?

 

篇日志如下:

 

KVM所在虚拟机网卡使用桥接模式:

eth0配置如下:

DEVICE=eth0

TYPE=Ethernet

ONBOOT=yes

HOTPLUG=no

BOOTPROTO=none

BRIDGE=cloudbr0

 

cloudbr0配置如下:

DEVICE=cloudbr0

ONBOOT=yes

BOOTPROTO=static

IPADDR=10.4.41.101

NETMASK=255.255.254.0

GATEWAY=10.4.40.1

DNS1=210.83.210.155

IPV6INIT=no

IPV6_AUTOCONF=no

DELAY=5

STP=off

TYPE=Bridge

 

 

 

 

---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


答复: 主机防火墙导致虚拟机不通

2014-05-16 Thread zhangyan
这是cloudstack什么版本,哪种虚拟化类型?

-邮件原件-
发件人: 谢福平 [mailto:754282...@qq.com] 
发送时间: 2014年5月15日 9:42
收件人: users-cn
主题: 主机防火墙导致虚拟机不通

操作步骤
 1.虚拟机正常,能ping通
 2.新建虚拟机,如果虚拟机的宿主机为A
 3.主机A上的原有虚拟机ping不通,新建的虚拟机正常
 4.关闭主机防火墙,A上所有虚拟机都能ping通
 5.过一段时间,A上防火墙自动起来,所有虚拟机也能正常ping通
  
 总结就是,只有新建虚拟机时,新虚拟机所在主机上的原虚拟机会ping不通,新建的
虚拟机正常。
 查看主机上的防火墙状态如下:
 [root@iad-kvm-1 ~]# service iptables status
Table: filter
Chain INPUT (policy ACCEPT)
num  target prot opt source   destination 
 Chain FORWARD (policy ACCEPT)
num  target prot opt source   destination 
1BF-br-guest  all  --  0.0.0.0/00.0.0.0/0   PHYSDEV
match --physdev-is-bridged 
2BF-br-guest  all  --  0.0.0.0/00.0.0.0/0   PHYSDEV
match --physdev-is-bridged 
3DROP   all  --  0.0.0.0/00.0.0.0/0   
4DROP   all  --  0.0.0.0/00.0.0.0/0   
 Chain OUTPUT (policy ACCEPT)
num  target prot opt source   destination 
 Chain BF-br-guest (2 references)
num  target prot opt source   destination 
1ACCEPT all  --  0.0.0.0/00.0.0.0/0   state
RELATED,ESTABLISHED 
2BF-br-guest-IN  all  --  0.0.0.0/00.0.0.0/0
PHYSDEV match --physdev-is-in --physdev-is-bridged 
3BF-br-guest-OUT  all  --  0.0.0.0/00.0.0.0/0
PHYSDEV match --physdev-is-out --physdev-is-bridged 
4ACCEPT all  --  0.0.0.0/00.0.0.0/0   PHYSDEV
match --physdev-out eth1 --physdev-is-bridged 
 Chain BF-br-guest-IN (1 references)
num  target prot opt source   destination 
1i-2-505-def  all  --  0.0.0.0/00.0.0.0/0   PHYSDEV
match --physdev-in vnet6 --physdev-is-bridged 
 Chain BF-br-guest-OUT (1 references)
num  target prot opt source   destination 
1i-2-505-def  all  --  0.0.0.0/00.0.0.0/0   PHYSDEV
match --physdev-out vnet6 --physdev-is-bridged 
 Chain i-2-505-VM (1 references)
num  target prot opt source   destination 
1ACCEPT udp  --  0.0.0.0/00.0.0.0/0   udp
dpts:1:65535 state NEW 
2ACCEPT tcp  --  0.0.0.0/00.0.0.0/0   tcp
dpts:1:65535 state NEW 
3ACCEPT icmp --  0.0.0.0/00.0.0.0/0   icmp type
255 
4DROP   all  --  0.0.0.0/00.0.0.0/0   
 Chain i-2-505-VM-eg (1 references)
num  target prot opt source   destination 
1RETURN udp  --  0.0.0.0/00.0.0.0/0   udp
dpts:1:65535 state NEW 
2RETURN tcp  --  0.0.0.0/00.0.0.0/0   tcp
dpts:1:65535 state NEW 
3RETURN icmp --  0.0.0.0/00.0.0.0/0   icmp type
255 
4DROP   all  --  0.0.0.0/00.0.0.0/0   
 Chain i-2-505-def (2 references)
num  target prot opt source   destination 
1ACCEPT all  --  0.0.0.0/00.0.0.0/0   state
RELATED,ESTABLISHED 
2ACCEPT udp  --  0.0.0.0/00.0.0.0/0   PHYSDEV
match --physdev-in vnet6 --physdev-is-bridged udp spt:68 dpt:67 
3ACCEPT udp  --  0.0.0.0/00.0.0.0/0   PHYSDEV
match --physdev-out vnet6 --physdev-is-bridged udp spt:67 dpt:68 
4RETURN udp  --  10.5.26.96   0.0.0.0/0   PHYSDEV
match --physdev-in vnet6 --physdev-is-bridged udp dpt:53 
5i-2-505-VM-eg  all  --  10.5.26.96   0.0.0.0/0
PHYSDEV match --physdev-in vnet6 --physdev-is-bridged 
6i-2-505-VM  all  --  0.0.0.0/00.0.0.0/0   PHYSDEV
match --physdev-out vnet6 --physdev-is-bridged

---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


回复: [gcj] Graduate Programs Similar to Google Code Jam Problems

2013-08-05 Thread zhangyan...@gmail.com


发送自我的HTC 新渴望VT

- Reply message -
发件人: Ali Abbasinasab a.abbasina...@gmail.com
收件人: google-code google-code@googlegroups.com
主题: [gcj] Graduate Programs Similar to Google Code Jam Problems
日期: 周一, 8 月 5 日, 2013 年 14:03


@Sadi lets do it privately so that we don't bother others with our
iterations.
@all Anyone interested in our conversation drop me an email.


On Sun, Aug 4, 2013 at 8:40 PM, sadi hassan sadi.resea...@gmail.com wrote:

 Hi Ali,

 Your answer is really good and inspiring.

 Which University you are currently enrolled in?
 Can you explain a bit about the admission process and research groups?
 I am trying to get into grad admission in a reputable university, but I am
 just getting failed to manage professors :-(

 However, thanks for a nice reply.

 Sadi



 On Mon, Aug 5, 2013 at 1:57 AM, Ali Abbasinasab 
 a.abbasina...@gmail.comwrote:

 Hi,

 Of course. Many students who used to participate (or still participating)
 in programming contests (e.g. GCJ, TopCoder or ACM ICPC) are now grad
 student in Computer Science or Computer Engineering (or maybe completed
 their degree). Their research usually requires knowledge and skills in
 algorithm design and programming to solve a practical problem. I'm
 personally working on the reliability of memories with an emphasis of
 curing electromigration which may sound completely off the topic.
 However, what I am doing is developing algorithms and designing
 combinatorial optimization techniques with the application of VLSI
 circuits. My research requires a ton of algorithmic programming skills that
 I gained by involving in these contests. Obviously, sometimes I need to
 know some other related materials in physics and electrical circuits in
 order to have a good image of the problem and solve it correctly. There are
 also several fields which are purely related to the algorithm design and
 its theoretical aspects that you can find in computer science programs.
 Note that as a grad student you usually need to obtain some other skills
 and dig in other theoretical materials in order to solve a real world
 problem. All in all, although I'm solving a problem in the semiconductor
 industry, it's nothing but designing algorithms and programming.

 Good luck.




 On Sun, Aug 4, 2013 at 9:46 AM, Rick Goldstein rickgoldstei...@gmail.com
  wrote:

 Hi,

 I was wondering if anyone has completed (or currently working towards) a
 CS/algorithm phd where the research problems and/or coursework are a
 similar flavor to the programming questions asked in the Google Code Jam?

 Thanks!
 Rick

 --
 You received this message because you are subscribed to the Google
 Groups Google Code Jam group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to google-code+unsubscr...@googlegroups.com.
 To post to this group, send email to google-code@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-code/2f8501ab-033d-4806-bddd-f4cbbdf4d3ab%40googlegroups.com
 .
 For more options, visit https://groups.google.com/groups/opt_out.



  --
 You received this message because you are subscribed to the Google Groups
 Google Code Jam group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-code+unsubscr...@googlegroups.com.
 To post to this group, send email to google-code@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-code/CAMUfUqMwqab3fN9ZNRtKc41jVvAVV37qHLXi9O6-P7vui-wHkw%40mail.gmail.com
 .

 For more options, visit https://groups.google.com/groups/opt_out.




  --
 You received this message because you are subscribed to the Google Groups
 Google Code Jam group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to google-code+unsubscr...@googlegroups.com.
 To post to this group, send email to google-code@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-code/CADv9SgFJjJeWqPRjkuNXRWkykt2wdQx%3DFm6b1%2BbFU5uqttrfwg%40mail.gmail.com
 .

 For more options, visit https://groups.google.com/groups/opt_out.




-- 
You received this message because you are subscribed to the Google Groups 
Google Code Jam group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/CAMUfUqO346dgt%3DUU6NiPBru6wyEGoaJyO9mq%2B856p-yN-2Ps0g%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


-- 
You received this message because you are subscribed to the Google Groups 
Google Code Jam group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-code+unsubscr...@googlegroups.com.
To post to this group, send email to google-code@googlegroups.com.
To view 

[Linux-HA] help(no crm command)

2013-05-14 Thread zhangyan
Hello.My system os is Centos 6.4 X64,when I install corosync and pacemaker 
using this command(as offical document  guide):
yum -y install corosync* pacemaker*
but I can't find  crm command. why?
help me!
Tks!Best regards!

the following is some information
[root@slave log]# uname -a
Linux slave 2.6.32-358.el6.x86_64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 
x86_64 x86_64 GNU/Linux
[root@slave log]#

[root@slave log]# yum -y install corosync* pacemaker*
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * base: mirrors.yun-idc.com
 * extras: mirrors.yun-idc.com
 * updates: mirrors.yun-idc.com
Setting up Install Process
Package corosynclib-1.4.1-15.el6.x86_64 already installed and latest version
Package corosync-1.4.1-15.el6.x86_64 already installed and latest version
Package corosynclib-devel-1.4.1-15.el6.x86_64 already installed and latest 
version
Package pacemaker-cluster-libs-1.1.8-7.el6.x86_64 already installed and latest 
version
Package pacemaker-libs-1.1.8-7.el6.x86_64 already installed and latest version
Package pacemaker-libs-devel-1.1.8-7.el6.x86_64 already installed and latest 
version
Package pacemaker-1.1.8-7.el6.x86_64 already installed and latest version
Package pacemaker-doc-1.1.8-7.el6.x86_64 already installed and latest version
Package pacemaker-cts-1.1.8-7.el6.x86_64 already installed and latest version
Package pacemaker-cli-1.1.8-7.el6.x86_64 already installed and latest version
Nothing to do

[root@slave log]# crm
crmadmin   crm_error  crm_moncrm_resource   crm_standby   
crm_attribute  crm_failcount  crm_node   crm_shadow crm_ticket
crm_diff   crm_master crm_report crm_simulate   crm_verify

 
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


[Reportbug-maint] (no subject)

2012-11-18 Thread zhangyan

___
Reportbug-maint mailing list
Reportbug-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reportbug-maint


A spacious double bedroom to let

2011-02-13 Thread zhangYan

Dear all, 
Sorry to bother who is not concern.
There is a spacious double room with double bed available in a flat, located at 
CB1 3TA, nice and quiet, closed to train station, city center and Addenbrooke's 
Hospital. All necessary facilities wash machine, fridge, microwave etc 
included. High speed internet connection. City 2 stop is just at the road end. 
About 10-15min walking distance to big Sainsbury. Long or short term are all 
welcome. This room is to let for female, single occupation only. Rent 400 
pounds all bills included.  If you are interested in please reply 
Email:ymz...@hotmail.com or phone:07466895240 for detail.

Thanks

  **
 CSSA-CAM Mailing List

To Join or Leave:

1.Soc-cssa ( Committee newsletter only, with essential activity announcements 
): 
Goto http://lists.cam.ac.uk/mailman/listinfo/soc-cssa (it asks for your Raven 
password and subscribes immediately) 
,
or email soc-cssa-requ...@lists.cam.ac.uk with Subscribe or Unsubscribe as 
subject. 

2.Ucam-cssa ( Second hand goods, other society activities and cam news. Open to 
public):
Goto http://lists.cam.ac.uk/mailman/listinfo/ucam-cssa (it asks for your Raven 
password and subscribes immediately) 
,
or email ucam-cssa-requ...@lists.cam.ac.uk with Subscribe or Unsubscribe as 
subject.
**


a double room to let

2011-02-05 Thread zhangYan

Dear all, 

Sorry to bother who are not concern.

There is a spacious double room with double bed available in a flat, located at 
CB1 3TA, nice and quiet, closed to train station, city center and Addenbrooke's 
Hospital. All necessary facilities wash machine, fridge, microwave etc 
included. High speed internet connection. City 2 stop is just at the road end. 
About 10-15min walking distance to Sainsbury. Long or short term all welcome. 
This room is to let for female, single occupation only.  If you are interested 
in please reply Email:ymz...@hotmail.com or phone:07466895240 for detail.

Thanks

  **
 CSSA-CAM Mailing List

To Join or Leave:

1.Soc-cssa ( Committee newsletter only, with essential activity announcements 
): 
Goto http://lists.cam.ac.uk/mailman/listinfo/soc-cssa (it asks for your Raven 
password and subscribes immediately) 
,
or email soc-cssa-requ...@lists.cam.ac.uk with Subscribe or Unsubscribe as 
subject. 

2.Ucam-cssa ( Second hand goods, other society activities and cam news. Open to 
public):
Goto http://lists.cam.ac.uk/mailman/listinfo/ucam-cssa (it asks for your Raven 
password and subscribes immediately) 
,
or email ucam-cssa-requ...@lists.cam.ac.uk with Subscribe or Unsubscribe as 
subject.
**


Bug#569545: nvidia-kernel: vbemode is not properly restored in tty

2010-02-12 Thread zhangyan
Package: nvidia-kernel-2.6.26-2-686
Version: 173.14.09+3+lenny1
Severity: normal
File: nvidia-kernel


Description: screen will flicker when switched to tty.
I suspect it is because that vbemode is not restored properly.

( I am not sure if this is a bug of nvidia-glx or nvidia-kernel,
please currect me if I am wrong. )

Known work-arounds:
 A)  
Run the following command every time switching to tty from X:

vbetool vbemode set `vbetool vbemode get`

 B) 
Download and install NVIDIA-Linux-x86-177.70.33-pkg1.run from nvidia
website

Additional Information:

Output from lspci:
00:05.0 VGA compatible controller: nVidia Corporation C51 [Geforce 6150
Go] (rev a2)



-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages nvidia-kernel-2.6.26-2-686 depends on:
ii  linux-image-2.6.26-2-686  2.6.26-21  Linux 2.6.26 image on PPro/Celeron
ii  nvidia-kernel-common  20080825+1 NVIDIA binary kernel module common

nvidia-kernel-2.6.26-2-686 recommends no packages.

nvidia-kernel-2.6.26-2-686 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org