小编moo*_*ima的帖子

如何在 Ubuntu 14.4 上将 Python 升级到 2.7.9?

Ubuntu 14.4 内置了 Python 2.7.6,但我想将其升级到 2.7.9(它具有我想要的安全功能)。

这甚至可能吗?如果是这样,如何实现?

python ubuntu-14.04

34
推荐指数
3
解决办法
6万
查看次数

是否可以使用配置文件配置起搏器?

我正在尝试使用配置文件配置起搏器(我可以自动生成然后要求起搏器“重新加载”)。但是我看到的所有示例都是针对命令行命令或交互式编辑器的。(我正在运行 Ubuntu)。

命令行方法是这样的

crm configure primitive VIP ocf:IPaddr2 params ip=10.0.2.200 nic=eth0 op monitor interval=10s
Run Code Online (Sandbox Code Playgroud)

虽然交互模式是这样的

sudo crm configure
And then we add the res_ip resource:

crm(live)configure# primitive res_ip ocf:heartbeat:IPaddr2 params ip="102.169.122.254" cidr_netmask="24" nic="eth0"
crm(live)configure# commit
crm(live)configure# exit
Run Code Online (Sandbox Code Playgroud)

但我想要一个可以更新和重新加载的静态配置文件。类似于/etc/ha.d/haresources心跳使用的文件。有这种可能吗?

pacemaker corosync

3
推荐指数
1
解决办法
1万
查看次数

标签 统计

corosync ×1

pacemaker ×1

python ×1

ubuntu-14.04 ×1