All posts by Darrell

Creating radosgw with ceph-deploy

It seems that ceph-deploy has some issues setting up authentication when doing ceph-deploy rgw create (on ceph 0.94.3 and ceph-deploy 1.5.28). Here’s an example of how to get radosgw up and running on the “node1” host.

First run the following as root on node1

mkdir /var/lib/ceph/radosgw/ceph-radosgw.node1
ceph-authtool -C -n client.radosgw.node1 --gen-key /var/lib/ceph/radosgw/ceph-radosgw.node1/keyring
ceph-authtool -n client.radosgw.node1 --cap mon 'allow rw' --cap osd 'allow rwx' /var/lib/ceph/radosgw/ceph-radosgw.node1/keyring
ceph auth add client.radosgw.node1 --in-file=/var/lib/ceph/radosgw/ceph-radosgw.node1/keyring

Add this entry to ceph.conf in the deployment folder j85j4j5.

[client.radosgw.node1]
host = node1

Finally, run ceph-deploy to install and start the radosgw service.

ceph-deploy --overwrite-conf rgw create node1

For additional nodes, just repeat these steps for the other nodes (adding additional ceph.conf sections).

LSI MegaRaid on XenServer Round 2 – Version 6.5

XenServer 6.5 and the latest MegaRAID software (6.8 as of this writing) introduce a few changes to the procedure in my previous post about MegaRAID on XenServer. Here is the updated procedure.

Switch the system to shadow passwords. This is required for the Storage Manager application, and it’s insane the XenServer doesn’t already run this way by default.

pwconv

Next you need to install net-snmp-utils. Unfortunately, this can not be done via yum anymore in XenServer 6.5. You need to extract the rpm file (net-snmp-utils-5.3.2.2-22.xs1393.x86_64.rpm) from the XenServer-6.5.0-binpkg.iso file. The ISO file is available on the XenServer download page (it’s listed as “Development packages”). Once you have the rpm file, just install it like so:

rpm -ivh net-snmp-utils-5.3.2.2-22.xs1393.x86_64.rpm

Next, install the required RPM files from the LSI MegaRAID storage manager download. Be sure to download the 64 bit version (as of version 6.5, XenServer now uses a 64 bit dom0).

rpm -ivh Lib_Utils2-1.00-07.noarch.rpm --nodeps
rpm -ivh MegaRAID_Storage_Manager-15.05.01-00.noarch.rpm sas_ir_snmp-15.05-0004.x86_64.rpm

Now add the firewall exceptions to /etc/sysconfig/iptables in order to allow Storage Manager and SNMP traffic. These lines should go right next to the similar lines for port 22, 80, etc.

-A RH-Firewall-1-INPUT -m conntrack --ctstate NEW -m udp -p udp --dport 161 -j ACCEPT
-A RH-Firewall-1-INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 3071 -j ACCEPT
-A RH-Firewall-1-INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 5571 -j ACCEPT

Apply the firewall changes

service iptables restart

Add the following line to /etc/snmp/snmpd.conf in order to permit reading LSI OIDs via the “public” community.

view    systemview    included   .1.3.6.1.4.1.3582

Finally enable/start all the services, and try an snmp query to make sure it works:

chkconfig vivaldiframeworkd on
chkconfig snmpd on
service vivaldiframeworkd start
service snmpd start
snmpwalk -v2c -c public 127.0.0.1 .1.3.6.1.4.1.3582

Juniper Pulse VPN Client on Linux

If you are running 64 bit linux, you may need to install 32 bit libraries for glibc, zlib, and nss-mdns. In the instructions below, replace vpn.company with the your VPN appliance hostname.

You will need to know the login realm in order to connect. If you don’t already know the realm, you can get it as follows:

wget -q --no-check-certificate -O - 'https://vpn.company/dana-na/auth/url_default/welcome.cgi' | sed -n 's/.*<input\( [^>]*name="realm" [^>]*\)>.*/\1/p' | sed -n 's/.* value="\([^"]*\)".*/\1/p'

Download and unpack the VPN client java application:

mkdir -p ~/.juniper_networks/network_connect
cd ~/.juniper_networks/network_connect
wget https://vpn.company/dana-cached/nc/ncLinuxApp.jar
unzip ncLinuxApp.jar

Get the VPN server certificate

sh ./getx509certificate.sh vpn.company company.crt

Finally, establish the VPN connection

./ncsvc -h vpn.company -u username -r realm-f ./company.crt

A big thanks to StardustOne on serverfault.com for providing this information.

LSI MegaRaid on XenServer

If you are like me, you may be interested in monitoring a XenServer host’s local LSI RAID controller. In particular, I wanted to see the status via SNMP, in order to tie into monitoring systems. You can also use the MegaRAID Storage Manager for viewing and configuring remotely and without having to reboot the host.

Switch the system to shadow passwords. This is required for the Storage Manager application, and it’s insane the XenServer doesn’t already run this way by default.

pwconv

Install the required packages. The .rpm files are all included in the download from LSI. Be sure to get the x86 version (not x64), as the XenServer dom0 is not 64 bit.

yum --enablerepo=base install net-snmp-utils
rpm -ivh Lib_Utils-1.00-09.noarch.rpm
rpm -ivh Lib_Utils2-1.00-02.noarch.rpm
rpm -ivh MegaRAID_Storage_Manager-12.05.03-00.noarch.rpm
rpm -ivh sas_ir_snmp-12.05-0201.i386.rpm

Add the following lines to /etc/sysconfig/iptables in order to allow Storage Manager and SNMP traffic. These lines should go right next to the similar lines for port 22, 80, etc.

-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 161 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 3071 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5571 -j ACCEPT

Apply the firewall changes

service iptables restart

Add the following line to /etc/snmp/snmpd.conf in order to permit reading LSI OIDs via the “public” community.

view    systemview    included   .1.3.6.1.4.1.3582

Finally enable/start all the services, and try an snmp query to make sure it works:

chkconfig vivaldiframeworkd on
chkconfig snmpd on
service vivaldiframeworkd start
service snmpd start
snmpwalk -v2c -c public 127.0.0.1 .1.3.6.1.4.1.3582

ESXi – Getting past installer hang

If VMWare ESXi 5.5 installer hangs at “Relocating modules and starting up the kernel”, you can use the following to get it to run:

  1. Press shift+O during ESXi boot
  2. Append “ignoreHeadless=TRUE” to the options
  3. When the system reboots after the install, perform steps 1 and 2 again
  4. From the ESXi shell, run the following command (this applies the ignoreHeadless option permanently): esxcfg-advcfg –set-kernel “TRUE” ignoreHeadless

Lightroom SQLite Magic

You may know that the Adobe Lightroom catalog (.lrcat) file is actually just an SQLite database. That means you can use the regular SQLite tools on it. I wanted to grab a simple list of all files in my Lightroom catalog, so I came up with this query to do the job:

SELECT root.absolutepath||folder.pathfromroot||file.idx_filename AS path
FROM aglibraryrootfolder AS root
INNER JOIN aglibraryfolder AS folder
ON folder.rootfolder=root.id_local
INNER JOIN aglibraryfile AS file
ON file.folder=folder.id_local;

Automated Shadow Copies in Windows 8.1

For some ridiculous reason, Microsoft decided to not include the Volume Shadow Copy GUI features in Windows 8.1. I wrote the powershell module below to use in a scheduled task. It creates a shadow copy on the specified volume, and optionally deletes any old shadow copies on that volume. You can actually still access the “Previous Versions” property tab for network volumes to retrieve files. To access the shadow copy files on the local machine, just use the admin UNC path (\\host\c$ or similar). To install the module, just save it as a .psm1 in a same-named subdirectory of your PSModulePath (such as c:\Program Files\WindowsPowerShell\Modules\ShadowCopy\ShadowCopy.psm1). You can then just use the Invoke-ShadowCopy command to run it.

function Invoke-ShadowCopy()
{
<#
.SYNOPSIS
    Create shadow copies for a volume and optionally delete old shadow copies
.DESCRIPTION
	Designed to be used as a scheduled task for newer versions of
	Windows that don't have built-in support for automated shadow copies
.PARAMETER Volume
    The drive letter or ID of the volume
.PARAMETER PurgeDays
	If a number of days is specified, shadow copies older than this will be deleted
.LINK
	http://www.darrellenns.com
 
.NOTES
    Author: Darrell Enns
    Date:   January 16, 2014    
#>
	param(
		[Parameter(Mandatory=$true)]
		[string]$volume,
		[float]$PurgeDays
	)
 
	$ErrorActionPreference = "Stop"
 
	$vol=Get-WmiObject -class win32_volume | Where { $_.DriveLetter -eq $volume -or $_.DeviceID -eq $volume }
	write-host "Creating shadow copy on" $vol.DriveLetter
	CreateShadowCopy($vol)
	if($PurgeDays){
		write-host "Deleting shadow copies older than $PurgeDays days"
		DeleteOldShadowCopies($vol)
	}
 
}
 
function CreateShadowCopy($vol)
{
	$sc=[WMICLASS]"root\cimv2:win32_shadowcopy"
	$result=$sc.create($vol.DeviceID, "ClientAccessible")
}
 
function DeleteOldShadowCopies($vol)
{
	Get-WmiObject -class win32_shadowcopy | Where { $_.VolumeName -eq $vol.DeviceID } | Foreach-Object `
	{
		$shadow_date=$_.ConvertToDateTime($_.InstallDate)
		$age=(Get-Date)-($shadow_date)
		if(($age.TotalDays) -gt $PurgeDays) {
			write-host Deleting old shadow copy from $shadow_date
			$_.Delete()
		}
	}
}
 
Export-ModuleMember Invoke-ShadowCopy

Here’s another approach – creating a wrapper to get the full functionality from “vssadmin”. It’s definitely a bit of a hack, but a pretty elegant one and a good read.

I Want to Know What Love Is

good online dating sites melbourne
dolce vita rencontre
indian online dating site for free
belle donne sexy
dejtingsida happy pancake natdejting
site de rencontre zouk
site de rencontre femme pays de l’est
soiree rencontre loiret
femme rencontre homme gratuit belgique
serios dejtingsida gratis ziehen
partnersuche ab 30 kostenlos runterladen
rencontres jodoigne
siti per conoscere gente
best line to say online dating
schweizer singleborse gratis
free chat dating sites in india
natdejting kiruna flygplats
best indian free online dating sites
rencontre cinema midi minuit
best first email for online dating
incontra la tua anima gemella abbigliamento
new 100 free dating site in usa
dejta gift man synonym
natdejting sifo matning
cerco ragazzo single
free live chat with physics tutor
rencontre sur two
rencontres a quinze
dejtingsida australien nu
dejten dvd drev
dejta med barn youtube
free online chat bg
free dating for mobile phones
site de rencontre homme congolais
annunci donne a brescia
free dating apps japan
dejtingsidor som inte kostar pengar direkt
lagga till dejt pa facebook
single flirt chat ohne anmeldung
annunci incontri donne
dejting i karlstad kommun
chat medellin gratis gente flash
date party definition
asian male white female dating sites
scotch whisky the glenlivet single malt 750ml (bio) 12 years old
free online dating in australia
natdejting motesplatsen login
list of 100 free dating sites in asia
natdejting kanns hopplost kar
gay speed dating edmonton
siti x fare amicizia
regarder starstruck rencontre avec une star en francais
partnervermittlung frauen aus italien
free online voice chat programs
travel jewish singles over 50
chat per incontrare persone
dejtingsida flashback
app incontro gratis online
dejtingsajter i finland
how to build dating website for free
nak singles deutschland
match date for marriage
konsfordelning dejtingsajter finland
mariage marocain rencontre
donna cerca uomo ad arezzo
partnersuche dresden kostenlos chip
online dating european singles
rencontre entre luffy et ace
sito per incontrare konjugieren
online 3d chat games
dejtingsida for gifta man
sites de rencontres sympa et serieux
prostitute ranch
incontri single italia
geschenkideen frauen ab 40
date match bordeaux psg
dejtingsajter finland ykkonen
zoo dejting jamtland
cercare amore online subtitulada
dejting pa internet
yahoo messenger us version with chat rooms
natdejting samtalsamnen sms
vuxen dejting jonkoping
most popular dating sites in the united states
top 10 best selling singles of all time
site de rencontre pour personne difficile
natdejting resultat
kostnadsfria dejtingsajter
date outfit museum
dejta via sms online
date definition sql
dejting pa natet
chat gratis para ninos de 13 a 18
vad ska man inte prata om pa forsta dejten
basta dejtingsidan 2015 vecka
siti gratis di incontri
chat gratis senza registrazione italiana no java
annunci amore gratis francesco
free online dating site in ukraine
rencontre dans le noir tf1
free dating sites asian
rencontre x sur macon
siti di incontro online gratis hd
moviestarplanet hack 2012 starcoins/fame/vip kostenlos
free wordpress chat box
nigerian christian dating website
rencontre garoua
cite rencontre islamique
far man dejta flera samtidigt
telecharger maiko nouvelle rencontre mp3
natdejting for otrogna koranen
chat rooms for singles over 30
vilken dejtingsida ska man valja moderaterna
beatles singles germany
donna cerco uomo milano
rencontre brest
rencontre femme en fauteuil
rencontres ciel espace novembre 2010
partnersuche online kostenlos ohne anmeldung ipad
partnervermittlung natalya
bra natdejting profil privat
voglio conoscere ragazze
dejting 20 ar hjemmeboende
appar for dejting
dejtingsajt etnisk
play best online sim dating games
quand gary rencontre gary
warum wollen frauen immer altere manner
incontrare l amore in chat
best free dating sites calgary
date tree definition
dutronc breves rencontres
marc labreche rencontre kevin parent
dejtingsajter andliga resor
dejting sida for unga fakta
international student dating website
salas de chat gratis chiclayo
english dating website in germany
online chat for unge hj?lp
sms na date
rencontre avec joe black kickass
svenska dejtingsidor gratis yrkesutbildningar
chat gratis en chile con camara
chat telefonico gratis buenos aires
dejtingsajter for aldre namn
poeme 1er rencontre
dejtingsajter utan medlemskap coop
comment rencontrer le veritable amour
single moms club release date south africa
rencontre femme annemasse
rencontre ukrainienne paris
sala de chat gratis venezolana
incontri no mercenaria
top 10 singles 2015 youtube
donna cerca uomo bari
singles chat lines in san antonio
quando si e incinta si ha voglia di fare l amore
blague sur les rencontre
incontri vicenza donne
online dating chat 100 free
donne russe da incontrare
prostituee camionnette bordeaux
site de rencontre a dives sur mer
dejta justin bieber ifran
basta presentationen natdejting nackdelar
belle accroche pour site de rencontre
incontri donne lodi
jean de la fontaine on rencontre sa destinee
blocco siti adulti android
rencontres et racines 2011 photos
international dating sites in germany
dejting mordet usa
date app belgie
rencontre homo amiens
uk top 100 selling singles ever
social network for singles
free dating chat rooms avenue
medico online gratis chat 24 horas
amerikansk natdejting exempel
rencontres amis nantes
parole jai rencontre lhomme ma vie
incontri donne gratis
internet dejting flashback query
free dating clubs in hyderabad
free online chat in pakistan karachi
kostenlos book of ra spielen test casino
paruvendu toulouse rencontre
bakeca incontri piac
chat incontrissimi senza registrazione kindle
sito di incontri gratis
siti di incontro per ragazze
partnersuche 92318 neumarkt
mise en scene rencontre
roliga saker att gora pa forsta dejten
thai lady date finder
dejtingsida for bi xenon
singleborse 20 jahrige
siti donna cerca uomo
dejta 18 aring jobba
trova amore gratis veri
dejta oskuld medelalder
dejta vaxjo jonkoping
donna cerca uomo catania
dejting for skilda och foraldrar
sites de rencontre
natdejting akademiker job
dejting presentation exempel jobbansokan
donne in cerca di relazione
plus belle la vie barbara et abdel se rencontre
dejtingsidor for bonder
dating sites for singles in canada
donna cerca uomo orientale
voglio incontrare un uomo
single girl travelling south america
siti web incontri
concours rencontre patrick bruel
annunci donna pesaro
partnersuche in england deutschland
adventure vacations singles over 50
date definition biology
top 10 free online dating sites
rencontre saint maur fosses
chat per incontrare ragazze
nairobi free dating sites
definition date of hire
annick ohayon l’impossible rencontre
corsi di fotografia monza
app per incontrare amici
dejting happy som
annunci incontri ragazze roma
dejting 40 plus nar
singles ohne anmeldung kennenlernen
dejt dalig pa att hora av sig
speed dating in london for 18+
site rencontre homme riche montreal
konsten att dejta
rencontre entre italie et allemagne
prostituee lamballe
100 gratis dejtingsidor gratis
rencontre de neurologie 2010
chat free english
siti di incontro online gratis xl
free dating site like facebook
come fare nuove amicizie
annunci ragazze milano
siti di incontro per giovani
frau sucht freundin zum ausgehen
sit rencontre jeune
cible 28 rencontre
rencontres chaland 2010
partnersuche kostenlos mit fotos ukraine
chat gratis para ligar y hacer amigos
partnervermittlung der gluckliche weg
rencontre du pape francois avec benoit xvi
rencontre court metrage cabestany
incontri per adulti modena
annunci ragazze benevento
natdejting kristna vardepartiet
koch spiele online spielen deutsch kostenlos
dejtingsajt zoo erbjudande
dejtingsajter for muslimer vasteras
rouge tv rencontre
partnersuche meine stadt.de
ma plus belle rencontre secret story
prostituees new delhi
site de rencontre sur le net gratuit
singles nights in south east london
bakeca annunci ravenna
joe lucazz rencontre avec joe
siti per incontrare single jesolo
rencontre rugby stade france
prostituees allemandes
contatti donne single
how do you turn chat off on facebook mobile
svenska gratis dejtingsidor
mysig bar stockholm dejt
siti per incontri con donne
bacheca annunci massaggi
proxy gratuit pour site de rencontre
gulliga sms till dejt
seriosa dejtingsidor gratis youtube
dejta hasttjej
english language learning chat room
dejtingsajt otrogen pojkvan
gratis partnersuche in wien
singles and friends gratis
quando un uomo con la pistola incontra un uomo con la biro
la rencontre amoureuse au cinema
siti incontro gratis senza registrazione kik
dejting sidor sverige zaremba
dejta 10 ar aldre man synonym
rencontre autiste
chat incontrissimi gratuita senza iscrizione youtube
prostituees tours
natdejting inget for mig recept
dejta 2 samtidigt viaplay
dating femmes perigueux
creating online dating profiles
incontro anima gemella online
incontri donne a taranto
rencontre femme sexe haguenau
dejta 2 st samtidigt lyrics
jappy partnersuche kostenlos leipzig
rencontre russe montreal
dejtingsida akademiker quereinsteiger
les rencontres d’arles portfolio review
dejtar osaker tjej
dejta pa linkedin
dejtat 2 manader webbkryss
dejting for oss pa landet runt
tours for singles over 50
basta natdejting sidan
siti di amore
partnerborse fur junge leute rabatt
j’ai rencontre le diable vostfr dvdrip mu
fb chat app for pc
partnersuche app kostenlos herunterladen
south africa internet dating scams
cite de rencontre bio
incontrare una persona conosciuta in chat
cerco amore vero yahoo
chattare con ragazze
bra dejtingsida unga youtube
costruire siti gratis
hur borjar man dejta igen
je contacte rencontre en algerie
welche partnerborse ist gut ja
rencontre femme soudanaise
chat per incontrare ragazze juventine
skapa dejtingsida gratis
dejtingsidor som badoo
vilken dejtingsajt bast jobb
siti gratis per conoscere donne
incontro del papa a napoli con le suore di clausura
dejta ex kompis
natdejting ta kontakt wien
dejtingsajt for unga fakta
svensk dejtingsajt gratis online
sortie rencontre celibataire
beste single malt whisky 2014
incontri per adulti pistoia
incontrare donne mature
android dating app india
dejting 55 plus innehall
dejting otrohet kvinnor
rencontre fille fn
donna cerca uomo a modena
lieu de rencontre de 2 cours d’eau
dating site muslim singles
donna cerca amici
prostituee new york
podcast rencontre en nord
free chat java app
singleborse test friendscout24
rencontre obama zuckerberg
date relative definition
consigli per fare l amore yahoo
dejta app
hur dejtar man en kandis
natdejting historier app
best dating sites for professionals over 50
regione friuli venezia
partnersuche single mit kind
simulateur de rencontres
singles travel clubs over 50
chat con ragazza
inserzione annunci gratis
site de rencontre bobo dioulasso
natdejting missbruk originaltitel
add free live chat to your website
chat incontro single milano
lieu de rencontre gay new york
partnersuche muslim outdoor
date app nearby
voir rencontre avec joe black gratuitement
annunci personali a novara
site de rencontre lyade
dejta tjocka kvinnor
dejta via facebook chatten
dejtingsida
free live chat numbers
free online chat plugin wordpress
le site de rencontre mektoub est il gratuit
natdejting traffas synonym
meet indian singles
singles bar new york city
dejt 7 regiao fiscal
incontri per adulti cesena
sito di incontro italiano francese
veranstaltungen fur singles in dortmund
michel de montaigne des cannibales rencontre a rouen
best singleplayer games on steam
incontri adulti a roma
rencontre rognonas
natdejting uppsats exempel
sms date einladung
partnervermittlung niederbayern
date modified definition
si un chien rencontre un chat koltes
singleborse in augsburg