UPWORK/ODESK guru: Tips and Tricks for clients

skype: odesk.by / upwork.link , email: [email protected]/upwork.link

OpenStack : Что такое нафиг OSLO, читаем о исходе

without comments

http://docs.openstack.org/project-team-guide/oslo.html

Written by spectre

February 13th, 2017 at 3:48 pm

Posted in Openstack

OpenStack : Glance питоньячий костыль командной строки

without comments

В отличии от консольного ‘opestack’, который может что-то сказать членораздельно о не нужных параметрах вызова, это поделка путает места параметров и типы ошибок.

Так при наличии параметров:

--os-identity-api-version 
или
--os-auth-type password

Она будет уперто выплевывать

#glance: error: argument : invalid choice: u'password' (choose from 'explain', 'image-create', 'image-delete', 'image-download', 'image-list', 'image-show', 'image-tag-delete', 'image-tag-update', 'image-update', 'image-upload', 'location-add', 'location-delete', 'location-update', 'md-namespace-create', 'md-namespace-delete', 'md-namespace-import', 'md-namespace-list', 'md-namespace-objects-delete', 'md-namespace-properties-delete', 'md-namespace-resource-type-list', 'md-namespace-show', 'md-namespace-tags-delete', 'md-namespace-update', 'md-object-create', 'md-object-delete', 'md-object-list', 'md-object-property-show', 'md-object-show', 'md-object-update', 'md-property-create', 'md-property-delete', 'md-property-list', 'md-property-show', 'md-property-update', 'md-resource-type-associate', 'md-resource-type-deassociate', 'md-resource-type-list', 'md-tag-create', 'md-tag-create-multiple', 'md-tag-delete', 'md-tag-list', 'md-tag-show', 'md-tag-update', 'member-create', 'member-delete', 'member-list', 'member-update', 'task-create', 'task-list', 'task-show', 'bash-completion', 'help', 'bash_completion')

Дайте студентам фламастеры и гоните горе кодеров из ПТУ …

Written by spectre

February 13th, 2017 at 2:10 pm

Posted in Openstack

OpenStack : OpenStackClient (python-openstackclient) общий клиент коммандной строки

without comments

питонячий костыль в студии:

OpenStackClient (aka OSC) is a command-line client for OpenStack that brings the command set for Compute, Identity, Image, Object Store and Volume APIs together in a single shell with a uniform command structure. The primary goal is to provide a unified shell command structure and a common language to describe operations in OpenStack.

Где и что искать об этом костыле:

Read the rest of this entry »

Written by spectre

February 12th, 2017 at 3:07 pm

Posted in Openstack

OpenStack : компоненты хранилищ – Swift и Cinder

without comments

https://www.ibm.com/developerworks/ru/library/cl-openstack-swift-cinder/#N10108

Written by spectre

February 8th, 2017 at 2:41 pm

Posted in Openstack

Mdadm Chaet Sheet – 6 tips

without comments

Mdadm is the modern tool most Linux distributions use these days to manage software RAID arrays; in the past raidtools was the tool we have used for this. This cheat sheet will show the most common usages of mdadm to manage software raid arrays; it assumes you have a good understanding of software RAID and Linux in general, and it will just explain the commands line usage of mdadm. The examples bellow use RAID1, but they can be adapted for any RAID level the Linux kernel driver supports.

Read the rest of this entry »

Written by spectre

February 7th, 2017 at 4:40 pm

Posted in Arrays and Disks

google the ISP with 2^96 IPv6 addresses

without comments

Google has 79 billion billion billion IPv6 addresses, is buying up massive amounts of dark fiber, and building a massive data center. Just what is Google up to?

Read the rest of this entry »

Written by spectre

December 16th, 2016 at 1:12 pm

Posted in CSF,ipv6

Conversion table types in MySQL #2

without comments

Sometimes it is necessary to convert a MySQL table in an existing database. For example, I ran into this with the need to create relationships between tables through the foreign key. As it turned out, the default MySQL MyISAM engine does not support this. To create a link table must be of type InnoDB. But this is not a big problem, because you can convert the table. To convert a single table SQL query is enough (which can be done, for example, through phpmyadmin):

Read the rest of this entry »

Written by spectre

December 12th, 2016 at 3:07 pm

Posted in Mysql

Convert MyISAM in InnoDB for WordPress

without comments

Recently I migrated all MyISAM tables to InnoDB for some WP sites of clients.

I saw some improvement in mysql performance, specially when editing posts. I think earlier parallel write on

1
wp_posts

table were getting blocked because MyISAM do not support row-level locking.

Read the rest of this entry »

Written by spectre

November 12th, 2016 at 3:24 pm

Posted in Mysql

Synnefo – Pithos – API: Incompatible with ‘Openstack object storage API’ for python-swiftclient – Openstack.

without comments

Synnefo Pithos declares, that a full compatible with ‘Openstack object storage API’. And what can be used with ANY cli client on this level (https://www.synnefo.org/docs/synnefo/latest/pithos.html).


…Pithos runs at the cloud layer and exposes the OpenStack Object Storage API to the outside
world, with custom extensions for syncing.
Any client speaking to OpenStack Swift can also be used to store objects
in a Pithos deployment…

It is lie in some cases ….

Read the rest of this entry »

Written by spectre

August 18th, 2016 at 2:05 pm

Linux – configuring multicast – via C application.

without comments

Configuring the Kernel for multicast

ref: http://www.linuxjournal.com/article/3041

To use multicast, the kernel configuration requires the CONFIG_IP_MULTICAST option to be set.
Use ifconfig to enable and disable all-multicast mode. Disable promisc by running:

Read the rest of this entry »

Written by spectre

May 21st, 2016 at 2:26 pm

Posted in Tips and Tricks