Skip to content

Instantly share code, notes, and snippets.

@GedowFather
GedowFather / openstack-vm-summary.sh
Created October 7, 2013 02:30
BashScript for getting vm summary of OpenStack.
#!/bin/bash
#
# VMの利用状況を集計するスクリプトです。
#
# - jq コマンド必須です
# http://stedolan.github.io/jq/
# # How to install
# wget -O /usr/bin/jq http://stedolan.github.io/jq/download/linux64/jq
# chmod +x /usr/bin/jq
#
@GedowFather
GedowFather / openstack-retire-users-vm-list.sh
Last active December 24, 2015 06:39
BashScript for getting list of OpenStack deleted user's VM.
#!/bin/bash
#
# Keystoneから削除済みのユーザが所有者となっているVMのリストを表示します。
#
# * jq コマンド必須です
# http://stedolan.github.io/jq/
# # How to install
# wget -O /usr/bin/jq http://stedolan.github.io/jq/download/linux64/jq
# chmod +x /usr/bin/jq
#
@GedowFather
GedowFather / percona_backup.sh
Last active April 11, 2024 10:16
Backup & Restore Scripts for Percona XtraBackup
#!/bin/bash
#
# ============================================================
#
# @license This program is free software.
#
# @category Script for Percona Server
# @project Gedow Software
# @package Gedow Percona Utils
# @author GedowFather http://blog.father.gedow.net/
@GedowFather
GedowFather / capacity-scheduler.xml
Created September 3, 2012 06:10
CDH4 configurations
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<configuration>
<!-- Setting up queues -->
<property>
<name>yarn.scheduler.capacity.root.queues</name>
<value>default,tree</value>