2013年11月23日
摘要: 手动生成keystorekeytool -genkey -keystore /etc/cloudstack/management/cloud.keystore -storepass "vmops.com" -keypass "vmops.com" -keyalg "RSA" -validity "3650" -dname "CN=sjcloud.cn, OU=Shanghai CA, O=sjcloud Inc, L=cloud, S=cloud, C=SE" 阅读全文
posted @ 2013-11-23 14:31 heidsoft 阅读(635) 评论(0) 推荐(0) 编辑
  2013年11月22日
摘要: 作者:88250 ,Vanessa 时间:2009 年 11 月 19 日 Java 依赖注入标准(JSR-330,Dependency Injection for Java)1.0 规范已于今年 10 月份发布 。该规范主要是面向依赖注入使用者,而对注入器实现、配置并未作详细要求。目前 Spring 、Guice 已经开始兼容该规范,JSR-299(Contexts and Dep... 阅读全文
posted @ 2013-11-22 18:20 heidsoft 阅读(672) 评论(0) 推荐(0) 编辑
摘要: podid属性格式错误,应该是podId 正确结果 Zone的初始化共发送26个命令 启用zone 阅读全文
posted @ 2013-11-22 14:12 heidsoft 阅读(359) 评论(0) 推荐(0) 编辑
  2013年11月21日
摘要: 查询路由元素 选择可以使用的路由元素 需要将网络服务提供者的:虚拟路由和安全同时启用 { "createnetworkresponse" : {"errorcode":530,"cserrorcode":4390,"errortext":"Provider VirtualRouter is eithe... 阅读全文
posted @ 2013-11-21 20:48 heidsoft 阅读(445) 评论(0) 推荐(0) 编辑
摘要: 无法创建 无法创建网络 执行顺序 阅读全文
posted @ 2013-11-21 16:42 heidsoft 阅读(240) 评论(0) 推荐(0) 编辑
  2013年11月20日
摘要: 阅读全文
posted @ 2013-11-20 14:36 heidsoft 阅读(258) 评论(0) 推荐(0) 编辑
  2013年11月19日
摘要: 扩容步骤如下: 1、添加一块物理硬盘 2、fdisk将硬盘分区,选primary分区,创建1-4个 3、分区类型格式化,选择t,输入LVM代号 4、分好后按w退出 如果是调整原有逻辑卷大小,则先调整原有逻辑卷组大小:例如:vgextend VolGroup /dev/sdb1调整好逻辑卷组大小后,在使用vgdisplay查看然后再用lvextend进行扩展如:lvextend -L +9G /d... 阅读全文
posted @ 2013-11-19 22:57 heidsoft 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 注册系统虚拟机模板 /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt 内容如下: usage() { printf "or\n" >&2 } failed() { echo "Installation failed" exit $1 } ... 阅读全文
posted @ 2013-11-19 17:39 heidsoft 阅读(938) 评论(0) 推荐(0) 编辑
摘要: cloud.keystore是这样生成的 String dname = "cn=\"" + cn + "\",ou=\"" + ou + "\",o=\"" + o + "\",c=\"" + c + "\""; Script script = new Script(true, "keytool", 5000, null); scr... 阅读全文
posted @ 2013-11-19 17:07 heidsoft 阅读(392) 评论(0) 推荐(0) 编辑
  2013年11月18日
摘要: 1. 注释Defaults requiretty Defaults requiretty修改为 #Defaults requiretty, 表示不需要控制终端。 否则会出现sudo: sorry, you must have a tty to run sudo 2. 增加行 Defaults visiblepw 否则会出现 sudo: no tty present and n... 阅读全文
posted @ 2013-11-18 23:00 heidsoft 阅读(1095) 评论(0) 推荐(0) 编辑