This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
======================================== | |
== HAOSCAR Installation Wizard Running | |
======================================== | |
======================================== | |
== System Sanity Checks | |
======================================== | |
--> checking to make sure system environment is sane | |
--> yup, system is sane | |
--> sanity check completed, proceeding to next step | |
======================================== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dependencies needed so far | |
sqlite3 | |
python-sqlite3 bindings | |
lsb_release | |
linux_ha heartbeat | |
csync | |
Todo: | |
When implementing hardware monitoring plugins, make use of lm_sensors |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@chuka binaries]# python haoscar_wizard.py | |
======================================== | |
== HAOSCAR Installation Wizard Running | |
======================================== | |
======================================== | |
== System Sanity Checks | |
======================================== | |
--> checking to make sure system environment is sane | |
--> yup, system is sane | |
--> sanity check completed, proceeding to next step |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python | |
#A sample module used to test the functionality of the gathering system | |
import os | |
def open(): | |
values = dict() | |
values["COMPONENT"] = "MySQL" | |
values["NAME"] = "Database_Monitor_Test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@develop binaries]# ./haoscar_configure -m primary | |
======================================== | |
== HAOSCAR Installation Wizard Running | |
======================================== | |
======================================== | |
== System Sanity Checks | |
======================================== | |
--> checking to make sure system environment is sane | |
--> yup, system is sane | |
--> sanity check completed, proceeding to next step |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
/** | |
* @author Chuka Okoye | |
* | |
*/ | |
public class TrieStructure | |
{ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.ArrayList; | |
/** | |
* @author Chuka Okoye | |
* | |
*/ | |
public class TrieNode | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import static org.junit.Assert.*; | |
import java.util.ArrayList; | |
import org.junit.After; | |
import org.junit.Before; | |
import org.junit.Test; | |
public class TrieStructureTest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source ~/projects/virtualenv/python26/bin/activate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Knife Configuration File. | |
# | |
# This is a Ruby DSL to set configuration parameters for Knife's | |
# general options. The default location for this file is | |
# ~/.chef/knife.rb. If multiple Chef repositories are used, | |
# per-repository configuration files can be created. A per repository | |
# configuration file must be .chef/knife.rb in the base directory of | |
# the Chef repository. For example, | |
# | |
# ~/Development/chef-repo/.chef/knife.rb |
OlderNewer