728x90
반응형

전체 게시글 54

[Ceph] remove OSD/OSD-node 제거

Remove OSD/OSD-node from Ceph running in docker도커로 운영되는 Ceph에서 OSD/OSD노드를 제거하기Env.OS : RHEL 9 ~ / Ubuntu 20.04 ~Ceph : Octopus ~Ceph버전이 Octopus이상부터 docker방식으로 운영된다.* 위 버전은 운영해본 버전을 기재함.    Prep.운영중인 ceph-cluster의 영향이 없도록 불필요한 데이터 이동을 제한.root@mon0:~# ceph osd set nobackfillnobackfill is setroot@mon0:~# ceph osd set nooutnoout is setroot@mon0:~# ceph osd set norecovernorecover is set 제거할 OSD노드에서 서..

Ceph 2025.03.27

[Linux] apache/http 한글 깨짐

# html 페이지 한글 깨짐linux에서 apach2 / httpd 로 html페이지를 띄우면 한글이 깨지는 경우가 발생한다.locale의 LANG을 바꾸면 되지만 다른 설정들의 영향을 줄 수 있다.이에 따라 페이지 설정만을 바꾸는 방법을 남긴다.# apache2/etc/apache2/apache2.conf 수정AddDefaultCharset UTF-8 >#AddDefaultCharset UTF-8 위 수정후에도 동일하다면 아래의 파일도 확인./etc/apache2/conf-available/charset.confAddDefaultCharset UTF-8>#AddDefaultCharset UTF-8   # httpd/etc/httpd/conf/httpd.conf 수정AddDefaultCharset UT..

Linux 2025.03.12

[Openstack] live migration pre-check error

# live migration error [Openstack] nova live-migration# nova live-migration일반 nova migrate 와 다르게 서버를 종료시키지 않고 최소한의 단절로 서버를 이전(host변경)* vm이 있는 Host_A와 옮겨갈 Host_B의 cpu가 동일해야함.  # live migrate..Host_A와 Host_B가 동일한plastic2113.tistory.com위의 라이브 마이그레이션 진행시 에러 발생(nova-compute.log) 및 반응 없음.Host_A와 Host_B가 동일한 cpu라는 가정하에 진행vm이전 방향 : Host_A > Host_B# Env.OS : Rocky 9Openstack : antelope 2023.1# Error 2025..

Openstack 2025.03.07

[Windows] 윈도우에서 파일 찾기_cmd

Windows에서 파일 찾기 (위치, 경로, 파일 검색)파일탐색기로 찾을수 있지만 너무 느리고 오래걸려 선호하지 않음.또, 패턴(*, ?)등을 사용해서 검색하기 위해 cmd창에서 찾는 방법을 소개.GUI(파일 탐색기, 검색)로 찾는 방법은 아래의 공식 링크 참고 Windows에서 파일 찾기 - Microsoft 지원Applies ToWindows 11 Windows 10 Windows 11Windows 10 이러한 방법 중 하나를 사용하여 Windows 11 파일을 찾습니다. 작업 표시줄에서 검색: 작업 표시줄의 검색 상자에 문서의 이름(또는 키워드)를 입력합니다. Psupport.microsoft.comcmd 창 열기키보드의 [Win + R] 키로 실행창을 띄워 cmd입력 후 [확인]Where 명령어...

Windows 2025.02.28

[Openstack] nova live-migration

# nova live-migration일반 nova migrate 와 다르게 서버를 종료시키지 않고 최소한의 단절로 서버를 이전(host변경)* vm이 있는 Host_A와 옮겨갈 Host_B의 cpu가 동일해야함.  # live migrate..Host_A와 Host_B가 동일한 cpu라는 가정하에 진행vm이전 방향 : Host_A > Host_B# nova live-migration --block-migrate [instance_id] [Host_B]# Verifying..Host_B에서 로그 확인# tail -f /var/log/nova/nova-compute.log

Openstack 2025.02.14

[Openstack] manual migration 수동 이전

# 운영중에 nova / openstack 명령어로 vm이 이전되지 않을 때 사용.nova migrate [instance_id] or openstack server migrate [instance_id]  > ERROR... Migration : HOST_A > HOST_B 1. Move vm's disk HOST_A to HOST_B- vm의 disk와 _base파일 등을 옮긴다.root@HOST_A:~# scp [vm's_disk_PATH]/* nova@HOST_B:[vm's_disk_PATH]/root@HOST_A:~# scp [vm's_base_PATH]/[_base_file] nova@HOST_B:[vm's_base_PATH]/  * 여기부터 중요 * important from here*2. ..

Openstack 2025.01.17

[Openstack] volume transfer requset 소유권 변경

# Transferring Cinder, block storage service of Openstack사용하는 버전에 맞게 cinder명령어와 openstack명령어를 적절하게 사용 # The sender(송신자)- Source the Sender credentials# . [sender_openrc] - Create transfer request# cinder transfer-create [volume_id]or# openstack volume transfer request create [volume_id]* [volume_id]는 보내고자 하는 volume의 id - Output+------------+--------------------------------------+| Property | ..

Openstack 2025.01.12

[Ceph] rbd: error: image still has watchers

Symptoms..블록 스토리지를 삭제하는 과정에서 아래와 같은 에러가 발생.rbd: error: image still has watcherslibrbd::image::RemoveRequest: 0x55ce6659a5c0 check_image_watchers: image has watchers - not removingRemoving image: 0% complete...failed.rbd: error: image still has watchersThis means the image is still open or the client using it crashed. Try again after closing/unmapping it or waiting 30s for the crashed client to t..

Ceph 2025.01.03
728x90
반응형