Personal Notes OMF installation/configuration
De
Révision datée du 25 septembre 2012 à 14:56 par Theoleyre (discussion | contributions) (→image manipulation)
DHCP
Configuration du serveur d'adresses, /etc/dnsmasq.conf
interface=eth1\n dhcp-range=10.0.0.100,10.0.0.254,255.255.255.0,12h dhcp-option=3 dhcp-option=option:ntp-server,10.0.0.200 dhcp-boot=net:control,pxelinux.0 enable-tftp tftp-root=/tftpboot
/etc/dnsmasq.d/testbed.conf
dhcp-host=net:control,00:01:,node1,10.0.100.1
XMPP
- creation of the system:
omf_create_psnode-5.4 exprima.unistra.f mksys
- node creation in the arborescence:
omf_create_psnode-5.4 exprima.unistra.fr mkslice pxe_slice omf.exprima.node1 omf.exprima.node2
- insert a node in a particular slice:
omf_create_psnode-5.4 exprima.unistra.fr mkslice default_slice omf.exprima.node1 omf.exprima.node2
OMF Aggregate Manager
# NOTE: use only 'spaces' to indent ! # ('tab' indents are not supported by the ruby yaml parser used to read this file) # # This is the config file for global configuration items for the OMF Aggregate Manager. # --- :xmpp: :server: "exprima.unistra.fr" :user: "aggmgr" :password: "khk67trRG09!t" :port: 5222 :use_dnssrv: false
:http: :port: 5054
# List of the slices that the AM should by default provide its service to # (other slices can be added later dynamically via a Slice Manager) # :default_slices: ["pxe_slice", "default_slice"]
node (resource) creation in openfire
Before omf_create_psnode-5.4
, fill the correct server address to create the nodes and slices
vim /usr/share/omf-aggmgr-5.4/omf-aggmgr/omf_create_sysnode.rb
image manipulation
Some softs cannot be installed automatically on the nodes.
Compile the stand-alone imagezip software $cd testbed-080630/os/imagezip $ vi Makefile-linux.sa Comment lines: #ifdef WITH_NTFS ... #endif
Add 'disksize.o' to targets 'imagezip' and 'imageunzip' imagezip: disksize.o imagezip.o (etc...) $(CC) $(CFLAGS) disksize.o imagezip.o (etc..)
(Do the same for 'imageunzip' target) $ make -f Makfile-linux.sa $ sudo cp imagezip imageunzip imagedump /usr/bin