17
SAP Basis Corner ...your SAP Corner! Home SAP Basis Guides » About Me Update CIM Data SLD SAP Oct 8, 2014 by admin Dear Readers, Today, we are going to be updating our SAP Solution Manager 7.1 CIM Data in the SLD of a SAP Solution Manager. Most of the information regarding this process, can be found in this beautiful note 669669 . However, if you like, you can follow this post to learn the process in a graphic manner. In my case, I accessed transaction LMDB on SAP SolMan, and found a warning letting me know the CIM Data version was outdated, and since I had some time, I decided to proceed and update it. First of all, you must access the SLD of SolMan (http://localhost:50000/sld ), and navigate to “Administration” –> “Backup” –> “All”. This will create a backup of the current sld namespace, just in case the update fails. I must say though, I have done this process over 50 times, and it has never failed and needed to recover… however, backups are always a must! So by selecting all instances, you create a backup for all your sld/active, sld/active1, … instances: Backup Options After a few seconds, the export will start. It usually takes 1015minutes+ to finish:

SAP Basis Corner - Weekly SAP Basis Guides & Chatter

Embed Size (px)

DESCRIPTION

a

Citation preview

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 1/17

    SAPBasisCorner...yourSAPCorner!

    HomeSAPBasisGuidesAboutMe

    UpdateCIMDataSLDSAPOct8,2014byadmin

    DearReaders,

    Today,wearegoingtobeupdatingourSAPSolutionManager7.1CIMDataintheSLDofaSAPSolutionManager.Mostoftheinformationregardingthisprocess,canbefoundinthisbeautifulnote669669.

    However,ifyoulike,youcanfollowthisposttolearntheprocessinagraphicmanner.Inmycase,IaccessedtransactionLMDBonSAPSolMan,andfoundawarninglettingmeknowtheCIMDataversionwasoutdated,andsinceIhadsometime,Idecidedtoproceedandupdateit.

    Firstofall,youmustaccesstheSLDofSolMan(http://localhost:50000/sld),andnavigatetoAdministration>Backup>All.Thiswillcreateabackupofthecurrentsldnamespace,justincasetheupdatefails.Imustsaythough,Ihavedonethisprocessover50times,andithasneverfailedandneededtorecoverhowever,backupsarealwaysamust!

    Sobyselectingallinstances,youcreateabackupforallyoursld/active,sld/active1,instances:

    BackupOptions

    Afterafewseconds,theexportwillstart.Itusuallytakes1015minutes+tofinish:

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 2/17

    ExportofSLDContent

    Lastly,wemustdownloadthefile:

    DownloadCIMDataBackupFile

    Oncethebackuphasfinishedandwehavesecuredthefile,wemustlearntheModelVersionandCRContentVersion.Therefore,youmustaccessAdministration>Details:

    CIMDataModelVersionandCRContentVersion

    Asperthisinformation:

    ModelVersion:1.6.38SAPCRContentVersion:SAPCR10.0

    Aspernote669669,wemustdownloadtheLATESTdatamodel(cimsap)fromSAPMarketplaceand

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 3/17

    applyit.Oncethisisdone,dependingonourCRContentModelVersionwemustinstallmoreorlessCRDeltaUpdates.AsweareinSAPCRContent10.0,theupdateprocesswouldlooklikethis:

    InstalllatestCIMSAPavailable.Sinceweareon10.x,wemustinstallSAPCRCONTENTUPTO2014CRDeltaFile.

    IfwewereinSAPCR8.x,theupdateprocesswouldlooklikethis:

    InstalllatestCIMSAPavailable.InstallSAPCRCONTENTUPTO2012CRDeltaFile.InstallSAPCRCONTENTUPTO2013CRDeltaFile.InstallSAPCRContentUPTO2014CRDeltaFile.

    Dependingontheobjectsthattheupdateisimporting,itwilltakemoreorlesstime.Usually,youcanexpectafewthousandobjectsperminute.

    Kindregards,

    PIU

    readmore

    RelatedPosts

    DumpVM_STACK_TRACE/SSA/CE2SMDAgent_User

    PostedonJun24,2014

    ConfigureSAPSSObetweenPortal&SRM

    PostedonFeb3,2014

    EnableSAP*UserJ2EESTACKEnvironment

    PostedonJan31,2014

    HowtoconfigureSAPWebdispatchertoredirecttoWebDynpro

    PostedonJul4,2013

    Tags

    basisupdatecimsapcrcontentsapmodelversionsapsapbasissapbasishelpsapbasiscorner

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 4/17

    sapwikiupdatecimsapupdatecimsolmanupdatesapcrcontentversionupdatesldsapupdatesldsolman

    ShareThis

    DumpVM_STACK_TRACE/SSA/CE2SMDAgent_UserJun24,2014byadmin

    DearReaders,

    DuringtheManagedSystemConfigurationofaBWsystemintoourSolutionManager,severaldumpVM_STACK_TRACEareshownatarateof4perminuteandseemtoberelatedtoSMDAgentConfiguration:

    ST22DumpsrelatedtoSMDAgent/VMC

    DuetotheVM_STACK_TRACE,itleadsmetobelievetheremightbeanissuewiththeVirtualMachineContainer(VMC,transactionSM52SM53).Now,ifwechecktransactionandnavigatetoSM53>LogAdministration>LogDisplay>System>Server>RemoteFunctionCall,wecanvisualizethesameerrorlog:

    SM53tovisualizeVMCLogs

    SearchingthroughSAPMarketplace,Ifindthefollowingnote:1388657FieldDEL_SESSIONSnotamemberofINPUT.Asthenoteexplains,thiserroroccursduetoanincorrectlydeployedVMCmodule.

    Therearetwofixesforthisissue.Thefirstoneandmostsimpleone,wouldbetoredeploytheVMCmodulescontainedintheaffectedtable(SVMCRT_MOD_TRANS).However,IbelievethisredeployalwouldinterferewiththefunctionalityoftheVMC,atleasttemporarily.Therefore,asthisisaproductionsystem,Ihaveoptedtoapplytheotherworkaroundmentionedinthenote.

    AftermodifyingtheWilyHostAgentTemplate.xmlandcommentedthefollowingarea:

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 5/17

    CommentedareatoresolvetheSMDAgenterror

    SolutionManagerDiagnosticsAgentVMCDumpsnolongeroccur.

    Kindregards,

    PIU

    readmore

    RelatedPosts

    UpdateCIMDataSLDSAP

    PostedonOct8,2014

    ConfigureSAPSSObetweenPortal&SRM

    PostedonFeb3,2014

    EnableSAP*UserJ2EESTACKEnvironment

    PostedonJan31,2014

    HowtoconfigureSAPWebdispatchertoredirecttoWebDynpro

    PostedonJul4,2013

    Tags

    basisCALL_FUNCTION_REMOTE_ERRORsmdagentsapeditwilyhosttemplate.xmlsapFieldDEL_SESSIONSsapGUIDEredeployvmcsapRSVMCRT_REDEPLOYvmcsapsapbasissapbasishelp

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 6/17

    sapdaaadministrationsapsolmansp10sapsolmansp11smdagentsapbasiscornersmdagentsmdagentsapsmdagent_siddumpsolmansmdagentvmcsvmcrt_admin_sessions_infofailedsapSVMCRT_MOD_TRANSvmcsapvirtualmachinecontainersap

    ShareThis

    ConfigureSAPSSObetweenPortal&SRMFeb3,2014byadmin

    IntroductiontoSAPSSOConfiguration

    SometimesitmightberequiredtoconfigureaPortaltoconnecttoaSAPSSOSRM.Thishelpstheusersonlyhavingtoremember1passwordforthePortalandthentheywillbeabletologviaSSOtoalltheothersatellitesystemsfromthePortal.

    Todoso,wehavetofollowseveralsteps:

    ParametersatSRM(ABAP)

    Wemustconfigurethefollowing2parametersviaRZ10andrestartthesystem:

    login/create_sso2_tickettovalue2login/accept_sso2_tickettovalue1

    CertificateDownload

    WemustaccesstotheEnterprisePortalwithanadministrativeuser,anddownloadtheticketSAPLogonTicketKeyCertParcertfromSystemAdministration>SystemConfiguration>KeystoreAdministration

    Alternatively,youcanachievethesamebydownloadingthecertificatefromtheVisualAdministrator.

    CertificateInstallation

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 7/17

    Toperformtheinstallationofthecertificate,wemustaccesstheclient000onABAPsideandaccesstransactionSTRUSTSSO2.Wewillfindtheicontoimportthecertificateinthemiddleofthescreenontherightsideofthe

    window( ).

    Oncethecertificateisimported,youmustinsertitontheACLListandincludetheSID&clientnumberofthe

    EnterprisePortal:

    Theclientisusually000:

    ConfigureSAPSSO

    Afterthisstepisdone,wecangoaheadtothenextsectionandcreatetheSSOcommunicationfromPortaltoSRM.

    ImportCertificatefromSAPSRMtoPortal

    ToimportthecertificatefromSRMtoPortal,wemustaccessthePortaltothefollowingURL:https://portalFQDN:port/sso2

    ThiswillopenupthewizardforSAPSSOTrustSystemConfiguration.AccessAddTrustedSystem>ByQueryingTrustedSystemandinsertthedatafortheSRMsystem:

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 8/17

    Andyoushouldreceivethefollowingmessageifeverythinggoescorrect:

    SSOhasbeenconfiguredtoworkbetweenEP&SRM.

    Bestregards,

    PIU

    readmore

    RelatedPosts

    UpdateCIMDataSLDSAP

    PostedonOct8,2014

    DumpVM_STACK_TRACE/SSA/CE2SMDAgent_User

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 9/17

    PostedonJun24,2014

    EnableSAP*UserJ2EESTACKEnvironment

    PostedonJan31,2014

    HowtoconfigureSAPWebdispatchertoredirecttoWebDynpro

    PostedonJul4,2013

    Tags

    basishowtoconfigureSSOsapbasissapbasishelpsapnetweaversapssosapssoconfigurationsapbasiscornersapwikissobasisguidessocertificateparssosrmconfigurationssosrmsaptransaction

    ShareThis

    EnableSAP*UserJ2EESTACKEnvironmentJan31,2014byadmin

    EnableSAP*UserJ2EE

    Sometimesyoumightencounterasituationwherethej2ee_admin,ortheadministratorusersarelockedandyouareunabletoaccessthesystem.

    Toresolvethissituation,youcanenableSAP*soyoucanunlocktheotheradministratorusersandthenusethemtodowhicheveractionsyouweretaskedtodo.

    YoumustaccessConfigToolwhichislocatedat:\usr\sap\\

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 10/17

    \j2ee\configtool\configtool.shandpressOKwhenpromptedtousethedefaultDBsettings:

    Onceinside,youmustnavigatetocom.sap.security.core.ume.serviceandmodifythefollowingparameters:

    ume.superadmin.activatedtoTRUE.ume.superadmin.passwordtoDESIREDVALUE.

    Afterwards,youmustsaveandrestartthewholeJavainstance.DonotforgettodisabletheSAP*userafteryouhavedonewhicheveradministrativetaskswererequired,nouserotherthanSAP*willbeabletoaccess.ThisishowyouenableSAP*UserJ2EE.

    Bestregards,

    PIU

    readmore

    RelatedPosts

    UpdateCIMDataSLDSAP

    PostedonOct8,2014

    DumpVM_STACK_TRACE/SSA/CE2SMDAgent_User

    PostedonJun24,2014

    ConfigureSAPSSObetweenPortal&SRM

    PostedonFeb3,2014

    HowtoconfigureSAPWebdispatchertoredirecttoWebDynpro

    PostedonJul4,2013

    Tags

    basiscom.sap.security.core.ume.serviceparameterjavaconfigtoolsapstarenable

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 11/17

    enableadminjavaenablesapjavaenablesapuserj2eejavainstancesapjavapasswordsapjavastackconfigtooljavastackguiderestartjavaadministratorsapbasissapbasishelpsapbasiscornersapwikiume.superadmin.activatedparametersapume.superadmin.passwordparametersap

    ShareThis

    HowtoconfigureSAPWebdispatchertoredirecttoWebDynproJul4,2013byadmin

    ConfigureSAPWebdispatcher

    Sometimes,itmightbeneededtoaccessanapplicationofaninternalSAPserverfromtheInternet.Usually,SAPserversonlyhaveaninternalIP(privateIP)andnopublicIP,soaccessinganprivateIPfromtheInternetisnotreallypossibledirectly.

    ThefirstideayoumighthaveistousetheSAPRoutertoaccesstheinternalserverbecauseSAPcandothis,cantthey?Yes,thisiscorrect,SAPcanaccessyourHTTPserversthroughSAPRouterbecausetheyseemtohavesomesortofinternallocalscriptsthatcreatesomesortofinverseproxyandallowthisconnection.

    However,forusregularpeople,thisissimplynotpossible.ThebestsolutionistoimplementaSAPWebdispatcherontheSAPRouter,andwhenarequestaccessesthroughhttp://saprouter:XXXX/itshouldredirectyoutohttp://internalserver:9999/

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 12/17

    ms/http_port=81xx(msport)

    icm/server_port_0=PROT=HTTP,PORT=9999(Sotherequeststhataccessthrough9999activatetheroutingconfiguration)

    #icm/HTTP/redirect_0=PREFIX=/,TO=/sap/bc/Thiswillredirectalltherequeststhatarrivetohttp://public_ip:9999/tohttp://public_ip:9999/sap/bcwhichinrealityisaccessinghttp://internalserver:81xx/sap/bc/

    Andthatsaboutit,thisishowtoconfigureSAPWebdispatcherShouldyouhaveanyquestionsaboutfurtherconfigurationorissueswiththisconfiguration,donothesitatetocontact.

    Asatiptocheckwhetherornotyoumighthavethecorrectconfiguration,youcanexecutesapwebdispatcher.exepf=checkconfigandwillletyouknowifitfindsanyissues.ThisistheendonhowtoconfigureconfigureSAPWebdispatcher.

    Kindregards,

    PIU

    readmore

    RelatedPosts

    UpdateCIMDataSLDSAP

    PostedonOct8,2014

    DumpVM_STACK_TRACE/SSA/CE2SMDAgent_User

    PostedonJun24,2014

    ConfigureSAPSSObetweenPortal&SRM

    PostedonFeb3,2014

    EnableSAP*UserJ2EESTACKEnvironment

    PostedonJan31,2014

    Tags

    configuresapwebdispatcherhowtoconfiguresapwebdispatchersapbasishelpsapdispatchersapbasiscornersapwebdispatcherredirectinternal

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 13/17

    sapwikiwebdispatcherhelpconfigurationwebdispatcherredirectconfigurationwebdispatcherredirectinternalwebdispatchersapconfigurationwebdispatcherwebdynprosaprouterwebdynprooverwebdispatcher

    ShareThis

    Howtounreleasetransportrequest?Jun27,2013byadmin

    Howtounreleasetransportrequest?(NOTABESTPRACTICE!)

    Sometimes,youmighthavereleasedatransportorderinSAPandyoumightdecidethatyoustillwantedtoaddsomethingontoit,butsinceyoureleasedit,youwouldneedtocreateanewonewhichisntahugedeal,butincaseyouarepickywithyourreleasedtransportrequests,keepreading.

    Withthefollowingprocedure,youwillbeabletounreleasetransportrequestthatwasalreadyreleased.Niftyright?

    Firstofall,thisisanunsupportedprocedure.Supposedly,ifyouhavereleasedatransportorder,thatsit,releaseditis.However,withthislittletrickyoumightbypassit,butplease,dontgetacustomedtousingthismethod.

    Procedureonhowtounreleasetransportrequest:

    1.AccesstransactionSE16N

    2.AccesstableE070(ezerosevenzero)

    3.Putyourtransportorderortaskofthetransportorder,andwrite&sap_editwithoutonthetransactionbox.PressF8andyouwillbeabletomodifythefieldsofthechosentransportorder.

    4.ChangethevalueoffieldTRSTATUSfromR(released)toD(modifiable).

    5.Save,andexit.

    Now,ifyouvisualizethetransportorderthroughSE01,youwillseethatitisnolongerreleased.Thereforewehavemanagedtounreleasetransportrequest!Butplease,donotmakeahabitofthis!

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 14/17

    Kindregards,

    PIU

    readmore

    RelatedPosts

    UpdateCIMDataSLDSAP

    PostedonOct8,2014

    DumpVM_STACK_TRACE/SSA/CE2SMDAgent_User

    PostedonJun24,2014

    ConfigureSAPSSObetweenPortal&SRM

    PostedonFeb3,2014

    EnableSAP*UserJ2EESTACKEnvironment

    PostedonJan31,2014

    Tags

    e070sap_edittransportmodifystatustransportsapbasissapbasishelpsapbasiscornersapbasiscorner.comsapwikise01transportordertransportrequesthelpsaptransportrequestreleasesapunreleasetransportorderunreleasetransportrequest

    ShareThis

    HowtorecoverSQLsuspectmodedatabase?

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 15/17

    Jun26,2013byadmin

    ResolvingSQLSuspectModeError

    Recently,IcameintocontactwithasituationthatIhadntexperiencedbefore.Itseemsthatwhilemovingavirtualmachinefromoneplacetoanother,thedatabasesuddenlystayedwiththestatusSQLSuspectModestatusandunabletobeaccessed.

    ThesolutionforMSSQL2008andIbelieveaswellforMSSQL2005databasesgoesbyexecutingthefollowingscript:

    Thissimplescriptwillenableyoutorecoveryourdatabasetothecorrectworkingstatus.

    1.sp_resetstatusreferencingthedatabaseturnsoffthesuspectflag/statusofadatabase.

    2.Next,itsetsthedatabasetoEmergencyStatus:

    Sometimes,youmightgetintothesituationwhereyoudonthaveabackup,somethingseemscorrupt,andtheonlysolutionyouneedistousetheEmergencymode.

    3.Next,weexecuteasimplecheckdb.

    4.Now,weputthedatabasetosingleuserwiththeparameterROLLBACKIMMEDIATE.ThiscausesallqueriesrunninginthedatabasetorollbackandallowthedatabasetoswitchtoSingleUsermode.

    5.WeexecuteanewcheckdbwithparameterREPAIR_ALLOW_DATA_LOSS.Thiscausestoexecuteacheckdbwhichwillfixalltheerrorsthatitfinds.However,itmightcausedataloss.

    6.Wechangethemodeofthedatabasetomultiusertoallownormalfunctionality.

    NoteThisqueriesmightrunforafewhours,checkdbsarelengthyprocesses.

    Therefore,shouldyouexperiencetheSQLSuspectModeErroratanypoint,youshouldknowthisprocedureto

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 16/17

    fixit.

    Kindregards,

    PIU

    readmore

    RelatedPosts

    UpdateCIMDataSLDSAP

    PostedonOct8,2014

    DumpVM_STACK_TRACE/SSA/CE2SMDAgent_User

    PostedonJun24,2014

    ConfigureSAPSSObetweenPortal&SRM

    PostedonFeb3,2014

    EnableSAP*UserJ2EESTACKEnvironment

    PostedonJan31,2014

    Tags

    emergencymodesqlmssql2005mssql2008recoversuspectmoderepair_allow_data_losssqlsapbasissapbasishelpsapbasisconer.comsapbasiscornersapwikisingle_userwithrollbacksql2005corruptionsql2005suspectmodesql2008corruptionsql2008suspectmodesqlsuspectmode

    ShareThis

  • 3/30/2015 SAPBasisCornerWeeklySAPBasisGuides&Chatter

    http://www.sapbasiscorner.com/ 17/17

    DesignedbyElegantThemes|PoweredbyWordPress