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.
Install the appropriate version of the VCM Agent on each of your licensed target machines to enable communication between the Collector and the managed
Installing the Agent on
Prerequisites
net-tools
and redhat-lsb-core
packages are installed on the target machine.Procedure
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.
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>.
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.ppc
inflating: CSIInstall/csi.config
inflating: CSIInstall/InstallCMAgent
Run ls -la to validate that the correct files are in the <extractedpath>/CSIInstall directory.
File | Description |
---|---|
InstallCMAgent | Installation script. |
csi.config | Configuration file for the installation. This is the file you can modify to include installation options for silent rather than interactive installation processes. |
packages | Installation packages. |
scripts | Scripts required for the installation. |
(Optional) Edit the csi.config file to customize the installation variables and save your changes.
Copy the modified and saved csi.config file to the extracted location.
For example, # cp /<safelocation>/csi.config /<extractedlocation>/CSIInstall/csi.config.
Run InstallCMAgent in either silent mode or interactive mode.
Option | Action |
---|---|
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.
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.
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
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
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.
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.
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.
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.
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.
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.