• About
  • Manuals
  • Network
Confessions of a FreeBSD hacker Various tips & tricks about computers in general and FreeBSD in particular
Confessions of a FreeBSD hacker

Category Archives: Freebsd

Ansible playbook for handling perl on FreeBSD

July 23, 2017 16:59 / Leave a Comment / Magnus Strahlert

Starting with Perl 5.20 the symlink in /usr/bin/perl has been removed. This playbook remedies that. — – name: Check if perl is installed register: perl_installed stat: path: /usr/local/bin/perl – name: Check perl version register: perl_version command: /usr/local/bin/perl -v changed_when: false when: perl_installed.stat.exists #- name: Check perl version (debug) # debug: # msg: “{{ perl_installed.stat.exists }}” … Read More →

Posted in: FreeBSD / Tagged: ansible, freebsd

iSCSI: Migrating from istgt to ctld

February 7, 2016 23:16 / Leave a Comment / Magnus Strahlert

Deciding to upgrade my NAS from FreeBSD 9.2-RELEASE to 10.2-RELEASE, I wanted to try out the new native iSCSI initiator. As my iSCSI-network is physically separated by vlan I don’t bother with chap-authentication. I allow the entire network connect to the presented targets. The only part of the config previously used in istgt that couldn’t … Read More →

Posted in: FreeBSD, VMware, ZFS / Tagged: esxi, freebsd, iscsi, lun, vmware, zfs

Setting up a highly available (HA) DNS in FreeBSD 10

August 23, 2014 20:54 / Leave a Comment / Magnus Strahlert

In Setting up HAST through CARP preparations were done for making the same storage volume be able to be accessed through a redundant IP-address. Now comes the time to tie this together with an actual application and make the failover automatic. To the right is a graphical representation of all components tied together. In the … Read More →

Posted in: FreeBSD, Network / Tagged: carp, freebsd, hast, network

RaspberryPI running FreeBSD/arm

April 22, 2013 22:10 / Leave a Comment / Magnus Strahlert

RaspberryPI is a cheap yet highly capable pico-computer that I recently purchased along with a 16Gb SD-card for storage. As my operating system of choice is FreeBSD, naturally I’d like to install the PI using just that. FreeBSD/arm is available in FreeBSD 10 which is still at beta-phase. For the time being the easiest way is … Read More →

Posted in: FreeBSD, RaspberryPI / Tagged: freebsd, gpt, ramdrive, raspberrypi

Setting up HAST through CARP

March 23, 2013 19:13 / Leave a Comment / Magnus Strahlert

In order to make a highly available (HA) server, FreeBSD can utilize techniques for a highly available storage (HAST) that syncs data between two hosts, essentially a raid1 cross-server. To make a virtual IP address that always follows the master node, common address redundancy protocol (CARP) is used. HAST can only be used for two … Read More →

Posted in: FreeBSD / Tagged: carp, cluster, cross-server, freebsd, hast, mirror, network, raid

Post Navigation

1 2 3 Next »

Recent Posts

  • Takeaways utilising VFIO in a KVM virtual guest
  • Converting VM from ESXi to KVM with iSCSI storage
  • Deploying oVirt in self-hosted mode
  • Ansible playbook for handling perl on FreeBSD
  • iSCSI: Migrating from istgt to ctld

Tags

ansible backup carp chroot cluster cross-server esxi freebsd ftp ftpchroot gpt grub hast install iscsi kvm linux lun lvm mirror network nfs nfsroot ovirt pxe raid ramdrive raspberrypi snapshot ssd ssh terminalserver usb vfio virtio virtualbox vlan vmware volumes winxp zfs zpool zroot

Archives

  • July 2019
  • March 2018
  • February 2018
  • July 2017
  • February 2016
  • January 2015
  • August 2014
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • September 2012
  • July 2012
  • April 2012
  • March 2012
  • November 2011
  • August 2011

Recent Comments

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    © Copyright 2013-2016 - Magnus Strahlert
    Infinity Theme by DesignCoral / WordPress