I want to know Which IP (probe , Engine or BSMgatwey) should be used on the target name in order to generate RUM licence ??
assuming that this is a BSM-based RUM license (something like "HP BAC RUM SPI f/HTTP SW") you can use any IP address and or hostname, I always use the BSM GW server. But as the BSM licenses are not node-bound (other than for example SiteScope, where you need to provide the exact IP address of the SiteScope server when generating the license)m it doesn't matter, any name and / or (valid) IP address will do.
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.