google / seesaw

Seesaw v2 is a Linux Virtual Server (LVS) based load balancing platform.
Apache License 2.0
5.65k stars 511 forks source link

Setting up Google Seesaw #42

Open Quest86 opened 6 years ago

Quest86 commented 6 years ago

Hello Gents and possibly ladies.

I have been trying to get the Seesaw up and running with little success. I have been following the github guide and ran into some issues. I hope someone can help me out with them.

First issue. When I download the seesaw files from github and run make test I get this error:

? github.com/google/seesaw/common/server [no test files] ? github.com/google/seesaw/ecu [no test files]

github.com/google/seesaw/healthcheck

healthcheck/dns.go:143: Sprintf format %s has arg rc of wrong type int

github.com/google/seesaw/engine

engine/vserver_test.go:972: Errorf format %s has arg got of wrong type bool FAIL github.com/google/seesaw/engine [build failed] ok github.com/google/seesaw/engine/config 0.006s ok github.com/google/seesaw/ha (cached) FAIL github.com/google/seesaw/healthcheck [build failed] ok github.com/google/seesaw/ipvs (cached) ? github.com/google/seesaw/ncc [no test files]

Judging from the output there is something wrong with argument types. Because of this I get 2 FAILs on the Engine and Healthcheck. Is this serious or can it be ignored? And how could I fix this if necessary.

If I run the make install it compiles the seesaw_ files without any issues.

Another issue I ran into was actually installing the compiled executables.

The install script provided in the github didn't work for me, so I had to do it manually. When I do the install of the sessaw_ files and go to the destination folder I just see a copy of those files. (e.g. seesaw_engine etc.). I would expect to see a bunch of seesaw files instead, like when I install something on windows. These are some of the commands I used to install: sudo install seesaw_ha /usr/local/seesaw sudo install seesaw_healthcheck /usr/local/seesaw sudo install seesaw_ncc /usr/local/seesaw

What am I doing wrong?

The last question is how do I get the seesaw started? I have seen some mention of seesaw_watchdog, but when I try to run it as a service or run restart seesaw_watchdog as suggested, I get unknown job/service.

Any help would be greatly appreciated.