本文接上一篇文章,介绍了tfs2.2.16版本下采用syn_by_file工具根据文件名来实现两套tfs系统间的数据迁移。测试的环境同上一篇文件一致。一:清除上一次迁移结束后target上的数据#/usr/local/tfs/bin/ssm-s192.168.1.12:8108
show>block#/usr/local/tfs/scripts/tfsstop_ds1-..
分类:
Web程序 时间:
2014-10-10 15:23:14
阅读次数:
404
新版本的pomelo里增强了支持用户自行扩展的能力。用户只用在app.use(plugin, opts)就可以了,具体请看pomelo的application.js里的use函数。需要这个plugin里有components成员。use函数里,pomelo将plugin的componets所指的.....
分类:
其他好文 时间:
2014-10-10 14:39:14
阅读次数:
483
#include #include #include //#include #define SYNC 0x40#define PARITY_EVEN 0x20#define PARITY_ODD 0x30#define STOP_2 0x04#define DATA_5 0x00#define DA...
分类:
数据库 时间:
2014-10-10 03:19:44
阅读次数:
300
本文档记录了两套tfs2.2.16系统之间的数据迁移过程。Source环境介绍:Tfs主nameserver:192.168.1.225/24(vip229)Tfs从nameserver:192.168.1.226/24Tfsdataserver1:192.168.1.226/24(启动三个挂载点,每个挂载点分配20G空间)Tfsdataserver1:192.168.1.227/24(启动三个挂载点,..
分类:
其他好文 时间:
2014-10-09 17:15:29
阅读次数:
191
[leetcode]Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center)....
分类:
其他好文 时间:
2014-10-09 15:33:58
阅读次数:
193
1. 概念理解 在进行网络编程时,我们常常见到同步(Sync)/异步(Async),阻塞(Block)/非阻塞(Unblock)四种调用方式: 同步: 所谓同步,就是在发出一个功能调用时,在没有得到结果之前,该调用就不返回。也就是必须一件一件事做,等前一件做完了才能做下一件事。 例如普通B/S模式(...
分类:
系统相关 时间:
2014-10-09 15:16:13
阅读次数:
415
在freememory较低的情况下,清空cachedmemory.执行sync同步脏数据,防止数据丢失>>sync执行清除命令>>sudosh-c‘echo1>/proc/sys/vm/drop_caches‘2.sysctl控制系统参数/proc/sys目录下面记录了当前系统的内核参数(内存,网络,内核,文件系统等)控制参数。sysctl-a..
分类:
系统相关 时间:
2014-10-08 16:43:16
阅读次数:
279
本篇介绍两种HBase的安装方式:本地安装方式和伪分布式安装方式。
安装的前提条件是已经成功安装了hadoop,而且hadoop的版本要和hbase的版本相匹配。
我将要安装的hbase是hbase-0.94.11版本,需要的hadoop是hadoop-1.2.1版本。
hbase下载地址:http://mirror.bit.edu.cn/apache/hbase/hbase-0...
分类:
其他好文 时间:
2014-10-08 01:23:44
阅读次数:
279
首先是编译准备工作:yumgroupinstall"Developmenttools"然后是编译安装PHP5.5.x需要用到的devel包:yuminstalllibxml2-develgd-devellibmcrypt-devellibcurl-developenssl-devel从官方下载,解压:wgethttp://us3.php.net/get/php-5.5.5.tar.gz/from/cn2.php.net/mirror
tar-x..
分类:
Web程序 时间:
2014-10-08 00:55:16
阅读次数:
472
USING GIT IN XCODEKEEPING IN SYNC WITH REMOTE REPOSITORIESAs you make changes in your local working copy you will want to keep them in sync with the r...
分类:
其他好文 时间:
2014-10-07 17:29:53
阅读次数:
195