I have few servers which will be booted from an image all the time. so in that image i have installed the agent in deactivated mode and now agent will be configured all the time it comes online after reboot.
on the other hand i have configured these nodes with automatic certificate grant option so i expect once agent is configured and certificate should be granted by server automatically.
But it will not. however if i sent another request manually it will be granted.
from oainstall.log i can see that during the activation agent will be restarted and i thought might be this is the cause as server can not communicate back to agent if it is being restarted.
so i configured the server to grant the certificate after 240 seconds from the time request came. however server does not grant this request.
but again if i sent manually, it will be granted automatically.
Thanks again. i have tried with -defer_configure too. problem with the -defer_configure is that it configure the agent which is more time conusming. (almost 45 minute to configure) so i used -defer_activate which is also tested by lab and me and it works in normal case.
Problem here is grant of certificates and not with -defer_configure or defer_activate i believe.
Now i have submitted a case to Support and waiting someone to reply.