Installing Apache Ambri on Ubuntu 14.04

If you have error like this:

 

You have to edit :

 

And change version number:

 

ambri_errd

EMC Recover Point – how to recreate repository volume

We have to recreate repository volume of our RP but I could not find any guidance from EMC site. So I’m documenting my steps here for further usage:

Procedure overview:
On EMC storage:

  1. Create about 6-8 GB LUN.
  2. Present that LUN to storage group of RP nodes.

On RP appliances:
On last cluster member:

  1. Detach RPA from cluster
  2. Format repository volume
  3. Reboot
  4. Attach RPA to cluster

On each subsequent appliance:

  1. Detach RPA from cluster
  2. Select repository volume
  3. Reboot
  4. Attach RPA to cluster

This is a transcript of console sessions:
Continue reading “EMC Recover Point – how to recreate repository volume”

Car diagnostic with ATmega328P Nano

I was in trouble reading my car’s live data. So I’ve wrote a little utility to read raw car sensors data i.e. i hook up before ECU and send it via serial port to PC using ATmega328P Nano and finally store it to file.

Where to get one:
http://www.banggood.com/ATmega328P-Nano-V3-Controller-Board-Compatible-Arduino-p-940937.html

How to install:
1. Flash AnalogReadSerial.hex  to ATMega.
2. Extract and run carauto. .Net 4 is needed.
3. Choose com port from dropdown menu.

How to use:
Connect analog/digital input to intended sensor via 1KOmh resistor. Please note that all inputs are 5V only!
Shorting digital Input 12 to ground will produce human readable data and will decrease sample rate.

Reading data:
Data are stored in Output.csv file with approximately 1000 samples/second.

carauto

Dell DRAC 5 config via ssh

Changing http, https, remote console ports

clear some space

reload

Openvpn on OpenWRT does not start

with error:

try to add to /etc/rc.local:

 

 

Daewoo Lanos SRS/Airbag test

What you will need:
1. K-Line adapter connected to pin ” J”
2. Chevrolet Explorer 1.7 (free to use)

Procedure overview:
1. Get (or solder) a K-Line adapter.
2. Download Chevrolet Explorer (CE).
3. Connect to ALDL pins:Ground, +12V, J.
4. Turn on ignition. Do not start engine.
4. Start CE, set up COM Port, test adapter.
5. Double click “SRS” button (in orange).
6. Read Errors, clear errors.
7. Remove car key for 10 seconds.
8. Turn on ignition again.

Electric schematic:
l0

Chevrolet Explorer:
ce1

Port setup:
ce2

Adapter test:
ce3

Airbag reset:
CE9

CE10
CE11

K-Line adapter schematic (can’t find original link):
k-line

VLAN trunking in Hyper-V. Virtual switch to VM

1.  get interface

2. set VLANs