CentOS Virtualized – eth0 not found?

By polfilm,

Network interface probably changed the name when you cloned as original version guid and mac are stored in a different file. To verify run:

ifconfig -a

or

ip a l

If its hiding under eth1 or some other name then you’re in luck.
Remove the kernel’s networking interface rules file so that it can be regenerated

rm -f /etc/udev/rules.d/70-persistant-net.rules

Now set your eth0 info in /etc/sysconfig/network-scripts/ifcfg-eth0. Remove mac and guid from the file and reboot. For static IP setup you may want to try this

The Foreman

By polfilm,

The Foreman is aimed to be a single address for all machines life cycle management.

Foreman Installation on CentOS 6 with EPEL
https://github.com/ekohl/foreman-howto/blob/master/README.rst

Ovirt Foreman UI Plugin
http://ovedou.blogspot.co.il/2012/12/ovirt-foreman-ui-plugin.html

Blog Foreman
http://blog.theforeman.org/

Vagrant

By polfilm,

Vagrant uses Oracle’s VirtualBox to build configurable, lightweight, and portable virtual machines dynamically. The first couple of pages serve to introduce you to Vagrant and what it has to offer while the rest of the guide is a technical walkthrough for building a fully functional web development environment. The getting started guide concludes by explaining how to package the newly created vagrant environment so other developers can get up and running in just a couple commands.

http://www.vagrantup.com/

Jenkins – An extendable open source continuous integration server

By polfilm,

Jenkins is an award-winning application that monitors executions of repeated jobs, such as building a software project or jobs run by cron. Among those things, current Jenkins focuses on the following two jobs:

Building/testing software projects continuously, just like CruiseControl or DamageControl. In a nutshell, Jenkins provides an easy-to-use so-called continuous integration system, making it easier for developers to integrate changes to the project, and making it easier for users to obtain a fresh build. The automated, continuous build increases the productivity.
Monitoring executions of externally-run jobs, such as cron jobs and procmail jobs, even those that are run on a remote machine. For example, with cron, all you receive is regular e-mails that capture the output, and it is up to you to look at them diligently and notice when it broke. Jenkins keeps those outputs and makes it easy for you to notice when something is wrong.

http://jenkins-ci.org/

C# NUnit Testing
http://stackoverflow.com/questions/9121312/how-do-you-run-nunit-tests-from-jenkins

HTML Website Testing
http://www.hiringthing.com/2012/04/13/automated-ui-testing-with-jenkins-selenium.html

Installing Jenkins on CentOS
https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+RedHat+distributions

Cluster Setup. Discussion
http://jenkins.361315.n4.nabble.com/Approach-to-build-a-cluster-of-Jenkins-CI-servers-hands-off-and-tie-them-together-td4641859.html

EC2 Demo of MCollective – Puppet Labs

By polfilm,

The Marionette Collective AKA MCollective is a framework to build server orchestration or parallel job execution systems.

We’ve attempted to think out of the box a bit designing this system by not relying on central inventories and tools like SSH, we’re not simply a fancy SSH “for loop.” MCollective use modern tools like Publish Subscribe Middleware and modern philosophies like real time discovery of network resources using meta data and not hostnames. Delivering a very scalable and very fast parallel execution environment.

Use Gluster to deploy highly available, scalable storage in minutes. Video 58min

By polfilm,

In this webinar, we discuss how Gluster can help you deploy highly available, scalable storage in minutes and manage data growth in a single global namespace in the cloud. Take advantage of Gluster’s software-only network-attached storage (NAS) solution to dynamically deploy and manage cloud storage in the RightScale Cloud Management Platform.

Memory Overcommitment Manager (MOM)

By polfilm,

MOM is a policy-driven tool that can be used to manage overcommitment on KVM hosts. Using libvirt, MOM keeps track of active virtual machines on a host. At a regular collection interval, data is gathered about the host and guests. Data can come from multiple sources (eg. the /proc interface, libvirt API calls, a client program connected to a guest, etc). Once collected, the data is organized for use by the policy evaluation engine. When started, MOM accepts a user-supplied overcommitment policy. This policy is regularly evaluated using the latest collected data. In response to certain conditions, the policy may trigger reconfiguration of the system’s overcommitment mechanisms. Currently MOM supports control of memory ballooning and KSM but the architecture is designed to accommodate new mechanisms such as cgroups.

WIKI: https://github.com/aglitke/mom/wiki
GIT: git://github.com/aglitke/mom.git
Adam Litke Blog: http://aglitke.wordpress.com/

  Category: KVM
  Comments: None

VMware Tools install, kernel headers missing, Fedora

By polfilm,

Vmware Tools perl script is actually building the vmtools on your machine. First thing you need to do is update your system so you don’t get a module mismatch.

yum update

Once the system is updated reboot.
When the system comes back just add kernel headers by running

yum install kernel-devel

You can now run the vmware tools script again.

How to set up Fedora 17 for Mingw cross compile

By polfilm,
yum install mingw32-binutils
yum install mingw32-cpp
yum install mingw32-filesystem
yum install mingw32-gcc
yum install mingw32-gcc-c++
yum install mingw32-runtime
yum install mingw32-w32api
yum install wine

wine cmd.exe

You should end in home directory on Z:\ drive

regedit.exe

What to edit?

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Environment

In the PATH element add at the end your binaries folder (check this folder exists!)

;Z:\\usr\\i686-pc-mingw32\\sys-root\\mingw\\bin

close regedit
exit in console
restart wine command prompt

wine cmd.exe

verify by typing

path

If you have other required mingw32 components installed you should be able to do:

mingw32-configure

MirrorBrain

By polfilm,

MirrorBrain is an open source framework to run a content delivery network using mirror servers. It solves a challenge that many popular open source projects face – a flood of download requests, often magnitudes more than any single site could practically handle. Some very popular Open Source projects rely on MirrorBrain.

http://mirrorbrain.org/

Static IP Address OpenSolaris 134

By polfilm,

Modify /etc/nwam/llp

iface static 192.168.10.100/24

Update DNS server in /etc/resolv.conf

Copy in /etc/ and restart DNS client

cp nsswitch.conf nsswitch.conf.original
cp nsswitch.dns nsswitch.conf
svcadm restart svc:/network/dns/client:default

Restart nwam

svcadm restart svc:/network/physical:nwam

Modify route to gateway in /etc/defaultrouter (single IP will do)
Restart routing

pfexec svcadm restart network/routing-setup

Static IP Address Fedora 17

By polfilm,

load file to edit

$ nano /etc/sysconfig/network-scripts/ifcfg-eth0

edit

DEVICE=eth0
BOOTPROTO=static
IPADDR=10.10.10.150
NETMASK=255.255.255.0
GATEWAY=10.10.10.1
DNS1=8.8.8.8
DNS2=8.8.4.4
ONBOOT=yes
NM_CONTROLLED=no

restart

$ sudo /etc/init.d/network restart

Disable Network Manager, Enable Network Service

# systemctl stop NetworkManager.service
# systemctl disable NetworkManager.service

Then you enable the network service in a similar fashion.

# systemctl enable network.service
# systemctl start network.service

Don’t forget to set host resolve  /etc/hosts and hostname /etc/sysconfig/network [HOSTNAME=]

Zenoss Core 4

By polfilm,

Zenoss Core 4 is the most powerful open source IT monitoring solution in the industry. It offers unified monitoring of applications, servers, storage, networking, and virtualization providing the agentless collection of both availability and performance metrics. Additionally, Zenoss provides a high performance eventing system capable of handling 100 million + events per day that is mated to a sophisticated notification and trigger system. Finally, Zenoss provides an extensible ZenPack framework and robust APIs capable of extending and/or integrating Zenoss Core 4 into any environment.

http://community.zenoss.org/community/download

VDI Hardware

By polfilm,

10ZiG, Wyse, ChipPc

  Category: VDI
  Comments: None

Spice

By polfilm,

The Spice project aims to provide a complete open source solution for interaction with virtualized desktop devices.The Spice project deals with both the virtualized devices and the front-end. Interaction between front-end and back-end is done using VD-Interfaces. The VD-Interfaces (VDI) enable both ends of the solution to be easily utilized by a third-party component.

http://spice-space.org/

Cacti

By polfilm,

Cacti is a complete network graphing solution designed to harness the power of RRDTool’s data storage and graphing functionality. Cacti provides a fast poller, advanced graph templating, multiple data acquisition methods, and user management features out of the box. All of this is wrapped in an intuitive, easy to use interface that makes sense for LAN-sized installations up to complex networks with hundreds of devices.

http://www.cacti.net/

Install procedure on Fedora / Centos

GlusterFS

By polfilm,

GlusterFS is a powerful network/cluster filesystem written in user space which uses FUSE to hook itself with VFS layer. GlusterFS takes a layered approach to the file system, where features are added/removed as per the requirement. Though GlusterFS is a File System, it uses already tried and tested disk file systems like ext3, ext4, xfs, etc. to store the data. It can easily scale up to petabytes of storage which is available to user under a single mount point.

http://www.gluster.org

 

oVirt

By polfilm,

The virtual datacenter management platform. Provision, manage, and monitor hosts, hypervisors, virtual machines, storage, and network. The oVirt Project is an open virtualization project for anyone who cares about Linux-based KVM virtualization. Providing a feature-rich server virtualization management system with advanced capabilities for hosts and guests, including high availability, live migration, storage management, system scheduler, and more.

http://www.ovirt.org/

Connect with LinkedIn oVirt professionals here:
http://www.linkedin.com/groups?gid=4707460


VCider

By polfilm,

Build and Secure Your Own Virtual Datacenter Across the Cloud. Our on-demand secure cloud networking solution lets you connect all your systems, wherever they are, in your own secure Virtual Private Cloud (VPC). Start by connecting all your systems—across regions and providers—with our distributed virtual switch. Next, extend your enterprise LAN securely into the cloud with our virtual network gateway. Finally, secure all your resources by ‘cloaking’ your cloud network, rendering it invisible to all malicious traffic.

 http://vcider.com

November Update: vCider is now part of Cisco

MidoNet by Midokura

By polfilm,

Traditional cloud-based networks are limited, despite virtualized delivery and management of resources, by the inseparability of network hardware and software. The result is a cloud solution that only goes halfway. When it comes to your network agility, you’re dragging around a virtual lead weight.

http://www.midokura.com/midonet/