Created
March 12, 2014 05:35
-
-
Save ndzj081221130/9501441 to your computer and use it in GitHub Desktop.
部署2个DEA的命令
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > Written with [StackEdit](https://stackedit.io/). | |
| > | |
| > cd /vagrant/dea_ng2 | |
| bin/dea config/dea.yml | |
| > cd /vagrant/dea_ng2 | |
| sudo go/bin/runner -conf config/dea.yml | |
| > cd /vagrant/dea_ng2 | |
| bundle exec spec/bin/file_server.rb | |
| > cd /vagrant/warden2/warden | |
| sudo bundle exec rake warden:start[config/linux.yml] | |
| 部署tuscany出现一个问题,不能下载了??? | |
| 什么情况??? | |
| 在warden里面curl http://114.212.85.89:80/jdk.tar.gz | |
| 居然curl:(7) couldn't connect to host | |
| DNS解析有错?只能从buildpack_cache获取了。 | |
| 在warden1修改warden端口号,没有问题?! | |
| 那为什么在warden2里修改端口号,报错iptables... | |
| 重启后,现在也没有了。。。 | |
| 部署tuscany节点的时候,可能会选warden2。 | |
| 此时需要在warden2中 | |
| > ln -s /usr/local/bin/ruby /usr/bin/ruby | |
| 再次部署tuscany | |
| 第一次部署成功了,但是gorouter认为404 | |
| 这是为什么呢?因为我改了监听端口号的起始地址??? | |
| 即使只部署一个节点,也是404 | |
| 现在只能将warden监听的端口号改回去了。 | |
| 还是404??? | |
| 用test-log来测试负载均衡?jmeter | |
| tuscany突然又有值了??? | |
| 还是因为我改回去了??? | |
| 后来是一个tuscany有值,一个404 | |
| 结果发现第2个的61015端口号被占了。所以不知道这个端口号,到底能不能改成+200 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment