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

86 total results found

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...

New Page

Xen

New Page

Linux

Keepalived LoadBalacing

Linux Cluster

LVS Config ## Pool ID virtual_server <WAN "frontend" IP> 80 { delay_loop 6 lb_algo sh # source hash lb_kind NAT protocol TCP real_server <LAN "backend" IP Server 1> 80 { weight 1...

Kubernetes cluster Administration notes

Linux

Kubectl Show yaml kubectl get deployments/bookstack -o yaml Scale kubectl scale deployment/name --replicas=2 Show all resources for i in $(kubectl api-resources --verbs=list --namespaced -o name | grep -v "events.events.k8s.io" | grep -v "events" | sort ...

Docker Swarm (WIP)

Linux

On master docker swarm init Copy/Paste docker swarm join on all other nodes docker swarm join --token TOKEN IP_ADDRESS:2377 Create a swarm service docker service create --name weather-app --publish published=80,target=3000 --replicas=3 weather-app List D...

DRBD + Pacemaker & Corosync NFS Cluster Centos7

Linux Cluster

On Both Nodes Host file vim /etc/hosts 10.1.2.114 nfs1 nfs1.localdomain.com10.1.2.115 nfs2 nfs2.localdomain.com Corosync will not work if you add something like this: 127.0.0.1 nfs1 nfs2.localdomain.com - however you do not need to delete 127.0.0.1 loc...

Recover GitLab from filesystem backup

Linux

Install new instance/node before proceeding  Install gitlab on server and move postgres DB as backup (Steps bellow for ubuntu) curl -s https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash apt-get install gitlab-ce git...

Ubuntu - Remove and Reinstall MySQL

Linux

Reason i am posting thing is because MySQL leaves to many file behind, this post can be helpful when you try to install mariadb but you ca not because of all the old MySQL files still on your Ubuntu system. apt-get remove --purge mysql* apt-get purge mysql* ...

Distributed memcached on 2 Webserver [CentOS7]

Linux Cluster

Install memcached yum install memcached libmemcached -y vi /etc/sysconfig/memcached Change options to listen to the private IP on both web's: OPTIONS="-l 10.1.1.X -U 0" Restart memcached systemctl restart memcached systemctl enable memcached Edit php i...