Trust the Math

// September 28th, 2013 // Comments Off on Trust the Math // Security

Ron Rivest, Adi Shamir and Leonard Adleman

In light of the recent Snowden revelations I wanted to share Bruce Schneier’s comments on encryption:

“The NSA has turned the fabric of the Internet into a vast surveillance platform, but they are not magical. They’re limited by the same economic realities as the rest of us, and our best defense is to make surveillance of us as expensive as possible.

Trust the math. Encryption is your friend. Use it well, and do your best to ensure that nothing can compromise it. That’s how you can remain secure even in the face of the NSA.”

At this point, I think it’s safe to say that the depth and breadth of the NSA’s access excludes endpoint security as a viable means of data protection. Believing in the ability to obtain true end point security is seemingly naive at this point.

www.schneier.com

www.theguardian.com

prism-break.org

RSA is a gift.  Use it.

 

 

Be an Empty Cup.

// May 16th, 2013 // Comments Off on Be an Empty Cup. // Corporate, Work

I think that in general, people in our industry have a strong sense of their own intrinsic brilliance. We’re defined, it seems, by our ability to solve complex problems. It’s all too easy for those of us that continue in our careers to feel a sense of intellectual entitlement; the view that we are masters of our domain. That feeling of mastery can often provide a great deal of satisfaction. However, it can also be a huge limitation if not a downright liability.

20130516-203211.jpg
I had an opportunity to be reminded of that today. It’s painful, sure, but consider the alternative. Imagine the sorts of opportunities that are missed when you think you know more than others. No matter how gifted, no single person knows everything. Realizing that you don’t know everything is half the battle. Be inquisitive. Destroy your ego.  In the process you end up preparing a space to receive, learn, and grow.

A big thanks goes out to those that illustrate this lesson for us.  Knowing ones shortcomings is invaluable.

Know thyself.

Splunk 5.x Clustering Reference Architecture

// March 12th, 2013 // Comments Off on Splunk 5.x Clustering Reference Architecture // Big Data

 Splunk!!!

Continue reading “Splunk 5.x Clustering Reference Architecture” »

Linux Commands – A Quick Reference

// March 12th, 2013 // Comments Off on Linux Commands – A Quick Reference // Infrastructure

In an effort to consolidate into one location notes I’ve made over the years listing common linux commands, I’ve chosen to place them into a single post that will be updated as living reference guide.

I want thank the people that have helped me in compiling this listing either by sharing their own notes, or by pointing me in the right direction when I’ve had questions.  (Eric, Kenny, Marcus, Yossef – I mean you guys!).

 

 

 

 

 

 

Continue reading “Linux Commands – A Quick Reference” »

PART 2!!! Status of MSSQL Server Mirrored DB’s!

// February 7th, 2013 // Comments Off on PART 2!!! Status of MSSQL Server Mirrored DB’s! // Uncategorized

Right,  So please allow me to preface this with some background on the last 4 months.   It’s been ridiculously crazy, busy!  With that said, lets get on to a post that I had wanted to write some months ago but just didn’t have the time.

Back in September I had made a quick posting of a powershell script to check the status of MSSQL server replication.  I apologize for not providing some additional details,  it’s use case, etc.  Suffice it to say, IT’S NOT A CORNER CASE.  (We’ll get into that in just a bit.)

Below is the C# .Net code for an IIS driven, healthcheck for detecting the current status of an MSSQL replicated cluster.

<%@ Page Language="C#" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.SqlClient" %>
<script runat="server">
			SqlConnection cn = null;
			SqlCommand cmd = null;
			SqlDataReader rdr = null;
  protected void Page_Load(){
	try {
      using (SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["MyDbConn1"].ToString()))
      {
          SqlCommand cmd = new SqlCommand("SELECT mirroring_role_desc, mirroring_state_desc FROM sys.database_mirroring WHERE database_id = db_id('dbFoo')", cn);
          cn.Open();
          SqlDataReader rdr = cmd.ExecuteReader(CommandBehavior.CloseConnection);
		     while (rdr.Read()) { 
			Response.Write("{" + (char)34); 
			Response.Write("role" + (char)34 +"=");
		Response.Write(rdr.GetValue(0));            
			Response.Write("},{" + (char)34);
			Response.Write("state" + (char)34 +"=");
		Response.Write(rdr.GetValue(1));            
			Response.Write("}");
		     }}} finally {
							if(rdr != null)
									  rdr.Close();
		if(cn != null)
		cn.Close();
      }
  }
</script>

Right, so back to the use case.  Load balancing MSSQL server for HA and redundancy.

http://www.ijoshuajohnson.com/?p=200

VMware Fault Tolerance

// October 8th, 2012 // Comments Off on VMware Fault Tolerance // Infrastructure

 

The FT requires HA to be enabled. However, with my scenario, I only have 2 hosts and HA enabled. The Host failure cluster tolerate is 1 host. FT won’t accept that. The easiest way is to use percentage of resrouces and setup it as 5%

 

 

 

 

 

 

 

http://geeksilver.wordpress.com/2011/03/24/vmware-fault-tolerance-configuration-and-setup/