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

  1. Assuming a drpfeature-test-network with drpfeature-test-vbox running the drpfeature-test-drpe setup.

  2. 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
    }
    ]
    
  3. 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
    }
    
  4. 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
    }
    ]
    
  5. Open RackN-Portal Networking -> Reservations
    1. Verify Reservation.
  6. Open RackN-Portal Networking -> Leases
    1. Verify expected Reservations were made to MAC in Leases

Details of the drpfeature-test-network setup

  1. 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" }'
    
  2. Make all iLO (integrated Lights Out) management IP for blades in c9r1u10-OA1
    1. iLO for Blade 1 - c9r1u10b01-ILOUSE238ELJD

    2. iLO for Blade 2 - c9r1u10b02-ILOUSE151NJDP

    3. iLO for Blade 3 - c9r1u10b03-ILOUSE238ELJC

    4. iLO for Blade 4 - c9r1u10b04-ILOUSE202RFN2

    5. 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" }'
      
  3. Make server NIC Reservations::
    1. 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

  1. System
    1. Overview
    2. Machines
    3. Bulk Actions
    4. Plugins
    5. Info & Preferences
  2. Networking
    1. Subnets
    2. Leases
    3. Reservations
  3. Provision
    1. Boot Enviroments
    2. Templates
    3. Params
    4. Profiles
  4. Control
    1. Workflow
    2. Stages
    3. Tasks
    4. Jobs
  5. Syncronize & Upload
    1. Content Packages
    2. Boot ISOs
    3. Plugin Providers
    4. Suport Files
  6. Endpoint Admin
    1. Users
    2. Logs
    3. Logout