全文検索:
- 06 WireGuard @01_linux:10_network
- 0 inet 10.0.0.1/24 scope global wg0 valid_lft forever preferred_lft forever </code> ==== 停
- 23 Apache vhost一覧 @01_linux:02_www
- ults PidFile: "/opt/bitnami/apache/var/run/httpd.pid" Define: DUMP_VHOSTS Define: DUMP_RUN_CFG User: name="daemon" id=1 Group: name="daemon" id=1 </code> {{tag>Apache vhost}}
- 06 Ubuntu Network設定 @01_linux:30_ubuntu
- ash-policy: layer3+4 vlans: vlan.100: id: 100 link: bond1 bridges: br0:
- 11 KVM名前変更 @01_linux:08_仮想化:kvm
- de> # virsh edit 仮想マシン名 <name>表示させたい名前</name> <uuid>メモしたuuid</uuid> </code> ===== 3.ファイル確認 ===== vm-001を変更して、vm-002にした場合。 変更前と変更後の2つのファイルが見える。 <code> root@hvde... 古い定義と、新しい定義の2つとも見える。 <code> # virsh list --all Id Name State ----------------------------
- 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
- 32 LVM から qcow2に変換 @01_linux:08_仮想化:kvm
- raw -O rbd /mnt/Volhoge.img rbd:one/one-XXX-XXX-0:id=libvirt </code> ===== - rbd to raw ===== <code>... u-img convert -f raw -O raw rbd:one/one-XXX-XXX-0:id=libvirt /root/raw.img </code> {{tag>qcow2 kvm}}
- 17 Nginx FastCGI Cache @01_linux:02_www
- fastcgi_cache cache-zone; fastcgi_cache_valid 200 60m; add_header X-F-Cache $upstream_cache... コメント中、記事作成中、ログイン中の場合はキャッシュしない。| ^fastcgi_cache_valid|200 60m|HTTPステータス毎にキャッシュの有効期限を設定。 \\ ここではHTTPステータ
- 01 PostgreSQL streaming replica @01_linux:11_データベース:02_postgresql
- Process: 19243 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS) Process: 8558 E... ${PGDATA} (code=exited, status=0/SUCCESS) Main PID: 8564 (postmaster) CGroup: /system.slice/postg... ${PGDATA} (code=exited, status=0/SUCCESS) Main PID: 8154 (postmaster) CGroup: /system.slice/postg... -c "UPDATE actor set first_name='BBB' where actor_id=1" UPDATE 1 $ psql -h 172.16.0.52 -U postgres
- 05 KVM Multi-Queue @01_linux:10_network
- ined 2 Cannot set device channel parameters: Invalid argument </code> ===== 確認 ===== 動作検証はiperf3とhtop... 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
- 16 unboundでキャッシュサーバ @01_linux:01_net
- me-ascii: yes pidfile: "/var/run/unbound/unbound.pid" root-hints: "/etc/unbound/named.cache" hide-iden... omain: yes harden-referral-path: yes use-caps-for-id: no unwanted-reply-threshold: 10000000 prefetch:
- 13 Ubuntu 古いzabbix @01_linux:30_ubuntu
- ng Restart=on-failure PIDFile=/tmp/zabbix_agentd.pid KillMode=control-group ExecStart=/usr/local/sbin/... -c \$CONFFILE ExecStop=/bin/kill -SIGTERM \$MAINPID RestartSec=10s User=zabbix Group=zabbix [Install
- 04 Strongswan IKEv2 EAP @01_linux:10_network
- IPSec-IKEv2-EAP leftsubnet=0.0.0.0/0 leftid=vpn.hogehoge.com left=%any leftcert=cert.pem leftsendcert=always rightid=%any right=%any rightsourceip=192.168.100
- 03 Strongswan IKEv2 with PSK @01_linux:10_network
- esp=aes256-sha256-modp2048 conn osaka leftid=@tokyo leftsubnet=10.10.0.0/16 rightid=@osaka right=200.200.0.200 rightsubnet=172.16.... esp=aes256-sha256-modp2048 conn tokyo leftid=@osaka leftsubnet=172.16.0.0/24 rightid=@tokyo right=100.100.0.100 rightsubnet=10.10.
- 20 Ceph PG数 @01_linux:13_storage
- num 128 ===== 3.変更の確認 ===== <code> # ceph osd df ID CLASS WEIGHT REWEIGHT SIZE RAW USE DATA... .6 GiB 3.0 TiB 7.01 # ceph -s cluster: id: 82c91e96-51db-4813-8e53-0c0044a958f1 hea
- 50 MySQLベンチマーク(sysbench) @01_linux:11_データベース:01_mysql
- " for starting transactions Using auto_inc on the id column Threads started! Time limit exceeded, exit... AUTO_INCREMENT (or equivalent) should be used on id column [on] --oltp-connect-delay=N tim