1. Mac OS: new SM agent installs non-functional Hey everyone, as of a few days ago it appears new installations of the SM agent on Mac OS (High Sierra is the only ver. I've tested) are failing to sync to Meraki. I have DEP iMacs and upon installation of the profiles, the agent appears to install correctly. Manual agent installation also, when.
  2. When you use the MARS agent to back up data, the agent takes a snapshot of the data and stores it in a local cache folder before it sends the data to Azure. The cache (scratch) folder has several requirements: Networking and access support URL and IP access.
  1. Agent Of Mars Mac Os X
  2. Agent Of Mars Mac Os Catalina
  3. Agent Of Mars Mac Os 13
  4. Agent Of Mars Mac Os Download

MARS (MIPS Assembler and Runtime Simulator) is an IDE for the MIPS assembly language that offers you the possibility to edit and test your projects via a point and click graphical user interface. The MARS utility is based on the Java platform, which means that the Java Runtime has to be installed on your Mac beforehand.

Welcome to vRealize Configuration Manager : Managing Mac OS X Machines : Manually Install the Agent on Mac OS X Machines

Install the appropriate version of the VCM Agent on each of your licensed target machines to enable communication between the Collector and the managed Mac OS X machines.

Installing the Agent on Mac OS X machines is a manual operation. The Agent is packaged as a Universal Binary Installer. You can run the installation process in silent mode or interactive mode. To run the installation in silent mode, you must edit the configuration options in the csi.config file. The file is edited to accommodate different target machine types.

Prerequisites

  • Verify that the machine on which you intend to install the Agent has enough free disk space. Formore information, see the VCM Installation Guide.
  • If you are installing the Agent on Red Hat Enterprise Linux (RHEL) 7, Oracle Enterprise Linux (OEL) 7, or CentOS 7, verify that the net-tools and redhat-lsb-core packages are installed on the target machine.
  • Identify the Agent binary installation package that you will copy from the Collector to the managed machine. See the VCM Installation Guide.
  • If you run an installation in silent mode, modify the appropriate csi.config file variable options. See Installation Options for Max OS X csi.config .
  • If you select (x)inetd/launchd for CSI_AGENT_RUN_OPTION, verify that (x)inetd/launchd is running on the target machines. On some versions, when (x)inetd/launchd services are not configured, (x)inetd/launchd will not stay running. To ensure the Agent installation completes successfully, pass a - stayalive option to (x)inetd/launchd. See Installation Options for Max OS X csi.config .
  • Log in to the target Mac OS X machine as root, or have sudo as root.
  • Select the method that you want to use to copy files to the target machines. You can use ftp, sftp, or cp using an NFS share. If you use ftp to copy the package to your machine, you must use binary mode.
  • If you are collecting non-ASCII information from the target machines, install a UTF-8 locale. To determine the locales installed on your operating system, use the locale -a command.

Procedure

Agent Of Mars Mac Os X

  1. Copy the appropriate Agent binary installation package from the Collector to the machine on which you will install the Agent.

    The Agent packagesare located on the Collector in Program Files (x86)VMwareVCMInstallerPackages.

  2. On the target machine, run chmod u+x <filename> to set the execute permission for the file owner on the Agent binary file.
  3. In the directory to which you copied the file, run ./CMAgent.<version>.<Agent binary name> to create the necessary directory structure and extract the files.

    To force an overwrite of any existing files, include the -o option.For example: /CMAgent.<version>.Darwin -o.

    The command and output is similar to the following example, but with different file names depending on the operating system.

    # ./CMAgent.<version>.Darwin
    UnZipSFX 5.51 of 22 May 2004, by Info-ZIP (http://www.info-zip.org).
    creating: CSIInstall/
    inflating: CSIInstall/CMAgent.5.1.0.Darwin.i386
    inflating: CSIInstall/CMAgent.5.1.0.Darwin.ppc
    inflating: CSIInstall/csi.config
    inflating: CSIInstall/InstallCMAgent

  4. Run cd <extractedpath>/CSIInstall to change the directory to the location where the InstallCMAgent executable file was extracted.
  5. Run ls -la to validate that the correct files are in the <extractedpath>/CSIInstall directory.

    FileDescription
    InstallCMAgentInstallation script.
    csi.configConfiguration file for the installation. This is the file you can modify to include installation options for silent rather than interactive installation processes.
    packagesInstallation packages.
    scriptsScripts required for the installation.
  6. (Optional) Edit the csi.config file to customize the installation variables and save your changes.

    1. Run the chmod u+x csi.config command to add write file permissions if the file has only read permissions set.
    2. Modify the csi.config file options based on your local requirements and save the file.
    3. Copy the modified and saved csi.config file to the extracted location.

      For example, # cp /<safelocation>/csi.config /<extractedlocation>/CSIInstall/csi.config.

  7. Run InstallCMAgent in either silent mode or interactive mode.

    OptionAction

    Silent mode

    Run the # ./CSIInstall/InstallCMAgent -s command.

    Install the Agent using the silent mode if you manually edited the csi.config file, if you modifiedthe csi.config file using the interactive method, or if you are using a custom configuration file thatyou saved from a previous Agent installation. This mode uses the valuesspecified in csi.config without prompting for input.

    When the silent installation finishes, a summary of the installation process and status appears.Verify that the installation finished without errors.

    Interactive mode

    Run the # ./CSIInstall/InstallCMAgent command.

    Install the Agent using the interactive mode if you did not modify the csi.config and to respond to each prompt toaccept or change each parameter in the csi.config file as it runs. As a result of your responses, the csi.config is modified.

    The preinstallation stage of interactive mode checks for a valid user, CSI_USER. If the user exists, you are not prompted for these configuration values.

    • CSI_USER_NO_LOGIN_SHELL
    • CSI_USER_PRIMARY_GROUP
    • CSI_USER_PRIMARY_GID
    • CSI_USER_USE_NEXT_AVAILABLE_LOCAL_GID

    You are prompted for these values only when the CSI_USER user account is not found.

    The User and the Group are created in the local directory service storage.

    You can check the installation status in the installation log file. The file is located in <CSI_PARENT_DIRECTORY>/log/install.log.

  8. Run ls –la /CSI_PARENT_DIRECTORY/CMAgent to verify that all the required files and directories were installed.

    /CSI_PARENT_DIRECTORY/CMAgent is the default directory. If you changed the directory name during installation, modify the ls -la command to display the custom directory name.

    drwxr-x--- 3 root cfgsoft 4096 Jul 2 17:34 Agent
    drwxr-x--- 3 root cfgsoft 4096 Jul 2 17:34 CFC
    -rw-rw---- 1 root cfgsoft 49993 Jul 2 17:34 CSIRegistry
    -rw-rw---- 1 root cfgsoft 0 Jul 2 17:34 .CSIRegistry.lck
    drwxrwx--- 3 csi_acct cfgsoft 4096 Jul 2 17:34 data
    drwxrwx--- 3 root cfgsoft 4096 Jul 2 17:34 ECMu
    drwxr-x--- 6 root cfgsoft 4096 Jul 2 17:34 install
    lrwxrwxrwx 1 root root 20 Jul 2 17:34 log -> /var/log/CMAgent/log
    dr-xr-x--x 3 root cfgsoft 4096 Jul 2 17:34 ThirdParty
    drwxr-xr-x 2 root root 4096 Jul 2 17:34 uninstall

  9. Run # netstat -na grep <port_number> to verify that the Agent is installed correctly, listening on the assigned port, and ready to collect data.

    The default <port_number> is 26542 for VCM installations.

What to do next

Mac

Run a collection for Mac OS X data. See Collect Mac OS X Data.

See Also

Manually Uninstalling the Mac OS X Agent

Help us improve this topic. Send feedback to . Technical Support © 2006–2015 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

One of my previous article talks about fresh or upgrade Installation of McAfee agent on Mac OS. But did you ever tried re-Installing the existing version of McAfee agent? Thus the result would be negative. So this post explains the reason behind it. And to overcome this check & force re-install same version of McAfee agent on Mac OS. Please be aware this document created for clients in ePO environment. For demonstration, I have Mac book running McAfee agent version 5.6.2 and will show you how to force Install same version again.

Agent Of Mars Mac Os Catalina

Why re-installation fails?

The Installer script’s “preinstall check block” do compares both Installing and existing (Installed) versions. As a result if both versions found to be same, the Installer terminate task with error as shown below.

Actually version check part is still applicable for windows clients too. But there you have “/ForceInstall” switch to overcome it.

What does force Install means here?

Now like windows Installer, lets do apply small modification to Mac OS McAfee agent Install script. As it makes Installer to assume Installing version is higher than existing version of McAfee agent. In other words just masking the version check.

Enable Force Install Action

Mac

McAfee Install script for Mac actually written as bash shell script. And it includes Install logic as well as encoded Install binaries at the end. Therefore do not modify anything even white space at encoded bin area. But good thing is not much changes needed. Because just need to add few lines of additional code.

  • Download the Installation files from ePO and extract it. If you are not sure how to do it, please do refer Get McAfee agent package from ePO.
  • Edit the Installer script using your preferred editor. For example notepad++, vim, etc.
  • Look for code block “Cannot have install and upgrade together” and then Insert the code above to it. This should work for McAfee agent versions greater than 5.0.0.0
  • On Mac OS, McAfee verifies currently Installed agent properties from config file “/etc/ma.d/EPOAGENT3000/config.xml“. This file holds the details of version currently running. Therefore at the beginning of the Installation above code will modify the config and set version to 5.0.0.0. When the Installation finishes the version number automatically updated by current Installer. Certainly we are not altering any Important codes nor binaries. Since this method of approach is safe and should not create any harm.
  • After doing modifications that particular section should be similar to below.

Agent Of Mars Mac Os 13

Note: Do not modify anything beyond this line. Since its the encoded binary area. Which will be extracted into binary during Installation. Even adding a white space make this Installer script useless.

Now we have enabled force Install option without affecting any other Install options. So lets try out.

force re-install McAfee agent on Mac OS

Agent Of Mars Mac Os Download

Execute the Installer with additional argument “-f” (force)

Then take a look at the log, instead of error you should see progressive messages like below.

Finally verify agent settings and version.

In other words we made the Installer script ready with force action enabled. So use without switch “-f” for normal Installation and vice versa.

In conclusion, by doing simple tweak we did force re-install same version of McAfee agent on Mac OS. Hope this does helps you. Most Importantly “thank you” for reading my post. Please post your comments and suggestions.