You need to add a windows server as PSExec server
and create a automation principals, then only you will be able to select the same when using the Unified Agent Installer
See the User Guide Under these sections:
Preliminary tasks for installing agents
Setting up a PsExec server
Creating automation principals
Let me be a little clearer. I have already created all of those objects. I've already created a working Agent Installer Job. And I understand that I can go modify them; I can go change the user/password in the Automation Principle I used or change the Rule in Infrastructure Management.
My question is, where in the created Agent Bundle or Agent Installer Job does it reference which Automation Principle or Rule to use? What if I want to add an additional Automation Principle and Rule to my agent installer? For example, if I already have an Automation Principle and Rule for Windows, and I want to create an additional one for Linux, where do I go back into the Agent Bundle or Agent Installer Job and add that? Where is that referenced? If I open the created Agent Bundle or Agent Installer Job I don't see any reference to those objects.
I believe that the agent bundle is referered to in the agent installer job.
The Unified agent installer is just a wizard that helps you to go through all the steps of creating a job.
You can always go to the depot and create a new agent installer job from a new agent bundle.
Later on you can open a saved Installer job and in the Options panel, you should be able to choose a differenr agent bundle from the depot if you have created mutiple.
As far as remote authentication is concerned, you define all of these under the Infra Management- > Remote Host auth
and then you defined rules
These rules , I guess are attempted by the job one by one depending upon the order they are defined.
So you create rules like
e.g. for all Solaris target use SSH
for all Windows use PSexec
BTW: Automation Principal is only for Windows AFAIK.
Rohit, I've created all those objects. I've walked through the Unified Agent Installer Wizard, pointed to all those objects, and created a successful Agent Bundle and Agent Installer Job. It works.
However, if I open the Agent Bundle or Agent Installer Job, I can find no reference to the Automation Principle, PsExec server or Rule. Where is that reference?
I can also manually create an Agent Bundle and Agent Installer Job, but there is no place to reference those objects, so the installer fails.
If the Automation Principle is only for Windows, where would you specify Linux credentials to install the Agents?
My bad, automation principal is now supported for Unix as well.
I think the only reference in the agent installer job is the agent bundle.
And the agent bundle defines the agent installable and its details.
The remote authentiacaiton mechanisms are defined globally, there should be atleast one for each OS.
And the rules define the way these will be used by any installer job.
As I understand it, installer job does not have any direct reference to this, but whenver the installer job runs it tries evaluate the rules to get a authentication mechanism defined,
So if the installer job is failing , that may be because it is unable to find a suitable remote authenticaiton method defined by your rules.
Have you any rules in place ?
Still, I will try this again and let you know. ( I have looked at it only once when 8.2 was released, May be I am missing something ).
That information (automation principal and rules) can all be found under the Configuration->Infrastructure Management dialog. If you open up that dialog you will see two nodes "Remote Host Authentications" and "Remote Host Authentication Rules". If you view the "Remote Host Authentications" you can see the missing configurations you're looking for.
What happens when the job runs is that it applies each of the "Remote Host Authentication Rules" to the server that you're executing against. Once it finds a rule that satisfies it, it will then test each of the "Remote Host Authentication"s from the list associated with the "RHARule". If it finds a valid one, it will use the information in that "RHA" for your job execution. You can see this list by expanding the rules from the Infrastructure Management dialog.
This is very similar to how repeater routing rules, job routing rules, and socks proxy routing rules work if you've ever used them before.
Thank you sdaley, now I understand. What confused me was this was my first implementation. So I incorrectly assumed that you had to tie an Agent Installer Job to a specific Automation Principal and Rule.
But that's not the case. I went back through the Wizard and it only cares that at least one exists. And if one doesn't exist, you have to create at least one for the Wizard to continue. I misunderstood and thought I was selecting a specific one for that job.