09 2015 档案

摘要:先deactivate后再start standby再primary报错不能启动hadr standby的时候,先restore,但是别rollback,直接start hadr as standby先把hadr起来后再推icm1、先把所有的库的hadr stop了2、把primary的库离线备份3... 阅读全文
posted @ 2015-09-29 16:57 juandx 阅读(1383) 评论(0) 推荐(0) 编辑
摘要:http://www.ha97.com/4001.htmlsu命令和su -命令最大的本质区别就是:前者只是切换了root身份,但Shell环境仍然是普通用户的Shell;而后者连用户和Shell环境一起切换成root身份了。只有切换了Shell环境才不会出现PATH环境变量错误。su切换成root... 阅读全文
posted @ 2015-09-29 14:37 juandx 阅读(294) 评论(0) 推荐(0) 编辑
摘要:fg、bg、jobs、&、nohup、ctrl+z、ctrl+c 命令 一、& 加在一个命令的最后,可以把这个命令放到后台执行,如 watch -n 10 sh test.sh & #每10s在后台执行一次test.sh脚本 二、ctrl + z 可以将一个正在前台执行的命令放到后台,并且处于暂停状 阅读全文
posted @ 2015-09-25 18:31 juandx 阅读(4607) 评论(1) 推荐(0) 编辑
摘要:drop database mustang;create database mustang;show databases;use database mustang;show tables;select * from instance; 查看所有属性desc instance; 更改一个字段upd... 阅读全文
posted @ 2015-09-22 17:24 juandx 阅读(228) 评论(0) 推荐(0) 编辑
摘要:mysql> grant 权限1,权限2,…权限n on 数据库名称.表名称 to 用户名@用户地址 identified by ‘连接口令’; 阅读全文
posted @ 2015-09-22 12:41 juandx 阅读(7602) 评论(0) 推荐(0) 编辑
摘要:============================================================================================================上传镜像===kilo new===glance image-create --na... 阅读全文
posted @ 2015-09-21 18:40 juandx 阅读(2454) 评论(0) 推荐(0) 编辑
摘要:No tenant network is available for allocation. No tenant network is available for allocation. 这个问题主要是由于controller节点的neutron没有配置好,一般是由于ml2文件没有配置好,查看/v... 阅读全文
posted @ 2015-09-17 14:28 juandx 阅读(3218) 评论(1) 推荐(0) 编辑
摘要:http://blog.csdn.net/eroswang/article/details/5555415tar [-cxtzjvfpPN] 文件与目录 ....参数:-c :建立一个压缩文件的参数指令(create 的意思);-x :解开一个压缩文件的参数指令!-t :查看 tarfile 里面的... 阅读全文
posted @ 2015-09-15 11:23 juandx 阅读(220) 评论(0) 推荐(0) 编辑
摘要:前几天在compute节点更新openstack的包后,发现报错IncompatibleObjectVersion: Version 1.2 of PciDeviceList is not supported,nova服务在compute节点起不来了,就开始google,等了两天果然很多人都有这个错... 阅读全文
posted @ 2015-09-06 13:23 juandx 阅读(531) 评论(0) 推荐(0) 编辑
摘要:初始时间:2012年 09月 14日 星期五 18:15:33EDT[root@test ~]# mv /etc/localtime /etc/localtime.bak[root@test ~]# ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/local... 阅读全文
posted @ 2015-09-06 10:29 juandx 阅读(1419) 评论(0) 推荐(0) 编辑
摘要:yum install [rpm包或者rpm包地址]yum remove [rpm包]yum list installed 查看已经安装的yum info installed 查看已经安装的包的具体信息yum check-update 查看可以更新的软件包yum update 更新所有软件包,当然也... 阅读全文
posted @ 2015-09-01 11:36 juandx 阅读(218) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示