Ad Widget

Collapse

Zabbix Appliance Issues

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stevensedory
    Junior Member
    • Jan 2017
    • 9

    #1

    Zabbix Appliance Issues

    Hello,

    We've recently tried to install the most current Zabbix Appliance for Hyper-V 2012. The problem with that was, we wanted to expand the virtual hard disk, tried follow the instructions here to do so (https://www.zabbix.com/documentation...nual/appliance), but the fdisk commands do not work as described there. And we need it to be larger.

    So we tried spinning up a VM using the Appliance ISO, and it stops at:

    An installation step failed. You can try to run the failing item again from the menu, or skip it and choose something else. The failing step is: Select and install software"

    So, in both cases, we cannot get the appliance to run. I tried this on Hyper-V 2012 R2 and VMware Workstation 12.
  • Alfista
    Senior Member
    • Mar 2017
    • 136

    #2
    Hi,

    I also use the VM Appliance. I have also expanded the disk size at fist in VM and then tried to do it in Zabbix with fdisk, but as described the fdisk ask another question as in the manual:

    1. fdisk /dev/sda (there is only sda1)
    2. command "u" (OK)
    3. command "d" (question: Partition number (1,2,5, default 5): - used 1)
    4. command "n" (OK)
    5. command "p" (OK)
    6. command "1" (OK)
    7. new question: First cylinder (1-6527, default 1): - used 1 (63 doesn't work)
    8: new question: Last cylinder, +cylinders or +size{K,M,G,T,P} (1-62, default 62): - used default (max doesn't work)
    9. command "w" (message: The partition table has been altered. Calling ioctl() to re-read partition table. Re-reading the partition table failed.: Device or resource busy The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8).

    when I use df it looks so:

    root@ZabbixServer:~# df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 5.9G 0 5.9G 0% /dev
    tmpfs 1.2G 8.6M 1.2G 1% /run
    /dev/mapper/zabbix--vg-root 7.1G 6.7G 0 100% /
    tmpfs 5.9G 0 5.9G 0% /dev/shm
    tmpfs 5.0M 0 5.0M 0% /run/lock
    tmpfs 5.9G 0 5.9G 0% /sys/fs/cgroup
    /dev/sda1 472M 211M 237M 48% /boot

    after pvs, vgdisplay

    root@ZabbixServer:~# pvs
    PV VG Fmt Attr PSize PFree
    /dev/sda5 zabbix-vg lvm2 a-- 49.52g 40.23g

    root@ZabbixServer:~# vgdisplay
    --- Volume group ---
    VG Name zabbix-vg
    System ID
    Format lvm2
    Metadata Areas 1
    Metadata Sequence No 5
    VG Access read/write
    VG Status resizable
    MAX LV 0
    Cur LV 2
    Open LV 2
    Max PV 0
    Cur PV 1
    Act PV 1
    VG Size 49.52 GiB
    PE Size 4.00 MiB
    Total PE 12677
    Alloc PE / Size 2377 / 9.29 GiB
    Free PE / Size 10300 / 40.23 GiB
    VG UUID wDcqHv-vtRT-uSdr-lRsT-f054-gNUG-izlW1i

    but as I see we need to enlarge the: /dev/mapper/zabbix--vg-root or the whole disk.

    Please is possible help us.

    Thanks.

    Comment

    Working...