码迷,mamicode.com
首页 >  
搜索关键字:xenserver snapshot backup    ( 4446个结果
第十五周
1、编写脚本,支持让用户自主选择,使用mysqldump还是xtraback全量备份。#!/bin/bashPS3="Pleaseinputachoice:"selectmenuinmysqldumpxtrabackup;docase$REPLYin1)mkdir/backup/dump/&>/dev/nullmysqldump-F-A--single-transaction--ma
分类:其他好文   时间:2020-04-07 20:15:13    阅读次数:84
Bad file format reading the append only file: make a backup of your AOF file, then use ./redis-check-aof --fix <filename>
服务器异常重启之后,在 启动 redis 时,redis-server不断的从日志文件加载数据到内存,到了6G左右时,redis-server 又挂了,再次启动重复这个过程。查看日志,发现报错: Bad file format reading the append only file: make a ...
分类:移动开发   时间:2020-04-06 17:20:24    阅读次数:85
分布式系统原理
原文链接 参考书籍:《分布式原理》 链接:https://pan.baidu.com/s/1DrSwxnBKZzSqoyiqXu_OJw 密码:rz2t 更多书籍:《Designing Data-Intensive Application》DDIA中文翻译 1 概念 1.1 模型 1.2 副本 1. ...
分类:其他好文   时间:2020-04-05 11:56:33    阅读次数:64
android使用service
运行效果:一开始app调用service播放音乐,点击左上角的音量按钮会停止播放音乐。 结构目录图: activity_main.xml: 1 <?xml version="1.0" encoding="utf-8"?> 2 <RelativeLayout xmlns:android="http:/ ...
分类:移动开发   时间:2020-04-04 23:02:29    阅读次数:134
PowerShell 批量打开 EC2 Termination Protection
同事前两天打算重启一个EC2实例,结果手滑点到了Termination,然后EC2就悲剧了。幸好有Snapshot备份,服务器挂了15分钟之后成功的恢复了。可以看见reboot和terminate靠的十分近,所以为了避免悲剧再次发生,我们需要打开terminationprotection如果只有几台EC2,可以手动点开,如图所示但是如果很多的话,还是写脚本实现方便一些下面是PowerShell实现
分类:系统相关   时间:2020-04-03 19:49:20    阅读次数:88
xenserver网卡bond状态警告
问题现象:xenserver版本:7.1cu1解决方法:使用ethtool-ieth0查看网卡驱动版本,根据citrix官方KB需要更新网卡驱动https://support.citrix.com/article/CTX226402?download
分类:其他好文   时间:2020-04-03 18:31:33    阅读次数:123
centos 更换源以及安装软件
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup CentOS 5wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun. ...
分类:其他好文   时间:2020-04-03 18:03:09    阅读次数:72
docker 导出本地镜像到其他服务器或者无外网环境安装
保存镜像为文件 docker save -o 要保存的文件名 要保存的镜像 举例: [root@iZbp16cdvzk4rhl0vn1gedZ ~]# ls aaa.cap install.sh mobile-1.0.0-SNAPSHOT.jar sa_recovery.log [root@iZbp ...
分类:其他好文   时间:2020-04-02 01:38:47    阅读次数:121
Linux用户密码过期 FAILED to authorize user with PAM (Authentication token is no longer valid; new one req)
执行crontab [root@FMPVZABBIX mysql_backup]# tail -f /var/log/cron Jul 16 14:12:01 FMPVZABBIX crond[13308]: (root) PAM ERROR (Authentication token is no ...
分类:系统相关   时间:2020-04-01 12:37:08    阅读次数:219
LocalSystem Account
LocalSystem Account The LocalSystem account is a predefined local account used by the service control manager. This account is not recognized by the s ...
分类:其他好文   时间:2020-03-31 10:37:19    阅读次数:88
4446条   上一页 1 ... 26 27 28 29 30 ... 445 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!