help-drpcli-reservationsΒΆ
- Intent
- Help to set an IP reservation via drpcli and see it via the RackN-Portal Networking Reservations view.
- Success
- Set a IP via mac reservation and confirm.
Manual Steps
Assuming a drpfeature-test-network with drpfeature-test-vbox running the drpfeature-test-drpe setup.
Check subnet config:
[drpops@drpe drpisolated]$ ./drpcli subnets list [ { "ActiveEnd": "192.168.88.199", "ActiveLeaseTime": 60, "ActiveStart": "192.168.88.100", "Available": true, "Enabled": true, "Errors": [], "Meta": {}, "Name": "drpfeature-test-subnet", "NextServer": "192.168.88.3", "OnlyReservations": false, "Options": [ { "Code": 1, "Value": "255.255.255.0" }, { "Code": 3, "Value": "192.168.88.1" }, { "Code": 6, "Value": "8.8.8.8" }, { "Code": 15, "Value": "drpfeature.test" }, { "Code": 28, "Value": "192.168.88.255" }, { "Code": 67, "Value": "lpxelinux.0" } ], "Pickers": [ "hint", "nextFree", "mostExpired" ], "Proxy": false, "ReadOnly": false, "ReservedLeaseTime": 7200, "Strategy": "MAC", "Subnet": "192.168.88.0/24", "Validated": true } ]
Create a reservation:
[drpops@drpe drpisolated]$ ./drpcli reservations create '{ "Addr": "192.168.88.181", "Token": "AC:16:2D:A9:C7:49", "Strategy": "MAC" }' { "Addr": "192.168.88.181", "Available": true, "Errors": [], "Meta": {}, "NextServer": "", "Options": [], "ReadOnly": false, "Strategy": "MAC", "Token": "AC:16:2D:A9:C7:49", "Validated": true }
Check reservation via drpcli:
[drpops@drpe drpisolated]$ ./drpcli reservations list [ { "Addr": "192.168.88.181", "Available": true, "Errors": [], "Meta": {}, "NextServer": "", "Options": [], "ReadOnly": false, "Strategy": "MAC", "Token": "AC:16:2D:A9:C7:49", "Validated": true } ]
- Open RackN-Portal Networking -> Reservations
- Verify Reservation.
- Open RackN-Portal Networking -> Leases
- Verify expected Reservations were made to MAC in Leases
Details of the drpfeature-test-network setup
Make c9r1u10ib1-cisco-switch interconnect bay reservation:
[drpops@drpe drpisolated]$ ./drpcli reservations create '{ "Addr": "192.168.88.199", "Token": "00:23:05:81:b2:37", "Strategy": "MAC" }'
- Make all iLO (integrated Lights Out) management IP for blades in c9r1u10-OA1
iLO for Blade 1 - c9r1u10b01-ILOUSE238ELJD
iLO for Blade 2 - c9r1u10b02-ILOUSE151NJDP
iLO for Blade 3 - c9r1u10b03-ILOUSE238ELJC
iLO for Blade 4 - c9r1u10b04-ILOUSE202RFN2
drpcli reservations:
[drpops@drpe drpisolated]$ ./drpcli reservations create '{ "Addr": "192.168.88.181", "Token": "ac:16:2d:a9:c7:49", "Strategy": "MAC" }' [drpops@drpe drpisolated]$ ./drpcli reservations create '{ "Addr": "192.168.88.182", "Token": "44:1e:a1:51:d8:d3", "Strategy": "MAC" }' [drpops@drpe drpisolated]$ ./drpcli reservations create '{ "Addr": "192.168.88.183", "Token": "ac:16:2d:c1:7a:03", "Strategy": "MAC" }' [drpops@drpe drpisolated]$ ./drpcli reservations create '{ "Addr": "192.168.88.184", "Token": "e4:11:5b:d3:4c:84", "Strategy": "MAC" }'
- Make server NIC Reservations::
drpcli reservations:
[drpops@drpe drpisolated]$ ./drpcli reservations create '{ "Addr": "192.168.88.101", "Token": "ac:16:2d:af:e0:20", "Strategy": "MAC" }' [drpops@drpe drpisolated]$ ./drpcli reservations create '{ "Addr": "192.168.88.102", "Token": "e4:11:5b:d0:83:78", "Strategy": "MAC" }' [drpops@drpe drpisolated]$ ./drpcli reservations create '{ "Addr": "192.168.88.103", "Token": "ac:16:2d:c0:be:58", "Strategy": "MAC" }' [drpops@drpe drpisolated]$ ./drpcli reservations create '{ "Addr": "192.168.88.104", "Token": "e4:11:5b:dc:12:40", "Strategy": "MAC" }'
Video Track
No Video Track yet
Endpoint Menu System of a RackN-Portal
- Networking
- Provision
- Syncronize & Upload