본문 바로가기

전체 글

(30)
[Openstack]Trouble Shooting-Live Migration 2023.11.12 Migration을 하면서 원하는 Host에 Instance를 옮기고 싶었는데, 명령어가 되지 않았다. [root@controller ~]# openstack server list --all --long +--------------------------------------+---------+--------+------------+-------------+-----------------------+--------------------------+--------------------------+-----------------+-------------------+----------+------------+-------------+ | ID | Name | Status | Task Stat..
[OpenStack]Live Migration & Cold Migration 2023.11.12 일하다보면 종종 HW에서 Memory나 다른 Disk Fault로 인해 Migration을 진행해야하는 일이 발생한다. Migration의 방법은 크게 2가지로 볼 수 있는데, live Migration과 Cold Mgraion이 있다. Live Migration은 인스턴스가 켜져있는채로 다른 Compute로 이동하는 것이고 Colod Mgraion은 인스턴스가 꺼져있는 상태로 다른 Compute로 이동하는 것이다. 또한 인스턴스 1개씩 옮기는 방법과 Compute에 있는 인스턴스를 명령어 하나로 순차적으로 자동화하여 옮기는 것이 있다. 1. Live Migration(1개씩 옮기는 방법) [사전 확인] Source Node와 Target Node가 Enabled인 상태인지 확인하기 ..
[Rocky9.1]ssh 2023.10.25 VM의 OS를 Rocky로 설치하고 Host인 Window에서 ssh로 접속하려고 했는데 C:\Users\user>ssh root@192.168.56.112 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attac..
[Centos7/Openstack]Openstack Horizon [root@controller ~]# yum install openstack-dashboard Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirror.navercorp.com * centos-ceph-nautilus: mirror.navercorp.com * centos-nfs-ganesha28: mirror.navercorp.com * centos-openstack-stein: mirror.navercorp.com * centos-qemu-ev: mirror.navercorp.com * extras: mirror.navercorp.com * updates: mirror.navercorp.com base..
[Centos7/Openstack]Openstack Neutron 2023.10.07 Controller 2023.10.07 Controller [root@controller ~]# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 229 Server version: 10.3.10-MariaDB MariaDB Server Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(no..
[Error][Centos7/Openstack]Openstack 2023.10.06 저번에 Comptue에 Nova를 설치하고 나서 마지막 단계에서 문제가 생겼다. # systemctl enable libvirtd.service openstack-nova-compute.service # systemctl start libvirtd.service openstack-nova-compute.service 다음과 같은 명령어를 실행핬는데 실행이 되지 않았다. 상태를 확인해보니 다음과 같은 상태였다 [root@compute ~]# systemctl status libvirtd.service openstack-nova-compute.service ● libvirtd.service - Virtualization daemon Loaded: loaded (/usr/lib/system..
[Centos7/Openstack]OpenstackNOVA Controller Prerequisite 1. To create the databases, complete these steps [root@controller ~]# mysql -u root -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 9 Server version: 10.1.20-MariaDB MariaDB Server Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current in..
[Centos7/Openstack]Openstack 구축(9)-Glance MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'localhost' IDENTIFIED BY 'dkagh1.'; Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> MariaDB [(none)]> MariaDB [(none)]> GRANT ALL PRIVILEGES ON glance.* TO 'glance'@'%' \ -> IDENTIFIED BY 'dkagh1.'; Query OK, 0 rows affected (0.00 sec) MariaDB [(none)]> exit Bye 2023.09.28 [root@controller ~]# mysql -u root -p Enter password:..