Skip to content
thornenj edited this page Apr 26, 2016 · 5 revisions

Add the node's hostname, ip address, mac address, ethernet interface, and netmask to /admin/losf/config/ips.clustername

login3  192.168.100.5    as:df:qw:er:ty:qq       em0     255.255.255.128         # Login node

Add the node into /etc/hosts (or wherever your hostfile is managed, probably by losf itself!)

192.168.100.5    login3.clustername.tacc.utexas.edu login3       # Login node

Add the node to a node type in /admin/losf/config/config.machines

login = login3

Add the new node using the losf utility, which will configure cobbler appropriately for the new node.

[root@master2 config]# losf | vim -
Vim: Reading from stdin...

[root@master2 config]# losf add login3.discovery.tacc.utexas.edu

** Adding new node login3 for Cobbler provisioning...
   --> IPs assigned from file /admin/losf/config/ips.clustername

   Defined Interface:
   --> IP address          = 192.168.100.5
   --> MAC                 = as:df:qw:er:ty:qq
   --> Interface           = em0
   --> Netmask             = 255.255.255.128

   Provisioning Settings:
   --> Kickstart           = /admin/losf/kickstarts/standard.2drive.raid1
   --> Profile             = centos6-x86_64
   --> Name Server         = 129.114.57.2 (search = clustername.tacc.utexas.edu)
   --> DNS enabled         = yes (login3.clustername.tacc.utexas.edu on first defined interface)

Use losf to reload and apply changes to cobbler

[root@master config]# losf sync

** Syncing provisioning config with Cobbler...
--> sync successful
--> number of hosts currently registered = 1

At this point, you should be able to netboot the node.