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
- name: Install raid monitoring scripts | |
template: src={{ item }}_mon.sh.j2 dest=/usr/local/sbin/{{ item }}_mon.sh | |
with_items: "{{ hostRaids }}" |
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
-----BEGIN PGP MESSAGE----- | |
Version: GnuPG v1.4.15 (GNU/Linux) | |
owFtkX9IE2EYxzdbP5QsSUoIlXhXgbHk7r3b3W2kIDQ0KGayAqEc9969N8/hbd7m | |
ak0bZjFCyZGQUSJCioJY9EMokUyLFPqxfwIxKc3IpKjAqWBQdif2n+8/D+/3+Xy/ | |
PA9PPH2TIcVY8ibbJEZ8HcZXz+aRwXUlVh4ByCeGgT0CvHitSLLiwapflZUgsANI | |
sZAUBIQlGvFYJBiCFUjBKtCcIJICQTM0ixjJhoEFVPoCukOLQXwA58s+TdM+blnU | |
1A342rWGgBgkYNrGipASGBumJchAFtFQRBAzBKGDAawqfDXWaVnBXlBvAZoUkgWs | |
D7ze8sjBylq0Ac6RhO4Ihv26dA4j97rZjWRF1LbVPCGsBmSfAuykRgpBWXeTNMkR | |
FEswpAXg835ZxW5ZJ6wswxHaswC/ikNaJE9BbINWLGICUyJHQYRsEs9SBOZYhoQS |
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
[dpa11] | |
172.22.1.5 | |
[dpascreen:children] | |
dpa11 | |
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
my rules: | |
rule protected_update deny wildcard | |
users %@% match any rules protected_update | |
maxscale log: | |
MariaDB Corporation MaxScale /var/log/maxscale/maxscale1.log Tue Apr 19 08:36:23 2016 | |
----------------------------------------------------------------------- | |
2016-04-19 08:36:23 notice : Configuration file: /etc/maxscale.cnf |
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
#!/usr/bin/python | |
import requests | |
loadTest= requests.get("https://cmsweb.cern.ch/phedex/datasvc/json/debug/loadteststreams",params={"node":"T2_PL_Warsaw"},verify=False ) | |
import json | |
print(json.dumps(loadTest.json(),indent=4)) | |
result=loadTest.json() |
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
#!/usr/bin/python | |
import requests | |
import json | |
subscriptions=requests.get("https://cmsweb.cern.ch/phedex/datasvc/json/prod/subscriptions",params={"node":"T2_PL_Warsaw", "dataset": "/*/*/*"},verify="/etc/grid-security/certificates/CERN-Root-2.pem",cert=('/home/phedex/.globus/usercert.pem','/home/phedex/.globus/userkey.pem') ) | |
subscriptions=subscriptions.json() | |
for dataSet in subscriptions["phedex"]["dataset"]: |
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
package accountUnlocker; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.List; | |
import org.apache.hc.client5.http.entity.UrlEncodedFormEntity; | |
import org.apache.hc.client5.http.impl.sync.BasicResponseHandler; |
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
[cinek@plkra-mas01 ~]$ az vm create -n MarcinStolarek-testVM4 --data-disk-sizes-gb 5 --image RedHat:RHEL:6.9:6.9.2017090105 --generate-ssh-keys -g MarcinStolarek-Test --subnet "/subscriptions/2acd5a86-da24-4bde-8f81-388f40143d4f/reso | |
urceGroups/MarcinStolarek-Test/providers/Microsoft.Network/virtualNetworks/VN1-Hybrid-HPCC-EMEA/subnets/subnet-1" | |
{ | |
"fqdns": "", | |
"id": "/subscriptions/2acd5a86-da24-4bde-8f81-388f40143d4f/resourceGroups/MarcinStolarek-Test/providers/Microsoft.Compute/virtualMachines/MarcinStolarek-testVM4", | |
"location": "westeurope", | |
"macAddress": "00-0D-3A-2B-BB-74", | |
"powerState": "VM running", | |
"privateIpAddress": "10.0.0.5", | |
"publicIpAddress": "52.233.185.204", |
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
[root@centos6 cinek]# yum install azure-cli | |
Loaded plugins: fastestmirror | |
Setting up Install Process | |
Loading mirror speeds from cached hostfile | |
* base: centos.mirror.transip.nl | |
* epel: epel.besthosting.ua | |
* extras: centos.mirror.triple-it.nl | |
* updates: centos.mirror.transip.nl | |
Resolving Dependencies | |
--> Running transaction check |
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
bash-3.2$az vm create -n TestVMAddedResources -g MarcinStolarek-Test --image Centos | |
bash-3.2$ az resource list -g MarcinStolarek-Test -o table | grep -i added | |
TestVMAddedResources_OsDisk_1_fecc20a7014d41769a074c21d4c27c92 MARCINSTOLAREK-TEST westeurope Microsoft.Compute/disks | |
TestVMAddedResources MarcinStolarek-Test westeurope Microsoft.Compute/virtualMachines | |
TestVMAddedResourcesVMNic MarcinStolarek-Test westeurope Microsoft.Network/networkInterfaces | |
TestVMAddedResourcesNSG MarcinStolarek-Test westeurope Microsoft.Network/networkSecurityGroups | |
TestVMAddedResourcesPublicIP MarcinStolarek-Test westeurope Microsoft.Network/publicIPAddresses | |
bash-3.2$ az vm delete -g MarcinStolarek-Test -n TestVMAddedResources | |
Are you sure you want to perform this operation? (y/n): y |
OlderNewer