Unsolved
This post is more than 5 years old
10 Posts
0
383
May 27th, 2008 10:00
Loading dynamic models into a running Domain Manager.
I am trying to load a new model and cannot seem to get the basic syntax correct even though I am following the docs exactly. Can anyone shed a clue as to what is going on here?
I have a simple file DnsUnix.mdl with a new model in it as follows:
interface DnsUnix:UnitaryComputerSystem
"Create a Unix DNS class inheriting from UCS"
{
}
I try the following two commands on the box and they fail as shown.
D:\InCharge6\IP\smarts\local\model>..\..\bin\sm_edit --create DnsUnix.mdl
D:\InCharge6\IP\smarts\local\model>..\..\bin\dmctl -s AMER-AMPM-STAGE -b ausnetsampc101:426 invoke SM_System::SM-System loadModel DnsUnix.ldm SM_DYNAMIC_LIBRARY
loadModel: Wrong number of arguments for operation
D:\InCharge6\IP\smarts\local\model>..\..\bin\dmctl -s AMER-AMPM-STAGE -b ausnetsampc101:426 invoke SM_System::SM-System loadModel DnsUnix.ldm
CI-E-EMODNOTLOAD-Module DnsUnix.ldm could not be loaded
CI-ESYSINFO-System information:
. The specified module could not be found.
.
RTLD-SI_ELOADERR-Dynamic loader error
D:\InCharge6\IP\smarts\local\model>
What am I missing? Thanks in advance for any pointers. P.S. I am using pages 20-26 of EMC Smarts Foundation 7.2 Dynamic Modeling Tutorial P/N 300-006-450 , However I am running 6.5 SP3. Are my docs the wrong ones? I couldn't seem to find a tutorial for dynamic modeling for 6.5.
I have a simple file DnsUnix.mdl with a new model in it as follows:
interface DnsUnix:UnitaryComputerSystem
"Create a Unix DNS class inheriting from UCS"
{
}
I try the following two commands on the box and they fail as shown.
D:\InCharge6\IP\smarts\local\model>..\..\bin\sm_edit --create DnsUnix.mdl
D:\InCharge6\IP\smarts\local\model>..\..\bin\dmctl -s AMER-AMPM-STAGE -b ausnetsampc101:426 invoke SM_System::SM-System loadModel DnsUnix.ldm SM_DYNAMIC_LIBRARY
loadModel: Wrong number of arguments for operation
D:\InCharge6\IP\smarts\local\model>..\..\bin\dmctl -s AMER-AMPM-STAGE -b ausnetsampc101:426 invoke SM_System::SM-System loadModel DnsUnix.ldm
CI-E-EMODNOTLOAD-Module DnsUnix.ldm could not be loaded
CI-ESYSINFO-System information:
. The specified module could not be found.
.
RTLD-SI_ELOADERR-Dynamic loader error
D:\InCharge6\IP\smarts\local\model>
What am I missing? Thanks in advance for any pointers. P.S. I am using pages 20-26 of EMC Smarts Foundation 7.2 Dynamic Modeling Tutorial P/N 300-006-450 , However I am running 6.5 SP3. Are my docs the wrong ones? I couldn't seem to find a tutorial for dynamic modeling for 6.5.
No Events found!
FredericMeunier_0588be
143 Posts
0
June 6th, 2008 07:00
simply remove the .ldm extension. The file name must not have the extension (use DNSUnix in you case).
Hope this helps!
--Fred