The answer for question 1 in my case was to install nodejs-0.10.42 - then ife just install fine and Vippy works.
P On Fri, Mar 4, 2016 at 3:11 PM, 曹锐创 <[email protected]> wrote: > Hi, > > I am trying to set an HA cluster on smartos while meet some questions with > vippy and wackamole. > > Question 1: > The page > https://wiki.smartos.org/display/DOC/High+Availability+with+Wackamole says > that vippy is recommended while I failed to compile it after trying many > version of nodejs. In the end it says: > npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. > npm ERR! This is most likely a problem with the ife package, > npm ERR! not with npm itself. > npm ERR! Tell the author that this fails on your system: > npm ERR! node-gyp rebuild > npm ERR! You can get their info via: > npm ERR! npm owner ls ife > npm ERR! There is likely additional logging output above. > And I have no idea to deal with it. I’ll be appriciated if anyone can tell > the right compile configuration. > > Questions 2: > Then I thought I could roll back to wackamole. Fortuanately, it works well > in most situations. But sometimes the shared IP won’t be take after one of > the HA node goes down. I check the interface with ifconfig and found > conflictions. > Both of the node thought the hold the shared IP(192.168.0.200) at the same > time. Then if one goes down, the other one won’t try to broadcast it holds > the IP even it point the IP to the mac with the other node in its own arp > list. > Some times one of the nodes may create more inteface such as net1:2, > net1:3, … , which also hold the shared IP at the same time. > Did anyone meet the situation before or could tell why it happened? > > The details are as follows. On node1 it says: > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 > index 1 > inet 127.0.0.1 netmask ff000000 > net0: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 > index 2 > inet 10.20.1.234 netmask ffffff00 broadcast 10.20.1.255 > ether f2:7f:e5:a9:c8:8 > net1: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 > index 3 > inet 192.168.0.100 netmask ffffff00 broadcast 192.168.0.255 > ether c2:14:ec:eb:a:7a > net1:1: > flags=4001100842<BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4,DUPLICATE> mtu > 1500 index 3 > inet 192.168.0.200 netmask ffffff00 broadcast 192.168.0.255 > lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 > index 1 > inet6 ::1/128 > And on node2: > lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 > index 1 > inet 127.0.0.1 netmask ff000000 > net0: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 > index 2 > inet 10.20.1.235 netmask ffffff00 broadcast 10.20.1.255 > ether 22:7e:49:72:4:d1 > net1: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 > index 3 > inet 192.168.0.101 netmask ffffff00 broadcast 192.168.0.255 > ether 72:3c:11:a4:b:cf > net1:1: flags=1100843<UP,BROADCAST,RUNNING,MULTICAST,ROUTER,IPv4> mtu 1500 > index 3 > inet 192.168.0.200 netmask ffffff00 broadcast 192.168.0.255 > lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 > index 1 > inet6 ::1/128 > *smartos-discuss* | Archives > <https://www.listbox.com/member/archive/184463/=now> > <https://www.listbox.com/member/archive/rss/184463/26861862-3392afaa> | > Modify > <https://www.listbox.com/member/?&> > Your Subscription <http://www.listbox.com> > ------------------------------------------- smartos-discuss Archives: https://www.listbox.com/member/archive/184463/=now RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00 Modify Your Subscription: https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb Powered by Listbox: http://www.listbox.com
