Search Posts

Office 365 powershell tips

Connect to office365 $cred = Get-Credential -Credential $user Import-Module MSOnline Connect-MsolService -Credential $cred $msoExchangeURL = “” $session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri $msoExchangeURL -Credential $cred -Authentication Basic -AllowRedirection Import-PSSession $session

Copy zfs filesystems

Sometime I need to copy/migrate zfs file systems across a network ( backups ) or on the same server ( for testing or upgrades of single devices ). The process is pretty simple. Create a zfs snapshop zfs snapshot zfs-pool/zfs-volume@base Now send this snapshot to the device or remote system ( I use pv to show me the progress ) Local zfs send zfs-pool/zfs-volume@base | pv | zfs receive zfs-pool/new-zfs-volume Remote zfs send zfs-pool/zfs-volume@base | […]

Highly Available Redis Cluster

I’ve done some work on a design for a redis cluster lately, there’s a lot of info on the subject but it is in pieces and I am going to try and provide a complete document here for one of the ways to do this. Tools sentinel: redis’s own monitoring and availability tool, we will use it to monitor our master/slave nodes, sentinel will promote a slave to master when an issue arises. haproxy: a […]

Usb Serial, Mac os and a Cisco switch

List device names ls /dev/cu.* A list similar to this should show up. mba:~ root# ls /dev/cu.* /dev/cu.Bluetooth-Incoming-Port /dev/cu.Bluetooth-Modem /dev/cu.usbserial connect using cu cu -l /dev/usb.serial -s 9600 If you do not see a usb serial device, you can list all your usb devices with this command system_profiler SPUSBDataType Which in my case showed my Prolific usb adapter USB-Serial Controller D: Product ID: 0x2303 Vendor ID: 0x067b (Prolific Technology, Inc.) Version: 4.00 Speed: Up to […]

Stop the %BMP-5-BMP_DISCOVER: DHCP DISCOVER messages on a new F10 switch

When configuring new switches, the flood of these messages over serial console can be quite intrusive… This is because F10 ship in “Jumpstart mode”, run this command to disable it ( reload the switch after executing it). FTOS# reload-type normal-reload

Next Page »