Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

!! moved to: github.com/RexIO

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 db
Octocat-spinner-32 debian
Octocat-spinner-32 doc
Octocat-spinner-32 lib
Octocat-spinner-32 t
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MANIFEST
Octocat-spinner-32 MANIFEST.SKIP
Octocat-spinner-32 Makefile.PL
Octocat-spinner-32 README.pod
Octocat-spinner-32 Rexfile
Octocat-spinner-32 server.conf
README.pod

Rex::IO::Server

This is the Server Component of Rex. This component is for collecting multiple backends under one middleware to get a consistent api to talk to the backends (like CMDBs, DHCP, DNS, Issue/Incident Trackers, and more).

It also provides bare metal deployment capabilities.

This is a work in progress project.

DEPENDENCIES

Mojolicious

SETUP

...tbd...

CONFIGURATION

...tbd...

ISC DHCP

...tbd...

Configure a subnet to boot iPXE.

 subnet 192.168.7.0 netmask 255.255.255.0 {
        range 192.168.7.100 192.168.7.150;
        option routers 192.168.7.1;

        if exists user-class and option user-class = "iPXE" {
                filename "http://rex-io-server/deploy/boot?deploy=true";
        } else {
                filename "undionly.kpxe";
        }
 }

TFTP

Download http://boot.ipxe.org/undionly.kpxe into your tftp-root.

APACHE

...tbd...

MYSQL

...tbd...

ISC BIND

...tbd...

Configure your ISC BIND DNS Server to accept zone transfers from your Rex.IO Server. Use ddns-confgen to generate a key.

 acl trusted-servers {
   192.168.1.3;
   127.0.0.1;
 };
     
 controls {
   inet 127.0.0.1 port 953 allow { any; }
   keys { "rexio"; };
 };
    
 key "rexio" {
   algorithm hmac-md5;
   secret "the-secret-string";
 };
    
 zone "your-zone.com" IN {
   type master;
   file "your-zone.com.zone";
   allow-transfer { trusted-servers; };
   update-policy {
      grant rexio zonesub ANY;
   };
 };
Something went wrong with that request. Please try again.