Installing the McAfee Agent 4.x (Unmanaged)
How to install the unmanaged agent
- Download the MA package locally to the machine in a temporary directory
- Unzip the package.
- Locate the file with the .dmg extension (ex. MFEcma.dmg)
- Double click the file and follow the wizard to complete the installation.
- To verify the installation check to see if the following directory exists:
- /Library/McAfee/cma
- Note: The use of an unmanaged agent is generally for machines that are setup by desktop support and will need to be managed by ePO later. For information on how to manage the system see the next section. In addition Mac OS X server provides a feature called System Imaging. With this tool administrators can create system images with software installed such as the McAfee 4.x Unmanaged Agent. Administrators can setup new machines with images faster and the McAfee Agent 4.x can be managed after the system is imaged. This is done to avoid duplicate GUIDs. For more information about Mac OS X server tools visit http://www.apple.com/server/macosx/features/client-management.html.
- /Library/McAfee/cma
Enabling an Unmanaged Agent
Take control of unmanaged agents with ePO
- An unmanaged agent is essentially an operating agent that is missing the necessary information to communicate to the ePO server. The agent needs the SiteList and the Public Keys and initial Request Keys to check into ePO. These files can be copied to the unmanaged machine from the ePO server using the following steps:
· /opt/McAfee/cma/bin/msaconfig –m –d <path of location containing srpubkey.bin, regseckey.bin, and sitelist.ml> [-nostart]
· It is recommended to copy the srpubkey.bin, regseckey.bin,a nd SiteList.xml from the ePO server to a shared folder or directly to the local machine. These files can be found on the ePO server in <drive>Program FilesMcAfeeePolicy OrchestratorDBSoftwareCurrentEPOAGENT3700MACXInstall409
Installing the McAfee Agent 4.x (Managed)
How to install a managed agent
- In many instances an agent is installed on a machine in managed mode. In order to setup a managed agent the administrator will need to ensure the McAfee Agent 4.x package and extension are checked into the ePO server master repository.
· Download the McAfee Agent package (ex. MA450MAC.zip)
· Download the McAfee Agent extension package (ex. Epoagentmeta.zip)
· Log in to the ePO console
· Check in the two packages to the master repository
- Click Menu | Software | Master Repository
- Select Actions | Check In Package at the bottom left of the screen
- Leave the default Package Type selected Product or Update (.ZIP)
- Click the Browse button and navigate to the agent package (ex. MA450MAC.zip)
- Follow the on screen options to complete the check in process
- When the package check in is complete click Menu | Software | Extensions
- Select Install Extension from the bottom left of the screen
- Click the Browse button and navigate to the agent extension package (ex. Epoagentmeta.zip)
- Follow the on screen options to complete the check in process
- Once the McAfee Agent 4.x is fully checked into the ePO server the install file is ready.
· Copy the install file locally to the Mac or to a shared drive that can be access from the Mac. The install file can be found on the ePO server
- <drive>Program FilesMcAfeeePolicy OrchestratorDBSoftwareCurrentEPOAGENT3700MACXInstall409install.sh
· Note: The path shown above is for the McAfee Agent 4.5. The path for the 4.0 agent will be in a different EPOAGENT3xxxMACX directory
· After the file is copied to the shared drive or locally it is ready to use for the installation
· Open the terminal on the Mac and type the following in the same directory where install.sh is stored
- 1. Chmod +x install.sh (this adds execute mode to the file)
- 2. Sudo ./install.sh –i (this runs the install using the –i switch)
· When the installation completes wait 5-10 minutes for the agent to check into ePO. It will most likely be found in the Lost & found group unless sorting is turned on. If the machine does not populate in the ePO system tree after 10-15 minutes restart the machine if possible.
- If a machine has the McAfee Agent 4.0 and needs to be manually upgraded to 4.5 perform the following:
· Copy the install file locally to the Mac or to a shared drive that can be access from the Mac. The install file can be found on the ePO server
- <drive>Program FilesMcAfeeePolicy OrchestratorDBSoftwareCurrentEPOAGENT3700MACXInstall409install.sh
· After the file is copied to the shared drive or locally it is ready to use for the installation
· Open the terminal on the Mac and type the following in the same directory where install.sh is stored
- 1. Chmod +x install.sh (this adds execute mode to the file)
- 2. Sudo ./install.sh –u (this runs the upgrade using the –u switch)
Removing the McAfee Agent 4.x
How to remove an agent via the ePO console (managed)
- Once the environment is established and the majority of the systems are managed by ePO; removal is done via the ePO console.
· To remove the agent using the ePO console perform the following steps:
- Click Menu | System Tree
- Select the system(s) form the system tree
- Select Actions| Directory Management | Delete
- A delete message will appear asking to Remove the Agent
- Select the check box and click Ok
- The next time the McAfee Agent checks into the ePO server or Agent Handler it will then perform the uninstall
How to remove an agent using terminal (managed or unmanaged)
- In some instances removing the agent on a machine is not possible from the ePO console. This usually occurs when the machine is not connected to the network or when the Agent is having issues connecting to the ePO server.
· To remove the agent using the terminal perform the following steps:
- Log on to the machine or SSH to the machine
- Open terminal (Shell Prompt)
- Change to the McAfee directory /Library/McAfee/cma
- Type sudo ./uninstall.sh
- Wait for the script to display “Agent uninstalled”
Installing products via the McAfee Agent 4.x
How to install McAfee Security for Mac via the ePO console
- McAfee Security for Mac – AV can be installed using via the agent from the ePO server.
· Before the software can be deployed it is necessary to check in the two packages to the master repository. Download the software package so that it can be checked into the Master Repository. The McAfee Security for Mac software is tricky so it is important to follow the next steps exactly.
- Unzip MSMAntimalware10LML.zip
- Locate and unzip ePO Component that is found inside the unzipped directory MSMAntimalware10LML
- Click Menu | Software | Master Repository
- Select Actions | Check In Package at the bottom left of the screen
- Leave the default Package Type selected Product or Update (.ZIP)
- Click the Browse button and navigate to the agent package (ex. <drive>/Downloads/MSMAntimalware10LML/ePO Component/ePO 4.x Deployment Packages/McAfee Security for Mac-Anti-malware-1.0-RTW-ePO-676.zip)
- Follow the on screen options to complete the check in process
- When the package check in is complete click Menu | Software | Extensions
- Select Install Extension from the bottom left of the screen
- Click the Browse button and navigate to the agent extension package (ex. <drive>/Downloads/MSMAntimalware10LML/ePO Component/ePO 4.x Extensions/McAfee Security for Mac-1.0-Anti-malware.zip)
- Follow the on screen options to complete the check in process
- Click the Browse button again and navigate to the agent reports extension package (ex. <drive>/Downloads/MSMAntimalware10LML/ePO Component/ePO 4.x Extensions/McAfee Security for Mac-1.0-Reports.zip)
- Follow the on screen options to complete the check in process
· After checking the software into the Master Repository the product is ready to deploy
- Log into the ePO Console
- Select Menu | System Tree
- Choose the Group or subgroup from the system tree where the task should be created
- Under the My Organization field select the Client Tasks tab
- Click New Task at the bottom of the screen
- Name the task and enter any necessary notes then choose Product Deployment from the drop down menu then select Next.
- On the configuration page select Mac for the Target Platform
- Choose McAfee Security for Mac – AV 1.0.xxx from the drop down menu
- Ensure that Install is selected for the action type then select Next
- At the Schedule section make the desired selections then click Next then Save
- Wait for the systems to check into ePO or issue a Wake Up call for them to pull down the new task
How to remove McAfee Security for Mac via the ePO console
- The most common way to remove software is through the ePO console.
· To remove the agent using ePO perform the following steps:
- Log into the ePO Console
- Select Menu | System Tree
- Choose the Group or subgroup from the system tree where the task should be created
- Under the My Organization field select the Client Tasks tab
- Click New Task at the bottom of the screen
- Name the task and enter any necessary notes then choose Product Deployment from the drop down menu then select Next.
- On the configuration page select Mac for the Target Platform
- Choose McAfee Security for Mac – AV 1.0.xxx from the drop down menu
- Ensure that Remove is selected for the action type then select Next
Wait for the systems to check into ePO or issue a Wake Up call for them to pull down the new task