[Openstack] Multiples storages
Guilherme Russi
luisguilherme.cr at gmail.com
Fri Nov 8 21:36:13 UTC 2013
Very thanks again.
Best regards.
2013/11/8 Razique Mahroua <razique.mahroua at gmail.com>
> Oh yah true!
> not sure “conductors” exist yet for Cinder, meaning meanwhile, every node
> needs a direct access to the database
> glad to hear it’s working :)
>
> On 08 Nov 2013, at 08:53, Guilherme Russi <luisguilherme.cr at gmail.com>
> wrote:
>
> Hello again Razique, I've found the problem, I need to add the grants on
> the mysql to my another IP. Now it's working really good :D
> I've found this link too if someone needs:
> http://docs.openstack.org/admin-guide-cloud/content//managing-volumes.html
>
> Thank you so much, and if you need me just let me know.
>
> Best regards.
>
> Guilherme.
>
>
>
> 2013/11/8 Guilherme Russi <luisguilherme.cr at gmail.com>
>
>> Hello Razique, I got a couple of doubts, do you know if I need to do
>> something else that's is not on the link you sent me? I'm asking because I
>> followed the configuration but it's not working, here is what I get: I've
>> installed the cinder-volume at the second computer that have the HD, and
>> I've changed it's cinder.conf. I've changed too the master's cinder.conf
>> like is following:
>>
>>
>> [DEFAULT]
>> rootwrap_config = /etc/cinder/rootwrap.conf
>> sql_connection = mysql://cinder:password@localhost/cinder
>> api_paste_confg = /etc/cinder/api-paste.ini
>> #iscsi_helper=iscsiadm
>> #iscsi_helper = ietadm
>> iscsi_helper = tgtadm
>> volume_name_template = volume-%s
>> #volume_group = cinder-volumes
>> verbose = True
>> auth_strategy = keystone
>> iscsi_ip_address = 192.168.3.1
>> scheduler_driver=cinder.scheduler.filter_scheduler.FilterScheduler
>>
>> # Rabbit authorization
>> rabbit_host = localhost
>> rabbit_port = 5672
>> rabbit_hosts = $rabbit_host:$rabbit_port
>> rabbit_use_ssl = false
>> rabbit_userid = guest
>> rabbit_password = password
>> #rabbit_virtual_host = /nova
>>
>> state_path = /var/lib/cinder
>> lock_path = /var/lock/cinder
>> volumes_dir = /var/lib/cinder/volumes
>> #rpc_backend = cinder.rpc.impl_kombu
>>
>> enabled_backends=orion-1,orion-4
>> [orion-1]
>> volume_group=cinder-volumes
>> volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
>> volume_backend_name=LVM_iSCSI
>> [orion-4]
>> volume_group=cinder-volumes-2
>> volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver
>> volume_backend_name=LVM_iSCSI
>>
>> The cinder.conf on the second computer is like this but the IPs are
>> changed with the controller IP (It has the cinder-api), and when I run
>> service cinder-volume restart at the second computer it's status is
>> stop/waiting.
>>
>> Any ideas?
>>
>> Thanks :)
>>
>>
>> 2013/11/8 Razique Mahroua <razique.mahroua at gmail.com>
>>
>>> sure :)
>>>
>>> On 08 Nov 2013, at 05:39, Guilherme Russi <luisguilherme.cr at gmail.com>
>>> wrote:
>>>
>>> Oh great! I'll try here and send you the results.
>>>
>>> Very thanks :)
>>>
>>>
>>> 2013/11/8 Razique Mahroua <razique.mahroua at gmail.com>
>>>
>>>> If I’m not mistaken, you only need to install the “cinder-volume’
>>>> service that will update its status to your main node
>>>> :)
>>>>
>>>> On 08 Nov 2013, at 05:34, Guilherme Russi <luisguilherme.cr at gmail.com>
>>>> wrote:
>>>>
>>>> Great! I was reading the link and I have one question, do I need to
>>>> install cinder at the other computer too?
>>>>
>>>> Thanks :)
>>>>
>>>>
>>>> 2013/11/8 Razique Mahroua <razique.mahroua at gmail.com>
>>>>
>>>>> Ok in that case, with Grizzly you can use the “multi-backends” feature:
>>>>> https://wiki.openstack.org/wiki/Cinder-multi-backend
>>>>>
>>>>> and that should do it :)
>>>>>
>>>>> On 08 Nov 2013, at 05:29, Guilherme Russi <luisguilherme.cr at gmail.com>
>>>>> wrote:
>>>>>
>>>>> It is a hard disk, my scenario is one Controller (where I have my
>>>>> storage cinder and my network quantum) and four compute nodes.
>>>>>
>>>>>
>>>>> 2013/11/8 Razique Mahroua <razique.mahroua at gmail.com>
>>>>>
>>>>>> ok !
>>>>>> what is your actual Cinder backend? Is it a hard disk, a SAN, a
>>>>>> network volume, etc…
>>>>>>
>>>>>> On 08 Nov 2013, at 05:20, Guilherme Russi <luisguilherme.cr at gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>> Hi Razique, thank you for answering, I want to expand my cinder
>>>>>> storage, is it the block storage? I'll use the storage to allow VMs to have
>>>>>> more hard disk space.
>>>>>>
>>>>>> Regards.
>>>>>>
>>>>>> Guilherme.
>>>>>>
>>>>>>
>>>>>>
>>>>>> 2013/11/8 Razique Mahroua <razique.mahroua at gmail.com>
>>>>>>
>>>>>>> Hi Guilherme !
>>>>>>> Which storage do you precisely want to expand?
>>>>>>>
>>>>>>> Regards,
>>>>>>> Razique
>>>>>>>
>>>>>>>
>>>>>>> On 08 Nov 2013, at 04:52, Guilherme Russi <
>>>>>>> luisguilherme.cr at gmail.com> wrote:
>>>>>>>
>>>>>>> > Hello guys, I have a Grizzly deployment running fine with 5 nodes,
>>>>>>> and I want to add more storage on it. My question is, can I install a new
>>>>>>> HD on another computer thats not the controller and link this HD with my
>>>>>>> cinder that it can be a storage too?
>>>>>>> > The computer I will install my new HD is at the same network as my
>>>>>>> cloud is. I'm asking because I haven't seen a question like that here. Does
>>>>>>> anybody knows how to do that? Have a clue? Any help is welcome.
>>>>>>> >
>>>>>>> > Thank you all.
>>>>>>> >
>>>>>>> > Best regards.
>>>>>>> > _______________________________________________
>>>>>>> > Mailing list:
>>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>> > Post to : openstack at lists.openstack.org
>>>>>>> > Unsubscribe :
>>>>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131108/808d4a48/attachment.html>
More information about the Openstack
mailing list