Tag: Virtualizor

  • Download OS Templates Virtualizor

    To create a Virtal Machine (VPS) on Virtualizor, you need OS Template. You can use pre-made OS templates or make your own OS template. You can see list of pre-made OS templates provided by Virtualizor at

    https://virtualizor.com/ostemplates

    To download an OS Template, login to Virtualizor, from left side menu, click on

    Media > Template Browser
    

    Click the check boxe right side of the OS Template you need to download. Once you selected all OS Templates you need, scroll down, click “Save Settins” button.

    Download OS Templates in Virtualizor

    See Virtualizor

  • Virtualizor Error No Gateway Found, Please assign a Gateway

    On a Virtualizor server, when starting virtnetwork, i get the following error

    [root@virtual2 ~]# service virtnetwork start
    Error: No Gateway Found, Please assign a Gateway.
    [root@virtual2 ~]# 

    This is because the network interface configuration doesn’t have GATEWAY defined. Find your network interface name with the command

    ip link

    Now check the configuration file for your network interface.

    On this server, I had following configuration

    [root@virtual2 ~]# cat  /etc/sysconfig/network-scripts/ifcfg-enp4s0 
    ### Hetzner Online GmbH installimage
    
    DEVICE=enp4s0
    ONBOOT=yes
    BOOTPROTO=none
    IPADDR=94.130.65.163
    PREFIX=32
    SCOPE="peer 94.130.65.129"
    DEFROUTE=yes
    
    IPV6INIT=yes
    IPV6ADDR=2a01:4f8:10b:2f1c::2/64
    IPV6_DEFAULTGW=fe80::1
    IPV6_DEFROUTE=yes
    IPV6_DEFAULTDEV=enp4s0
    [root@virtual2 ~]# 

    You need to find the gateway used by your server, this can be done with the command

    ip route

    On this server, I have

    [root@virtual2 ~]# ip route
    default via 94.130.65.129 dev enp4s0 
    94.130.65.129 dev enp4s0 proto kernel scope link src 94.130.65.163 
    169.254.0.0/16 dev enp4s0 scope link metric 1002 
    188.40.210.0/24 dev natbr3 proto kernel scope link src 188.40.210.32 
    [root@virtual2 ~]# 

    From above, the gateway used by the server is 94.130.65.129.

    Now edit the network interface configuration file

    vi /etc/sysconfig/network-scripts/ifcfg-enp4s0

    Find the line starting with

    IPADDR=

    Add below

    GATEWAY=YOUR_GATEWAY_IP_HERE

    In this case

    GATEWAY=94.130.65.129

    After this change restarting virtnetwork worked.

    [root@virtual2 ~]# service virtnetwork start
    Bringing up viifbr0 - OK
    Waiting for 10 seconds...1...2...3...4...5...6...7...8...9...10
    Internet connectivity check successful viifbr0 - OK
    [root@virtual2 ~]# 

    See Virtualizor

  • Virtualizor error fetching interface information

    When starting network in virtualizor server, i get following error

    [root@virtual2 ~]# service virtnetwork start
    eth0: error fetching interface information: Device not found
    Error: No ip address found.
    [root@virtual2 ~]# 
    

    To fix this error, find the network interface name with command

    [root@virtual2 ~]# ip link
    1: lo:  mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
        link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    2: enp4s0:  mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
        link/ether 34:97:f6:00:11:1f brd ff:ff:ff:ff:ff:ff
    3: natbr3:  mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
        link/ether 52:54:00:d9:3c:1c brd ff:ff:ff:ff:ff:ff
    4: natbr3-nic:  mtu 1500 qdisc pfifo_fast master natbr3 state DOWN mode DEFAULT group default qlen 1000
        link/ether 52:54:00:d9:3c:1c brd ff:ff:ff:ff:ff:ff
    [root@virtual2 ~]# 
    

    In this case, the name is enp4s0, we need to add this name in

    Virtualizor Admin > Configuration > Master or Slave Settings > Network Settings > Network Interface

    Virtualizor Network Interface

    If you have master and slave severs, you need to select master or slave depending on where you get this error. If slave, there is a drop down, you need to select the correct server, then set the interface name.

    See Virtualizor

  • Virtualizor list all vms from command line

    Virtualizor use libvirt to manage virtualmachines.

    To list all virtual machines in a server, login to server using SSH as root.

    run

    virsh list
    

    virtualizor virsh list

    See Virtualizor

  • Virtualizor

    Virtualizor

    Virtualizor is a VPS management control panel.

    Virtualizor Errors

    To install Virtualizor with KVM Virtualization, run

    wget -N http://files.virtualizor.com/install.sh 
    chmod 0755 install.sh 
    ./install.sh [email protected] kernel=kvm

    Virtualizor also supports other virtualization technologies like Xen, OpenVZ, and LXC.

    Once installed, you will be able to log in at

    https://IP-ADDR:4085/
    User = root
    PW = password for system user root.

    Restart Virtualizor

    systemctl restart virtualizor