Skip to content

Archipel Node Stateless PXE Boot How To Linux Like

magadan edited this page Apr 29, 2012 · 11 revisions

deploy linux

Note: FAQ in development. ( Want help ? Edit this file )

Introduction

To boot your Servers by PXE with ANSOS you will need:

  • Configure a DHCP Server
  • Configure a TFTP Server
  • Configure PXE Settings
  • Configure mount point to ANSOS per host settings

Configurations

Configure DHCP Server

Configure TFTP Server

  • initrd - initramfs-2.6.32-220.4.2.el6.x86_64.img
  • Vmlinuz - vmlinuz-2.6.32-220.4.2.el6.x86_64

Configure PXE Settings

in construction...

DEFAULT menu.c32
PROMPT 0
NOESCAPE 0
ALLOWOPTIONS 0
TIMEOUT 50

menu color border 	37;40 	#00000000 #00000000 none
menu color title  	1;37;40	#00000000 #00000000 none
menu color tabmsg  	40;37	#88888888 #00000000 none
menu color sel  	1;37;42	#ffffffff #ff808080 none
menu color unsel  	1;40;32	#ff00ff00 #00000000 none

MENU TITLE Archipel - The Realtime Orchestrator

# ANSOS Boot PXE
LABEL ANSOS Boot PXE
MENU  ANSOS Boot PXE
LINUX memdisk
KERNEL vmlinuz-2.6.32-220.4.2.el6.x86_64
APPEND append initrd=initramfs-2.6.32-220.4.2.el6.x86_64.img vmlinuz0 root=live:CDLABEL=archipel-node-image rootfstype=auto ro liveimg nomodeset check rootflags=ro crashkernel=512-2G:64M,2G-:128M elevator=deadline install quiet rd_NO_LVM stateless=1 rhgb rd_NO_LUKS rd_NO_MD rd_NO_DM BOOTIF=eth0 ip=dhcp hostname=node1 ARCHIPEL_MOUNT_ADDRESS=//ip_smb_server/stateless ARCHIPEL_MOUNT_OPTIONS=user=username,password=password 
menu separator

# Option to Memory Test
LABEL Memory Test
MENU  Memory Test
LINUX memdisk initrd=imagens/memoria/initrd
KERNEL imagens/memoria/memtest
APPEND iso

LABEL local
        MENU LABEL Boot Disco Local
        LOCALBOOT 0

Configure mount point to ANSOS per host settings

Network shares

In order to store data, and be able to conserve information across reboot, ANSOS needs a network share. For now, we strongly suggest to use a CIFS based share (NFS has some bugs preventing sqlite to work properly. But you may want to try). So first of all, create a folder on a server named stateless:

( FAQ in construction... )

Clone this wiki locally