Usage¶
Testing without a load balancer¶
- Example:
- Endpoint:
yourhost.com
- bucket:
test
- Endpoint:
- Client(s)
- You need to edit
/etc/hosts
in your client machine(s) - You can use any S3 client, like
- You need to edit
- Servers configuration (only ip and name)
- Manager
- IP: 192.168.1.7, 192.168.1.8
- Name: manager_0@192.168.1.7, manager_1@192.168.1.8
- Gateway
- IP: 192.168.1.3
- Name: gateway_0@192.168.1.3
- Storage
- IP: 192.168.1.4 .. 192.168.1.6
- Name: storage_0@192.168.1.4 .. storage_2@192.168.1.6
- Commands to execute with leofs-adm
- Set an endpoint
- Create a user
$ leofs-adm add-endpoint <your-host-name>
OK
$ leofs-adm create-user <your-name>
access-key-id: 05dcba94333c7590a635
secret-access-key: c776574f3661579ceb91aa8788dfcac733b21b3a
Production/Staging with a load balancer¶
(under construction)