Re: [Vserver] 1.0 release - I agree!

2003-11-03 Thread Charles
hi matthew,

thanks for your hints!!  i will try it!

cheers,
charles

- Original Message -
> Ah, I see.  Well, you probably want your /etc files to be manageable on a
> per vserver basis, so that'd be bad to link.  Also, /var/log/* and
probably
> some or all of /var/lib should not be linked.  I think /usr is an
excellent
> candidate for linking.
>
> There are others on this list that have already tackled this issue so it
> shouldn't be hard to get a conclusive answer.  Additionally, the linuxconf
> vserver tools can automate this work, so it should be possible to simply
> look at that code to see what is and isn't linked.
>
> This would probably be a good reference item for the wiki.  If/when we get
a
> solid answer, we should probably post it there.
>
> Matthew Nuzum | ISPs: Make $200 - $5,000 per referral by
> www.followers.net | recomending Elite CMS to your customers!
> [EMAIL PROTECTED] | http://www.followers.net/isp
>
>
>
> - Original Message -
> From: "Matthew Nuzum" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, November 03, 2003 10:48 PM
> Subject: RE: [Vserver] 1.0 release - I agree!
>
>
> >
> > questions:
> > how could i create a vserver by using "link" instead of "copy" so that i
> > could share the disk space?
> >
> > cheers,
> > charles
> >
> > Charles, forgive me if I misunderstood your question, I am by no means
an
> > expert at setting up vservers.  However, regarding this issue, if you do
> > cp -al file1 file2 (that's lower case A L ) it simply makes a hardlink
> from
> > file1 to the other.  That way, you can make links from the comfort of
your
> > copy command.
> >
> > Matthew Nuzum | ISPs: Make $200 - $5,000 per referral by
> > www.followers.net | recomending Elite CMS to your customers!
> > [EMAIL PROTECTED] | http://www.followers.net/isp
> >
> >
> >
> > ___
> > Vserver mailing list
> > [EMAIL PROTECTED]
> > http://list.linux-vserver.org/mailman/listinfo/vserver
>
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver
>
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] 1.0 release - I agree!

2003-11-03 Thread Matthew Nuzum
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Charles
Sent: Monday, November 03, 2003 10:17 AM
To: [EMAIL PROTECTED]
Subject: Re: [Vserver] 1.0 release - I agree!

yes, but i'm not quite sure whether it is okay to hard-link all files.
or i should link the executable files only.

pls kindly advise, thanks!

Ah, I see.  Well, you probably want your /etc files to be manageable on a
per vserver basis, so that'd be bad to link.  Also, /var/log/* and probably
some or all of /var/lib should not be linked.  I think /usr is an excellent
candidate for linking.

There are others on this list that have already tackled this issue so it
shouldn't be hard to get a conclusive answer.  Additionally, the linuxconf
vserver tools can automate this work, so it should be possible to simply
look at that code to see what is and isn't linked.

This would probably be a good reference item for the wiki.  If/when we get a
solid answer, we should probably post it there.

Matthew Nuzum   | ISPs: Make $200 - $5,000 per referral by
www.followers.net   | recomending Elite CMS to your customers!
[EMAIL PROTECTED]   | http://www.followers.net/isp



- Original Message -
From: "Matthew Nuzum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 10:48 PM
Subject: RE: [Vserver] 1.0 release - I agree!


>
> questions:
> how could i create a vserver by using "link" instead of "copy" so that i
> could share the disk space?
>
> cheers,
> charles
>
> Charles, forgive me if I misunderstood your question, I am by no means an
> expert at setting up vservers.  However, regarding this issue, if you do
> cp -al file1 file2 (that's lower case A L ) it simply makes a hardlink
from
> file1 to the other.  That way, you can make links from the comfort of your
> copy command.
>
> Matthew Nuzum | ISPs: Make $200 - $5,000 per referral by
> www.followers.net | recomending Elite CMS to your customers!
> [EMAIL PROTECTED] | http://www.followers.net/isp
>
>
>
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 1.0 release - I agree!

2003-11-03 Thread Charles
yes, but i'm not quite sure whether it is okay to hard-link all files.
or i should link the executable files only.

pls kindly advise, thanks!

- Original Message -
From: "Matthew Nuzum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 10:48 PM
Subject: RE: [Vserver] 1.0 release - I agree!


>
> questions:
> how could i create a vserver by using "link" instead of "copy" so that i
> could share the disk space?
>
> cheers,
> charles
>
> Charles, forgive me if I misunderstood your question, I am by no means an
> expert at setting up vservers.  However, regarding this issue, if you do
> cp -al file1 file2 (that's lower case A L ) it simply makes a hardlink
from
> file1 to the other.  That way, you can make links from the comfort of your
> copy command.
>
> Matthew Nuzum | ISPs: Make $200 - $5,000 per referral by
> www.followers.net | recomending Elite CMS to your customers!
> [EMAIL PROTECTED] | http://www.followers.net/isp
>
>
>
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] 1.0 release - I agree!

2003-11-03 Thread Matthew Nuzum

questions:
how could i create a vserver by using "link" instead of "copy" so that i
could share the disk space?

cheers,
charles

Charles, forgive me if I misunderstood your question, I am by no means an
expert at setting up vservers.  However, regarding this issue, if you do
cp -al file1 file2 (that's lower case A L ) it simply makes a hardlink from
file1 to the other.  That way, you can make links from the comfort of your
copy command.

Matthew Nuzum   | ISPs: Make $200 - $5,000 per referral by
www.followers.net   | recomending Elite CMS to your customers!
[EMAIL PROTECTED]   | http://www.followers.net/isp



___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 1.0 release - I agree!

2003-11-03 Thread Charles
hi jack and chunk,

thanks for your info, the procedures are really great!

i followed and merged both procedures to create my vserver and it works!!
i'm using redhat7.3 inside redhat 7.3 (and will migrate to redhat 9 later),
i did some additional steps (for somebody new to vserver like me):

inside the vserver (after "vserver new enter"):
- remove the /etc/rc.d/init.d/halt
- remove the files/directories inside /proc
- remove the files/directories inside /dev except (full, null, pts, zero,
ptmx, random, urandom)   <-- pls tell me which file i could further remove
or should be retained
- modify the /etc/fstab to "/dev/hdv1 / ext2 defaults 1 1"
- modify the /etc/mtab to "/dev/hdv1 / ext2 rw 0 0"
- remove the /boot
- remove unnecessary packages (like grub, apmd, etc)

questions:
how could i create a vserver by using "link" instead of "copy" so that i
could share the disk space?

cheers,
charles

- Original Message -
From: "Jacques Gelinas" <[EMAIL PROTECTED]>
To: "Vserver mailing list" <[EMAIL PROTECTED]>
Sent: Saturday, November 01, 2003 1:58 AM
Subject: Re: [Vserver] 1.0 release - I agree!


> On Fri, 31 Oct 2003 12:48:00 -0500, Charles wrote
> > hi chuck,
> >
> > can you tell me how to make it work?
> > do i need to modify the setting of the rh6.2 after "rsync"?
> >
> > i've got a rh7.3/rh9 host server, and like to run a rh7.3/rh9 vserver
> > inside.
> >
> > thanks a lot!
>
> After copying, create a new configuration file in /etc/vservers
>
> Then enter the vserver
>
> vserver new enter
>
> Then turn off all services
>
> cd /etc/rc.d/init.d
> for serv in *
> do
> /sbin/chkconfig $serv off
> done
>
> Then turn only the services you need. Generally
>
> chkconfig crond on
> chkconfig syslog on
> chkconfig httpd on
> ...
>
> exit
>
> and start the vserver
>
> -
> Jacques Gelinas <[EMAIL PROTECTED]>
> vserver: run general purpose virtual servers on one box, full speed!
> http://www.solucorp.qc.ca/miscprj/s_context.hc
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://www.solucorp.qc.ca/mailman/listinfo/vserver
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 1.0 release - I agree!

2003-11-03 Thread Herbert Poetzl
On Fri, Oct 31, 2003 at 01:01:09AM +1100, Chuck Dale wrote:
> [Hi new list!]
> 
> Just a confirmation that I've been running the c17f patch here without
> problems for a few weeks now. Xeon CPU, 2.4.22 kernel, RH9.
> 
> I'm so happy with vserver, thanks everyone! Just did a great trick: rsync'd
> our old RH6.2 server that was running on its lonesome on crusty hardware to
> a brand spanking new box. The RH6.2 install is running as a vserver inside
> the RH9 host server. It's so cool...
> 
> I'd be happy to help out with docs especially now that I've had a bit of
> experience playing with the super vservers.

seems to me that you are doing great work regarding
the docu, so feel free too add/improve whatever
makes sense to you ...

thanks,
Herbert

> Ciao!
> Chuck
> 
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 1.0 release - I agree!

2003-10-31 Thread GuruJ
Jacques Gelinas wrote:

After copying, create a new configuration file in /etc/vservers

Then enter the vserver

	vserver new enter

Then turn off all services

cd /etc/rc.d/init.d
for serv in *
do
/sbin/chkconfig $serv off
done
Then turn only the services you need. Generally

chkconfig crond on
chkconfig syslog on
chkconfig httpd on
...
exit

and start the vserver

I think this is a *really* handy thing for people to be told when they 
first set up VServers, ie. that you don't need to run all the services 
again inside their VServer.

It took me a while to figure this out when I first started using 
vserver, and your scripted solution is very elegant.  Any chance of this 
going into a FAQ or doc somewhere?

-- GuruJ.

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 1.0 release - I agree!

2003-10-31 Thread Jacques Gelinas
On Fri, 31 Oct 2003 12:48:00 -0500, Charles wrote
> hi chuck,
> 
> can you tell me how to make it work?
> do i need to modify the setting of the rh6.2 after "rsync"?
> 
> i've got a rh7.3/rh9 host server, and like to run a rh7.3/rh9 vserver
> inside.
> 
> thanks a lot!

After copying, create a new configuration file in /etc/vservers

Then enter the vserver

vserver new enter

Then turn off all services

cd /etc/rc.d/init.d
for serv in *
do
/sbin/chkconfig $serv off
done

Then turn only the services you need. Generally

chkconfig crond on
chkconfig syslog on
chkconfig httpd on
...

exit

and start the vserver

-
Jacques Gelinas <[EMAIL PROTECTED]>
vserver: run general purpose virtual servers on one box, full speed!
http://www.solucorp.qc.ca/miscprj/s_context.hc
___
Vserver mailing list
[EMAIL PROTECTED]
http://www.solucorp.qc.ca/mailman/listinfo/vserver
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


RE: [Vserver] 1.0 release - I agree!

2003-10-31 Thread Charles Dale
 discussed above.

So all in all there aren't many general settings to be changed after you
rsync the server into a vserver. I found the resolver issues and the named
permissions problem took the most time to fix. Give it a go - there's not
much to lose!

Chuck

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Charles
Sent: Friday, 31 October 2003 3:48 PM
To: [EMAIL PROTECTED]
Subject: Re: [Vserver] 1.0 release - I agree!


hi chuck,

can you tell me how to make it work?
do i need to modify the setting of the rh6.2 after "rsync"?

i've got a rh7.3/rh9 host server, and like to run a rh7.3/rh9 vserver
inside.

thanks a lot!

charles
- Original Message -
From: "Chuck Dale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 30, 2003 10:01 PM
Subject: [Vserver] 1.0 release - I agree!


> [Hi new list!]
>
> Just a confirmation that I've been running the c17f patch here without 
> problems for a few weeks now. Xeon CPU, 2.4.22 kernel, RH9.
>
> I'm so happy with vserver, thanks everyone! Just did a great trick:
rsync'd
> our old RH6.2 server that was running on its lonesome on crusty 
> hardware
to
> a brand spanking new box. The RH6.2 install is running as a vserver 
> inside the RH9 host server. It's so cool...
>
> I'd be happy to help out with docs especially now that I've had a bit 
> of experience playing with the super vservers.
>
> Ciao!
> Chuck
>
> ___
> Vserver mailing list
> [EMAIL PROTECTED] 
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 1.0 release - I agree!

2003-10-31 Thread ragnar
Hi,

> > Just did a great trick:
> > rsync'd our old RH6.2 server that was running on its lonesome
> > on crusty hardware to a brand spanking new box.

> > The RH6.2 install is running as a vserver inside the RH9 host server.

> > I'd be happy to help out with docs especially now that I've had a bit
> > of experience playing with the super vservers.

> can you tell me how to make it work?
> do i need to modify the setting of the rh6.2 after "rsync"?

Exelent.
There a many servers on old hardware tha vould like to go virtual.

Pleases put info in the Documentation section of 
http://www.linux-vserver.org
It does not have to be perfect.

Best
ragnar
___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] 1.0 release - I agree!

2003-10-30 Thread Charles
hi chuck,

can you tell me how to make it work?
do i need to modify the setting of the rh6.2 after "rsync"?

i've got a rh7.3/rh9 host server, and like to run a rh7.3/rh9 vserver
inside.

thanks a lot!

charles
- Original Message -
From: "Chuck Dale" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 30, 2003 10:01 PM
Subject: [Vserver] 1.0 release - I agree!


> [Hi new list!]
>
> Just a confirmation that I've been running the c17f patch here without
> problems for a few weeks now. Xeon CPU, 2.4.22 kernel, RH9.
>
> I'm so happy with vserver, thanks everyone! Just did a great trick:
rsync'd
> our old RH6.2 server that was running on its lonesome on crusty hardware
to
> a brand spanking new box. The RH6.2 install is running as a vserver inside
> the RH9 host server. It's so cool...
>
> I'd be happy to help out with docs especially now that I've had a bit of
> experience playing with the super vservers.
>
> Ciao!
> Chuck
>
> ___
> Vserver mailing list
> [EMAIL PROTECTED]
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver


[Vserver] 1.0 release - I agree!

2003-10-30 Thread Chuck Dale
[Hi new list!]

Just a confirmation that I've been running the c17f patch here without
problems for a few weeks now. Xeon CPU, 2.4.22 kernel, RH9.

I'm so happy with vserver, thanks everyone! Just did a great trick: rsync'd
our old RH6.2 server that was running on its lonesome on crusty hardware to
a brand spanking new box. The RH6.2 install is running as a vserver inside
the RH9 host server. It's so cool...

I'd be happy to help out with docs especially now that I've had a bit of
experience playing with the super vservers.

Ciao!
Chuck

___
Vserver mailing list
[EMAIL PROTECTED]
http://list.linux-vserver.org/mailman/listinfo/vserver