随笔分类 -  工作

工作记录
zabbix install
摘要:Auth: JinDate: 20140714用了5 6年的监控工具http://zabbix.org/wiki/InstallOnCentOS_RHELServer Installyum -y install zabbix22-server zabbix22-server-mysql zabbix... 阅读全文

posted @ 2014-07-14 14:23 @Jin 阅读(505) 评论(0) 推荐(1)

mysql-mmm故障整理
摘要:Auth: JinDate: 201404141.master-slave同步问题1)故障描述和错误代码:监控报警slave故障登录slave服务器查看mysql> show slave status\G发现有Errno详细的记录在另外电脑,电脑硬盘坏了,没有具体的报错了2)排查步骤:(1)查看错误... 阅读全文

posted @ 2014-04-14 14:59 @Jin 阅读(1673) 评论(0) 推荐(0)

导库字符集的问题
摘要:11 阅读全文

posted @ 2014-04-02 14:22 @Jin 阅读(303) 评论(0) 推荐(0)

mysql-proxy使用中的问题
摘要:Auth: Jin1.session问题Date: 20140328问题描述:基于openx 的广告系统,将数据从单点,迁移到mmm集群,前端无法访问报错信息如下:MDB2 Error: Array_doQuery: [Error message: Could not execute statement][Last executed query: EXECUTE MDB2_STATEMENT_mysql_231aaea2d6a8cace7c73797d81dc6ea8 USING @0][Native code: 1243][Native message: Unknown prepared s 阅读全文

posted @ 2014-03-28 13:26 @Jin 阅读(2218) 评论(0) 推荐(0)

MYSQL数据库迁移总结
摘要:Auth: JinDate: 2014-04-03前端操作,后续测试对外开放不在本文准备阶段操作阶段后续阶段需求:phpcms和anquanzuo在一个mysql实例中anquanzuo有一张视图为phpcms三张表部分字段的字段和组合phpcms迁移到master-slave的mmm架构anquanzuo迁移到ndb架构一、准备阶段信息采集和权限授予(一)phpcms1.字符集环境字符集3304-phpcms>show variables like 'char%';+--------------------------+------------------------- 阅读全文

posted @ 2014-03-19 16:58 @Jin 阅读(704) 评论(0) 推荐(0)

NFS迁移
摘要:Auth: JinDate: 20140317需求将NFS共享IP切换为192.168.201.221,通过192.168.201.0网段提供共享(10.0.0.0和192.168.201.0都能使用)将NFS共享目录切换到/data/BackupPC/nfs/,这样纳入BackupPC备份NFS 原来的配置/data/backup/nfs 10.0.0.0/24(rw,sync,no_root_squash)/data/backup/nfs/gbstore 10.0.0.0/24(rw,sync,no_root_squash)/data/backup/nfs/gbdms ... 阅读全文

posted @ 2014-03-17 11:48 @Jin 阅读(685) 评论(0) 推荐(0)

通过现有数据导出新表SQL
摘要:Date: 20140217Auth: JIN需求: 导出一个表的两个列的表的SQL语句(包含数据)方法:创立一个临时表mysql> desc kw_keywords;+------------+------------------+------+-----+---------+----------------+| Field | Type | Null | Key | Default | Extra |+------------+------------------+------+-----+---------+--------------... 阅读全文

posted @ 2014-02-17 15:05 @Jin 阅读(206) 评论(0) 推荐(0)

mysql远程表/视图-应用
摘要:Date :20140213Auth: Jin参考http://blog.sina.com.cn/s/blog_757b0e130101erl5.htmlhttp://dev.mysql.com/doc/refman/5.1/zh/storage-engines.html#federated-storage-engine一、问题描述1.目前应用情况在mysql 3304实例中有phpcms,anquanzuo两个库,phpcms有数据写入,anquanzu没有数据写入anquanzu有一个视图表carseats_article 为phpcms库的三个表v9_news,v9_news_data, 阅读全文

posted @ 2014-02-13 17:25 @Jin 阅读(2184) 评论(0) 推荐(0)

openstack-cinder-netapp
摘要:https://communities.netapp.com/docs/DOC-31749http://docs.openstack.org/havana/config-reference/content/ontap-7mode-iscsi.html 阅读全文

posted @ 2014-02-12 17:03 @Jin 阅读(178) 评论(0) 推荐(0)

文本字符集转换
摘要:http://lqqnotes.blog.51cto.com/3329069/659886拉取数据 在我opensuse下OK产品的WIN下面乱码# enca -L 现在文件的语言 -x 需要转换编码 需要转换编码的文件查看文件编码jin@linux-gzy1:~> enca -d Downloads/store_sdb_ectools_regions_0211-3.csvDownloads/store_sdb_ectools_regions_0211-3.csv: Universal transformation format 8 bits; UTF-8jin@linux-gzy1:~ 阅读全文

posted @ 2014-02-11 15:01 @Jin 阅读(983) 评论(0) 推荐(0)

添加HP消息队列
摘要:Date: 20140210Auth: Jin两台服务器120 HTTPSQS236 HTTPPROXY1.add host$ jump 120#vim /etc/hosts192.168.201.236 www.happyboby.com2. http proxy$ jump 236vim /etc/nginx/http-upstream/www.happyboby.comupstream www.happyboby.com.upstream { server 10.0.0.248:80; server 10.0.0.249:80;}vim /etc/nginx/nginx.confse.. 阅读全文

posted @ 2014-02-10 18:32 @Jin 阅读(300) 评论(0) 推荐(0)

导航