I've been trying to muddle through the SMcli configuration of an MD3000 for the last few days and I've been consistently stymied by this issue. I at least strongly want SMcli exclusive configuration because, obviously, the unit will be running headless and it's going to be a pain to get an X server on it and get connected.
Everything goes fine right up until the point where I try to configure host ports, then I run into this error:
An internal error, error code 12, has occurred. This is possibly due to initialization problems when loading the necessary internal files. Please check your installation of SMclient. If problems continue to persist, re-install SMclient.
SMcli failed.
The interesting twist to this is if I create ONE host port through the MD Storage Manager GUI, then try that command again, it succeeds. I've tried dumping the configuration after everything's set up through the GUI and then piping that into SMcli and that fails with the same error. Has anyone else seen this? Or, maybe, is a Dell engineer watching who knows what this is?
The "host" parameter has to be specified when creating a host port so that the array knows what host container to put it in.
I have an alternate suggestion that greatly simplifies creating hosts and which will generally work on any configuration as host port identifiers (WWIDs), which are unique, do not have to be specified.
accept storageArray pendingTopology allHosts
This command will automatically create all of the hosts along with the associated WWIDs of each host. The only requirements are that the proper powering sequence of storage array first followed by the attached servers is followed as well as no existing host configuration (the latter is a general rule but doesn't always apply).
What happens is that on startup or restart the SMagent will push it's information to the array and the array holds it in a "pending" area until it's accepted. This SMcli command is the analogous to the GUI Configure Host Access (Automatic) operation.
In your original post you seem to have indicated that you created the configuration through the GUI, saved the configuration into a script file (e.g. save storageArray configuration) and then played back that script file, encountering the same error.
Incidentally, the method you described earlier worked perfectly the first time I tried it, and then later while making sure the process was repeatable, I cleared the storage array config, re-kickstarted the management host, ran through the process again, and it didn't work. Told me there were no pending host topology changes to apply. I think that's related to the array being managed via out of band management rather than the in band manager, so there's no host topology being pushed from the agent, but I'm really not sure.
Yes, that's correct. I created a configuration via the GUI identical to the one I've been trying to create via SMcli, saved the configuration out, cleared the configuration, then played back the saved config and got the same error.
I've, frankly, tried about every combination I can think of to expose the difference between how it's behaving in the GUI and how it's behaving in the CLI and haven't been able to find anything yet.
Right. I'm in the process of rekicking the host and trying it again, but the information didn't appear to be pushed from SMagent when I tried it yesterday. Like I said, the error I got said there were no pending topology changes to be accepted. We'll see how it flies this time through.
> I cleared the storage array config, re-kickstarted the management host, ran through the process again, and it didn't work.
The process I described is independent of how the storage array is being managed.
Going back to the process, "What happens is that on startup or restart the SMagent will push it's information to the array and the array holds it in a "pending" area until it's accepted.".
To clarify, the SMagent is on the host server, so to reproduce this process needs to be re-kicksarted. This typically is only applicable during initial deployment and following the recommended power-on process will.
> I've, frankly, tried about every combination I can think of to expose the difference between how it's behaving in the GUI and how it's behaving in the CLI and haven't been able to find anything yet.
Yeah, it sounds like either SMAgent isn't starting properly or if it's starting, it's not able to talk to the array. I've found that the installation process is pretty sensitive so you want to make sure that the SAS 5/e driver and the linux multi-path driver are being properly compiled and installed, it has to do both steps and if one of them fails with an error it isn't obvious that it's failed. I also had to symlink /usr/src/kernels/ / to /lib/modules/ /build to get the driver modules to compile properly, so you may want to look into whether you need to do that.
There's a command to query SMAgent for devices it knows about, though I don't remember the syntax offhand.
The problem with creating the hostPort is actually a bug in SMcli, the Dell engineering team is aware of it, I imagine it'll be fixed in a later release.
dzenz
175 Posts
1973
0
Posted February 19th, 2009 12:00
The "host" parameter has to be specified when creating a host port so that the array knows what host container to put it in.
I have an alternate suggestion that greatly simplifies creating hosts and which will generally work on any configuration as host port identifiers (WWIDs), which are unique, do not have to be specified.
accept storageArray pendingTopology allHosts
This command will automatically create all of the hosts along with the associated WWIDs of each host. The only requirements are that the proper powering sequence of storage array first followed by the attached servers is followed as well as no existing host configuration (the latter is a general rule but doesn't always apply).
What happens is that on startup or restart the SMagent will push it's information to the array and the array holds it in a "pending" area until it's accepted. This SMcli command is the analogous to the GUI Configure Host Access (Automatic) operation.