This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If i run : ceph-mon -i cephA-001 --cluster cephA | |
all is good. | |
If i use systemd; not good: | |
root@cephA-001:/var# systemctl start ceph-mon@cephA-001 | |
root@cephA-001:/var# | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: get public_ipv4 (Scaleway) | |
command: scw-metadata PUBLIC_IP_ADDRESS | |
register: result | |
when: (physical_ip is not defined and ansible_os_family == "Debian") | |
changed_when: false | |
ignore_errors: true | |
Result : | |
TASK [tinc : get public_ipv4 (Scaleway)] *************************************** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dnxovh-hy002 (node2):/var/log/lxd/test# cat migration_restore_2016-10-21T00\:15\:59+02\:00.log | |
(00.000032) File tty[881b:e] will be restored from inherit fd 5 | |
(00.007405) Pagemap is fully functional | |
(00.007430) TCP recv queue memory limit is 87380 | |
(00.007441) Found task size of 7ffffffff000 | |
(00.007474) cpu: fpu:1 fxsr:1 xsave:1 | |
(00.007543) vdso: Parsing at 7fffae598000 7fffae59a000 | |
(00.007546) vdso: PT_LOAD p_vaddr: 0 | |
(00.007548) vdso: DT_HASH: 120 | |
(00.007550) vdso: DT_STRTAB: 2b0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dnxovh-hy001 (node1):~# lxc move inxovh-db002 node2:inxovh-db002 | |
error: Error transferring container data: migration restore failed | |
(00.014837) Warn (cr-restore.c:1159): Set CLONE_PARENT | CLONE_NEWPID but it might cause restore problem,because not all kernels support such clone flags combinations! | |
(00.018360) 1: Error (cr-restore.c:1489): mkdtemp failed crtools-proc.HEDVxH: Permission denied | |
(00.030781) Error (cr-restore.c:1352): 23840 killed by signal 9 | |
(00.083173) Error (cr-restore.c:2182): Restoring FAILED. | |
root@dnxovh-hy001 (node1):~# lxc list | |
+--------------+---------+-----------------------+------+------------+-----------+ | |
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/freebsd-update.conf | |
# $FreeBSD: releng/10.2/etc/freebsd-update.conf 258121 2013-11-14 09:14:33Z glebius $ | |
# Trusted keyprint. Changing this is a Bad Idea unless you've received | |
# a PGP-signed email from <[email protected]> telling you to | |
# change it and explaining why. | |
KeyPrint 800651ef4b4c71c27e60786d7b487188970f4b4169cc055784e21eb71d410cc5 | |
# Server or server pool from which to fetch updates. You can change | |
# this to point at a specific server if you want, but in most cases |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@inxovh-hy003 (rbx3):~# sgdisk -t 3:45B0969E-9B03-4F30-B4C6-B4B80CEFF106 /dev/sda | |
*************************************************************** | |
Found invalid GPT and valid MBR; converting MBR to GPT format | |
in memory. | |
*************************************************************** | |
Warning! Secondary partition table overlaps the last partition by | |
33 blocks! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dnxsys-web001:~ # zfs snapshot -r zdata@snapshot_for_ovh | |
root@dnxsys-web001:~ # zfs send -R zdata@snapshot_for_ovh | ssh 164.132.147.90 zfs recv -vFd zdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@dnxovh-hy001:~# ceph-deploy uninstall node1 node2 | |
[ceph_deploy.conf][DEBUG ] found configuration file at: /root/.cephdeploy.conf | |
[ceph_deploy.cli][INFO ] Invoked (1.5.20): /usr/bin/ceph-deploy uninstall node1 node2 | |
[ceph_deploy.install][INFO ] note that some dependencies *will not* be removed because they can cause issues with qemu-kvm | |
[ceph_deploy.install][INFO ] like: librbd1 and librados2 | |
[ceph_deploy.install][DEBUG ] Uninstalling on cluster ceph hosts node1 node2 | |
[ceph_deploy.install][DEBUG ] Detecting platform for host node1 ... | |
[node1][DEBUG ] connected to host: node1 | |
[node1][DEBUG ] detect platform information from remote host | |
[node1][DEBUG ] detect machine type |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Quand on installe Ubuntu 15 avec le manager OVH, l'installation se fait obligatoirement avec un noyau OVH. | |
Pour repasser en noyau générique : | |
1/ installer Ubuntu 15 via le manager OVH | |
2/ Booter sur le kernel OVH (par default) | |
3/ set un passwd root (nécessaire pour la console plus tard) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@alcsys-vm52:~# free | |
total used free shared buffers cached | |
Mem: 2058732 1952924 105808 10552 13764 127776 | |
-/+ buffers/cache: 1811384 247348 | |
Swap: 241660 101604 140056 | |
=> 105Mb FREE ?? | |
root@alcsys-vm52:~# atop |grep MEM |