Storj.io and Elasticache

I’m starting my storj node operator (SNO) adventures during their alpha, and I am enjoying gathering statistics and whatnot –

This post is devoted to the adventure – Right now, it is just a few scripts and stuff I am using:

Here is my LogStash entry for Storj Docker logs:

if [container][name] == "storagenode" {
       mutate {
         add_tag => ["StorageNode"]
         }
   }

if "StorageNode" in [tags] {
     mutate {
       gsub => ["message", "\r\n", "LINE_BREAK"]
     }
     grok {
       patterns_dir => "/etc/logstash/patterns"
       match => [ "message", "%{STORJPARSE}" ]
     }
     mutate {
       replace => [ "message", "%{message}" ]
     }
   }

And here is what i am currently doing to GROK that stuff:

FUNCTION (download(ed| failed| started)?|upload(ed| failed| started)?)
 DELETE (deleted)
 STORAGEPARSE %{TIMESTAMP_ISO8601:time}%{SPACE}%{GREEDYDATA}%{SPACE}piecestore%{SPACE}%{FUNCTION:function}%{SPACE}{"Piece ID"\: "%{DATA:pieceid}", "SatelliteID": "%{DATA:satteliteid}", "Action": "%{DATA:action}"}%{GREEDYDATA:message}
 CCANCEL %{TIMESTAMP_ISO8601:time}%{SPACE}%{GREEDYDATA}%{SPACE}piecestore%{GREEDYDATA}: infodb:%{SPACE}%{DATA:action},%{DATA:function}%{GREEDYDATA:message}
 CCANCEL1 %{TIMESTAMP_ISO8601:time}%{SPACE}%{GREEDYDATA}%{SPACE}piecestore%{SPACE}%{FUNCTION:function}%{SPACE}%{SPACE}{"Piece ID"\: "%{DATA:pieceid}", "SatelliteID": "%{DATA:satteliteid}", "Action": "%{DATA:action}", "error": "%{DATA:action_error}"%{GREEDYDATA:message}
 RPCCANCEL %{TIMESTAMP_ISO8601:time}%{SPACE}%{GREEDYDATA}%{SPACE}piecestore protocol: rpc error: code = Canceled desc = %{SPACE}%{DATA:action},%{DATA:function}%{GREEDYDATA:message}
 STORJDELETE %{TIMESTAMP_ISO8601:time}%{SPACE}%{GREEDYDATA}%{SPACE}piecestore%{SPACE}%{DELETE:function}%{SPACE}{"Piece ID"\: "%{DATA:pieceid}"
 STORJPARSE (?:%{STORJDELETE}|%{RPCCANCEL}|%{CCANCEL1}|%{CCANCEL}|%{STORAGEPARSE})

The Gluster Cluster

It is time to replace Goomba…
He’s been a good little beast, but i am physically out of space to add more hard disks; and frankly, this case simply will not be good for long-term storage…

Maker:0x4c,Date:2017-12-14,Ver:4,Lens:Kan03,Act:Lar01,E-Y

Maker:0x4c,Date:2017-12-14,Ver:4,Lens:Kan03,Act:Lar01,E-Y

Maker:0x4c,Date:2017-12-14,Ver:4,Lens:Kan03,Act:Lar01,E-Y

Maker:0x4c,Date:2017-12-14,Ver:4,Lens:Kan03,Act:Lar01,E-Y

Maker:0x4c,Date:2017-12-14,Ver:4,Lens:Kan03,Act:Lar01,E-Y

I’ve decided to move to a GlusterFS cluster using system on chip boards (odroid HC2)

This is how I do it… Continue reading “The Gluster Cluster”

Welcome Spiny!

<nerd> I’d like to welcome Spiny to the family. </nerd>

[peg-image src=”http://lh3.googleusercontent.com/-Q9ID3–xzBo/VdnT-BjYniI/AAAAAAAB4BA/d01tSrhXDi8/s144-o/IMAG0170.jpg” href=”https://picasaweb.google.com/102474139899968458086/20151029?authkey=qdEYu2Xz3I8#6186208625692286498″ caption=”” type=”image” alt=”IMAG0170.jpg” image_size=”2688×1520″ ]

Intel NUCs

http://www.newegg.com/Product/Product.aspx?Item=N82E16856102002
Dear Santa – We work hard all day sharing Brad’s nerdiness with the world, and we really could use 2 of these with 16g of RAM, word on the street is that they run VMware ESXi really well.
Thank you,
Bowser, KoopaTroopa, and Goomba

DDNS

If any of my nerd friends need DDNS, let me know… my server supports it… I can probably figure out a way to do it with your own domain too. Just let me know.

Nostalga

Thanks Mom for saving this wonderful nostalgia for me… This one’s for my nerd friends. The old ISA motherboard/amd processor were MY first computer that I didn’t share with my parents… the ABIT is the first one that I bought myself.[peg-image src=”http://lh3.googleusercontent.com/-rsSEapPD9JU/VZ7u6tA-O5I/AAAAAAAB3fM/WJQjWP4sFu0/s144-o/IMAG0062.jpg” href=”https://picasaweb.google.com/102474139899968458086/20151029?authkey=qdEYu2Xz3I8#6169631231827655570″ caption=”” type=”image” alt=”IMAG0062.jpg” image_size=”1520×2688″ ] [peg-image src=”http://lh3.googleusercontent.com/-O35Nenr9uik/VZ7vRuN9JRI/AAAAAAAB3fk/Vg5iQ-NJBlY/s144-o/IMAG0063.jpg” href=”https://picasaweb.google.com/102474139899968458086/20151029?authkey=qdEYu2Xz3I8#6169631627287536914″ caption=”” type=”image” alt=”IMAG0063.jpg%

Yoshi needs medicine

— SERVICE OUTAGE NOTIFICATION —
Attention users, Yoshi will be down from 10PM – 1AM on Friday, 6/12/2015 for maintenance on a defective RAID card.
Please contact customer service at 800-I-DONT-CARE if you have any questions or concerns.

Comcast

Oh Comcast…

Let me tell you a story about how I wasted more than 10 hours of my life.

It all started on the Friday after Thanksgiving, when I was in Florida with my family.

My wife and I had recently leased a new town home just down the road, and we needed to schedule transferring our service from our old address to our new address.

When I called the representitive on Black Friday, she told me about some great deals they had going on, and I selected one of them which would be perfect for our new apartment (Mistake #1, changing plans while transfering service)
I set the transfer date to 12/21/2011, a few days after we were planning to get the keys for the new place. The representitive told me moving the date would be easy in the event I needed to do so, and we went about our business, never to speak again. (mistake #2, trusting the representitive) Continue reading “Comcast”