Действительно ли полезно развернуть OpenStack на единственном узле?

если пользователи используют sudo или их корень su, я не думаю, способ, которым можно сказать, но я думаю, что можно сделать это:

добавьте команду, которая ищет время работы сервера - если время работы является очень очень низким, поскольку в только запускается затем, можно ПРЕДПОЛОЖИТЬ, что это - запуск сервера, и Вы делаете логику вокруг этого.

uptime | awk '{print $3}' # prints the minutes since the host is up
2
задан 14 March 2014 в 16:30
1 ответ

OpenStack will run fine on a single machine, and this is indeed a useful setup in scenarios like evaluation or developing OpenStack itself. A tool called PackStack, which is available on RHEL variants, makes it pretty easy to deploy.

But OpenStack is probably overkill for your scenario, unless you plan to expand to multiple physical servers in the future. If this is the case, you should take the time to get OpenStack up now, which will make expanding easier in the future.

If you don't plan to expand, then just using straight up KVM (with libvirt?) is fine. You can run virt-manager on your desktop and manage the remote machine with it. It automatically sets up an ssh tunnel to the remote machine to do this. Note that you have to place your ssh public key in the authorized_keys for root on the remote server in order to do this, and set PermitRootLogin without-password instead of no on the server's ssh daemon.

And if circumstances change later, it's pretty easy to import KVM virtual machines into OpenStack.

5
ответ дан 3 December 2019 в 09:36

Теги

Похожие вопросы