在两个服务器都需要启用Ad Hoc Distributed Queries:
EXEC sp_configure 'show advanced options', 1
RECONFIGURE
EXEC sp_configure 'Ad Hoc Distributed Queries', 1
RECONFIGURE
然后就可以使用SQL内置函数访问:
SELECT *
F...
分类:
数据库 时间:
2014-11-19 10:56:58
阅读次数:
210
主机的ip地址分配hostnameIPaddressrolemaster192.168.1.250/24ansiblenode2.mictiger.com192.168.1.120/24heartbeat,httpdnode3.mictiger.com192.168.1.130/24heartbeat,httpd1)修改hostname在node2和node3的/etc/hosts加入如下信息192.168.1.120 node2.mictiger.com node2
1..
分类:
其他好文 时间:
2014-11-19 02:05:09
阅读次数:
306
ansible简介ansible是与puppet、saltstack类似的集群管理工具,其优点是仅需要ssh和Python即可使用,而不像puppet、saltstack那样都需要客户端。与puppet类似,ansible也支持丰富的功能:批量执行支持模块化,支持playbook(相比puppet还...
分类:
其他好文 时间:
2014-11-17 00:18:59
阅读次数:
307
SQL Server数据库远程操作中,在使用openrowset/opendatasource前首先要启用Ad Hoc Distributed Queries服务,因为这个服务不安全所以SqlServer默认是关闭的。1、启用Ad Hoc Distributed Queries的方法SQL Serv...
分类:
数据库 时间:
2014-11-14 13:50:29
阅读次数:
311
# 环境 - Windows8 - Virtual box - vagrant # 试用 ansible ## 安装虚拟机 - `vagrant box add chef/centos-6.5` - `vagrant init chef/centos-6.5` ### 修改Vagrantfile > config.vm.define :node1 do |node| >...
分类:
其他好文 时间:
2014-11-13 13:09:13
阅读次数:
207
在完成iOS开发,准备进行发布之前,我们都希望App能在周围的朋友之间先进行测试,提提意见,修改完善之后再发布到App Store上。Apple考虑到这一点,因此通过Ad Hoc来实现发布前的用户测试。从另一个角度讲也就是通过Ad Hoc 将未发布的App 给其他人提前免费使用。 关于Ad Hoc的...
分类:
移动开发 时间:
2014-11-08 16:28:43
阅读次数:
150
一、简介1、ansible简介ansible官方的title是“AnsibleisSimpleITAutomation”——简单的自动化IT工具。这个工具的目标有这么几项:自动化部署APP;自动化管理配置项;自动化的持续交付;自动化的(AWS)云服务管理。所有的这几个目标本质上来说都是在一个台或者几台服务器上,..
分类:
其他好文 时间:
2014-11-07 15:09:11
阅读次数:
14059
--1、数据表已经创建,Excel首行作为表头 --启用Ad Hoc Distributed Queries: exec sp_configure 'show advanced options',1 reconfigure exec sp_configure 'Ad Hoc Distribut...
分类:
数据库 时间:
2014-11-07 12:37:24
阅读次数:
163
安装:yum-yinstallansiblerpm-qlansible安装完Ansible之后,这个文件指我们可以对那些主机实行操作。/etc/ansible/hostsAnsible配置文件详解:egrep-v"^#|^$"ansible.cfg-n10:[defaults]14:hostfile=/etc/ansible/hosts#默认的资源文件15:library=/usr/share/ansible#默认库文..
分类:
其他好文 时间:
2014-10-30 19:26:40
阅读次数:
321
1.安装完成之后调用ansible命令出错SuccessfullyinstalledansibleCleaningup...[root@redhat6python_src]#ansible--versionTraceback(mostrecentcalllast):File"/usr/bin/ansible",line25,in<module>fromansible.runnerimportRunnerFile"/usr/lib/python2.6/site-package..
分类:
其他好文 时间:
2014-10-28 18:08:55
阅读次数:
633