{"id":1342,"date":"2012-10-11T15:01:50","date_gmt":"2012-10-11T19:01:50","guid":{"rendered":"http:\/\/mossiso.com\/?p=1342"},"modified":"2014-09-22T14:09:12","modified_gmt":"2014-09-22T18:09:12","slug":"when-your-os-updates-break-your-cam","status":"publish","type":"post","link":"https:\/\/mossiso.com\/2012\/10\/11\/when-your-os-updates-break-your-cam\/","title":{"rendered":"When your OS updates break your CAM"},"content":{"rendered":"

As I’m sure many people have run into this before, and from personal experience, found nothing roaming the Interwebs on how to fix it, and seeings how I just fixed it, I’ll write up a little how to fix it post.<\/p>\n

 <\/p>\n

The set up:<\/h3>\n

Two SunFire X2100 M2 servers connected to a StorageTek 2530 via iscsi. The two nodes are running CentOS 6.2 with RedHat cluster software. I have a server running Nagios for monitoring and it checks for failed disks on the StorageTek by running a script on either node that returns the number of “optimal” and “failed” disks.<\/p>\n

 <\/p>\n

\"\"<\/a>
Two nodes connected to an array via iscsi (Ethernet)<\/figcaption><\/figure>\n

The problem:<\/h3>\n

Updating system software is important. Keeping packages up to date protects from security vulnerabilities. Unfortunately, sometimes it breaks things. In this case, updating the suggested packages broke my set up, making it so that the Sun Storage CAM (Common Array Manager) software did not work anymore.<\/p>\n

I first became alerted to this when Nagios sent me errors from the script checking the StorageTek disks. I checked the command that runs in the script to see what was up, and it returned several errors. Here they are for future googlers:<\/p>\n

sscs list -i 192.168.128.101 device<\/pre>\n

returned “Command failed due to an exception. null” and<\/p>\n

sscs list -a arrayname host<\/pre>\n

returned “arrayname : The resource was not found.”<\/p>\n

Not particularly helpful messages.<\/p>\n

Fortunately the nodes could still mount the array partitions, which allowed them to continue running as web and mysql servers. I just couldn’t run management commands on the array.<\/p>\n

Since some of the required software for CAM was updated, I supposed that was causing the issue. The required software is listed below:<\/p>\n