Quick question, is there a way to export all the cmdb classes to make sure I am 
not missing any?  It seems my AST:ComputerSystem form is still missing.  Does 
this require reinstalling Asset Management?

Thanks

Steve
 


Date: Tue, 19 Jan 2010 20:18:09 -0700
From: [email protected]
Subject: Re: Deleted a class by accident
To: [email protected]

** 





Looks like you deleted BMC_ComputerSystem.  Did you take a DB backup before you 
made the change?  Cause you could restore from that.
 
I’m assuming you’re atleast on CMDB 2.1 and have done this on your dev 
environment, so you could try exporting the class definition for Computer 
System from your Prod environment using the cmdbdriver utility.  Read up on the 
utility in the CMDB Admin guide.  When you launch the utility, you’ll need to 
run the ‘init’ command and then ‘log’ to login.
 
To export the class def use the xexpdf command, it will prompt you:
 
Command: xexpdf
XEXPORT DEFINITION
Export all classes? (F):
Classes to export:
   Class and its subclasses, From namespace (1,2) (1):
      Namespace (): BMC.CORE
      Class name (): BMC_ComputerSystem
Export all attributes with classes? (T):
Filename for exported data: ProdComputerSystem 
 
Then on your dev env, import the def
 
Command: impdf
DEFINITION IMPORT
Import Item List:
Number of import items (0):
Import option : Create/Overwrite (1-2) (1): 2
Filename containing import data: ProdComputerSystem
 
You might might need to run the Update Asset UI after the import is done to 
resync with the AST form.   You data should still be there on the Base Element 
hopefully.
 
Hope this helps
 
Edward
 
 
 

From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Steve Iocco
Sent: Tuesday, January 19, 2010 7:58 PM
To: [email protected]
Subject: Deleted a class by accident
 
** 
Hi everyone.  I created a new class in the atrium CMDB but decided to delete it 
afterwards.  Problem is I must have highlighted another class, likely under 
base element and removed something else instead.  Is there a way to rebuild 
this class?  I would need pretty step by step instructions.  All I know at this 
point is accessing the asset management console gives the following error:
ARERR [303] Form does not exist on server : AST:ComputerSystem
Thanks
Steve
 



Windows Live Messenger makes it easier to stay in touch - learn how!
_Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_ 
_Platinum Sponsor: [email protected] ARSlist: "Where the Answers Are"_   
                                    
_________________________________________________________________
Say Happy New Year with Messenger for Mobile.
http://go.microsoft.com/?linkid=9706117
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:[email protected] ARSlist: "Where the Answers Are"

Reply via email to