In expert mode, the Gandi configuration agent is tasked with receiving information about server parameters, number of cores, RAM, new disk size, disks to be attached or detached, and so on.
gandi-hosting-vm2
package, which may need to be updated in order to take advantage of the latest improvements.
To do this, use the command 'aptitude install gandi-hosting-vm2'.
Several files and directories are available to you for the purposes of adapting your expert server to your needs.
This directory contains our configuration scripts.
In this file you can adjust the following parameters:
sysctl
)Compression
, PermitRootLogin
, EmptyPasswords
)/etc/resolv.conf
via DHCP
/etc/sysconfig/gandi
You have two ways of mounting disks on your virtual server:
udev
(default)
By default, udev
takes care of automatically mounting data disks on /srv/
with the name of the disk. For example, a data disk named d_data
would be mounted at /srv/d_data/
.
fstab
(udev deactivated)
If you want to specify your own mount points, you must deactivate the udev
rules related to the disks in the file /etc/udev/rules.d/86-gandi.rules
(the VPS will need to be rebooted in order for changes to this file to take effect).
SUBSYSTEMS=="xen", DRIVERS=="vbd", SUBSYSTEM=="block", RUN+="fake_blkid -o udev -p $tempnode", RUN+="/etc/gandi/manage_data_disk.py", OPTIONS+="last_rule" SUBSYSTEM=="block", ENV{DEVTYPE}=="disk", ENV{ID_VENDOR}=="gandi.ne", RUN+="fake_blkid -o udev -p $tempnode", RUN+="/etc/gandi/manage_data_disk.py", OPTIONS+="last_rule"
gandi-mount
This script allows disks attached to the server and present in /proc/partitions
to be mounted on /srv/
.
gandi-kernel
This script automates the installation of kernel modules.