Wiki source code of Vérifications de préparation technique des serveurs
Last modified by Equipe Opération on 06 - 11 - 2019
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{box cssClass="floatinginfobox" title="**Table des matières**" width="60%"}} | ||
2 | {{toc start="2" depth="6" numbered="true" scope="page"/}} | ||
3 | {{/box}} | ||
4 | |||
5 | == Introduction == | ||
6 | |||
7 | == Linux == | ||
8 | |||
9 | === Vérification de présence des drivers VirtIO au démarrage === | ||
10 | |||
11 | ==== CentOS / RHEL 5 ==== | ||
12 | |||
13 | {{code}} | ||
14 | mkinitrd -f --allow-missing --with=xen-vbd --preload=xen-vbd --with=xen-platform-pci --preload=xen-platform-pci \ | ||
15 | --with=virtio_blk --preload=virtio_blk \ | ||
16 | --with=virtio_pci --preload=virtio_pci \ | ||
17 | --with=virtio_console --preload=virtio_console /boot/initramfs-$(uname -r).img $(uname -r) | ||
18 | {{/code}} | ||
19 | |||
20 | ==== CentOS / RHEL 6 et 7 ==== | ||
21 | |||
22 | {{code}} | ||
23 | mkinitrd -f --allow-missing --with=xen-blkfront --preload=xen-blkfront --with=virtio_blk --preload=virtio_blk \ | ||
24 | --with=virtio_pci --preload=virtio_pci --with=virtio_console --preload=virtio_console /boot/initramfs-$(uname -r).img $(uname -r) | ||
25 | {{/code}} | ||
26 | |||
27 | ==== Base Debian & Ubuntu ==== | ||
28 | |||
29 | {{code}} | ||
30 | echo -e 'xen-blkfront\nvirtio_blk\nvirtio_pci\nvirtio_console' >> /etc/initramfs-tools/modules | ||
31 | mkinitramfs -o /boot/initrd.img-$(uname -r) | ||
32 | {{/code}} | ||
33 | |||
34 | == Windows == | ||
35 | |||
36 | === Sauvegarde Data === | ||
37 | |||
38 | ==== Limite des 256 caractères ==== | ||
39 | |||
40 | Afin de limiter les problèmes de restauration, il vous est demandé de vous assurer que vous ne disposez pas de fichiers dont le chemin complet ne dépasse pas la limite Windows de 260 caractères | ||
41 | |||
42 | Pour vérifier ceci vous pouvez utiliser un logiciel opensource, la command line CMD ou Powershell. | ||
43 | |||
44 | * GUI : [[https:~~/~~/github.com/deadlydog/PathLengthChecker>>https://github.com/deadlydog/PathLengthChecker]] | ||
45 | * CLI Powertshell : cmd /c dir /s /b |? {$_.length -gt 260} | ||
46 | * CLI CMD :dir /s /b | sort /r /+261 > out.txt | ||
47 | |||
48 | == VMWare == | ||
49 | |||
50 | === Changed Block Tracking === | ||
51 | |||
52 | Lors de l'activation de la sauvegarde utilisant CBT, il vous est nécessaire de ne pas avoir de snapshot effectués dans la machine, sinon l'erreur suivante surviendra : | ||
53 | |||
54 | |||
55 | (% class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background: white" %) | ||
56 | (% style="color:#242c3b; font-family:~"Verdana~",sans-serif; font-size:9.0pt; mso-fareast-font-family:~"Times New Roman~"" %)The virtual machine must have had no (zero) snapshots when changed block tracking was enabled | ||
57 | |||
58 | (% class="MsoNormal" style="margin-bottom:12.0pt;line-height:13.5pt;background: white" %) | ||
59 |