MonthOctober 2018

Pencils and Pennies | Testing Before Production

I’m sure there are a ton of people out there that have had this scenario.

A system fails. Locate the issue. A rush to repair or replace. Update while it’s out of service. Patch related systems and drivers. Add some buttons and bells. Turn it on. Hope for the best. Chase issues. Fix issues.  Hope for the best. Track dependencies. Fix issues. Hope for the best. Fix issues. Prey it works. Fix issues. Hope for the best.

This, to me, represents the path of a lot of technical staff when backs are against the wall. It happens to all of us especially when dealing with production systems in a fluid corporate environment. Management seldom knows, or cares, what it takes to resolve most IT issues. They only see down time and dollars. They seldom approve test and development of new or updated systems because they only see things from a cost and man hour view point. It’s their job. Pencils and pennies.

I came from both sides of this coin. Pun intended. I’ve worked in small business when there simply wasn’t any money for testing new systems and also in very large corporate environment where change is seen as the root evil of the balance sheet. When you work in a department where the bean counters list you as a major red blotch in the bottom line it’s very difficult to justify updates/upgrades let alone a test environment to figure things out before you throw the switch on a whim idea some marketing knuckle head sold to their boss.

I’ve been fortunate, in most cases, to have some testing time before production. I’ve always padded my schedule and budget to allow for it. I did say ‘most cases’.

I recently built a new system for my in house network. It was a file server to replace three other storage devices. I was able to create virtual instances of each of the applications I was considering prior to choosing one for production and also prior to the actual build itself. I researched and destroyed the virtual applications while testing multiple times. I made mistakes and reloaded applications more often than I’ll admit here. I then used everything I learned screwing things up to build what I wanted in a production package.

Here’s the point, There is so much information available for free out there that the only real cost for testing and development has been reduced to time. I understand that in a firestorm, time is what you don’t have, however, when things are quite and systems are running as they should be you should be expanding your knowledge of how to make things better. Test beds and virtual environments are so easy to package these days at such a minimal cost they are easy to justify to the bean counters as preventative maintenance.

My flow normally follows the path of idea, virtual environment, AWS or Digital Ocean configurations then proposal and funding for production hardware. I can have  multiple systems packaged over dozens of virtual machines in any combination for concept, testing and approval. I  then will have a proven package in a working environment prior to ever putting together a proposal and I can present it in a functional product with confidence of proof of concept. If they say no I delete it. I has only cost me time and brain cells. No RMA’s required.

Why is it so hard to figure out.

Image result for man on the moonWe put men on the moon. We can read license plates from satellites in outer space. Our cell phones have more technology in them than those same rocket ships that landed on the lunar surface. We watch our embassy and our people destroyed and killed in real time from the other side of the world. When we want something we can blink and have it delivered to our doors through automation via Walmart and Amazon. Even ordering a pizza for delivery is fully automated to the point you get a picture of what your pie will look like when your choose the toppings.

Yet even with all the technology at our finger tips and instant gratification, we have spent years and millions of dollars chasing some, what seem to be, stupid things.

I try and keep things simple. The more you attempt to figure out what others may or may not be trying to do or think always ends up wrong or distorted from the original thought you may of had. It’s the KISS theory your grand father told you about years ago. That old idea that your first impression is usually the correct one.

So here’s my point. Do we really not know about the Russian dossier that the DNC  and the Clinton’s unleashed on the world and the Trump campaign? Do we really believe that George Soros has nothing to do with the wave of potential voters headed for our borders.

Image result for chemtrailsDo you really believe that the conspiracy theory of “Chem Trails” and the potential of governments using it to disperse mind control substances onto the population exist. The Loch Ness Monster. Who actually killed Kennedy! Crop circles.

Don’t you think we may actually have the technology to figure some of these things out. The Turkish Government has video and sound recordings of a reporter being killed in the Saudi Arabian consulate. Turkey! Come on! Really! Turkey!

Image result for rod rosensteinOne would only assume, and hope, that the United States has more sophisticated and better developed technology than Turkey. Please say it’s so. Now tell me why we are still playing games wondering if this jack wad Rosenstein at the FBI was trying to set Trump up. I’m sure someone was wearing a secret button or lapel pin on their Gucci Italian suit that recorded a fart blocks away. It’s the fucking FBI!

We could probably find out with a Google search what type of cigar Bill used on Monica simply because that sells newspapers but we just can’t seem to find out who sent the mysterious email or leaked. BULLSHIT.

Crop circles! I crack myself up!

Lightning and Thunder! UPS Go BOOM!

We had company over the last week which was nice. We laughed about everything, spent some time on the lake and even had a chance to take them out in the Jeep to climb around the desert for a morning.

Image result for lightning lake havasu cityWe woke up to a rumbling of thunder and lightning one early morning and in a blink of an eye a huge bolt of lightning hit near by and the house went dark for a couple seconds. I was instantly awake and listened patiently for each of my systems to begin their shutdown cycle and send out notifications to my phone.

One message, then another, then another dinged on my phone. It’s a lot scarier than when I simply pulled the plug to test everything. All seemed to be going fine as I watched my phone but I never got the all clear message from the system telling me it was back on line.

Those few minutes seemed to last hours! I had to get up. No way I was going back to sleep.

So even though the spike wreaked havoc on a UPS circuit board, killed a couple batteries and melted the filter stack to the point it was necessary to replace the UPS itself, the system actually did what it was supposed to do. My system was protected, fail-over worked correctly and the FreeNAS file server was isolated to protect itself. All the other systems came up and notifications went zipping to my phone as planned.

Stings a bit to buy another UPS but it’s penny’s compared to replacing my file server or losing 50 TiB of photos, graphics, drawings, and data.

Virtual FreeNAS for Testing

So…

I needed a break from my political ranting. It’s frustrating to know that politicians dumb things down to manipulate masses of people and those same people follow along blindly. The media simply reiterates the puke and it brainwashes people into believing whatever these idiots are serving up in the Koolaid cups.

To give myself a lesson in FreeBSD and FreeNAS I put together a VirtualBox system to test with and configured it to emulate some changes I would like to make in my production system. The changes are mostly security based to make sure services don’t step on or corrupt each other and a reasonable amount of redundancy is achieved.

Here’s the layout I packaged in VirtualBox. Please realize this is all virtual and I’m not using any real hardware. My VM instance utilizes 4 cores and 8 gig of RAM, a bridged LAN adapter with a static IP address attached from within FreeNAS.

2 60 GiB  SATA Mirrored boot drives for FreeNAS OS

2 100 GiB SAS Mirrored Drives for Jails and VM instances

5 120 GiB SAS Drives in RAID Z2 for a data volume

So the desired result would be redundancy for both the boot drive and the jailed applications while keeping them both away from data stored in the volume. Here’s what it looks like in my initial layout:

The last picture is my production system. It’s real hardware.

For me the data is the most important piece. I can rebuild the boot drive and jailed applications without ever touching the data volume. Since both the boot and jails are on RAID1 striped drives I do get redundancy if one of the drives in the  boot RAID1 volume fails. I also get the security of the exposed application being in a jail.

I need to thank a bunch of people at the FreeNAS Forums for their efforts. I have been able to find every answer to my questions simply by reading. The FreeNAS documentation is very good also.

They Make It Too Easy! Liberal Idiots!

Even me, a basic guy living in small town USA can out think this wing nut! Go figure.

Image result for alexandria ocasio-cortezHuh? Duhhhhh. I didn’t know that.

Here again I ask you to pick up a history book.

Alexandria Ocasio-Cortez stated “It is well past time we eliminate the Electoral College, a shadow of slavery’s power on America today that undermines our nation as a democratic republic,”

She’s an idiot. Did you read any history lessons? Did you even go to the class? Study American Politics? Hello! Bueller! You’re running for office you dumb shit! At least know what your talking about before you open your mouth. How’s that manicured foot tasting?

Abraham Lincoln abolished slavery. We knew that. He broke the cycle of slavery in the United States of America. Popular guy right?

Did you also know he was elected the President of those same United States of America BY the same Electoral College she is saying was a pillar of slavery in the United States. He lost the popular vote!

Oh wait! She’s voting to bring back Socialism. She wants to eliminate all those lessons so our kids will forget them and she can spew her crap to the idiot lemmings.

Nevermind…

It’s Really Not Over At All Is It?

So Kavanaugh got confirmed. The riot in front of the Supreme Court building was described as, by Fox News no less, respectful, and it all petered out with the paid players going home to their look at their Soros/Clinton/Leftwing paychecks because nobody threw a brick through a window. Hell, they were even playing nice when they arrested people. Head to the right to walk away, the left to get arrested. More than half the people interviewed on TV were there to watch the riot. What a buzz kill. I’m glad.

It’s over right? Not even close.

Minutes after the new Justice was sworn in the bobble heads started up again. Train to nowhere Pelosi swearing she will begin impeachment hearings and unearth the FBI report. Spartucus Booker was at a 2020 Presidential Rally within hours, DaNang Dick Blumenthal babbling about something I’m sure he’s lying about. And let’s not forget Trump calling out Murkowski for throwing Alaska under the bus. Even Sarah Palin was tossing jabs and quoting Tina Fey and SNL.

Nobody learned a fucking thing.

Who goes under the Media bus next? You know it’s coming today. There just wasn’t enough salacious news without a good old fashioned riot to cover. The UFC fight in Vegas was tons more exciting than the campfire and smores going on in front of the Supreme Court building, and everyone made fortunes off of UFC.

I think I feel what the Right has been fearing might happen in the days leading up to the mid-term elections. Burnout. Hell I watched Modern Marvels on TV last night and fell asleep.

I was energized when I saw what the Left was doing to the confirmation hearings and to the individuals involved. I felt pissed off and ready to stand for the wronged. Both sides. Now? I want it done. Throw them all out! I know this will go away and I’ll get pissed off about something and be willing to watch again but if they want to keep me involved they better think of a different way.

The same old shit won’t work.

 

Democrats Shouldn’t Have Done It

I’ve been glued to the television throughout the confirmation process of Judge Brett Kavanaugh. I was glued to it during the Presidential elections of Bush, Obama and Trump, and I’m sure it will happen in the mid-term elections too. My interest may actually be different then most. I don’t really think Republican/Democrat, although I am a registered Republican, it’s because I want to vote for things not offered to Independents, I tend to vote what I feel is right for everyone.

I am a staunch defender of the Second Amendment and that’s a major stickler for me with the Democratic Party. Immigration is another. ICE, Law Enforcement and our Military will always get my vote.

I’m a history buff. I like to read and I tend to research everything. I learn from doing, always have. I like to know how things work and am always eager to learn the process of things and the why, how and who. More than that I learn from other’s mistakes so I don’t do the same thing.

You hear all of the crap about this confirmation along with past confirmations including Bork, Thomas and about Anita Hill, etc.. So, as I always seem to do, I started reading up on the why, how and who regarding those hearings. OMG! Change the names and the stories are almost the same.

Someone I know said ‘this wouldn’t have happened in the 80’s’. Well…..That’s not exactly true. It did happen in the 80’s, and the 90’s, and now 2018. The same party, doing the same thing, using the same play book. Smearing an individual using sex, women and slander. It’s not new at all. Be smarter than your phone and look it up!

I watched the rebuttal video from the confirmation hearings for Clarence Thomas and if you were to close your eyes you could see Brett Kavanaugh saying the words you will hear. Maybe not with the same velocity, but the actual words were mostly the same. It didn’t work for the Democrats then. I hope it doesn’t now.

Bork was so disgusted with the Democratic smear campaign he withdrew from the process completely. Same tactics were used and it worked for the Democrats then. They destroyed this man, his reputation, and they didn’t care. It was a means to an end. They even refer to it as being Borked. Nice legacy they pasted him with.

They tried it this time with Kavanagh and destroyed both he and Bassey-Ford’s reputations. They simply don’t give a shit about these people. They so easily and quickly, willingly, sacrificed women in a general way to grasp power. Now they have those same women protesting in front of the District Court not understanding the consequences of what the Democrats have done.

The Democrats should never have brought forth a claim like this knowing it wasn’t true because it minimizes every claim every battered or abused individual from here forward may have. The protesters are pawns and simply don’t know it. They were and are being used along with Prof. Ford.

Don’t be lemmings! This wasn’t Trump! This wasn’t the Republicans. This was the Democratic Party! Your Party! They’ve been used. You’ve been used. Feinstein and Schumer threw that woman into a blender and when it doesn’t come out right she’ll go right down the drain and they won’t blink. Wake the hell up! This was all for the Supreme Court seat. Don’t think for a nanosecond otherwise. They don’t care what happened to you thirty five years ago. they don’t even care what happened to you yesterday unless they can use it.

Have our politicians, the media, Hollywood and the Left now decided this is how we should move forward. Seems to me this is not forward, on either side. This is entirely about the Supreme Court and the next twenty years. I understand this so why can’t they just say it like it is without destroying so much forward movement for so many groups. Schummer did. He said he would do anything. He didn’t lie. Just saying.

This is the dividing line for me. This is where the mob mentality, the guilty from a simple statement, the ‘get in they’re face’, the throw shit through windows, you know it, it’s all over the media all the time. It’s the anarchy side of the Democratic Party. It’s almost like ‘if I cant win I’m taking the ball away’.

You lost the Presidential election now deal with it like the Constitution allows you too. VOTE!  I had to suffer through eight years of Obama and didn’t throw one thing at anyone. You don’t need to scorch the earth and destroy people to rally your side and make the changes you want to see. VOTE!

You are telling everyone in our society that this is OK if you lose while playing unfair. Everyone is entitled to a trophy. No they’re NOT. Deal with it. Work harder for what you want. It’s our history. We stopped teaching it.

Burning down the 7-11 is not going to bring people together. It simply brings out more of the same. Anarchy. Read a little history. It’s true.

Giving individuals and groups gifts, citizenship, and benefits so they will vote for your party doesn’t work.  Obama gave out cell phones to get votes. I’m not talking charity when charity is needed. Our country is the most charitable in the world.

Results work. That’s why Trump is popular. He bucked the system and called it what it was/is. A swamp of thieves. He didn’t need the money and the swamp is addicted to the power. Trump doesn’t care and they will do ANYTHING to stop him from taking away their gravy train. I may not agree with all Trump does or says but he’s got a point here.

The European countries known as P.I.G.S. , Portugal, Italy, Greece and Spain are a history lesson all to themselves regarding benefits and austerity. All the benefits, pensions and vacation time they were given to pacify them sure felt good when getting it however, it doesn’t feel so good when it comes time to take things back after the usefulness of the reasons or issues are no longer required. Or in their case when the money runs out. That’s Socialism.

You can always blame the other side when this happens if they win. Obama, the Clinton’s and the Left have a history of doing this. Social Equality. Take from the rich and redistribute wealth to the poor. Buy a vote with other peoples money. Use other peoples money to manipulate the masses, then blame your opponents when the purse strings get yanked. This is why the Left wants the House back so badly in the mid-term elections. The House pays the bills. Duh!

Open borders don’t work. Ask the EU how it’s working for them.

Socialism doesn’t work when you run out of other peoples money.  Ask Venezuela and Cuba.

Imperialism didn’t work. Ask Japan. Germany (twice). USSR (still). And soon China (now).

Isolationism doesn’t work. Ask North Koreans how they like it there.

While many blame capitalism on the misery of the few, they need to remember that it’s that same capitalism that’s paying all the benefits they get sitting on the couch eating chips and talking on they’re Obama phones.

Don’t bite the hand that’s feeding you while you sit on your ass. It’s not smart.

If you want to make a change, put down your phone, GameBoy, XBox, whatever, and vote. If you don’t vote, shut the fuck up!

Another thought……

Didn’t Al Gore say we would all be burned to a crisp because of global warming by now if we didn’t pour money into all of the left’s dummy programs. Where’s Al and all his scientific fuck knuckles when you have these questions. Huh. I wonder.

What happened to “The Truth”

Did our society lose track of the concept of truth and the basics involved in it. I think so. We’ve become so confrontational when we don’t agree with something or someone we lose track of the idea that it may not be the truth. We would rather go down swinging than listen to facts that may eventually prove us wrong. It works both ways. Sometimes the confrontation is when we have the facts and others wont listen to reason. We’re so eager for the other to believe us we’re blinded by the fact that they may believe the opposite. It’s they’re choice. We don’t, can’t,  and shouldn’t tell people what to think. That’s been tried for thousands of years. Ask the North Koreans how that’s working out for they’re economy.

We can believe so blindly in something that when we are confronted with facts or an alternative theory we disregard it instantly and completely. Blindly.

It’s not new at all.

Think of the poor guy who offered up the theory that the world was not flat, cars would never replace horses. I could go on and on. They were intensely scrutinized and ridiculed for what they believed in but are now praised for what they stood up for.

Image result for aristotle

Image result for einsteinCan you imagine what Einstein and even Aristotle were viewed as when they theorized some of the greatest answers we now see as reality. Friggen crack pots! They were giving truthful answers to things individuals had blindly thought and believed were the truth for they’re entire lives, even history. Really, Einstein theorized gravity from an acorn falling out of a tree and a distortion of space? You know they thought he was nuts! Pun intended.

Sometimes I see us as basically stupid beings determined to fail again, and again, and again. History says it’s the truth. Even today it happens in our society and world.

George Santayana said it, “Those who cannot remember the past are condemned to repeat it.”

Churchill too, “We must always look forward, but we have to understand our history in order to not repeat the mistakes of the past. I have seen too many instances where people continue to pursue wrong courses of action because they do not take the time to think critically about what has happened in the past.”

I’m thankful that I find myself in the world with an engineering/science style of thought. Things are more zeros and ones for me. Black and white. They work or they don’t. I think my life is so much easier if I face truth and live truth. I try not to pollute things to much, which is difficult for me, and see things in a realistic way. Black and white. I may be wrong sometimes, I am and I accept that, but things seem to just work out better if I simplify them.

Every time I’ve stuck my nose in where it doesn’t belong, it just doesn’t seem to work out well for me. (a good friend told me that)

I tend to follow facts, evidence and truth. Makes me an outcast! A sane outcast.

ODroid HC2

OK….

This is a cool little SBC (Single Board Computer) on a big ass heat sink from ODROID. I saw this and thought ‘what can I do with it’. I already use a RPi 3+ and Pi-Hole to run my DNS service inside my local network and to block ads and garbage.ODROID-HC2 I use an old Dell machine to run my firewall. I built the Freenas system which has so many features and options I haven’t even touched the surface of it yet. What am I going to do with this?

Before I tell you what I did I’m going to explain a bit about this thing and what attracted me to it. First of all cost. The complete package consists of board, power supply, case and the SD card for $78 USD. It’s a bit more than the RPi 3+ but an added feature is the SATA connector which allows you to install a drive onto it. If you use a SSD drive you have a full solid state system. Use a big ass spinning drive and it’s a storage appliance. Dream shit up. Like the RPi, it’s a great project starter.

There are a bunch of pre-packaged OS images for it and a small community out there for support and sharing of ideas, uses and development. Loading the OS onto the SD is straight forward, even easier when you read the instructions first. Duh! A cool thing is with SD cards it was simple to create a few different images and swap them back and forth. As long as the mount and share permissions with the drive are consistent you can swap OS systems on SD cards in seconds.

I started out loading a straight up Ubuntu 16.04 Server package to see how it performed so I could get a better idea of capabilities and what I could possibly do with it. It’s actually pretty fast as long as you don’t bury it with overhead like a desktop GUI. I loaded Webmin and it seemed to handle it fine. They do have a desktop version of Ubuntu 18.04 with Mate as it’s GUI but I didn’t try it.

Next I found a package based on OpenMediaVault. Simple install and worked fine. My issue here is that I just built a FreeNAS system with 50 TB of ZFS storage. Do I really need a 2 TB file server? Nope. But it did work and was straight forward to get the whole thing up and running in minutes.

Next up KODI. Simple and fast install and worked easy. Mount the drive and load up whatever you want. You could spend a few bucks and buy a big drive like a 8, 10, or 12 TB drive and have tons of KODI storage for music and video. Here again My FreeNAS box. I loaded Plex Media Server in a Jailed environment and pointed it to over two thousand  HD movies and over a million tracks of music. I really don’t need KODI.

Odroid offers all kinds of SBC, parts, and pieces for great project starters. Prices are decent if you buy from the US distributor. ameridroid.com rather than Amazon. You wont get you parts the same day but for us in small town USA it really never makes a difference anyway.

So my intention is to make a caching DNS, Pi-Hole server out of it. I’ll keep you posted.

 

© 2024 Dan's Planet

Theme by Anders NorénUp ↑