Advanced Search
Search Results
80 total results found
Ansible
This Wiki page is a list of examples based of this project i created, for the full project details go to the link below http://git.myhypervisor.ca/dave/grafana_ansible Directory Structure playbook ├── ansible.cfg ├── playbook-example.yml ├── group_vars ...
Adding Adapter on vSwitch
List Adapter Get-VMNetworkAdapterVlan -ManagementOS Adding Adapter Add-VMNetworkAdapter -ManagementOS -Name "Lan" -SwitchName "vSwitch" Add-VMNetworkAdapter -ManagementOS -Name "Wan" -SwitchName "vSwitch" Tagging vlan on Adapter Set-VMNetworkAdapterVlan...
Git
Tags git tag -a v0.1 -m "tagname"git tag v0.1Deletegit tag -d v0.1 Branch Create branchgit branch stageCheck what branch you are ingit statusgit log --oneline --decorategit branch -aSwitch branches or restore working tree files.git checkout stagepush change...
OpenSSL
Check SSL On domain openssl s_client -connect www.domain.com:443 Check a Certificate Signing Request (CSR) openssl req -text -noout -verify -in CSR.csr Check a private key openssl rsa -in privateKey.key -check Check a certificate (crt or pem) openssl x...
Site-to-Site OpenVPN with routes
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
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
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
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
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
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
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
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
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)
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
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
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
Rename a domain user: ALTER LOGIN [OLD_DOMAIN\Administrator] WITH NAME = [NEW_DOMAIN\Administrator];
SQL Server 2016 Step by Step: Creating AlwaysOn Availability Group
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...