Just delete everything under:
1 |
%SYSDRIVE%\Users\%USERNAME%\AppData\Local\Packages\f5.vpn.client_cw5n1h2txyewy\LocalState\ |
Notes to myself
If you have error like this:
1 |
ERROR 2015-08-25 13:33:54,601 Controller.py:143 - Cannot register host with not supported os type, hostname=h2.hadoopxyz.abc, serverOsType=ubuntu14, agentOsType=ubuntu14 |
You have to edit :
1 2 |
mc -e /usr/lib/ambari-server/lib/ambari_commons/resources/os_family.json mc -e /usr/lib/ambari-agent/lib/ambari_commons/resources/os_family.json |
And change version number:
1 2 3 4 5 6 7 8 9 |
"ubuntu": { "distro": [ "ubuntu", "debian" ], "versions": [ 14 ] }, |
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:
On RP appliances:
On last cluster member:
On each subsequent appliance:
This is a transcript of console sessions:
Continue reading “EMC Recover Point – how to recreate repository volume”
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.
Changing http, https, remote console ports
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
$ racadm config -g cfgRacTuning -o cfgRacTuneHttpsPort 4436 Object value modified successfully $ racadm config -g cfgRacTuning -o cfgRacTuneHttpPort 8888 Object value modified successfully $ racadm getconfig -g cfgRacTuning cfgRacTuneRemoteRacadmEnable=1 cfgRacTuneWebserverEnable=1 cfgRacTuneHttpPort=8888 cfgRacTuneHttpsPort=4436 cfgRacTuneTelnetPort=23 cfgRacTuneSshPort=22 cfgRacTuneConRedirEnable=1 cfgRacTuneConRedirPort=5900 cfgRacTuneConRedirVideoPort=5901 cfgRacTuneConRedirEncryptEnable=0 cfgRacTuneLocalServerVideo=1 cfgRacTuneIpRangeEnable=0 cfgRacTuneIpRangeAddr=192.168.1.1 cfgRacTuneIpRangeMask=255.255.255.0 cfgRacTuneIpBlkEnable=0 cfgRacTuneIpBlkFailCount=5 cfgRacTuneIpBlkFailWindow=60 cfgRacTuneIpBlkPenaltyTime=300 cfgRacTuneTimezoneOffset=0 cfgRacTuneDaylightOffset=0 cfgRacTuneAsrEnable=0 cfgRacTuneVirtualConsoleAuthorizeMultipleSessions=0 cfgRacTuneCtrlEConfigDisable=0 cfgRacTuneLocalConfigDisable=0 cfgRacTunePluginType=0 |
clear some space
1 2 3 4 |
racadm clearasrscreen racadm clrraclog racadm clrsel racadm coredumpdelete |
reload
1 |
racadm racreset soft |
with error:
1 |
Sat Mar 14 20:48:43 2015 TCP/UDP: Socket bind failed on local address [AF_INET]192.168.0.254:1194: Cannot assign requested address |
try to add to /etc/rc.local:
1 2 |
sleep 10s /etc/init.d/openvpn start |
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.
1. get interface
1 2 3 4 5 6 7 8 9 10 11 |
PS C:\Windows\system32> Get-VMNetworkAdapter -VMName pfs3|fl adapterid,ipaddresses AdapterId : 258ffea6-f8ea-46af-a376-7c2b912fe68e IPAddresses : {200.40.8.103, 200.40.8.100, fe80::215:5dff:fe05:a869} AdapterId : 39aeda55-19b3-403c-9c89-d0bf937a4930 IPAddresses : {200.40.19.243, 200.40.19.252, 200.40.19.17, fe80::215:5dff:fe05:a86a...} AdapterId : e579b3aa-8bc6-4ca0-9c39-3fbb568dd205 IPAddresses : {200.40.19.131, fe80::215:5dff:fe05:a86d} |
2. set VLANs
1 2 |
PS C:\Windows\system32> Get-VMNetworkAdapter -VMName pfs4 |Where-Object {$_.adapterid -eq '5d488e8c-b066-4350-acfb-b4ccc 57a9ee7'}|Set-VMNetworkAdapterVlan -trunk -AllowedVlanIdList 1901-1924 -NativeVlanId 1924 |