Hi, On Sun, Dec 14, 2014 at 4:24 PM, M.Sērdienis <m.serdie...@gmail.com> wrote: > > Hello! > > I am looking to OpenNebula for my company and I installed > opennebula-sandbox for testing, but I can't understand how I can set/change > IP manually for VMs. >
IPs are automatically managed by OpenNebula using the Address Range contained in the pre-defined Virtual Network. You can update the Address Range of this Virtual Network (or create a new one), it's under the infrastructure menu in Sunstone. You can also request a specific IP for a VM. Update the Template (you may want to clone it to a new one), go to Network -> interface 0, and open the advanced options. You'll see that there is an IP input. > Next questions is about services: > 1. For example, if I deploy web and sql server, how I can set in web > server application the correct IP of mysql server. > You can use the OneGate server to get information about the IPs assigned to other VMs in the Service [1] [2] > 2. Is there possibility to set variable (NET_ID or somesing similar) for > users and uses that variable for IP assignment. For example if user deploys > Service1, then he gets 2 servers - one with IP 10.10.NET_ID.5 and second > with 10.10.NET_ID.6 ? > You can create a Virtual Network for each user/group, with a different address range or vlan_id. Then define the Service Template with dynamic networks [3], and each time the Service is instantiated the user will be able to select the actual virtual network to use. Regards. [1] http://docs.opennebula.org/4.10/advanced_administration/application_flow_and_auto-scaling/appflow_use_cli.html#sharing-information-between-vms [2] http://docs.opennebula.org/4.10/advanced_administration/application_insight/onegate_usage.html#onegate-api [3] http://docs.opennebula.org/4.10/administration/sunstone_gui/cloud_view.html#how-to-prepare-the-service-templates -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org | @OpenNebula <http://twitter.com/opennebula>
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org