This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
#Assumes you have created a docker volume named ts3data | |
#docker volume create ts3data | |
docker run --name=ts3 --restart=unless-stopped -p 10011:10011/tcp -p 9987:9987/udp -p 30033:30033/tcp -e TS3SERVER_LICENSE=accept -v ts3data:/home/ts3/data -d devalx/docker-teamspeak3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Find pci devices: | |
(Get-PnpDevice).Where{$_.Class -like '*SCSI*'}|Select-Object -Property FriendlyName,InstanceId | |
FriendlyName InstanceId | |
------------ ---------- | |
Microsoft iSCSI Initiator ROOT\ISCSIPRT\0000 | |
Microsoft Storage Spaces Controller ROOT\SPACEPORT\0000 | |
Dell PERC H200 Adapter PCI\VEN_1000&DEV_0072&SUBSYS_1F1D1028&REV_03\4&866E9CF&0&0010 | |
Dell 6Gbps SAS HBA PCI\VEN_1000&DEV_0072&SUBSYS_1F1C1028&REV_03\4&37CB7C8E&0&0018 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#Updates /etc/hdparm.conf to prevent spindown of disks | |
file=/etc/hdparm.conf | |
cmd=$1 | |
add_disk() | |
{ | |
echo "$1 {" >> $file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upload your CA certificate + key to the vcenter server | |
i.e. | |
scp ./yourca.crt root@vcenter.server.host:/ | |
scp ./yourca.key root@vcenter.server.host:/ | |
ssh to vcenter server | |
run /usr/lib/vmware-vmca/bin/certificate-manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IMPORTANT!!!! | |
Remember to set _ALL_ virtual machines to only boot from the network. As soon as the machine boots the first time and MAAS commissions it, | |
vmware will set the boot device to the first harddrive. You need to change this back to network boot, otherwise MAAS installations will | |
not work as expected. | |
Edit Virtual Machine, Goto VM Options, Expand Boot Options, put a check mark in "The next time the virtual machine boots, force entry into the BIOS setup screen." | |
Start the VM, and enter the BIOS Screen, goto Boot, and move the Local harddrive below the network devices. | |
Save and exit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
actions List actions defined for an application. | |
add-cloud Adds a cloud definition to Juju. | |
add-credential Adds or replaces credentials for a cloud, stored locally on this client. | |
add-k8s Adds a k8s endpoint and credential to Juju. | |
add-machine Start a new, empty machine and optionally a container, or add a container to a machine. | |
add-model Adds a hosted model. | |
add-relation Add a relation between two application endpoints. | |
add-space Add a new network space. | |
add-ssh-key Adds a public SSH key to a model. | |
add-storage Adds unit storage dynamically. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add extra disk to all the machines that host ceph-osd then run | |
juju run-action ceph-osd/0 add-disk osd-devices=/dev/sdb | |
for each ceph-osd changing ceph-osd/0 to /1 /2 etc. | |
* Remember to add at least 4GB of ram to each machine, otherwise lxd and other services will fail to launch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Default gateway = 192.168.0.1 | |
Route network 192.168.0.0/24 -> 192.168.0.1 | |
Route network 192.168.1.0/24 -> 192.168.0.250 | |
Convert to hex, separated with : | |
First part is netmask /24 = 18 | |
18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=NuGet Server | |
After=network.target | |
[Service] | |
WorkingDirectory=/root/nuget | |
ExecStart=/usr/bin/dotnet /root/nuget/BaGet.dll | |
Restart=never | |
#on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SSH to esxi host | |
Run lspci|grep Wells | |
Which should give two lines similar to: | |
0000:00:11.4 Mass storage controller: Intel Corporation Wellsburg AHCI Controller [vmhba0] | |
0000:00:1f.2 Mass storage controller: Intel Corporation Wellsburg AHCI Controller [vmhba1] | |
Run lspci -n|grep vmhba |
OlderNewer