LoginSignup
0
0

More than 5 years have passed since last update.

LVSの設定方法3(Test)

Last updated at Posted at 2016-03-05

in Web1

ssh web1
sudo vi /var/www/html/test.html
/var/www/html/test.html
<html>
<body>
<h1>Hello web1</h1>
</body>
</html>

in Web2

ssh web2
sudo vi /var/www/html/test.html
/var/www/html/test.html
<html>
<body>
<h1>Hello web2</h1>
</body>
</html>

in Host

バランシングされていることを確認する

You should try twice

curl -v 192.168.43.200/test.html

スクリーンショット 2016-03-05 23.32.57.png

lvs1をshutdownしても、動作することを確認

in lvs1

ssh lvs1
sudo /sbin/shutdown -h now

in Host

curl -v 192.168.43.200/test.html
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0