全文検索:
- 01 JuJu Maas Openstack @01_linux:08_仮想化:juju
- il: hoge@hogehoge.com Import SSH keys [] (lp:user-id or gh:user-id):gh:flateight </code> 「Import SSH keys」でLaunchPadかGithubの公開鍵をインポートできる。 この場合flateightの公... <code> vault/0* blocked idle 0/lxd/6 10.108.0.16 8200/tcp ... ialized vault-mysql-router/0* active idle 10.108.0.16
- 21 kernelによってvmstat結果が違う @01_linux:99_その他
- buff cache si so bi bo in cs us sy id wa st 5 0 0 247944 8012 186900 0 0... 0 zombie Cpu(s): 11.0%us, 0.0%sy, 0.0%ni, 87.5%id, 0.0%wa, 0.0%hi, 0.0%si, 1.6%st Mem: 66670... 1 zombie Cpu0 : 99.7%us, 0.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu1 :100.0%us, 0.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu2 :100.0%
- 01 PostgreSQL streaming replica @01_linux:11_データベース:02_postgresql
- -c "UPDATE actor set first_name='BBB' where actor_id=1" UPDATE 1 $ psql -h 172.16.0.52 -U postgres testdb -c "SELECT * FROM actor where actor_id=1" actor_id | first_name | last_name | last_update ----------+------------+---------... tgres testdb -c "SELECT * FROM actor where actor_id=1" actor_id | first_name | last_name | la
- 37 MegaCliのSmart情報 @01_linux:99_その他
- = 37 MegaCliのSmart情報 ====== ===== MegaCliでDevice ID確認 ===== <code> # /opt/MegaRAID/MegaCli/MegaCli64... Adapter #0 Enclosure Device ID: 64 Slot Number: 0 Drive's position: DiskGroup: 0, Span: 0, Arm: 0 Enclosure position: N/A Device Id: 2 WWN: 5000c5007b397b66 Sequence Number: 2 Media... lagged a S.M.A.R.T alert : No Enclosure Device ID: 64 Slot Number: 1 Drive's position: DiskGroup: 0
- 06 sshでパスワードなしにログインするには @01_linux:01_net
- ===== ①ログイン元で鍵作成 ===== 下記で、$HOME/.ssh/ディレクトリに秘密鍵(id_rsa)と公開鍵(id_rsa.pub)が作成される。 <color red>※ログイン元(ユーザ:hoge2)のユーザで作成</color> <code console> hoge2@ssh-ho... er file in which to save the key (/home/nori/.ssh/id_rsa): ←[Enter]キー Enter passphrase (empty for no p... 入力 Enter same passphrase again: ←同じパスフレーズを入力 Your identification has been saved in /home/nori/.ssh/id_
- 07 qemuでserial接続 @01_linux:08_仮想化:kvm
- cirrus \ -name VM1 \ -object memory-backend-file,id=mem0,size=1G,mem-path=/dev/hugepages,share=on \ -... /libvirt/images/TESTVM.qcow2,format=qcow2,if=none,id=drive-virtio-disk0 \ -device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x6,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \ -vnc 0.0.0.0:10 \ -mac... 0fx-2.0,accel=kvm,usb=off \ -netdev bridge,br=br0,id=net0 \ -device e1000,netdev=net0,mac=52:54:00:12:
- 07 秘密鍵から公開鍵を確認する方法 @01_linux:01_net
- 開鍵確認 ==== <code console> $ ssh-keygen -y -f .ssh/id_rsa </code> ==== 秘密鍵と公開鍵の合致確認 ==== 下記の2つが、合致すればOKです。 <code console> $ ssh-keygen -y -f .ssh/id_rsa ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA5ezNi1Wjz... P9qshjUWqjw== </code> <code console> $ cat .ssh/id_rsa.pub ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA5ezN... e console> $ mkdir ~/.ssh $ cp private.key ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa $ cp public.key ~/
- 32 Ceph 再同期 @01_linux:13_storage
- 7b03b099-c6bb-47b7-b010-143799410dda osd id 3 type ... 7b03b099-c6bb-47b7-b010-143799410dda osd id 3 type ... 7b03b099-c6bb-47b7-b010-143799410dda osd id 3 type ... eすれば再同期されます。</color> ceph-volume lvm activate {ID} {FSID} ceph-volume lvm activate 3 7b03b099-c6
- KVMでWindowsを動かし、virtio化 @01_linux:08_仮想化
- ルし、後からvirtio化するのが簡単だと思われます。 ===== 一連の流れ ===== - ideでインストール - シャットダウン(仮想Windows) - virtioのダミーディスク... == virtioのダミーディスクを追加 ===== ==== イメージファイルの作成 ==== ideでサーバをインストールした後、\\ ダミーファイル用のイメージファイルを作成 # qemu-... io-win-0.1-30.iso'/> <target dev='hdc' bus='ide'/> <readonly/> </disk> </code> === ド... /images/win01.img'/> <target dev='hdc' bus='ide'/> </disk> ↓ ↓ <disk type
- 60 adaptech_raidのledランプを付ける. @01_linux:99_その他
- ける. ====== arcconfigコマンド <code console> ARCCONF IDENTIFY <Controller#> LOGICALDRIVE <LogicalDrive#> ARCCONF IDENTIFY <Controller#> DEVICE <Channel#> <ID> </code> [[http://docs.oracle.com/cd/E19045-01/blade.x6240... 0000C1244YVHにランプを付けたい場合は <code console> # arcconf identify 1 device 0 10 Controllers found: 1 The spec
- ipmitool Server内から、IPMI IP確認 @01_linux:01_net
- Gateway MAC : 00:00:00:00:00:00 802.1q VLAN ID : Disabled 802.1q VLAN Priority : 0 R... === ユーザの一覧確認 ===== <code> # ipmitool user list 1 ID Name Callin Link Auth IPMI Msg C... ool user set name 2 admin # ipmitool user list 2 ID Name Callin Link Auth IPMI Msg Channel P... code> ===== 権限追加 ===== ipmitool user priv [user id] [priv] [channel] <code> # ipmitool user priv 2 4
- 05 KVM Multi-Queue @01_linux:10_network
- 0 zombie %Cpu0 : 0.0 us, 0.0 sy, 0.0 ni,100.0 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st %Cpu1 : 0.0 us, 1.4 sy, 0.0 ni, 82.7 id, 0.0 wa, 0.0 hi, 15.9 si, 0.0 st %Cpu2 : 3.4 us, 19.0 sy, 0.0 ni, 15.6 id, 0.0 wa, 0.0 hi, 62.0 si, 0.0 st %Cpu3 : 2.2 us, 12.9 sy, 0.0 ni, 62.9 id, 0.0 wa, 0.0 hi, 21.9 si, 0.0 st </code> ===
- 38 cephadmでcephインストール後、openstackで利用 @01_linux:13_storage
- ==== cephadmにホスト登録しラベル付け ==== <code> ssh-copy-id -f -i /etc/ceph/ceph.pub root@ceph01 ssh-copy-id -f -i /etc/ceph/ceph.pub root@ceph02 ssh-copy-id -f -i /etc/ceph/ceph.pub root@ceph03 ceph orch host... unt: 1 label: mgr --- service_type: osd service_id: osd_using_paths placement: hosts: - ceph01
- 09 Ubuntu Bcache Ceph @01_linux:30_ubuntu
- 用意 ===== OSD_UNIT=ceph-osd/0 OSD=osd.1 OSD_ID=1 OSD_DNAME=/dev/bcache0 OSD_PV=/dev/nvme1n1 ... --wait ceph-mon/leader change-osd-weight osd=$OSD_ID weight=0 juju run-action --wait $OSD_UNIT stop osds=$OSD_ID ===== 3.VG/PV削除 ===== juju ssh $OSD_UNIT s... -action --wait ceph-mon/leader purge-osd osd=$OSD_ID i-really-mean-it=yes ===== 5. Bcache作成 =====
- Linux HDDの型番 @01_linux:99_その他
- == Linux HDDの型番 ====== <code console> # cat /proc/ide/hda/model IC35L090AVV207-0 # cat /proc/ide/hdc/model HL-DT-ST DVDRAM GSA-4040B </code> <code consol... si/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: SAMSUNG HD2... ANSI SCSI revision: 05 Host: scsi1 Channel: 00 Id: 00 Lun: 00 Vendor: ATA Model: SAMSUNG HD2