cluster ip addresses can be passed as parameter