cancel
Showing results for 
Search instead for 
Did you mean: 
Reliable Contributor haaris
Reliable Contributor
Report Inappropriate Content
Message 1 of 7

Migrate systems from old EPO to new EPO by using API

Jump to solution

Hi,

Is there any API for EPO which we can use to transfer systems by using host name from old EPO to new EPO.

If anyone has done it or know how to do it please share?

1 Solution

Accepted Solutions
McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 4 of 7

Re: Migrate systems from old EPO to new EPO by using API

Jump to solution

Look at PD24810 in this section - it may assist you in doing this:

Discover available commands through URLs
Newly installed ePolicy Orchestrator extensions provide more web API commands. Learn which
commands are available to you.
Use the core.help command to learn which commands you can access and the details of specific
commands. When used without any arguments, core.help provides a list of available commands.
> curl -k -u ga:ga https://localhost:8443/remote/core.help
The exact list of commands displayed depends on your permissions and the extensions installed.
This command returns a list that looks similar to this example.
OK:
ComputerMgmt.createCustomInstallPackageCmd windowsPackage deployPath [ahId] [fallBackAhId]
[useCred] [domain] [username] [password] [rememberDomainCredentials] -
ComputerMgmt.create.Custom.Install.Package.Cmd.short-desc
agentmgmt.listAgentHandlers - List all Agent Handlers
clienttask.export [productId] [fileName] - Exports client tasks
clienttask.find [searchText] - Finds client tasks
clienttask.importClientTask importFileName - Imports client tasks from an XML file.
clienttask.run names productId taskId [retryAttempts] [retryIntervalInSeconds]
[abortAfterMinutes] [useAllAgentHandlers] [stopAfterMinutes] [randomizationInterval] - Runs
the client task on a supplied list of systems
clienttask.syncShared - Shares client tasks with participating registered servers
commonevent.purgeEvents queryId [unit] [purgeType] - Deletes threat events based on age or a
queryId. The query must be table based.
commonevent.purgeProductEvents queryId [unit] [purgeType] - Purge Client Events by Query ID
or age.
console.cert.updatecrl console.updateCRL crlFile - cert.update.crl.help.oneline
core.addPermSetsForUser userName permSetName - Adds permission set(s) to specified user
core.addUser userName password [fullName=<>] [email=<>] [phoneNumber=<>] [notes=<>]
[disabled=<>] [admin=<>] - Adds a user to the system
core.executeQuery queryId [database=<>] - Executes a SQUID query and returns the results
.
[information deleted]
.
system.report names - Reports the systems in the System Tree
system.runTagCriteria tagID [resetTaggedSystems] - The Run Tag Criteria action evaluates
every managed system against the tag's criteria. system.setUserProperties names
[description] [customField1] [customField2] [customField3] [customField4] - Sets user
properties on the given system
system.transfer names epoServer - Transfers systems to a different ePO server

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

6 Replies
vnaidu
Level 11
Report Inappropriate Content
Message 2 of 7

Re: Migrate systems from old EPO to new EPO by using API

Jump to solution

Hi Haaris,

As far as I know McAfee had not published any official documents regarding your question. However I recalled someone who discussed this. You may find relevant information form the below post.

https://community.mcafee.com/t5/ePolicy-Orchestrator/Can-Use-Web-API-to-List-Encryption-Users/td-p/4...

Hope this helps,

Venu
Reliable Contributor haaris
Reliable Contributor
Report Inappropriate Content
Message 3 of 7

Re: Migrate systems from old EPO to new EPO by using API

Jump to solution

Hi @vnaidu,

Thanks for this information but I think I needed something different

McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 4 of 7

Re: Migrate systems from old EPO to new EPO by using API

Jump to solution

Look at PD24810 in this section - it may assist you in doing this:

Discover available commands through URLs
Newly installed ePolicy Orchestrator extensions provide more web API commands. Learn which
commands are available to you.
Use the core.help command to learn which commands you can access and the details of specific
commands. When used without any arguments, core.help provides a list of available commands.
> curl -k -u ga:ga https://localhost:8443/remote/core.help
The exact list of commands displayed depends on your permissions and the extensions installed.
This command returns a list that looks similar to this example.
OK:
ComputerMgmt.createCustomInstallPackageCmd windowsPackage deployPath [ahId] [fallBackAhId]
[useCred] [domain] [username] [password] [rememberDomainCredentials] -
ComputerMgmt.create.Custom.Install.Package.Cmd.short-desc
agentmgmt.listAgentHandlers - List all Agent Handlers
clienttask.export [productId] [fileName] - Exports client tasks
clienttask.find [searchText] - Finds client tasks
clienttask.importClientTask importFileName - Imports client tasks from an XML file.
clienttask.run names productId taskId [retryAttempts] [retryIntervalInSeconds]
[abortAfterMinutes] [useAllAgentHandlers] [stopAfterMinutes] [randomizationInterval] - Runs
the client task on a supplied list of systems
clienttask.syncShared - Shares client tasks with participating registered servers
commonevent.purgeEvents queryId [unit] [purgeType] - Deletes threat events based on age or a
queryId. The query must be table based.
commonevent.purgeProductEvents queryId [unit] [purgeType] - Purge Client Events by Query ID
or age.
console.cert.updatecrl console.updateCRL crlFile - cert.update.crl.help.oneline
core.addPermSetsForUser userName permSetName - Adds permission set(s) to specified user
core.addUser userName password [fullName=<>] [email=<>] [phoneNumber=<>] [notes=<>]
[disabled=<>] [admin=<>] - Adds a user to the system
core.executeQuery queryId [database=<>] - Executes a SQUID query and returns the results
.
[information deleted]
.
system.report names - Reports the systems in the System Tree
system.runTagCriteria tagID [resetTaggedSystems] - The Run Tag Criteria action evaluates
every managed system against the tag's criteria. system.setUserProperties names
[description] [customField1] [customField2] [customField3] [customField4] - Sets user
properties on the given system
system.transfer names epoServer - Transfers systems to a different ePO server

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

Highlighted
McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 5 of 7

Re: Migrate systems from old EPO to new EPO by using API

Jump to solution

Did the info I sent help any?

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

Reliable Contributor haaris
Reliable Contributor
Report Inappropriate Content
Message 6 of 7

Re: Migrate systems from old EPO to new EPO by using API

Jump to solution

Hi @cdinet,

Yes,we are going to use API for transferring systems from one EPO to another

McAfee Employee cdinet
McAfee Employee
Report Inappropriate Content
Message 7 of 7

Re: Migrate systems from old EPO to new EPO by using API

Jump to solution

Ok, good.  If the info helped, accept as solution please Smiley Happy

Was my reply helpful?
If this information was helpful in any way or answered your question, will you please select Accept as Solution in my reply and together we can help other members?

Member Rewards
McAfee Community rewards active and helpful members just like you. Click here to take a look at the first community members who received a special reward and were recognized by McAfee leader, Aneel Jaeel, for their participation and trusted knowledge in the community.