Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

80 total results found

Site-to-Site OpenVPN with routes

Linux

Install https://github.com/angristan/openvpn-install First, get the script and make it executable : curl -O https://raw.githubusercontent.com/Angristan/openvpn-install/master/openvpn-install.sh chmod +x openvpn-install.sh Then run it : ./openvpn-in...

LVM

Linux

LVM functions by layering abstractions on top of physical storage devices. The basic layers that LVM uses, starting with the most primitive, are. Physical Volumes: Description: Physical block devices or other disk-like devices (for example, other devices c...

Adding a LVM Cinder Volume

OpenStack

  mkfs.ext /dev/md0 mkdir /cinder-vol mount /dev/md0 /cinder-volumes dd if=/dev/zero of=/cinder-vol/cinder-vol bs=1 count=0 seek=3950G losetup /dev/loop2 /cinder-vol/cinder-vol pvcreate /dev/loop2 vgcreate cinder-vol /dev/loop2 Double check your work w...

AVMA - Hyper-V Automatic Virtual Machine Activation

Windows Hyper-V

Open CMD/Powershell slui 3 Guest Operating System Key Windows Server 2012 R2 Essentials K2XGM-NMBT3-2R6Q8-WF2FK-P36R2 Windows Server 2012 R2 Standard DBGBW-NPF86-BJVTX-K3WKJ-MTB6V Windows Server 2012 R2 Datacenter Y4TGP-NPTV9-HTC2H-7...

SAN - Dell Equallogic CLI Notes

Networking

group1> member select MEMBERNAME eth sel 1 NEWIPADDRESS NETMASK group1> grpparams group-ipaddress IPADDRESS Then go back and fix the other network. group1> member select MEMBERNAME eth sel 0 NEWIPADDRESS NETMASK Then set the new default gateway ...

Dell PowerConnect Switch CLI

Networking

Adding a VLAN to a port-channel Add the VLAN to the DB vlan database vlan 4082 Check ARP respose from uplinks show bridge address-table show bridge address-table vlan <vlan-num> Add the VLAN to the port-channel for the UPLINKS interface port-chan...

Configuring DR Replica

Windows Hyper-V

Open failover cluster manager Right click the Cluster -> Select "Configure Role"  Click next -> select Hyper-V Replica Broker   Fill in the information (Choose an available IP from his subnet) Create SSL ...

Linux - Netplan

Networking

This new tool replaces the static interfaces (/etc/network/interfaces) on ubuntu 18.04 DHCP network: version: 2 renderer: networkd ethernets: ens33: dhcp4: yes dhcp6: no Static IP network: version: 2 renderer: networkd ethernets...

Cisco ASA - AnyConnect VPN

Networking

Enable webvpn webvpn enable outside anyconnect image disk0:/anyconnect-win-4.0.00061-k9.pkg 1 anyconnect image disk0:/anyconnect-macosx-i386-4.0.00061-k9.pkg 2 anyconnect image disk0:/anyconnect-linux-64-4.0.00061-k9.pkg 3 anyconnect enable tunnel...

IPMI (SuperMicro)

Other

Update your firmwareftp://ftp.supermicro.com/utility/IPMI%20FW%20flash%20tools/SMT/ ./lUpdate.sh -f SMT_X9_130.bin -i kcs -r n IPMICFG https://www.supermicro.com/SwDownload/SwSelect_Free.aspx?cat=IPMIftp://ftp.supermicro.com/utility/IPMICFG/ Foncti...

Reset MySQL root password

Linux MySQL

Stop MySQL systemctl stop mysqld Set the MySQL environment option systemctl set-environment MYSQLD_OPTS="--skip-grant-tables" Start MySQL using the options you just set systemctl start mysqld Login as root mysql -u root For MySQL 5.7 or later UPDATE m...

Powershell

Windows

Change vswitch from internal to external Set-VMSwitch -Name vSwitch -NetAdapterName bond0 If you have a duplicate Get-VMNetworkAdapter -VMName svtest | ? MacAddress -eq '000000000000' | Remove-VMNetworkAdapter Roles&Features Install List Get-Windows...

MS SQL Commands

Windows MS SQL

Rename a domain user: ALTER LOGIN [OLD_DOMAIN\Administrator] WITH NAME = [NEW_DOMAIN\Administrator];  

SQL Server 2016 Step by Step: Creating AlwaysOn Availability Group

Windows MS SQL

Table of Contents Prerequisites: This environment: SQL Server Installation Failover Cluster Installation Windows Failover Clustering Configuration for Always On Availability Groups Configure Cluster Quorum Settings Listener Always On Avai...

OpenStack MySQL command

OpenStack

Force delete snapshot use cinder; update snapshots set status='deleted', deleted='1' where id ='<id>'; update snapshots set status='deleted', deleted='1' where id = '<id>';

Fedora Build ACS Override Patch Kernel

Linux

Add RPM Fusion sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm Install the dependencies to ...

S2D Force remove a drive

Windows Hyper-V

To verify that all drives are healthy and operational : Get-PhysicalDisk Get the FriendlyName of the device : Get-PhysicalDisk | ft FriendlyName Retire the disk : Set-PhysicalDisk -FriendlyName "<DeviceName>" -Usage Retired Find the name of the Vir...

Chef notes

Linux

run cookbook locallychef-client --local-mode recipes/default.rb genrate cookbook chef generate cookbook cookbooks/apache add a node in chef knife bootstrap 192.168.2.153 -N node-chef.myhypervisor.ca --ssh-user root show node details knife node show -l node-...

Kubernetes the hard way

Linux

node notes kube-1 192.168.1.8 192.168.2.151kube-2 192.168.1.10 192.168.2.162kube-3 192.168.1.6 192.168.2.157kube-4 192.168.1.7 192.168.2.154kube-lb 192.168.1.13 192.168.2.170 Controller components kube-apiserver: Serves the Kubernetes API. This allows user...

Kubernetes install with kubeadm

Linux

Network Example 10.10.11.20 kubemaster kubemaster.myhypervisor.ca 10.10.11.30 kube1 kube1.myhypervisor.ca 10.10.11.36 kube2 kube2.myhypervisor.ca Disable SELinux. setenforce 0 sed -i --follow-symlinks 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/sysconf...