Davide,
here is a brief explanation of the steps to a functioning freeVSD
installation using freevsd-1.4.8 rh6 rpm, and freevsd-skel-1.4.8
1)
# rpm -ivh freevsd-1.4.8-1rh6.i386.rpm
2)
# mkdir -p /home/vsd/skel
3)
# tar -xIf freevsd-skel-1.4.8-1rh6.tar.bz2 -C /home/vsd/skel
4)
# vsd-install.pl
5)
# vsdadm vs_create <hostservername <virtualservername <ip.address
<virtualserver-FQDN <num id's <quota
ie:
# vsdadm vs_create hostserver.org vsone 192.168.55.6 vsone.org 50 5
after this command is entered it will create the following construct in
/etc/vsd.conf:
<VirtualServer vsone>
IP 192.168.55.6
StartUID 1000
Users 50
Status active
Quota 5
Skel skel
Partition 0
HostingServer hostserver.org
and a file called /tmp/vsd.accounts.
now if you:
# cat /tmp/vsd.accounts
you should see somthing like this in the file,
create vsone vsone.org 192.168.55.6
now if you have other entries in the file then follow the steps below.
# vsboot --stop
(to be safe)
# vsdadm vs_delete hostserver.org vsone
now for the other rouge entries,
# vsdadm vs_delete hostserver.org <vsname
where <vsname is the name of the vs, (the entry immediately following
create)
so ie:
# cat /tmp/vsd.accounts
create evenoldervs evenoldervs.org 192.168.33.5
create oldvs oldvs.org 192.168.22.8
delete vsone vsone.org 192.168.55.6
so you would perform this;
# vsdadm vs_delete hostserver.org evenoldervs
# vsdadm vs_delete hostserver.org oldvs
# vsd-vsbatch.pl
this will remove the entries from /tmp/vsd.accounts and will also remove any
entries that relate to them in /etc/vsd/vsd.conf
with that done, start all over again!
# vsdadm vs_create hostserver.org vsone 192.168.55.6 vsone.org 50 5
# vsd-vsbatch.pl
now when that finishes its work;
# cd /home/vsd/vs/
# ls -al
you should see this;
drwxr-xr-x 4 root root 4096 Jun 28 14:28 .
drwxr-xr-x 4 root root 4096 Jun 28 10:48 ..
lrwxrwxrwx 1 root root 1 Jun 28 10:48 hostserver.org - /
drwxr-xr-x 13 root root 4096 Jun 28 10:54 vsone
and thats it,
simply run,
# vsboot --start vsone
and then consult the INSTALL doc for further intresting reading.
Cheers,
Nigel.
------------------------- The freeVSD Support List --------------------------
Subscribe: mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives: http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------