By default, an un-bootstrapped Rubrik Cluster will respond to multicast DNS (mDNS) queries directed to [node_serial_number].local. It is important that mDNS resolution is working properly on system the SDK is called from if you wish to supply [node_serial_number].local to the bootstrap() function as the node_ip value.
Note: When bootstrapping a cluster, Bootstrap() is used instead of Connect() to establish the connection to the cluster.
mDNS resolution is not well supported on Windows, but it can be accomplished by installing the Apple Bonjour service, included with iTunes or Bonjour Print Services. mDNS is better supported on Linux and macOS, but you should verify working name resolution before using this function. If mDNS name resolution is not working on Linux, you can determine the link-local IPv6 address of the un-bootstrapped node(s) with the command avahi-resolve --name [node_serial_number].local or by using the python-zeroconf library. The link-local IPv6 address can then be passed to the Bootstrap() function instead of the mDNS name.
Cloud cluster
Cloud Cluster instances have an IPv4 address dynamically assigned by the cloud provider, so there is no need to use mDNS for bootstrapping. Once the instances are deployed, gather the assigned IPs from the cloud provider console and use them in a similar manner to the example below.
Troubleshooting
Enable logging by passing enable_logging=True to the bootstrap function. Example:
mDNS name resolution can be verified on systemd-based Linux systems using the command systemd-resolve --status. The resulting command should display MulticastDNS setting: resolve or MulticastDNS setting: yes. Additional information can be found at the links below.