Monday, April 16, 2012

FUNC - Fedora Unified Network Controller Installation Script

FUNC is an open source automation tool developed by using Python programming language. We can use this tool for automating system admin tasks such as status check, configuration tweak, file transfer, rebooting the systems etc in multiple Linux-based systems. It uses the typical Client-Server model, where the server is called by the term "overlord" and the clients which are binded to the server are called as "minions".

Check out this link for more details with examples:
http://advanced-sysadmin-stuff.blogspot.in/2011/03/func-fedora-unified-network-controller.html

I have developed an Installation bundle which consists of Script for installing and configuring the FUNC client with all the required packages. URL to download the software bundle : http://dl.dropbox.com/u/50666315/blog/func_pack.tar

Just download it, extract and install the FUNC client by executing the 'install_func_client.sh' script.
http://dl.dropbox.com/u/50666315/scripts/install_func_client.sh

SAMPLE INSTALLATION:

[root func_pack]# bash install_func_client.sh

Enter the FQDN of FUNC Master Server : funcserver.domain.com

Starting RPM installation

Preparing...                ########################################### [100%]
   1:pyOpenSSL              ########################################### [100%]
Preparing...                ########################################### [100%]
   1:certmaster             ########################################### [100%]
Preparing...                ########################################### [100%]
   1:python-ctypes          ########################################### [100%]
Preparing...                ########################################### [100%]
   1:python-paste           ########################################### [100%]
Preparing...                ########################################### [100%]
   1:python-simplejson      ########################################### [100%]
Preparing...                ########################################### [100%]
   1:smolt                  ########################################### [100%]
Preparing...                ########################################### [100%]
   1:func                   ########################################### [100%]

 Proceeding with configuring the FUNC client
 PLEASE CONFIRM IF ALL THE LISTED BELOW RPMS ARE INSTALLED PROPERLY ?

pyOpenSSL-0.6-2.el5.i386.rpm
certmaster-0.27-1.el5.noarch.rpm
python-ctypes-1.0.2-2.el5.i386.rpm
python-paste-1.7.4-1.el5.noarch.rpm
python-simplejson-2.0.9-8.el5.i386.rpm
smolt-1.4-2.3.el5.noarch.rpm
func-0.27-1.el5.noarch.rpm

Type either 'yes' or 'no' : yes
Updating the config file
 Starting the FUNC Service

Starting func daemon

FUNC client service has been started successfully
Proceeding with registering to FUNC Master Server

The CSR(Certmaster Sign Request) has been successfully send to FUNC Master Server.
Please contact your FUNC Server Administrator to accept the CSR for this machine.

[root - func_pack]#

No comments:

Post a Comment

Popular Posts

About Me

My photo
I have started this blog to share my work experience and spread some smart solutions on Linux to Internet community. I'm hoping more people will get benefited from this blog. Brief about me: I have 14+ years experience working as System Admin and currently work with VMware.