Saturday 26 December 2015

ChromeCast Audio




Christmas!  Got a cool gadget to play with--lucky me.  Wrote about it--lucky you!

I was intrigued by the setup.  This tiny device would be fine once it's connected to my home WiFi, but how to get it to that point?  Following the setup, the Chromecast started by acting as a WiFi hotspot transmitting rather than a receiving connections like it would do later.  I was instructed to connect (I was setting up from my laptop) to the WiFi point that was temporarily broadcasting only long enough to do the setup.  After doing that, I was able to put in the info of my own home WiFi (SSID, username, password) which was passed to the Chromecast.  Then it rebooted and ta-da!  Ready to roll.  I thought that was pretty cool way to do the setup.


    


Android
My Android seemed well suited as it has an option in the Chromecast app to set any audio coming from the phone to Chromecast.   So, I tested to see what would happen if a phonecall comes in while you're 'casting all audio.  My test showed that in incoming call causes the 'cast to automatically fade out.  But the ringing call doesn't 'cast to your speakers.  You can hear the ringing on the phone, but not 'cast on your speakers.  Unfortunately the inbuilt limitations of Spotify mobile meant I could only skip a certain amount of songs over a time period.  So, mobile 'casting has it's strengths and weaknesses--though the weaknesses I ran up against were due to Spotify, not Google.  Speaking of which, Youtube and Google Play (music) works great.


   

OSX
Whereas using this cool device from OSX was actually more limited than Android.  The only way to 'cast rom OSX is from a chrome browser extension.  That meant I couldn't 'cast Spotify via their OSX App.  I had to login to their website via Chrome and 'cast that browser tab.  Google Play (music) worked fine here too, although the first time I tried it I had a huge amount of cut-outs, like every few seconds for at least an entire songs.  I closed lots of unused apps and unused browser tabs, but nothing helped.  The next time I closed and reopened Chromecast on OSX it was fine and I haven't had any problems since.

ChromeOS
Now this is getting a little confusing. Kinda like running ESX hypervisor inside VMware Workstation.  Russian Dolls and virtual lans running on virtual machines with virutal luns and virtual volumes and virtual disks.  Anyway, to connect my ChromeBook, all I had to do was install the ChromeCast Chrome Browser plug-in and then it worked just like on OSX.  Same advantaged and same disadvantages.

Windows
The setup page linked above says the way to use the Chromecast on Windows is the same as OSX:  install Chrome browser.  So, I'm keen to try this on my son's Nokia/Microsoft Windows phone.  Seems there's a Chrome browser for Windows, but I couldn't find Chrome or Chromecast on the Windows mobile app store.

parting thoughts. 
I'm happy with this home entertainment gadget, and only £30--it's great.

'cast battles
You can take-over from another browser tab on your own computer as you switch from Youtube to Google Play, Spotify, NetFlix or whatever.  You aren't prompted to release your connection when another connection is requested, so it makes for a great game of 'cast "fights".  You could even annoy someone by 'casting something confusing or annoying from another part of your house.

lag between video and audio
I guess it makes sense if your video it on your local device, yet the audio is being routed through your WiFi to a speaker somewhere else, so there'll be a lag.  But we are in the habit of plugging our laptop into our speaker with a 3.5 inch cable so our NetFlix viewings have a good sound quality.  This won't work with the Chromecast audio as the lag is several seconds.  Guess I want a ChromeCast--the proper one for video

Friday 4 December 2015

VPLEX CPU/Mem info

unzipping and untarring the VPLEX collect-diagnostics and found what looks a lot like a linux file:

cpuMeminfo/36/cpuinfo
cpuMeminfo/35/cpuinfo
cpuMeminfo/36/meminfo
cpuMeminfo/35/meminfo
cpuMeminfo/68/meminfo
cpuMeminfo/68/cpuinfo
cpuMeminfo/67/meminfo
cpuMeminfo/67/cpuinfo

as an example, one of the files follows:

$ cat cpuMeminfo/36/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Xeon(R) CPU           L5410  @ 2.33GHz
stepping        : 10
microcode       : 2571
cpu MHz         : 2333.246
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 xsave lahf_lm dtherm tpr_shadow vnmi flexpriority
bogomips        : 4666.49
clflush size    : 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

and then repeats til all 8 processors are listed.

So, 8 sockets and 4 cores, or is it the other way around?

Memory is 3 Gbytes, or 3 Gb x 4:

$ cat cpuMeminfo/36/meminfo
MemTotal:       32458856 kB
MemFree:          239876 kB


VPLEX extent, volume or device "no longer exists" after renamed via GUI





Is the device/lun/volume healthy?

ll /**/*SAP*                                                      
/clusters/cluster-1/storage-elements/extents/extent_01_01_02_103_SAP_DB_01:
Name                           Value
-----------------------------  ------------------------------------------------
application-consistent         false
block-count                    131072000
block-offset                   0
block-size                     4K
capacity                       500G
description                    -
health-indications             []
health-state                   ok

So that seems fine.

plus checking the relationships between the files via the CLI shows it's all fine:

---------------------------------------------
     View Name:   Col_Linux-Oracle-vApps
     View Status: ok
---------------------------------------------
LUN-43: SAP_DB_01 (VPD83T3:6000144000000010a0245b40d0473e23)
        ==> SAP_DB_01 (distributed raid-1)
        cluster-1:
            ==> device_SAP_DB_01_12014Jun03_1115252014Jun03_151326 (raid-0)
                ==> extent_UAT_SAP_DB_01
                    ==> VPD83T3:6006016060d02c001b4a0bf204ebe311
                        ==> EMC~CLARiiON~CKM00112400948 (EMC~CLARiiON)
        cluster-2:
            ==> device_SAP_DB_01_1 (raid-0)
                ==> extent_SAP_DB_01
                    ==> VPD83T3:600601608e503000a18d671a05ebe311
                        ==> EMC~CLARiiON~CKM00112101396 (EMC~CLARiiON)


---------------------------------------------
sudo /etc/init.d/VPlexManagementConsole stop

cd to /var/log/VPlex/cli/ and locate the file GUI cache file persistentstore.xml and rename it with "mv" command.

sudo /etc/init.d/VPlexManagementConsole start

Then verify that the GUI cache file has been recreated when the service restarted.

We had no loss of service, or alerts when we did this, but the GUI error wasn't resolved either.

Guess what the answer from the vendor is now?  Bug fixed in newer release of the code.  Ha! 

Do you have any experience or understanding of this error?