Application Deployment Evaluation Cycle Query

Does anyone have a sql query to determine when machines in a collection last ran their Application Deployment Evaluation Cycle?
Thanks for any suggestions!

Thanks Garth and Jason.  About the only place that seems to provide the information is the client side appdiscovery.log file.  I have a couple sql queries that return things like last software scan date, etc, and I was hoping there might be something
similar for the application deployment evaluation cycle.
To your question, Jason, we have a vdi solution that is closely scrutinized by the powers that be.  Every utilization spike on the storage array triggers a flurry of "why did that happen?" emails from management (a behavior born out of a couple
previous array crashes).  It's been useful to correlate some the SCCM actions time stamps to the time frames of some of these spikes.  In this particular case, a spike was monitored when somebody used right click tools to run the application deployment
evaluation cycle on a large collection of vdi machines.  Bet you're sorry you asked now!  
Anyway, thanks again.  I'll script out another solution.

Similar Messages

  • Application deployment evaluation powershell script

    Hi,
    Is there a way that I can run a powershell script or vbs script that will allow me to run the Client actions on the local client. kind of like a shortcut that will go into the configuration manager client control panel icon and run the client action required.
    Specifically for the Application Deployment Evaluation
    Any help would be appreciated
    Regards
    Mike

    Hi,
    Check out this old thread on the topic,
    http://social.technet.microsoft.com/Forums/en-US/9ec7318f-4ab7-4db3-bfa5-958ab1c39f4f/application-deployment-evaluation-cycle-not-willing-to-start-by-script?forum=configmanagersdk
    An example is included in there as well.
    You can also use the Right-click tools extensions in the console which include this action as well.
    http://myitforum.com/myitforumwp/2012/09/21/sccm-rctools/
    Regards,
    Jörgen
    -- My System Center blog ccmexec.com -- Twitter
    @ccmexec

  • Application Deployment Evaluation - Force using WMI - %000123 "not found"

    I am automating application install using Orchestrator which will deploy applications based on ticket being approved. This is working fine. I would like to force the Application Evaluation in the SCORCH Runbook.. using powershell or WMIC for SCCM 2012 R2
    Client.
    I have done this before :) But not sure whats going on this time.
    The %000123 task for Application GLobal evaluation fails with "not found". Other tasks like %0001 work fine.
    Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

    Torsten - Here is the screenshot. Peter - Yeah - 121 works.
    which should i be using for forcing App cycle?
    {00000000-0000-0000-0000-000000000121} Application manager policy action
    {00000000-0000-0000-0000-000000000122} Application manager user policy action
    {00000000-0000-0000-0000-000000000123} Application manager global evaluation action
    ---Error ---Not sure why the screenshot is not embedded---
    C:\> WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-
    0000-0000-0000-000000000123}" /NOINTERACTIVE
    Executing (sms_client)->TriggerSchedule()
    ERROR:
    Description = Not found
    Regards, Vik Singh "If this thread answered your question, please click on "Mark as Answer"

  • Software Updates Deployment Evaluation Cycle Enforcement state unknown

    Hi All,
    I have an issue were I deployed software updates to a collection that have a maintenance window of 5 hours. The next day when I checked the deployments tab it show the updates as 75% compliant with 3 Servers failed to install updates as no further maintenance
    windows were planned.
    I then check the deployments tab 2 days later and it still showed 75% compliant but all the servers were in the unknown Client
    check passed/Active
    Is this because I have no further maintenance windows please advise and if not how can I resolve this thanks 

    You should not use the deployments node in the console to check for software updates compliancy. The reason is because it shows the status of the deployment and not of the installation of the updates. For example if the updates are installed, the deployment
    will show compliant, but when the next re-evaluation of the deployment fails, the deployment will show as failed, while the updates are actually still installed. So always use the reports to check for compliancy.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • How to find using SQL query application deployed on win 7 machines with SCCM 2012 server or user installed manually.

    Hi,
    how to find using SCCM SQL query,  application deployed on win 7 machines with SCCM 2012 server or user/technician installed manually. Please let me know.

    Thanks, is it not possible via any script also?
    Like Torsten said, how can you tell the difference between CM12 installed applications and locally installed? Once you can answer that, then you can write report.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Stagger application deployment to device collection

    Hi,
    I've created a device collection using a query that has list of machines with a specific application installed.
    I have an updated version of that application that I'd like to deploy to that collection.
    I'd like to stagger the deployment so that the update takes place on few computers each day or so. For example, every night update the application on 10 machines.
    Can this be done? I'm using SCCM 2012 SP1.
    Pman
    http://www.pmansLab.com/

    There's no direct way to do this.
    One way to accomplish this though is to create a set of sub-collections that are limited to your main collection. You would then create new deployments with different deadlines for each of these "sub-"collections. The membership of these sub-collections
    could then be done using a query based rule that looks at something like the last digit/character of the system's GUID. For example, you could create seven sub-collections and the query rule for the first would only include systems where the GUID's last character
    was 1-3, the second collection would look for 4-6, the 3rd would be 7-9, ...
    If, your application deployment re-evaluation is set to everyday, then you could also do something similar using requirement rules and a little basic math.
    Jason | http://blog.configmgrftw.com | @jasonsandys

  • Java application deployment tool

    Hey everyone, i'm having some serious difficulty deploying an ejb application on bea weblogic.
    I cannot find the java application deployment tool, or any concise documentation for that matter.
    I have experience writing jsps, javabeans, servlets etc. and deploying them with ant.
    Thanks for any help on this tool and or deployment techniques for ejb.
    /jeff

    You may want to direct your query to one of the web forums run by BEA. Most folks here are familiar with the j2ee specs and the Sun implementations of those specs.
    These news groups may be a good place to start. http://newsgroups2.bea.com/cgi-bin/dnewsweb
    vbk

  • How to make a collection based on successful application deployment?

    Hi,
    Does anyone know how I can make a collection from where the members are all the computers that have successfully installed a particular application.
    I saw this query from another site but i'm having a problem finding the assignmentID for the application I deployed.
    select SMS_R_System.ResourceId from  SMS_R_System inner join SMS_AppDeploymentAssetDetails on SMS_AppDeploymentAssetDetails.MachineID = SMS_R_System.ResourceId where SMS_AppDeploymentAssetDetails.AssignmentID = “16777222″ and SMS_AppDeploymentAssetDetails.StatusType
    = “5″
    Can someone also point me on where I can find the assignmentID for an application?

    Why do you want to do that? Just explain what you are trying to achieve.
    Torsten Meringer | http://www.mssccmfaq.de
    Hi Torsten,
    I wanted to create a collection that will contain the computers which have succeeded an application deployment. So then I can have a list of it. Vice versa, I wanted a list of those that failed. I know that I can do that by replacing the status type to what
    ever corresponds Error or Fail. It just so happen that I can't find the assignmentID.
    Another issue that I'm facing is that my reporting node is not working. I'm currently working on it but I have to get the list of successful/failed application deployment as soon as possible. That's why I though of creating a collection containing only those
    computers.

  • Software Updates Deployment Evaluation.

    Hi,
    I would like to get some clarification around the Software Updates Deployment Eval. cycle. (SCCM R2 CU3)
    Example scenario:
    I have a Software Update Group that contains 200 updates. This SUG includes updates that are prerequisites for other updates in the same SUG. So, when scanning occurs. Only one of these updates are at that particular time considered applicable.
    The software update deployment deadline is reached. The update is installed, as expected. The then agent reports  compliance against the update deployment.
    Then comes the Software Update Scan schedule, when a new scan is made against the SUP more updates are now detected as required because of the previously installed update - from the same SUG which are deployed.
    This leaves me in a situation where the agent is compliant against the Software Update deployment and non-compliant in regards to the actual Software Update Group. 
    I can of course just hit the schedule for Software Update Deployment Evaluation manually on the agent or simply do something (adding an update or whatever) that modifies the actual software updates deployment policy. This would in turn cause a new evaluation
    to occur at the client.
    Bottom line. Is my conclusion correct or have i missed something here? 
    If i'm correct, a good thing would be to add scheduling options available for the actual "software update deployment evaluation".
    That would really come in handy in situations like above scenario. 
    Br,
    Chris

    The next scheduled scan cycle will pick up the newly applicable but non-compliant updates in the deployment.
    However, note that update compliance at the client level is done against the entire update catalog as this is actually done by the Windows Update Agent (WUA) which knows nothing about ConfigMgr. Thus, the fact that an update is in a deployment or not is
    completely irrelevant as far as compliance and compliance reporting goes (which is part of the reason why compliance reporting in ConfigMgr is tricky).
    Updating the policy of an update deployment will kick off a scan cycle (just like creating a new deployment will) on the clients which is why you are probably seeing this behavior as addressing the scenario.
    Jason | http://blog.configmgrftw.com | @jasonsandys
    Thanks Jason,
    What you are describing exactly matches the point I’m trying to make here. There is no correlation what so ever between update scans and actual software update deployments. The logic just isn't there. Which is a logic that is lacking
    – in my opinion.
    I really do think there is room for improvement here.
    Case:
    A customer wants to minimize the spread of reboots (a maint. window overnight should be sufficient for the agent to get the server fully up to date). The admin – who also wants to minimize effort in regards to worrying about MS bundling\prereq
    requirements – simply wants it all to be taken care of by the updates deployment agent.
    Example:
    Software update deployment contains required updates as well as updates that will not be detected as required - until the deployment has been run – and a new update scan cycle has taken place.
    The server reboots and updates deployment agent says all is fine – with regards to the deployment in it's current state, of course.
    But it's not.
    The server then issues a new scan (maybe 4 hours later and way behind the end of the maint. window) according to the software updates scan schedule, and suddenly 10 more updates are applicable, but still within the same deployment.
    What happens? Nothing, sadly. Next maint. window? Nothing.
    Not even a (client agent set – and scheduled) software update deployment re-eval takes care of this since – according to my findings – the deployment will never really be evaluated against again without administrative intervention.
    Suggestion:
    Whenever a software update deployment has been run, succeeded and passed the "after reboot" detectjob. Initiate a new evaluation of this deployment in full – of course including a pre-eval software updates scan. Just add
    a few steps to the logic of updates deployment.
    Evaluate.
    Apply.
    Initiate a new scan.
    Re-Evaluate.
    Apply again (if needed)
    Reboot
    Initiate a new scan.
    Re-evaluate
    Isn’t this the way WAUA has always worked? Why shouldn’t this method be adopted here as well? Why should ConfigMgr not honour the procedure?
    Result:
    Administrative relieve. Since I know that a software update deployment will always do the job, in full. No need for manual triggers or policy modifications.
    Caveats:
    I do realize the fact that – if this would be the scenario - the admin sometimes will not be aware of what might happen during the nightly maint. window since he cannot solely rely on compliance data.
    Anyways:
    This should at least be a deployment option in future releases.
    "Force rescan and deployment re-evaluation after first run." Simple.
    Would make life easier and keep the spread of reboots concentrated to one night and to a minimum. (Given the appropriate length of maint. windows of course)
    Consider things like KB2919355 and how WUAU agent handles that against Windows Update.
    Br,
    Chris

  • Application Deployment Centralized In Depth Logs

    I am sure this has been asked already, but when we used Programs we were able to go into the Status Query messages and see centralized/collective logs for all of the computers under our collection.
    When using Applications, we have the Status Messages but they don't really provide much details, especially when there are multiple steps. Is there a centralized report/detail log for all of the computers for a specific application deployment?

    Application work more like software updates, so they provide compliance information instead of the deployment information that you're used to with packages. For example the
    Application compliance report provides the required information about and application for all the devices in a collection.
    Also, what do you mean with multiple steps? An application only runs the first deployment type of which the requirements are met.
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Application deployment status

    What's the best way to get a listing of computers showing the status (pending, successful, unsuccessful) for a particular application deployment ?
    Thanks

    Hi,
    We have approx 10K machines and need some imp software’s to be deployed. We have made 15 collections and started deploying these applications. Is there a query to extract detailed status report of a specific application. Instead of the selecting “View Current
    Data” on each collection and selecting the type ” Success/Already Compliant” and so on….
    Thanks,
    Mikey..

  • Error while web application deployment in NetBeans5.5

    Error while web application deployment in NetBeans5.5. I am always getting Tomcat deployment error. using Netbeans 5.5.1 with bundeld tomcat. But in some machines its working fine.
    regards
    jossy v jose

    What is the error message you see?
    Are there any stacktraces or other relevant messages in the ide log file? (The ide log file is [userdir]/var/log/messages.log. On userdir: http://blogs.sun.com/karthikr/entry/jse_directories)
    You can also check the server log file to see if there are more detailed messages.
    You can also try setting ant's verbose level to debug or verbose (Tools | Options | Miscellaneous | Ant | Verbosity Level) and check the output.

  • Application deployment on WebLogic 10.3.2

    I am trying to understand the best practice to deploy web applications on WebLogic 10.3.2. Is it recommended have a managed server for each and every deployment or can we have multiple deployments under one managed server. Will there be any performance issues when multiple deployments are running on one managed server? Also can we have each deployment on one managed server listen on common http port?
    Please advice.

    **Is it recommended have a managed server for each and every deployment or can we have multiple deployments under one managed server.
    --You can deploy multiple applications of one single managed server.
    **Will there be any performance issues when multiple deployments are running on one managed server?
    --There will not be performance issue as such; however you have to make sure that the system and server configurations meets the requirements.
    --WebLogic Server allows you to configure a work manager where you define the rules and constraints for your application to boost the performance.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/config_wls/self_tuned.html
    **Also can we have each deployment on one managed server listen on common http port?
    --Just to make sure if I understood correctly, did you mean one deployment per managed server listen on same http port?
    --If yes, each managed server will have its own unique http port. So application deployed on that will be using a port associated with that managed server.
    --In case if you want all the applications to use a same IP/Port, you can use proxy which will route the requests to these applications deployed on different managed servers.
    http://download.oracle.com/docs/cd/E12840_01/wls/docs103/plugins/overview.html

  • Problem with application deploy

    Hi all,
    I have a problem. I'm migrating a local project to NWDI and after i migrate all my stuff when i try to deploy the following error appears and the deployment is aborted.
    Result
    => deployment aborted : file:/C:/DOCUME~1/MCASTI~1/CONFIG~1/Temp/temp46205ve.com.movistar~CreacionUsuarioPortalEAR.ear
    Aborted: development component 'CreacionUsuarioPortalEAR'/'ve.com.movistar'/'PD1_SRVP_D'/'20110505203941'/'0':Caught exception during application deployment from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Cannot deploy application ve.com.movistar/CreacionUsuarioPortalEAR.. Reason: Application alias [WSCreateUserPortal/Config1] for application [ve.com.movistar/CreacionUsuarioPortalEAR] already exists in the HTTP Provider Service. The application that holds this alias is [sap.com/CreacionUsuarioPortalEAR].; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: <--Localization failed:
    Deployment exception : The deployment of at least one item aborted
    Do my basis team have to do an undeploy of the application on the server or this is another problem.
    Regards,
    MC

    yes, you have to undeploy the old ones.

  • How to create different log files for each of web applications deployed in OC4J

    Hi All,
    I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
    1. how to create different log files for each of my deployed web applications ?
    2. what are the advantages in running multiple instances of oc4j and in what case we should run
    multiple instances of OC4J ?
    3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
    Thanks and Regards,
    Kumar.

    Hi Avi,
    First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
    I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
    I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
    Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
    Thanks and Regards,
    Ravi.

Maybe you are looking for

  • Boot Back Into Windows With Boot Camp

    Hello, I am running Boot Camp on a Mac Book Pro. It runs extremely well except for one issue. When the mac goes to sleep for a short time minutes to a few hours, and I click a button, the Windows screen is there ready to use. But, if it sleeps over n

  • I added a CD to iTunes and every track is a separate album.  How do I combine them?

    I do not know how to combine several tracks into one CD.

  • [solved] Renewing a verisign cert

    Sorry, this isnt Arch related, but I'm having a tough time googling the correct answer.  I've got a customer using red hat linux and wanting to renew their verisign ssl cert for a webpage.  I'm following the instructions listed at https://knowledge.v

  • Deploying EJBs in 8i iAS 8.1.6

    I am getting a corba.COMM_FAILURE error trying to deploy Session EJB from helloworld example. Everything else works (JSP, Servlets). Any ideas?

  • Comparing Explain Plans

    I have a Oracle 10g R2 Database. It is on ALL_ROWS. I have a sql query as follows: SELECT COUNT (*) , LPAD(EMPLOYEE_ID , 7 , '0' ) , LPAD(INSURED_ID , 2 , '0' ) FROM EMPDPN_POLICY_DT WHERE LPAD(CLIENT_ID , 5 , '0' ) = :1 GROUP BY LPAD(CLIENT_ID , 5 ,