Hardware

Dirty Cache – Dell, Equallogic Storage Array

Dirty Cache – Dell, Equallogic Storage Array

I hope you never encounter such an issue, but if you found yourself searching for a method to get online you’re in luck.

Symptoms:

  • Equallogic Storage Array  no longer responds to pings
  • iSCSI attached volumes have all gone offline
  • Unable to access the Equallogic Storage Array using SAN HQ
  • Unable to access the Equallogic Storage Array via its web interface

By this time you may have been alerted to the fact and are aware that your Equallogic Storage Array is offline.

If by now you have consoled in with the serial cable you will see the following message type: Logger daemon is losing messages because offline disks are generating more events than the daemon can handle.

Actions to Take:

  • Connect Serial Interface Cable
  • Have your grpadmin password ready
  • Have putty or terminal emulator of choice ready for use

Now that you are ready  connect to the system via the serial interface on one of the controllers.

Log into the san using the  grpadmin account –

You will see the following message:

Login to account grpadmin succeeded, using local authentication. User privilege is group-admin.

It appears that the storage array has not been configured.
Would you like to configure the array now ? (y/n) [n] | choose n

The following message will be displayed:

Please run setup before executing management commands
It appears that the storage array has not been configured. Please run setup before executing management commands

We are not doing this as this will destroy your data

 

Now that we have logged into the Equallogic Storage Array we need to drop into the BASH command shell.

To do this we type:  su ex sh

You will see the following message:

You are running a support command, which is normally restricted to PS Series Technical Support personnel. Do not use a support command without instruction from Technical Support.

Run the following command: raidtool
In my cases the following message displayed:

Driver Status: *Admin Intervention Requested*

Next we drop into the ecli by typing: ecli
Now in the ecli we want to type:  hs – the following message may be displayed to you:

Health Status (0x0000000800000000): RED Conditions:
RAID_LOST_CACHE_CONDITION

* what we have just confirmed is the raid cache is corrupted

We want to  quit to exit to the CLI>  prompt

And issue the following command:  clearlostdata

This will display the following:

The clearlostdata command will gather information about the
state of this array for support and troubleshooting purposes.
No user information will be included in this data.

E-mail notification is not available, so you must retrieve the results
by using the “text capture” feature of your terminal emulator
or Telnet program.

You will be given information to help you do this at the end of this procedure.

Finally, please remember to include your Dell Technical Support case or incident number in the subject line of any e-mail that you send to Dell Support. This will help ensure that the message is routed correctly.

Do you wish to proceed with data collection? (y/n) [y]: select y

Next you will see:

Starting data collection on …

Section 1 of 1: ..
Finished in 2 seconds

You also have the option to capture the output by using the “text capture” feature of your Telnet or terminal emulator program.
Do you wish to do this (y/n) [n]: y

The configuration data will now be sent to the console. Please enable text capture in your terminal emulator or Telnet program, and submit the resulting file with your problem report.

Please press the Enter key when you are ready to proceed.

When completed your system will come online once again.

I can’t stress this more.  Get your data off that system now.

In my case we replaced both controllers and the issue still happens. Be on the safe side and evacuate your data “NOW”

Other Tech Info:

Model:  70-0011
Family:  PS100
Chassis:  1403
Disks:  SATA HDD
Firmware:  V5.2.4 (R255063)

 

Dell Equallogic PS Series – Undocumented Commands

Disclaimer: The following set of commands are used by Internal staff at Dell Equallogic. These commands are for use only by Equallogic Technical Support personnels. Do not use a support command without instruction from Technical Support

Now for the fun commands you’ve been looking for:

Launch Support Mode
support exec bash

To enter a BASH shell
su exec bash

Various “Netstat” and netstat_test commands…some of the most useful networking commands I’ve used so far:
netstat -i
nstat_test -p 0
nstat_test -r
nstat_test -t

“Cache Tool”
cachetool

Reveal NetBSD
uname -a

“RAIDTOOL” for displaying RAID Info, especially useful in watching the rebuilds with percentages
raidtool

Replication Tuning – TCP
support repl-window-size

Restart the Equallogic Management Service (Note: You must close and re-launch the Group Manager application after running these commands)

eqlinit restart MgmtExec
eqlinit restart-snap MgmtExec
support eqlinit “restart MgmtExec”

Check the status od the MgmtExec Service
eqlinit status

DOWN and UP ETH Ports … first select the Array that you want to operate on (the example connects to array JERMSMIT-01, then toggles eth0 off and then on again)
member select JERMSMIT-01
eth select 0 down
eth select 0 up

“UNAME” (unsure what this is actually doing…)
uname -a

Restart the Network Management service
eqlinit restart-snap netmgtd

“PSGD Test”
psgd_test -r

“EQL Logger”
eqllogger -r

“Clear Cache” – The clearlostdata command will gather information about the state of this array for support and troubleshooting purposes.
clearlostdata

 

Accessing the bash shell in Equallogic

At times you may need to drop into the shell from console to run commands such as traceroute, ping, etc…  while troubleshooting connectivity issues on an Equallogic.

From the main console of the Equallogic you can run the following command to access an OS type level shell.

The command is as follows:

su exec bash

*note* this command may not be available on all Equallogic units

How to Root Galaxy S4!

This is a video by our buddy Zedomax on rooting the Galaxy S4. This method is only for root access, its not a video on installing custom recovery, so please enjoy and remember to subscribe to his YouTube Channel.

.

This method works on all Qualcomm Galaxy S4 running Android 4.2.2 including:
AT&T SGH-i337, T-Mobile SGH-M919, Sprint SPH-L720, Verizon, US Cellular, Telus, .
Rogers, etc…

For GT-i9500 octa-core S4, see other root method here:
http://www.youtube.com/watch?v=1VZd71…

Download and Step-by-Step tutorial here:
http://galaxys4root.com/galaxy-s4-roo…

For rooting Galaxy S4 on Linux/Ubuntu, please see this video instead:
http://www.youtube.com/watch?v=JIAbdV…
For rooting Galaxy S4 on Mac OSX, please see this video instead:
http://www.youtube.com/watch?v=q5Sluq…

For more awesome info on rooting the Galaxy S4 stop over at http://GalaxyS4Root.com

WiFi Tether AT&T Galaxy S4 SGH-i337

I must first thank Zedomax over at galaxys4root.com for his work and information provided which made this possible for me tonight. My hat’s off to you sir.

Please visit his website and follow his YouTube Channel for all the latest and up to date info in rooting Android devices, such as the Galaxy S2, S3, and S4.

So how is this done!

  1. First thing is to root your Galaxy S4 (SGH-i337), this is a must
  2. Next, download the new Wifi Tether provisioning files. (Link) *his link not mine
  3. Use any file browsing app that allows for root access, such as ‘Script Manger’ found in the Google Play Store
  4. Browse as root  to /system/app directory and you will find two files called TetheringProvision.apk and TetheringProvision.odex.  Rename these files to TetheringProvision.apk.bak and TetheringProvision.odex.bak, respectively. I kept the orginal extension in the backup name so that if I reverted back I would remember what to name them
  5. Next go to your Download folder where you downloaded your new TetheringProvision.apk file and copy it to the file into /system/app directory
  6. Reboot your Galaxy S4 and try turning Mobile Hotspot on.  You still get AT&T’s warning message but tethering will now turn on and work.

Awesome isn’t it

Ultimate Credits go to the folks over at XDA – Stop by and give those guys/gals thanks

 

How to take a screenshot on the Samsung Galaxy S4

Hello All,

Today I got my hands on the new Samsung Galaxy S4 (AT&T). I wanted to test how to take a screenshot. For sometime now I have used my rooted Galaxy S2 with CyanogenMod which allowed for me to simply press the power button and get a menu context which allowed me to take the screenshot of my choice. Now with a stock out of the box device there isn’t a menu to do this, but rest assured there is a way and best of all its simple to do.

To take a screen shot with the Samsung Galaxy S4 you simple do the following.

  1. HOLD down the POWER button and the HOME button at the same time.
  2. Now go look for your screenshot to upload or email

If look for it you can find them in the directory /Pictures/Screenshots, or simply use the Gallery app.

HOLD down the POWER button and the HOME button at the same time

 

Wait… I’m not done. I found another way to take them also. This involves using the new Palm Motion feature which allows you to wave your hand magically over the Galaxy S4 to take the shot.

You enable this setting by:

Clicking on the MENU button and select SETTINGS

On the top menu bar, selection the “My Device” tab. Then select “Motion and Gestures”

Under “Palm Motion” settings, check “Capture Screen” button is set to ON.

Have fun! and Like me on Facebook

Get the 3ware 9650SE working with ESXi 5.x

At the office we recently built two white box, built it yourself servers (lego’s). I called them Lego’s due to the fact they are build your own types and not OEM. For each of these powerhouse systems we got 3ware 9650SE RAID controllers (3ware 9650SE-4LPML PCI Express Lanes: 4 SATA II Controller Card RAID Levels 0, 1, 5, 10, Single Disk, JBOD, KIT).

After getting ESXi 5.x installed to a USB Stick to boot from I encountered an issue where the 3ware controller was not recognized by the system. Well this could only be one thing. Drivers.

This is where installing of the controller driver fun begins.

I first navigated to the LSI website and their support page to download the drivers for these controllers. Where I was able to find drivers for VMware ESXi 5.0 update 1 driver for 9650SE/9690SA

After downloading the zip archive of the driver, I extracted and used WinSCP to upload the drivers to the /tmp directory of my ESXi 5.x hosts.

I then logged into the ESXi 5.x using SSH with Putty.

After changing my directory to /tmp I ran the following command:

esxcli software vib install -v /tmp/scsi-3w-9xxx-2.27.08.036-1OEM.500.0.0.472560.x86_64.vib

Soon after I got the following messages:

Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: LSI_bootbank_scsi-3w-9xxx_2.27.08.036-1OEM.500.0.0.472560
VIBs Removed:
VIBs Skipped:

After the install I followed the instruction to reboot and after the systems were up and running again I was able to see the controller and create my new data-stores.

Link(s):

https://my.vmware.com/web/vmware/details?productId=242&downloadGroup=DT-ESXi50-SAS-3w9xxx-22708036

Stock Trading Station Computer System Setup

Stock Trading and Investing @ Facebook

So you’re now entering the area of stock trading for your own personal wealth gains. The computer’s you use are essential to your work. Like that of an enterprise it’s a must to have your systems running in top notice working order if you are going to succeed in this competitive arena . Like so many things in life you need a solid approach and a plan.

Here is a high level of items one may need to get a foothold in stock trading at home:

  • A primary system, with an auxiliary system to move to if something was to happen.
  • Protection from power issues by the use of surge protectors and UPS systems
  • You need a solid backup plan for your data – offsite data offloading of documents such as charts and notes are key.
  • And if possible a secondary internet source in case your primary network access is interrupted — cell phone tethering may be useful in a big pinch
  • And most important, if you are not the most computer savvy person a good resource to help you get up and running again

As pointed out by the folks over at Stock Trading and Investing, having multiple monitors would allow you to track different stocks and other technical indicators

To sum it all up:

  1. Good solid computer system
  2. Backups
  3. Internet Connection
  4. Proper Planning
  5. And a good sense of knowledge in what you are doing

While trading this isn’t my area, I will advise you to pop over to the Stock Trading and Investing page on Facebook and inquire about your trading needs and some good solid tips in regards enhance your trading needs.

Upgrading HP ProCurve firmware via USB flash drive

Today I got a replacement HP ProCurve 2910al-48G-PoE+ J9148A to replace one that had faulted in the data-center so I am taking a moment to take a little phrase from Horace “Carpe diem quam minimum credula postero” because I may not have the chance to do this another day.

The ProCurve switch has a USB port that you can use to transfer files. And while there are other ways, today I will use this method. Only because I have assigned this switch an IP and would not want to conflict with the one in production. “Oh yeah, I copied the productions configuration to this switch already”.

I grabbed the latest version (at the time of writing this post), which happens to be W_15_08_0012. Before applying the firmware I wanted to make sure I knew the version I was currently running on.

This is done by the “show version” command:

SwitchGroup-2# show version
Image stamp: /sw/code/build/sbm(t4a)
Nov 5 2009 18:02:07
W.14.38
51
Boot Image: Primary

I then plugged in my FAT32 formatted USB stick which had the image file of W_15_08_0012.swi and typed dir <enter> to see the contents of the USB stick.

I then issued the following: copy usb flash W_15_08_0012.swi primary to copy the flash image to the switch.

When the copy has completed you will need to reload the switch. I done so by issuing the following command: boot system flash primary

The switch will reboot, and in the console you will see the updates. Once completed type: show version and you will be at the new version.

 

PS3 YLOD Fix: How I did it

Hello PlayStation 3 Owner,

If you have run into this issue, I am aware of how frustrated you are. I’ve been there and just recently fixed mine and my brother’s PS3 (Fat Body). We both encountered this same issue.

Back-story on my issue: My PS3 ran into the Yellow Light of Death (YLOD) issue and after much troubleshooting; checking cables, powering down for days, trying again… I gave up and purchased a replacement rather than paying for a repair via Sony or some third party. My PS3 has been in a box for about 2 years or longer. Recently my brothers encountered this same issue and I quickly thought, perhaps I should experiment on my old system to see if I could fix it, and if I was successful, fix his also.

Now I have read that the PS3 YLOD is caused by either too much heat or extreme cold temperature causing the solder connections to get cracked. These conditions might also loosen the connections and now you have a PS3 with the YLOD issue. That said I attempted to preform the “blow dryer method”.

You will need the following YLOD Fix it Kit:

  • 1 small screw driver
  • 1 small flat head screw driver / or in my case finger nail
  • 1 blow dryer (borrow one from your mom, sister, girlfriend, or wife)
  • 1 towel or in my case a small blanket (such as the one my son uses for naps)

Now that you have your YLOD Fix it Kit follow these steps:

  1. Unplug your PS3 from the Power, Video (HDMI), USB attached devices
  2. On the left side of the PS3, you will find a little tab, lift it out to reveal the hard driver holder
  3. Unscrew the little blue screw in the center, then pull out the hard drive, depending on the model you may need to slid the hard drive hold to the side then pull it out. *note* place the hard drive, cover, and little blue screw someplace safe.
  4. Wrap the PS3 in a towel or blanket, cover the whole unit but expose the vents in the back. *note* turn the PS3 upside down during the process so that the bottom of the PS3 is facing up
  5. Using a blow driver on high heat, blow hot air into the back vents, go slowly side to side for approx. 15 minutes. 
  6. Remove the towel or blanket, you will notice that the bottom will be very hot. Allow the PS3 to remain upside down and cool for about 15, 20, 30 minuets. Don’t attempt to cool it faster by placing in the freezer, allow it to cool to room temp on its own. **note** there is a reason for this, and I’ll go into that later
  7. Once the cool down is complete, re-install your hard drive, screw and cover tab.
  8. Attach your Power, Video (HDMI),USB attached devices
  9. Turn your TV on and change to the proper input
  10. Finally we are at the moment of truth; power on your PS3. If all went well you will see the green light and the PS3 XMB will be disabled on your screen. You are now back in action.
***final note***
If this doesn’t work the first time around please attempt it again, in my case I only had to do this once for it to work, my brother did it two times and his is working once again.

Good Luck to you,
– Jermal