dannyman.toldme.com

This page features every post I write, and is dedicated to Andrew Ho.

February 25, 2016
Technical

Load Balancer Config: when “Not Authorized” means “Yes”

Link: https://dannyman.toldme.com/2016/02/25/http-auth-ssl-load-balancer-401/

I wanted to share a clever load balancer config strategy I accidentally discovered. The use case is you want to make a web service available to clients on the Internet. Two things you’ll need are:

1) an authentication mechanism
2) encrypted transport (HTTPS)

You can wrap authentication around an arbitrary web app with HTTP auth. Easy and done.

For encrypted transport of web traffic, I now love sslmate is the greatest thing since sliced bread. Why?

1) Inexpensive SSL certs.
2) You order / install the certs from a command line.
3) They feed you the conf you probably need for your software.
4) Then you can put the auto-renew in cron.

So, for example, an nginx set up to answer on port 443, handle the SSL connection, do http auth, then proxy over to the actual service, running on port 12345:

server {
    listen 443;
    server_name example.com;
    location / {
        proxy_set_header   X-Real-IP $remote_addr;
        proxy_set_header   Host      $http_host;
        proxy_pass         http://127.0.0.1:12345;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "upgrade";
        auth_basic "Restricted";                    #For Basic Auth
        auth_basic_user_file /etc/nginx/.htpasswd;  #For Basic Auth
    }
    # Sample config from https://sslmate.com/help/buy
    ssl on;
    ssl_certificate_key /etc/sslmate/example.com.key;
    ssl_certificate /etc/sslmate/example.com.chained.crt;
    # Recommended security settings from https://wiki.mozilla.org/Security/Server_Side_TLS
    # &c.
}

The clever load balancer config? The health check is to hit the server(s) in the pool, request / via HTTPS, and expect a 401 response. The load balancer doesn’t know the application password, so if you don’t let it in, you must be doing something right. If someone mucks with the server configuration and disables HTTP AUTH, then the load-balancer will get 200 on its health checks, regard success as an error, and “fail safe” by taking the server out of the pool, thus preventing people from accessing the site without a password.

Tell the load balancer that success is not an acceptable outcome

Tell the load balancer that success is not an acceptable outcome

Feedback Welcome

February 13, 2016
News and Reaction, Politics

Bernie Sanders vs Henry Kissinger

Link: https://dannyman.toldme.com/2016/02/13/bernie-sanders-vs-henry-kissinger/

I finally caught a Democratic Debate last night, thanks to a gracious wife who helped our son to bed. I’m a Sanders guy, I send him $25/mo. I recently read that he’s the only candidate who pays his interns, which I like for several reasons: economic opportunity for young folks, which our country needs, and my hunch is that someone getting the opportunity to earn a paycheck is going to have a little more earnestness than a more privileged kid who is taking the job to build a resume. Even more, it puts a price on one’s commitment: time is at a premium for me, but my $25/mo should cover two hours of intern labor. I feel a connection …

At the debate, I was a little disappointed in Bernie. Ask him a question, ask for details, and he’d pivot to any one of several talking points about how we need to regulate the banks, shut down the prisons, hand out tuition … he is an idealist but he is still a politician.

Presidential Debate Summary: mostly partisan, indecipherable yelling and screaming from a hangry toddler of undeclared political alignment.

@dannyman (@dannyman) October 14, 2015

Oh no wait that was an earlier debate. Here’s my summary:

Debate Summary: Hillary loves Obama, helped kill Osama, says Bernie hates Obama. Bernie days he hates Kissinger, we shouldn't bomb Cambodia.

@dannyman (@dannyman) February 12, 2016

Hillary, I like her fine enough. She had to go ahead and congratulate herself for being in the Situation Room to get Osama killed. Who wouldn’t brag about that one? Then near the end she tried to paint Bernie as a guy who is all busy hating on Obama. Bernie had a good retort that is was Hillary who ran against him in 2008.

The weirdest part was when Bernie started going off about Henry Kissinger. The gist of it is that the man is a war criminal and pals with Clinton. Maybe he could goad her into defending a war criminal? She handled that deftly: she’ll take advice from anyone. I’m no Kissinger fan but that was one of several times when Bernie’s focus seemed more on the mid-20th century than the present day. I appreciate historical perspective, but I worry about the guy coming off as stuck in the past.

I found a good explanation on the Kissinger thing here at “The Intercept”. The gist of it is that yes, Kissinger is an impressively heinous character and a friend of Hillary Clinton, and that there is a larger issue, that Left or Right, there’s a little cabal of hawkish Neocon-leaning foreign policy advisors that make up the Washington Foreign Policy Establishment. Bernie has been dinged for not articulating his vision for foreign policy, but when he lights up on Kissinger, he’s using Kissinger as the bellwether poster child for the Foreign Policy Establishment. He’s essentially saying what he says on a lot of stuff: we can do better.

Dr Henry Kissinger

Dr Henry Kissinger

For what it is worth, here’s what Google responds to the query sanders foreign policy:

The test of a great and powerful nation is not how many wars it can engage in, but how it can resolve international conflicts in a peaceful manner. I will move away from a policy of unilateral military action and regime change, and toward a policy of emphasizing diplomacy, and ensuring the decision to go to war is a last resort.

“Diplomacy. Less war.”

Huh. How about clinton foreign policy:

As secretary of state, I worked to restore America’s leadership in the world. As president, defending our values and keeping us safe will be my top priority. That includes maintaining a cutting-edge military, strengthening our alliances, cultivating new partners, standing up to aggressors, defeating ISIS, and enforcing the Iran nuclear agreement.

“Keep us safe! More military! Defeat ISIS and watch our for Iran!”

Can I get some establishment consensus? Maybe jeb foreign policy:

Obama’s disengagement has contributed to growing threats to our national security, including radical Islamic terrorism, Iranian aggression, an emboldened Putin, and an assertive China. Adversaries do not fear us and allies do not trust us. I will rebuild America’s military, restore our credibility and leadership, and repair our broken alliances.

“Muslims! Iran! Russia! China! More military!”

It would seem that this isn’t about Bernie being stuck in the 20th Century. Bernie’s beef is that Washington is stuck in the late 20th Century. The same advice that got us in bed with the Shah of Iran, that stoked the revolution there, is the same advice that got us mired in Vietnam and armed Al Qaeda, is the same advice that later got us mired in Iraq, and it is this same advice that is likely to bite us in the future.

I think one could debate the merits of interventionism versus the blowback and unintended consequences. Okay, Kissinger is a bad guy: I get it. Bernie, what should we do different and how do you honestly figure it will play out? Americans are not naturally fond of interventionism, but it seems to have worked well enough for us most days. Most days, it is foreigners who pay the price. Foreigners … and our soldiers. In Vietnam it was The Draft and it seems that everyone in my parents’ generation carries some subtle emotional scar from that. Foreigners, soldiers, conscripts … on 9/11 it was office workers, police and firefighters. But we don’t talk about 9/11 as blowback for interventionism.

I don’t know the specifics, but one has to figure there could be some better ideas about how a powerful nation can lead the world toward the better, while shedding less blood. I click back to Google, and scroll through statement after statement from Sanders that sounds sane, rational and level-headed to me. A pastiche:

Indeed, Sanders said, “I supported the use of force in Afghanistan to hunt down the terrorists who attacked us.”

Sanders said the war with the terror organization, which released videos this week that threatened attacks in Washington and New York, “must be done primarily by Muslim nations with the strong support of their global partners.”

“The war against ISIS, a brutal and dangerous organization, cannot be won unless the Muslim nations which are most threatened — Saudi Arabia, Kuwait, Qatar, Turkey, Iran and Jordan — become fully engaged, including the use of ground troops,” Sanders said.

“It must be destroyed not just by the United States of America alone. In many respects, what ISIS wants is a clash of civilizations,” Sanders said.

“With the third largest military budget in the world and an army far larger than ISIS, the Saudi government must accept its full responsibility for stability in their own region of the world,” he added

But, Sanders added: “I oppose, at this point, a unilateral American no-fly zone in Syria, which could get us more deeply involved in that horrible civil war and lead to a never-ending U.S. entanglement in that region.”

“I fear very much that supporting questionable groups in Syria who will be outnumbered and outgunned by both ISIS and the Assad regime could open the door to the United States once again being dragged back into the quagmire of long-term military engagement,” he said.

In a later tweet, Sanders insisted, “We will not destroy ISIS by undermining the Constitution and our religious freedoms.”

From what I can see, Bernie articulates what sounds to me some reasonable ideas about foreign policy. Nations have to take care of their own regional problems. We should help out. But we can’t win what isn’t really our fight.

What does Clinton have on offer?

To support troops from Iraq and around the region, the U.S. should “immediately deploy the special operations force President Obama has already authorized and be prepared to deploy more as more Syrians get into the fight,” Clinton said.

On ABC, Clinton said: “We have to fight in the air, fight on the ground and fight them on the Internet. We have to do everything we can with our friends and partners around the world. That’s what we’ll hear from the president, to intensify the current strategy.”

Yet Clinton cynically told corporate executives at a 2011 State Department roundtable on investment opportunities in Iraq, “It’s time for the United States to start thinking of Iraq as a business opportunity.”

Oh Google, your algorithms seem to have a Socialist bias. At any rate, I feel better about where my sympathies lie.

Feedback Welcome

February 9, 2016
Linux, Technical

Tech Tip: Self-Documenting Config Files

Link: https://dannyman.toldme.com/2016/02/09/tech-tip-self-documenting-config-files/

One of my personal “best practices” is to leave myself and my colleagues hints as to how to get the job done. Plenty of folks may be aware that they need to edit /etc/exports to add a client to an NFS server. I would guess that the filename and convention is decades old, but who among us, even the full-time Unix guy, recalls that you then need to reload the nfs-kernel-server process?

For example:

0-11:04 djh@fs0 ~$ head -7 /etc/exports
# /etc/exports: the access control list for filesystems which may be exported
#               to NFS clients.  See exports(5).
#
# ***** HINT: After you edit this file, do: *****
#       sudo service nfs-kernel-server reload
# ***** HINT: run the command on the previous line! *****
#

Feedback Welcome

January 29, 2016
News and Reaction, Politics, Testimonials

Why Young Liberals Feel the Bern

Link: https://dannyman.toldme.com/2016/01/29/why-i-feel-the-bern/

I was watching Larry Wilmore and the panel asked itself why are young liberals not excited about Hillary Clinton, and they jumped straight to the thesis that the cause is sexism. I know that there is no shortage of hatred against Hillary rooted in sexism, but for young liberals, I don’t think that this is what is turning them on to Sanders. I think that if there is a prejudice at play, it is against going back to the past.

Many of us who can remember the 90s remember it as a pretty good time, (as long as you weren’t big on equal rights for gays) especially in contrast to the George W years. Sure, the Republicans hated everything about the Democratic president but at least that could be rationalized by his obvious moral shortcoming. Younger liberals don’t remember those years. They came of age under a president whose political credentials were rooted entirely in his relationship to a 90s president. That was a train wreck. Eight years ago, we considered Hillary Clinton but decided that whatever nostalgia we felt for the 90s was trumped by an inexperienced Black Guy with a funny name. Say what? Its like progressives were less than eager to embrace the past.

And you see how that works out. Like Clinton, the Right hates Obama. Alas, Obama’s greatest moral failing is that he enjoys an occasional cigarette, so the Right is left to invent moral failings: he’s Muslim! he’s foreign! he’s Socialist! He’s … whatever … meanwhile the Left is trying to figure out the degree to which the Right hates Obama because they’re just plain old racist or do they simply hate any Democratic President?

Anyway, you look at your options: Hillary would be a perfectly competent President, like Bill was. Sure, the Right will hate her but she’s been dealing with that bullshit longer than most of us have been alive. That she hasn’t been crushed by hate and still seems somewhat human is a testament to her strength of character, and sheer, pragmatic, calculating ambition and political savvy. She’ll know how to work a hostile Congress to eek out incremental progress, much as Obama has.

Or, if they’re going to hate your president anyway, why settle for a pragmatic, shrewd centrist who will eek out incremental progress when you could just vote your Socialist ideals and send the Right wing our own tough New Yorker who says out loud what we’re all thinking anyway: that the banks are too big, that the rich get away with murder, and that Socialism is not an evil bogey man that will hand victory to the USSR.

bernie-no-bullshit

And … I for one remember the 1990s … I don’t remember Clinton actually achieving anything. Healthcare reform went down in flames. Gays could be allowed in the military as long as they kept it in the closet. We deregulated the banks while sticking the evil Welfare Moms with red tape. We really didn’t move the ball forward much … if at all. When we later swooned for Barack “Hope and Dreams” Obama, we got some health care reform, women now serve in combat, and gay people can get married in all fifty states. Sure, we haven’t closed Guantanamo Bay, and there are still some troops in Iraq and Afghanistan, but Osama bin Laden is dead and we aren’t fighting any new wars. Not bad for voting for the unlikely young guy who had more rhetoric and possibility to offer than the Clinton option.

So, yeah, when it comes down to another Clinton administration versus taking a chance on Idealism, a lot of us figure voting for an Angry Old Brooklyn Jewish Socialist could be the better option.

Feedback Welcome

January 20, 2016
About Me, Biography, News and Reaction, Politics, Testimonials

Protesting Protests

Link: https://dannyman.toldme.com/2016/01/20/protesting-protests/

Yesterday, on Martin Luther King Junior Day, a national holiday, Black Lives Matter protesters briefly shut down the San Francisco Bay Bridge in one direction. I smiled at that. A traffic snarl on a holiday commemorating a great activist caused by today’s ambitious activists: what is not to love?

But today on the drive in they were discussing it on Forum and people kept calling in to complain about how yeah sure they support black people and they think it is okay to protest but not, heck forbid, if it is disruptive. “Who do these people think they are? They’re not going to win me over with tactics like that!”

"Hooray for Our Side"

“Hooray for Our Side”

Dan Brekke, also of KQED, posted a piece with some historical perspective, and recounted how his Uncle Bill Hogan, once a Catholic Priest, had participated in a very similar protest in Chicago, blocking a highway into the city, on a Tuesday, May 9, 1972. He remarked that the Vietnam War ultimately ended, but that the protest in question was only one of very very many.

I got to thinking of the first time I ever engaged in a protest. Just a few days over twenty five years ago, on January 16, 1991. To quote an article by Charles Leroux in The Chicago Tribune:

“Cara Brigandi, 16, a junior at Lincoln Park High School, said she led a movement of Lincoln Park students to walk out of school and protest. Organizers gave students their marching orders when they came to school Tuesday morning. Fliers were passed out urging students to leave classes about 10 a.m. That effort mushroomed into a march down North Avenue to Lake Shore Drive and then to the Loop. Along the way, Lincoln Park students say they picked up students from the Latin School of Chicago, and William Jones Metropolitan High School. By about 12:30, approximately 200 students were in front of City Hall.”

I remember getting the flyer at the school door. I remember that moment when the time came and every student had to ask themselves whether they were going to stick with class or step outside. I remember looking out the window to see a growing crowd inviting us to join them and then the moment I decided to join other teenage kids running down the stairs to break a first taboo. After some cheering and whatnot, the crowd headed down the street. The cops managed to break the crowd in two, with the folks in the back returning to school. Those of us toward the front were soon walking through a Chicago winter day down a highway on-ramp and on to Lake Shore Drive: two lanes of students, one more lane of police cars, buffering us, and another lane of mid-morning traffic squeezing by, many cheering us on.

“Hell no, we won’t go,” the protesters chanted. And: “One, two, three, four, we don’t want your (bleeping) war. Five, six, seven, eight, we will not cooperate.” Among the crowd were many non-students who had protested the Vietnam War. With that war, “it took years before there was this kind of protest,” said Lester McNeely, 37, of Oak Park, a member of the West Side Peace Coalition.

The next day, we started to bomb Iraq.

Back to the present day … Dan Brekke suggests that one objective of protest is to get people arguing, and a comment on the Forum discussion cites Dr King himself:

I must confess that over the last few years I have been gravely disappointed with the white moderate. I have almost reached the regrettable conclusion that the Negro’s great stumbling block in the stride toward freedom is not the White Citizen’s Council-er or the Ku Klux Klanner, but the white moderate who is more devoted to “order” than to justice; who prefers a negative peace which is the absence of tension to a positive peace which is the presence of justice; who constantly says “I agree with you in the goal you seek, but I can’t agree with your methods of direct action;” who paternalistically feels he can set the timetable for another man’s freedom; who lives by the myth of time and who constantly advises the Negro to wait until a “more convenient season.”

Shallow understanding from people of goodwill is more frustrating than absolute misunderstanding from people of ill will. Lukewarm acceptance is much more bewildering than outright rejection.”

I’ve come a long way from being a chanting high school kid walking down LSD … I own a house in the suburbs!? I guess I’m in a place where I can suggest to others of my social class that there is a time for order, but there is also a time for action, however messy, disorganized, inchoate, and perhaps even self-defeating.

If it is Martin Luther King Day, and your trip across the Bay Bridge from the Chocolate City of Oakland into the Liberal Mecca of San Francisco gets delayed by people who are angry about cops murdering black kids, well, I would suggest that whether you agree with the protest or not, this is a perfect time to roll down the window, raise your fist in the air, and express your opinion.

Feedback Welcome

January 19, 2016
About Me, Amtrak, Biography, California, Testimonials, Travels, USA

40

Link: https://dannyman.toldme.com/2016/01/19/40/

Today marks the completion of the 40th trip of this body around the local star. A momentous milestone for the resident being. I spent the weekend with my wife and son, riding the train down to Santa Barbara and back, a pretty little beach town where we visited the zoo and ate ice cream together.

Most likely, I’ll be around another 40 years, or more, but really: who knows? Every day I wake up with my health and my loved ones is a blessing.

The trip has been good. Tommy did pretty well, and the scenery along the way has had a lot of that intense emerald green the dry parts of California get after some good winter rains. The view along the coast near Santa Barbara is worth the long train ride.

I am grateful to be alive. I am grateful for my family. I am grateful for my friends. I am grateful for my job and ability to earn a living. I am grateful to be living at what honestly seems to be a very promising time in the history of our species. Life will not always be so great for this being, and in time, my life will end. I am grateful for the time I have had, and the time I have yet, and that I get to experience a little part of our collective adventure.

Feedback Welcome

January 8, 2016
Quotes, Sundry

Tommyisms

Link: https://dannyman.toldme.com/2016/01/08/tommyisms/

Last night:
Dad: “Was the pizza good, Tommy?”
Tommy: “No! It was super duper good!”

This morning:
Tommy: “Daddy, go away with your cool dog shirt.”

Feedback Welcome

January 2, 2016
Linux, Technical, Technology

Windows 10

Link: https://dannyman.toldme.com/2016/01/02/windows-10/

The other day I figured to browse Best Buy. I spied a 15″ Toshiba laptop, the kind that can pivot the screen 180 degrees into a tablet. With a full sized keyboard. And a 4k screen. And 12GB of RAM. For $1,000. The catch? A non-SSD 1TB hard drive and stock graphics. And … Windows 10.

But it appealed to me because I’ve been thinking I want a computer I can use on the couch. My home workstation is very nice, a desktop with a 4k screen, but it is very much a workstation. Especially because of the 4k screen it is poorly suited to sitting back and browsing … so, I went home, thought on it over dinner, then drove back to the store and bought a toy. (Oh boy! Oh boy!!)

Every few years I flirt with Microsoft stuff — trying to prove that despite the fact I’m a Unix guy I still have an open mind. I almost usually throw up my hands in exasperation after a few weeks. The only time I ever sort of appreciated Microsoft was around the Windows XP days, it was a pretty decent OS managing folders full of pictures. A lot nicer than OS X, anyway.

This time, out of the gate, Windows 10 was a dog. The non-SSD hard drive slowed things down a great deal. Once I got up and running though, it isn’t bad. It took a little getting used to the sluggishness — a combination of my adapting to the trackpad mouse thing and I swear that under load the Windows UI is less responsive than what I’m used to. The 4k stuff works reasonably well … a lot of apps are just transparently pixel-doubled, which isn’t always pretty but it beats squinting. I can flip the thing around into a landscape tablet — which is kind of nice, though, given its size, a bit awkward — for reading. I can tap the screen or pinch around to zoom text. The UI, so far, is back to the good old Windows-and-Icons stuff old-timers like me are used to.

Mind you, I haven’t tried anything as nutty as setting up OpenVPN to auto-launch on user login. Trying to make that happen for one of my users at work on Windows 8 left me twitchy for weeks afterward.

Anyway, a little bit of time will tell .. I have until January 15 to make a return. The use case is web browsing, maybe some gaming, and sorting photos which are synced via Dropbox. This will likely do the trick. As a little bonus, McAfee anti-virus is paid for for the first year!

I did try Ubuntu, though. Despite UEFI and all the secure boot crud, Ubuntu 15.10 managed the install like it was nothing, re-sizing the hard drive and all. No driver issues … touchscreen even worked. Nice! Normally, I hate Unity, but it is okay for a casual computing environment. Unlike Windows 10, though, I can’t three-finger-swipe-up to show all the windows. Windows+W will do that but really … and I couldn’t figure out how to get “middle mouse button” working on the track pad. For me, probably 70% of why I like Unix as an interface is the ease of copy-paste.

But things got really dark when I tried to try KDE and XFCE. Installing either kubuntu-desktop or xubuntu-desktop actually made the computer unusable. The first had a weird package conflict that caused X to just not display at all. I had to boot into safe mode and manually remove the kubuntu dependencies. The XFCE was slightly less traumatic: it just broke all the window managers in weird ways until I again figured out how to manually remove the dependencies.

It is just as easy to pull up a Terminal on Windows 10 or Ubuntu … you hit Start and type “term” but Windows 10 doesn’t come with an SSH client, which is all I really ask. From what I can tell, my old friend PuTTY is still the State of the Art. It is like the 1990s never died.

Ah, and out of the gate, Windows 10 allows you multiple desktops. Looks similar to Mac. I haven’t really played with it but it is a heartening sign.

And the Toshiba is nice. If I return it I think I’ll look for something with a matte screen and maybe actual buttons around the track pad so that if I do Unix it up, I can middle-click. Oh, and maybe an SSD and nicer graphics … but you can always upgrade the hard drive after the fact. I prefer matte screens, and being a touch screen means this thing hoovers up fingerprints faster than you can say chamois.

Maybe I’ll try FreeBSD on the Linux partition. See how a very old friend fares on this new toy. :)

Feedback Welcome

December 26, 2015
Unsorted

Christmas Adventure: Micro SIM to Nano SIM

Link: https://dannyman.toldme.com/2015/12/26/micro-sim-to-nano-sim/

On Christmas Eve Santa Claus wanted to upgrade my wife from a Nexus 5 to a Nexus 5X, only to find the SIM card was too big! Google brought him to a helpful web site, and that jolly old elf took scissors and a file and trimmed that card down freehand like some kind of old school Unix SysAdmin.

Feedback Welcome

December 8, 2015
Free Style, Letters to The Man, News and Reaction, Politics, Religion

Trump

Link: https://dannyman.toldme.com/2015/12/08/trump/

https://twitter.com/saladinahmed/status/674044184672776192

Sometimes an image is worth far more than a mere thousand words.

Even the milquetoast is calling him out:

Donald Trump is unhinged. His "policy" proposals are not serious.

— Jeb Bush (@JebBush) December 7, 2015

Feedback Welcome

November 11, 2015
FreeBSD, Linux, Technical

Variability of Hard Drive Speed

Link: https://dannyman.toldme.com/2015/11/11/variability-of-hard-drive-speed/

Munin gives me this beautiful graph:

Read speed starts around 140MB/s then trails off linearly toward 100MB/s over the four hours it takes to read the entire disk.

This is the result of:

$ for s in a b c d; do echo ; echo sd${s} ; sudo dd if=/dev/sd${s} of=/dev/null; done                                                

sda
3907029168+0 records in
3907029168+0 records out
2000398934016 bytes (2.0 TB) copied, 17940.3 s, 112 MB/s

sdb
3907029168+0 records in
3907029168+0 records out
2000398934016 bytes (2.0 TB) copied, 15457.9 s, 129 MB/s

sdc
3907029168+0 records in
3907029168+0 records out
2000398934016 bytes (2.0 TB) copied, 15119.4 s, 132 MB/s

sdd
3907029168+0 records in
3907029168+0 records out
2000398934016 bytes (2.0 TB) copied, 16689.7 s, 120 MB/s

The back story is that I had a system with two bad disks, which seems a little weird. I replaced the disks and I am trying to kick some tires before I put the system back into service. The loop above says “read each disk in turn in its entirety.” Prior to replacing the disks, a loop like the above would cause the bad disks, sdb, and sdc, to abort read before completing the process.

The disks in this system are 2TB 7200RPM SATA drives. sda and sdd are Western Digital, while sdb and sdc are HGST. This is in no way intended as a benchmark, but what I appreciate is the consistent pattern across the disks: throughput starts high and then gradually drops over time. What is going on? Well, these are platters of magnetic discs spinning at a constant speed. When you read a track on the outer part of the platter, you get more data than when you read from closer to the center.

I appreciate the clean visual illustration of this principle. On the compute cluster, I have noticed that we are more likely to hit performance issues when storage capacity gets tight. I had some old knowledge from FreeBSD that at a certain threshold, the OS optimizes disk writes for storage versus speed. I don’t know if Linux / ext4 operates that way. It is reassuring to understand that, due to the physical properties, traditional hard drives slow down as they fill up.

Feedback Welcome

October 29, 2015
About Me, Technical, Technology

IT Strategy: Lose the Religion

Link: https://dannyman.toldme.com/2015/10/29/it-strategy-lose-the-religion/

High Scalability asks “What Ideas in IT Must Die?” My own response . . .

I have been loath to embrace containers, especially since I attended a conference that was supposed to be about DevOps but was 90% about all the various projects around Docker and the like. I worked enough with Jails in the past two decades to feel exasperation at the fervent religious belief of the advantages of reinventing an old wheel.

I attended a presentation about Kubernetes yesterday. Kubernetes is an orchestration tool for containers that sounds like a skin condition, but I try to keep an open mind. “Watch how fast I can re-allocate and scale my compute resources!” Well, I can do that more slowly but conveniently enough with my VM and config management tools . . .

. . . but I do see potential utility in that containers could offer a simpler deployment process for my devs.

There was an undercurrent there that Kubernetes is the Great New Religion that Will Unify All the Things. I used to embrace ideas like that, then I got really turned off by thinking like that, and now I know enough to see through the True Beliefs. I could deploy Kubernetes as an offering of my IT “Service Catalog” as a complimentary option versus the bare metal, hadoop clusters, VM, and other services I have to offer. It is not a Winner Take All play, but an option that could improve productivity for some of our application deployment needs.

At the end of the day, as an IT Guy, I need to be a good aggregator, offering my users a range of solutions and helping them adopt more useful tools for their needs. My metrics for success are whether or not my solutions work for my users, whether they further the mission of my enterprise, and whether they are cost-effective, in terms of time and money.

Feedback Welcome

« Newer Stuff . . . Older Stuff »
Site Archive