Sunday, 22 February 2015

Playing with ceph

Setting up Ceph

To play about with ceph I created some Centos7 nodes on OpenStack, then followed the quickstart.

http://docs.ceph.com/docs/master/start/quick-ceph-deploy/

Had a couple of issues.

Install failed with dependency issues

[admin-node][WARNIN] Error: Package: 1:python-rbd-0.80.7-0.4.el7.x86_64 (epel)
[admin-node][WARNIN]            Requires: librbd1 = 1:0.80.7
[admin-node][WARNIN]            Available: 1:librbd1-0.86-0.el7.centos.x86_64 (Ceph)
[admin-node][WARNIN]                librbd1 = 1:0.86-0.el7.centos
[admin-node][WARNIN]            Installing: 1:librbd1-0.87-0.el7.centos.x86_64 (Ceph)
[admin-node][WARNIN]                librbd1 = 1:0.87-0.el7.centos




Due to some different packaging in the ceph and epel repos - fix found in http://tracker.ceph.com/issues/10476 :


On all nodes:
echo "check_obsoletes=1" >> /etc/yum/pluginconf.d/priorities.conf



Failed adding extra monitors

[node2][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file or directory

I should have set up  'public network', even though the instructions seem to say I don't need it unless I have two networks.

Redoing the install with 'public network' in the ceph.conf fixed this.

No data pool by default

Only had a rbd pool initially. Not sure if this is a problem (the docs say there should be a data and metadata pool by default).

Saturday, 14 February 2015

World of Warcraft on Fedora 21

Instructions copied from
https://blog.mavjs.org/world-of-warcraft-on-f20-via-wine.html

Install wine:

# sudo yum install wine

Download World of Warcraft Setup Installer from https://us.battle.net/account/download/?show=wow.

Run the installer with wine:
 
# cd ~/Downloads/
# wine World-of-Warcraft-Setup-enGB.exe

After the installation completes, it will ask you to login to your Battlenet Account. Instead, quit the application. Then tell it to use software rendered OpenGL by executing (it has a bug where the interface is just black canvas on some intel cards):
 
% export LIBGL_ALWAYS_SOFTWARE=1
% wine ~/.wine/drive_c/Program\ Files\ (x86)/Battle.net/Battle.net\ Launcher.exe

Battlenet actually allows you to play even though it hasn't finished downloading if it has reached a certain downloaded size. Either wait to finish or open the game. When you run it the first time it will take a while and FPS is not that great. Quit the game. Modify SET gxApi "D3D9" to SET gxApi "Opengl" in the following file:
 
$ ~/.wine/drive_c/Program\ Files\ (x86)/World\ of\ Warcraft/WTF/Config.wtf