gmirror 6.2 - 7.1

2009-04-01 Thread Iv Ray

Hello everyone,

Do you think the following way to upgrade gmirror 6.2 - 7.1 is safe  
for the average person?


(The server is in a remote data center without physical console access.)

1. Backup
2. Remove one of the two SCSI HDDs from the gmirror
3. Install 7.1 on the removed HDD
4. Instruct the boot loader to boot from the 7.1 HDD
5. Reboot
6. Copy data
7. Clean the 6.2 HDD
8. Apply gmirror on 7.1 and add the former 6.2 HDD

Thank you,
Iv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Opteron 1212 w/ 4 GB RAM

2010-01-27 Thread Iv Ray
We are getting a new web server -

Singe Dual Core Opteron 1212 w/ 4 GB RAM

It will have -

2 x 250 GB SATA gmirror RAID 1

We will run -

- Apache 2.x
- PHP 5.x
- PostgreSQL 8.x
- Postfix 2.x

We have a couple of questions-

If we are more interested in stability than in features and performance -

a) Is FreeBSD 8.0 the right for us, or shall we rather go for FreeBSD 7.x?

b) Is i386 or amd64 the right way?

Thanks!

Iv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Opteron 1212 w/ 4 GB RAM

2010-01-27 Thread Iv Ray
Thank you all for the consistent advice.

Iv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


best firewall for a web server

2010-02-05 Thread Iv Ray
We will be running a web server -

- FreeBSD 8.x
- Apache 2.x
- php 5.x
- PostgreSQL 8.x
- Postfix 2.x

- The server will run nearly 98% of the time below 25% load (no high 
performance firewall is needed).
- Access to the server will be done only via ssh w/ key (there will be no 
public ftp, etc.).

I read several threads on FreeBSD Questions and checked the Handbook, and my 
conclusion is that PF seems the most straightforward for such classic 
situation.

Am I right?

Thanks,
Iv___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: best firewall for a web server

2010-02-06 Thread Iv Ray
Thank you all for your help.

Two for PF and one for IPFILTER - I'll have to do some math now :)

All best, Iv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


FreeBSD in a cloud

2009-05-28 Thread Iv Ray

Does anyone know a place to host FreeBSD in a cloud?

Rackspace offer quite interesting cloud servers via www.mosso.com -  
but they claim they run only Linux.


We have had FreeBSD with Rackspace for over 5 years (though they  
refuse to officially support it) and I cannot understand if they  
cannot or do not want to run it in the cloud.


Iv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


accessing iostat -x %b with a scripting language

2008-05-13 Thread Iv Ray
Is there a standard way to access, with a scripting language (php, perl, 
etc.) the output of -


iostat -x

I am particularly interested in the %b column (HDD utilization).

I am not sure if reading the output and regex-ing the Nth column is the 
right approach, or there is a more intelligent one.


Iv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: accessing iostat -x %b with a scripting language

2008-05-14 Thread Iv Ray

Johan Dowdy wrote:
 What do you mean by access?

I mean read, sorry for the unclear question.

 A simple way to get the output would be(presuming the 8th column has the
 data you want):
 iostat -x | awk '{ print $8 }'
 This could be redirected to a file or processed ins a shell script etc.

 What is it that you want to do' with the output?

I want to add performance monitoring functionality to a web applications.

I look for bottlenecks on each request.

For this I want to read several OS status indicators such as %b of 
iostat -x.


What I was not sure about, was - what is the correct way to read the 
output of iostat -x (and of other similar commands, such as top, etc.).


But from the posts, so far, it seems that the correct way is indeed to 
parse the output, which the command would normally send to the 
terminal, and to find my values in this output, relying that the 
command will always output the values in the given order/format.


This -

iostat -x | awk '{ print $8 }'

returns multi-row answer.

This (suggested in another post) -

iostat -x | grep ad0 | tr -s ' ' | cut -d ' ' -f 8

grep to pick the drive in question
tr to cleanup the line
cut to extract the value

returns exactly the value of the %b.

Thank you all,
Iv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0

2008-06-09 Thread Iv Ray

Just did some tests and found out the same -

csup freezes when the Free memory ends (the virtual machine has 512 MB RAM).

Is this a known issue, and is there a workaround?

Thank you,
Iv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0

2008-06-09 Thread Iv Ray

Hello all,

I have the following configuration -

FreeBSD 6.2 (minimal install)
Running in VMware 6.x
Windows VISTA BUSINESS 64-bit guest (core duo 3 GHz, 4 GB RAM)

supfile-stable is edited just with the domain (cvs.at) and the version 
(6_3 or 7_0).


csup with this supfile runs for some time, then the virtual machine 
freezes and the host shows 100% CPU use. After restarting the 6.2 host 
2-3 times and csup again, eventually csup completes.


Could somebody advice me what might be going wrong?

Thank you,
Iv

--

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0

2008-06-09 Thread Iv Ray

Iv Ray wrote:
After restarting the 6.2 host 

   
   guest
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0

2008-06-09 Thread Iv Ray

Iv Ray wrote:

Windows VISTA BUSINESS 64-bit guest (core duo 3 GHz, 4 GB RAM)

^
host
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


is it possible to install FreeBSD 6.2

2008-06-09 Thread Iv Ray

Hello everybody,

I am trying to build a VMware twin of an existing production server 
running FreeBSD 6.2. I have a 6.2 boot only ISO. The installation from 
FTP works well, but I have some strange issues - (i. e. csup when 
pulling the 6.3 sources freezes the OS and completes after two restarts, 
make buildworld crashes, etc.). I normally I move with the RELEASE 
versions and I have never had such problems the last 2-4 years. Could it 
be that I am doing something wrong, or simply versions outside of 
RELEASE are to be treated differently?


Thank you,
Iv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD way of installing old version from ports tree

2008-06-09 Thread Iv Ray

Simon Jolle wrote:

What is the FreeBSD way to
install this old version integrated in the rest of the system?


If 1.6.12 was already installed, I would use portdowngrade.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing freeBSD

2008-06-09 Thread Iv Ray

Huu Daud wrote:

Hello,
Greetings,
Iam new to this forum and to the Unix.My interest is to install and configure 
freeBSD on my desktop computer.I have downloaded the iso for i386.
and burn on the CD and DVD.My problem is when I boot from the CD or DVD ,it 
didnt send me to the screen for selection options as it is shown on the 
web.Instead, it sends me to the A drive prompt(DOS).Is it possible to install 
from the DOS?.How then.
Thank you for your help
huu


Did you burn the ISO on the CD/DVD as a file, or did you instruct the 
burning program to use it as a disk image?


Iv
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: csup freezes on updating src to upgrade 6.2 to 6.3 or 7.0 SOLVED

2008-06-18 Thread Iv Ray

Iv Ray wrote:

Hello all,

I have the following configuration -

FreeBSD 6.2 (minimal install)
Running in VMware 6.x
Windows VISTA BUSINESS 64-bit guest (core duo 3 GHz, 4 GB RAM)

supfile-stable is edited just with the domain (cvs.at) and the version 
(6_3 or 7_0).


csup with this supfile runs for some time, then the virtual machine 
freezes and the host shows 100% CPU use. After restarting the 6.2 host 
2-3 times and csup again, eventually csup completes.


Could somebody advice me what might be going wrong?

Thank you,
Iv

--


The virtual machine had 2 CPUs. After switching it to one CPU all works OK.

Iv



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


what to do when FreeBSD cannot do something?

2010-07-07 Thread Iv Ray
Hello everyone,

I have been using FreeBSD since 4.x for web related applications (php, Apache, 
PostgreSQL, Postfix, Cyrus IMAP, etc.), and while I am not an expert, I feel 
quite comfortable.

Lately I find myself in situations where I have I have to take care of legacy 
Oracle (10g on Windows) and Interbase (6 on Linux) databases and sometimes 
legacy OS which need to be run for some time in a virtual machine, and I have 
difficulties to accomplish this with FreeBSD - no Oracle port, no Interbase 
port and only VirtualBox support, which is a bit unclear to me.

What is the recommended parallel way for a person, who feels comfortable with 
FreeBSD, when FreeBSD cannot do the job? - i. e. is it a good idea to go 
towards Solaris, instead of Linux? Or rather go towards some sort of Linux?

Thank you,
Iv___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what to do when FreeBSD cannot do something?

2010-07-07 Thread Iv Ray
 What virtulization system to use? Personnally I use ESXi from vmware

This was a great tip, thank you. I wasn't aware that ESXi is a bare metal and 
free.

 What OS to use instead of FreeBSD? It depends on what is recommended
 for your application, what resources you have available around you,
 etc. For a similar problem I choosed Ubuntu because Ubuntu was well
 supported by the application and some colleagues had a decent
 knwoledge of ubuntu.

I am not fanatic about FreeBSD, but I feel very comfortable with it and I 
resist change. However your ESXi tip would allow me to run ESXi on bare metal 
and virtualize simple installations of the unpleasant legacy OSes without 
making my fingers too dirty.

Thank you very much,
Iv___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what to do when FreeBSD cannot do something?

2010-07-09 Thread Iv Ray
On 07.07.2010, at 23:24, Henrik Hudson wrote:
 One caveat is that ESX / ESXi are very picky about their hardware
 and pretty much won't run on anything but server class devices
 (mobo, NICs and CPU are the big ones).

Yes, I'm aware of that. We have entry level, but ESXi compatible, HP and IBM 
servers.

 VMware still has their VMware
 Server (software) solution, but it's slowly being phased out. Also,
 it's against the EULA to use ESXi for commercial / reseller
 purposes and ESX isn't cheap.

Oh, wasn't aware about the ESXi EULA... will check, thank you.

Iv___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: what to do when FreeBSD cannot do something?

2010-07-09 Thread Iv Ray
On 08.07.2010, at 03:04, Olivier Nicole wrote:
 That's the idea: bare metal and free, proxmox has something based
 on... I don't remember. I opted for vmware becuase it seems to be more
 wide spread.

Yes, that's what I think, too.

 You will have to make your fingers dirty, because once you are
 installing any OS on a virtual machine, it is as dirty as installing
 on a bare hardware: you need to learn how to install, tune and secure
 that new OS...
 
 Good luck,

Right.

It's rather the comfort that I can have the right for every case (i. e. Oracle, 
Interbase) without asking for budget for a physical machine and having to take 
care of one more physical machine.

Thank you for your thoughts,
Iv___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org