VZFASTBOOT

This option determines the Container quota reinitialization procedure when the Hardware Node is booted after an incorrect shutdown. If set to “no”, the disk quota is reinitialized for each Container during the Node startup and only then are the Containers started, which results in a long Hardware Node and Containers booting time. When set to “yes”, the Container quota reinitialization procedure depends on the Container quota files state:

Those Containers whose quota files (/var/vzquota/quota.) have a “dirty” flag set, meaning that their contents are inconsistent with the real Containers usage, are started without the quota reinitialization. After all the Containers with “dirty” flags are launched, they are restarted one by one to reinitialize their respective quotas.
Those Containers whose quota files are absent from the Node or corrupted are started only after their quota has been successfully reinitialized.

In general, setting the VZFASTBOOT parameter to “yes” allows you to considerably reduce the Hardware Node and Containers downtime after the incorrect Node shutdown.

no

  • To potentially improve network performance:
    echo "net.core.rmem_max=16777216" >> /etc/sysctl.conf
    echo "net.core.wmem_max=16777216" >> /etc/sysctl.conf
    echo "net.ipv4.tcp_rmem=4096 87380 16777216" >> /etc/sysctl.conf
    echo "net.ipv4.tcp_wmem=4096 65536 16777216" >> /etc/sysctl.conf
    sysctl -p

     

    test etmedim*** windows virtio slipstreamed templates

    linklerim gizli olabilirmi? ee yani 🙂

    herneyse.. birisi yapmis, netboot ediceksin sunucunu veya kvm ? netboot? isoboot? ha ? test etmedim.

    amac isolari mirrorlamak idi uygun bir yere

    sonra

    windows server r2012 icin

    wget -O- http://serv.er/w/KS_2012_R2_Template.gz | gunzip | dd of=/dev/sda

    Username: Administrator
    Password: Password147
    —–

    windows 8.1 icin

    wget -O- http://serv.er/w/KS_W8.1_Template.gz | gunzip | dd of=/dev/sda

    Username: Admin
    Password: Password147

    direk rdp

    EDIT: win8.1 templateini proxmox uzerinde bir kvm vds de test ettim 🙂 gayetde guzel calisti.
    Enteresan oldu.

    yum install git

    git clone git://git.kernel.org/pub/scm/utils/cpu/mce/mcelog.git

    cd mcelog

    make

    make install

    ls -l /usr/sbin/mcelog

    -rwxr-xr-x 1 root root 274291 Nov 21 16:44 /usr/sbin/mcelog

    If you are not happy with the result:

    yum reinstall mcelog

    ls -l /usr/sbin/mcelog

    -rwxr-xr-x 1 root root 96696 Dec 20 2012 /usr/sbin/mcelog

    https://github.com/Nyr/openvpn-install

    OpenVPN road warrior installer for Debian-based distros.

    This script will let you setup your own VPN server in no more than one minute, even if you haven’t used OpenVPN before. It isn’t bulletproof but it has been designed to be as unobtrusive and universal as possible.
    Installation

    Run the script and follow the assistant:

    wget http://git.io/vpn –no-check-certificate -O openvpn-install.sh; chmod +x openvpn-install.sh; ./openvpn-install.sh

    Once it ends, you can run it again to add more users.

    ..:: HOW TO Proxmox software RAID 10 in 21 Steps ::..

    1- Clean any leftovers from before

    dd if=/dev/zero of=/dev/sda bs=512 count=1
    dd if=/dev/zero of=/dev/sdb bs=512 count=1
    dd if=/dev/zero of=/dev/sdc bs=512 count=1
    dd if=/dev/zero of=/dev/sdd bs=512 count=1

    2- Boot and Install Proxmox to /dev/sda

    3- nano /etc/apt/sources.list

    deb http://ftp.de.debian.org/debian wheezy main contrib
    # security updates
    deb http://security.debian.org/ wheezy/updates main contrib
    # PVE pve-no-subscription repository provided by proxmox.com, NOT recommended for production use
    deb http://download.proxmox.com/debian wheezy pve-no-subscription

    4- nano /etc/apt/sources.list.d/pve-enterprise.list

    #deb https://enterprise.proxmox.com/debian wheezy pve-enterprise

    5-

    apt-get update
    apt-get dist-upgrade
    apt-get install mdadm
    dpkg-reconfigure locales (*optional)

    6-

    sgdisk -R=/dev/sdb /dev/sda
    sgdisk -R=/dev/sdc /dev/sda
    sgdisk -R=/dev/sdd /dev/sda

    7-

    sgdisk -G /dev/sdb
    sgdisk -G /dev/sdc
    sgdisk -G /dev/sdd

    8-

    sgdisk -t 2:fd00 /dev/sdb
    sgdisk -t 3:fd00 /dev/sdb
    sgdisk -t 2:fd00 /dev/sdc
    sgdisk -t 3:fd00 /dev/sdc
    sgdisk -t 2:fd00 /dev/sdd
    sgdisk -t 3:fd00 /dev/sdd

    8-1

    dd if=/dev/sda1 of=/dev/sdb1
    dd if=/dev/sda1 of=/dev/sdc1
    dd if=/dev/sda1 of=/dev/sdd1

    9-

    mdadm --create /dev/md0 --level=1 --raid-disks=4 missing /dev/sdb2 /dev/sdc2 /dev/sdd2
    mdadm --create /dev/md1 --level=10 --raid-disks=4 missing /dev/sdb3 /dev/sdc3 /dev/sdd3

    10-

    mdadm --examine --scan >> /etc/mdadm/mdadm.conf
    cat /etc/mdadm/mdadm.conf

    (check what’s in here)

    11-

    mkfs.ext3 /dev/md0
    mkdir /mnt/md0
    mount /dev/md0 /mnt/md0
    cp -ax /boot/* /mnt/md0

    12- nano /etc/fstab

    # /dev/pve/root / ext3 errors=remount-ro 0 1
    /dev/pve/data /var/lib/vz ext3 defaults 0 1
    #UUID=0db2359a-2754-43df-9d7c-6d9f1950cf6a /boot ext3 defaults 0 1
    /dev/md0 /boot ext3 defaults 0 1
    /dev/pve/swap none swap sw 0 0
    proc /proc proc defaults 0 0

    13-

    echo '# customizations' >> /etc/default/grub
    echo 'GRUB_DISABLE_LINUX_UUID=true' >> /etc/default/grub
    echo 'GRUB_PRELOAD_MODULES="raid dmraid"' >> /etc/default/grub
    echo raid1 >> /etc/modules
    echo raid10 >> /etc/modules
    echo raid1 >> /etc/initramfs-tools/modules
    echo raid10 >> /etc/initramfs-tools/modules

    grub-install /dev/sda
    grub-install /dev/sdb
    grub-install /dev/sdc
    grub-install /dev/sdd

    update-grub
    update-initramfs -u

    14- reboot and mount | grep boot
    /dev/md0 on /boot type ext3 (rw,relatime,errors=continue,user_xattr,acl,barrier=0,data=ordered)
    If looks like that, you’re good to go.

    15- Now add sda2 to our Raid 1 Array

    sgdisk -t 2:fd00 /dev/sda
    mdadm --add /dev/md0 /dev/sda2
    cat /proc/mdstat

    16- Now we will move our LVM over /dev/md1
    !!IMPORTANT Install screen before pvemove.Because it will take several hours!!

    pvcreate /dev/md1
    vgextend pve /dev/md1
    apt-get install screen
    screen
    pvmove /dev/sda3 /dev/md1

    17- reduce and remove /dev/sda3

    vgreduce pve /dev/sda3
    pvremove /dev/sda3

    18- add /dev/sda3 to RAID 10 array md1

    sgdisk -t 3:fd00 /dev/sda
    mdadm --add /dev/md1 /dev/sda3

    19- Let our RAID 10 Array Rebuild itself. Maybe want to watch it for some fun.
    Or speed rebuilding a little bit if you want.

    echo 800000 > /proc/sys/dev/raid/speed_limit_min
    echo 1600000 > /proc/sys/dev/raid/speed_limit_max

    watch -n 2 cat /proc/mdstat

    20- extend our VG space and add it to our LV

    lvextend -l +100%FREE /dev/pve/data
    resize2fs /dev/pve/data

    ~~~ ALL DONE! 🙂 ~~~

    21- Before rebooting don't forget to install grub one last time

    grub-install /dev/sda
    grub-install /dev/sdb
    grub-install /dev/sdc
    grub-install /dev/sdd

    update-grub
    update-initramfs -u

    Funny IPv6 Phrases
    a1f:ea75:ca75 bad:babe:a9ed:18 dead:beef:ca1f d0d0:i5:dead
    alf eats cats bad babe aged 18 dead beef calf dodo is dead
    b19:ba11:bag a11:beef:c1ad:babe 1ce:1ce:babe a11:beef:7ac0
    big ball bag all beef clad babe ice ice babe all beef taco
    b19:b00b:babe 1:see:bad:c0de b19:b00b:babe:cafe b19:a55:9a1a
    big boob babe I see bad code big boob babe cafe big ass gala
    b19:7175:babe deaf:d0e:15:f00d 1337:c0de:4:11fe ba1d:babe:be:be5t
    big tits babe deaf doe is food leet code 4 life bald babe be best
    ea7:beef:7ac0:d095 dead:beef:cafe 1:ea7:dead:beef ba1d:7ac0:be:be5t
    eat beef taco dogs dead beef café I eat dead beef bald taco be best
    b19:fa7:d00b 1:be:a:7001 5a11:a:b0a7 9a1:g07:a:70ad:face
    big fat doob I be a tool sail a boat gal got a toad face
    a11:90d5:be:11e5 7a11:a1e:cafe c01d:c01a:cafe 1d1e:f001
    all gods be lies tall ale cafe cold cola cafe idle fool
    1:907:a:fa7:10af aced:a11:7e57 9a9a:i5:dead da75:a:900d:90a7
    i got a fat loaf aced all test gaga is dead dats a good goat

    yeni sunucumdaki iplerim:

    root@srv:~# ifconfig
    eth0 Link encap:Ethernet HWaddr 00:16:3e:96:65:bf
    inet addr:193.234.224.244 Bcast:193.234.225.255 Mask:255.255.254.0
    inet6 addr: 2a00:dcc0:dead:b9f4:bad:babe:a9ed:18/128 Scope:Global
    inet6 addr: 2a00:dcc0:dead:b9f4:da75:a:900d:90a7/128 Scope:Global
    inet6 addr: 2a00:dcc0:dead:b9f4:0:1ce:1ce:babe/128 Scope:Global
    inet6 addr: 2a00:dcc0:dead:b9f4:1:be:a:7001/128 Scope:Global
    inet6 addr: 2a00:dcc0:dead:b9f4::1/56 Scope:Global
    inet6 addr: fe80::216:3eff:fe96:65bf/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:4124 errors:0 dropped:0 overruns:0 frame:0
    TX packets:1330 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:329712 (321.9 KiB) TX bytes:149794 (146.2 KiB)
    Interrupt:40