Alko13,
Sorry, I'm not familiar with Oracle load balancing concepts specifically. But I as far as the /etc/hosts file goes, you cannot have multiple IP addresses that reference the same hostname alias. In your example above, the hostname "A" is associated with 3 IP addresses. That's unlikely to work like you might want.
You can, on the other hand, have multiple hostname aliases for a single IP address (shown in my examples above).
I recommend conferring with your Oracle administrator to determine the route(s) they expect and support for you to reach the Oracle database. I doubt you'll be expected to modify /etc/hosts in the SAS Viya pods and they should give good instruction about network routing to reach the Oracle load balancer.
... View more