Inventory Tips & Tricks

  • View
    104

  • Download
    3

Embed Size (px)

Text of Inventory Tips & Tricks

PowerPoint Presentation

UFIL513: Inventory Tips & TricksRon Colson, Senior Trainer

Peter Doerfer, Senior Trainer

Dell WorldUser Forum10/20/201410/20/2014#Dell World User ForumAgendaAgent OverviewInventory OverviewRelationship between Inventory-AssetsCustom Inventory and why we need itInventory that isnt computers10/20/201410/20/2014#Dell World User Forum2Agent Overview

10/20/2014#Dell World User ForumAgent ExecutablesWhat executables? AMPAgentAMPKickstartAMPToolsInventoryKcopyKdeployKinventoryKLaunchKLaunchSvcKSWMeterSvcKUserAlertrunkbotExecutables folder locationsWin (x86) C:\Program Files\Dell\KACEWin (x64) C:\Program Files (x86)\Dell\KACE Linux - /opt/dell/kace/bin OS X - /Library/Application Support/Dell/KACE/bin*Not all executables present on all OSes10/20/201410/20/2014#Dell World User ForumAMPAgent.exe The executable associated with Dell KACE Agent (AMP) serviceEstablishes a connection on port 52230 to the K1000Receives short instructions from the K1000 and delegates to one of the other K1000 Agent executables to handle the actual work associated with the taskAMPKickstart.exe Restarts the AMPAgent service when it crashesDoes not restart the AMPAgent service when it is stopped by a userIn version 5.5 and later, the AMPAgent service is set to self-restart on first and second failuresAMPTools.exe A command line utility to start/stop AMPAgent (AMP service)Can also be used to reconfigure amp.conf or uninstall the K1000 agentInventory.exe The Dell Application Catalog (DAC or Software Catalog) software inventory toolCollects the raw file attributes of files in order to match into the Software Catalog and identify the software titles installedKcopy.exe Copies files via HTTP or SMB between the K1000 and client, or between clients (replication server and targets)In version 5.5 and later agents, the upload to the K1000 is compressed by defaultKdeploy.exe Handles Managed Installations, File Syncs, Custom Inventory and Software Installs via ScriptsCan also generate an md5 hash of a fileKInventory.exe A generic inventory tool to run WMI and other code to collect hardware, service, process and software attributes from the systemK1000 output format is XMLKLaunch.exe The process framework that launches other K1000 Agent executables on local or remote Windows machinesSupports RunAs functionality, including Local System, Current User on Console, All Users and User/PasswordKLaunchSvc.exe The KLaunch service initiatorkpatch.exe Handles K1000 patching tasks such as scanning, and deploying patch payloadsKSWMeterSvc.exe The Dell Application Catalog (DAC or Software Catalog) software metering toolMonitors the creation/termination of processes on the system in an event-driven fashionGenerates a metering report that is sent to the K1000 based on the K1000 Agents Metering interval configurationKUserAlert.exe The Windows GUI for K1000 Agent popup messages, snooze prompts and alertsrunkbot.exe Runs K1000 (kbot) scriptsA flexible scripting engine that can run processes, create/delete files, create/delete/update the registry and so on4Agent - runkbotrunkbot commandsWindowsrunkbot.exe 1 0 Bootstraprunkbot.exe 3 0 Update KBot Scriptsrunkbot.exe 4 0 Inventoryrunkbot.exe -s 4 0 (as local system account)runkbot.exe 5 0 Upgrade Agentrunkbot.exe 6 0 MIs and FSsOS X & Linuxsudo ./runkbot 2 0 Inventoryrunkbot 3 0 Update KBot Scriptsrunkbot 6 0 MIs and FSsrunkbot 7 0 Upgrade Agent10/20/201410/20/2014#Dell World User ForumAMPAgent.exe The executable associated with Dell KACE Agent (AMP) serviceEstablishes a connection on port 52230 to the K1000Receives short instructions from the K1000 and delegates to one of the other K1000 Agent executables to handle the actual work associated with the taskAMPKickstart.exe Restarts the AMPAgent service when it crashesDoes not restart the AMPAgent service when it is stopped by a userIn version 5.5 and later, the AMPAgent service is set to self-restart on first and second failuresAMPTools.exe A command line utility to start/stop AMPAgent (AMP service)Can also be used to reconfigure amp.conf or uninstall the K1000 agentInventory.exe The Dell Application Catalog (DAC or Software Catalog) software inventory toolCollects the raw file attributes of files in order to match into the Software Catalog and identify the software titles installedKcopy.exe Copies files via HTTP or SMB between the K1000 and client, or between clients (replication server and targets)In version 5.5 and later agents, the upload to the K1000 is compressed by defaultKdeploy.exe Handles Managed Installations, File Syncs, Custom Inventory and Software Installs via ScriptsCan also generate an md5 hash of a fileKInventory.exe A generic inventory tool to run WMI and other code to collect hardware, service, process and software attributes from the systemK1000 output format is XMLKLaunch.exe The process framework that launches other K1000 Agent executables on local or remote Windows machinesSupports RunAs functionality, including Local System, Current User on Console, All Users and User/PasswordKLaunchSvc.exe The KLaunch service initiatorkpatch.exe Handles K1000 patching tasks such as scanning, and deploying patch payloadsKSWMeterSvc.exe The Dell Application Catalog (DAC or Software Catalog) software metering toolMonitors the creation/termination of processes on the system in an event-driven fashionGenerates a metering report that is sent to the K1000 based on the K1000 Agents Metering interval configurationKUserAlert.exe The Windows GUI for K1000 Agent popup messages, snooze prompts and alertsrunkbot.exe Runs K1000 (kbot) scriptsA flexible scripting engine that can run processes, create/delete files, create/delete/update the registry and so on5K1000 Agent and SSLSSL impacts the agent, tooSSL instructions sent to agent after it is enabled on the applianceAgent uses port 80 to communicate until first check-in after SSL is implementedSSL Certificate MUST be trusted by the client machines

10/20/201410/20/2014#Dell World User ForumIf SSL is enabled, be sure to verify Agent communications before disabling HTTPFor ease of Agent deployment, leave port 80 enabledCan disable after provisioning6Managed Installskcopy.exe copies files from K1000 or Replication ShareAgent Copies FileKUserAlert.exe alerts user that an MI is in progress (also used for additional optional alerts)Agent Alerts Userkdeploy.exe handles running the install command for the MIAgent Installs Software 10/20/201410/20/2014#Dell World User ForumNote that Kinventory runs first to collect and submit inventory data and KLaunch is what actually launces other exes7Scriptingrunkbot.exe runs the script and leverages klaunch.exe for run as functionality runkbotkdeploy.exe is used if software is being deployed with a scriptkdeploy (installing software)runkbot.exe handles other scripting tasks (processes, registry, file manipulation, etc.)runkbot (other tasks)

10/20/201410/20/2014#Dell World User Forum8Patchingkpatch.exe runs to detect the need for patchesPatch Detectionkcopy.exe runs to copy patch files to the local machine

Copy Patch Fileskpatch.exe runs to deploy patches, KUserAlert.exe runs if alerts are defined.Patch Deployment10/20/201410/20/2014#Dell World User Forum9Agent LogsWhat Logs? Is there a configuration file, too?amp.confamp.logkcopy.logkdeploy.logkinventory.logklaunch.logkpatch.logksmeter.logkuseralert.logrunkbot.logLog Files folder locationsWindows C:\programdata\dell\kaceLinux /var/dell/kace OS X /Library/Application Support/Dell/KACE/data

KAgent.logMaster client log for 6.0 agent*Additional logs created during agent install10/20/201410/20/2014#Dell World User ForumKace Agent log files amp.log Logs all of the messages going back and forth to the K1000In version 6.0, this log has been incorporated into theAMPAgent sections of the KAgent.loguser\ampmsi.log Logs information related to K1000 Agent provisioninguser\ampinstaller.log Logs information related to K1000 Agent provisioning and manual installationuser\KAgent.log This file did not exist in version 5.5 and earlierIn version 6.0, all client-side logs (kcopy, kdeploy, kinventory, klaunch, kpatch and so on) have been consolidated into this logkcopy.log Logs file copy information between the K1000 and client, or between clients (replication server and targets)In version 6.0, this log has been incorporated intothe KCopy sections of the KAgent.logkdeploy.log Logs deployment details for Managed Installations, File Syncs, Custom Inventory and Software Installs via ScriptsIn version 6.0, this log has been incorporated intothe KDeploy sections of the KAgent.logkinventory.log Logs information related to the collection of data during the inventory processIn version 6.0, this log has been incorporated intothe KInventory sections of the KAgent.logklaunch.log Logs information related to the launch of other K1000 executables on local or remote Windows machinesIn version 6.0, this log has been incorporated intothe KLaunch sections of the KAgent.logkpatch.log Logs information for K1000 patching tasks such as scanning, and deploying patch payloadsIn version 6.0, this log has been incorporated intothe KPatch sections of the KAgent.logksmeter.log Logs information for metering, such as indicating which applications should be meteredIn version 6.0, this log has been incorporated intothe KSWMeterSVC_ sections of the KAgent.logkuseralert.log Logs information for K1000 Agent alerts, including the alert messageIn version 6.0, this log has been incorporated into KAgent.loguser\kwinstart.log Logs agent initiation information for when the agent loads during the boot processpluginDesktopAlerts.log Logs information related to when the K1000 asks the agent to spawn and alertThe work is eventually passed to KUserAlert.exe, but this plugin drives KUserAlert.exe to spawn broadcast and message alertspluginPatching.log Logs information related to when the K1000 asks the agent to per