From: Cedric Veilleux (cedric_at_neopeak.com)
Date: Tue 01 Apr 2003 - 06:59:13 BST
Well, that's not really an issue because and it can be worked around easily..
For example you might give a hostname to your vservers that includes the
vserver's name, like vserver.host.domain.ext
Or , you might also add a file in the vserver's /etc named "/etc/vname" that
contains the name of the vserver..
Le 1 Avril 2003 00:14, vous avez écrit :
> you didn't tell that you want to find out from inside the virtual
> server what virtual server your in.
> And no there are no correlations between really anything in the
> virtual server and the name of it.
> The name is just for YOUR reference to know which virtual server you
> Monday, March 31, 2003, 10:21:34 PM, you wrote:
> DR> Thats not realy the way I asked for to find the name of it. If you just
> DR> logon to the vserver and not to the host machine, you cant see the
> DR> /etc/vservers directory anyway. I need to find the name during the
> DR> session in the vserver.
> DR> Eje Gustafsson wrote:
> >>the server name in question is the name you have for your config file
> >>and the vserver root directory.
> >>in there you should have 2 files
> >>servername.conf and servername.sh
> >>then you should have a matching
> >>/vserver/servername directory where all your packages are installed.
> >>So to start this vserver you type
> >>vserver servername start
> >>if your .conf and .sh file don't exist you will get an error message
> >>if your /vserver/servername don't exist you will get an error message.
> >>Pretty simply actually.
> >> /Eje
> >>Monday, March 31, 2003, 1:14:16 PM, you wrote:
> >>DR> Hi,
> >>DR> I want to ask if there is a possibility to find out the name of the
> >>DR> vserver. I talk about the name, you have to use for the vserver
> >> commands DR> like
> >>DR> vserver server1 start
> >>DR> ^^^^^^
> >>DR> ---
> >>DR> [This E-mail scanned for viruses by Declude Virus]
> >>Best regards,
> >> Eje Gustafsson mailto:MacAhan_at_fament.com
> >>The Family Entertainment Network eFax : 240-376-7272
> >>Phone : 620-231-7777 Fax : 620-231-4066
> >>Online Store http://www.fament.com/catalog/
> >> - Your Full Time Professionals -
> >>[This E-mail scanned for viruses by Declude Virus]
> DR> ---
> DR> [This E-mail scanned for viruses by Declude Virus]
> Best regards,
> Eje Gustafsson mailto:MacAhan_at_fament.com
> The Family Entertainment Network http://www.fament.com
> Phone : 620-231-7777 Fax : 620-231-4066
> eBay UserID : macahan
> - Your Full Time Professionals -
> [This E-mail scanned for viruses by Declude Virus]