Re: [CentOS] How do I determine if I have to rebuild rpms for 5.3?

2009-04-07 Thread NiftyClusters T Mitchell
On Tue, Apr 7, 2009 at 11:20 AM, Robert Moskowitz r...@htt-consult.com wrote:
 I built rpms for Miredo 1.1.5-1 on Centos 5.2 from the fc8 rpms.

 How do I determine if I have to rebuild it for Centos 5.3?


Watch to see which shared objects it links to at run time.
You do not want to be caught linking to .so files one version
too old at some future time.   When you build it watch for
any new compiler warnings...  file bugs on both old and new
warnings (with patches if you can).

I see that Miredo Version: 1.1.5-2 exists so you should
also inspect to see if those changes are important.

In general you might expect programs to run one or two
releases back.   I have run some binary packages a lot longer
than that so YMMV.   In this case (networking IPV6 tunneling)
things could change quicker so stay as current as you can and
watch as each new  kernel change is delivered.

Looking at it you could be ok for a long tome.


-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] Godaddy hell...

2009-04-02 Thread NiftyClusters T Mitchell
2009/4/2 Ron Blizzard rb4cen...@gmail.com:
 On Thu, Apr 2, 2009 at 3:54 PM, Jason Pyeron jpye...@pdinc.us wrote:

 Can I get some recommendations


Check with dreamhost.com.



-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] TimeZone Mystery on a virtual dedicated server

2008-12-30 Thread NiftyClusters T Mitchell
On Mon, Dec 29, 2008 at 7:34 AM, Ami Mahloof ami.mahl...@gmail.com wrote:
 Hi,

 I have a weird problem woth the time zone on my virtual (goDaddy) dedicated
 server

 I had to setup the timezone using system-config-date to GMT+7

 i am in NY (GMT-5)

 when i do GMT-5 i get all the times 2 hours ahead

 seems like there's something im missing here

 If i add an event to my web app let's say 7:30 - 8:15 , the only way for me
 to show it right is GMT+7

 can anyone help me figure out what am i missing here???
Start with date -u.
Since this is a 'virtual' server the hardware real time clock is virtualized and
not under your control.

You should ask how the host keeps time.   Linux has two notions of
the real time clock.   It is correct local time OR it is GMT.   In the virtual
host world there is a third case where your local time is not local time
for the hardware.

It may be that you need to use ntpdate at start time and ntp normally.

It may also help to have system time set to hardware local time
and add an environment variable (TZ) for users.   This works as long
as date -u returns correct UTS time (GMT).




-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] [OT] stable algorithm with complexity O(n)

2008-12-17 Thread NiftyClusters T Mitchell
On Sat, Dec 13, 2008 at 10:24 AM, David Hláčik da...@hlacik.eu wrote:
 Hi guys,

 i am really sorry for making offtopic, hope you will not kill me, but
 this is for me life important problem which needs to be solved within
 next 12 hours..

 I have to create stable algorithm for sorting n numbers from interval
 [1,n^2] with time complexity O(n) .

 Can someone please give me a hint. Would be very very thankful!

Knuth.

Art of Computer Programming Volume 3: Sorting and Searching (2nd
Edition) by Donald E. Knuth


-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] regarding vpn server for 1500 clients

2008-12-17 Thread NiftyClusters T Mitchell
On Sun, Dec 14, 2008 at 7:20 AM,  dhaval.tha...@networthdirect.com wrote:
 Hi list,


 I have to build vpn server for 1500 clients. No encryption necessary.
 can anyone please recommend me vpn server.

 I do not have experience on vpn.

 I have tested openvpn on my test setup,  its working fine.

 I want to check if there any other vpn server available.
 I have not checked but can pptp vpn be usefull?

 My requirement is to connect 1500 clients on vpn server.
 Need frontend to manage vpn clients.


1500 clients at the same time is a lot and
No encryption necessary sounds like a contradiction.

OpenVPN should be as good as any vpn solution...  and since it works for you
benchmark it and  plan on multiple servers as traffic performance
measures indicate.

It is possible that dedicated Cisco hardware solutions will scale
better.  At a minimum they can set a cost base line to validate the
value of your Linux solution.

Management of clients needs to be expanded.

Point-to-point tunneling protocol does not make sense
based on your email address.



-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Is 4GB memory the 64bit switch tipping point?

2008-12-11 Thread NiftyClusters T Mitchell
On Sun, Dec 7, 2008 at 10:06 PM, Kenneth Burgener
kenn...@mail1.ttak.org wrote:
 I am curious what should be the benchmark for making the choice of
 switching from 32bit to 64bit Linux?  I have a few assumptions below.
 Is my logic sound?  (This is a follow up to the Adding RAM thread)

 Assumptions:

 1.  4GB Memory.  The main benefit of 64bit mode is the ability to
 address more than 4GB of RAM.
..
Lots of other good responses but the critical
tipping point after functionality is 'benchmark results' as noted in
the opening paragraph.  The next is data set size but with a little
care in the code this is mostly not an issue (size of pipe is BIG)
so as long as the kernel can address and manage all memory it
is the rare application+data set that needs 64bit longs and pointers.

The point about benchmarking is critical when deciding 64bit .vs. 32 bit.
Modern x86_64 processors can run both 32bit and 64bit applications, the
key is that the processor register and instruction set is richer in
64bit mode which permits the compiler to do more for many but not all
applications.

The ability of compilers to take advantage of the richer 64bit ABI can be
massive.  I have seen Fortran and C programs improve as much as +70%

The gcc family of compilers is much improved over gcc of 5 years ago.
Specialty vendor compilers can still show important gains over gcc so kick the
tires when ya can.

YMMV.

Later,
mitch



-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] network driver needed at install time

2008-12-11 Thread NiftyClusters T Mitchell
On Wed, Dec 10, 2008 at 4:23 PM, Clint Dilks cli...@scms.waikato.ac.nz wrote:
 Jerry Geis wrote:
 I am wanting to use a motherboard that uses the 8111b reaktek chip.
 http://wiki.centos.org/AdditionalResources/HardwareList/RealTekRTL8111b
 This was great information.

 My question is now that I have a compiled module for centos 5.2
 is there any way I can include that module in a DVD or load the module
 from USB
 at the installation time???

 I use kickstart and that needs to work over the network.

 Is there an easy way to load a network driver at  install from USB or
 something like that?

 Jerry
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos


 Hi,

 You will need to create a custom initrd that contains the updated
 modules that you want to use.  Unfortunately it was some time ago since
 I had to do this so I cant give you clear instructions on how to go
 about doing this but there is lots of documentation on the web.  The key
 thing you will need to remember is that you need to build the module for
 the same version of the kernel as used by the installer.

 Good Luck :)

Building a custom initrd or just adding a driver to it can be found on
google
kickstart makes it easy because you do not need to build a CDROM...

A quick and handy trick is to leverage an inexpensive USB ethernet
network device that
is already supported.   Once the OS is loaded the new driver can be compiled
and loaded on the system itself.   If you are kickstarting a handful  of
boxes one time this trick is the way to go.

-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] squid server for 10,000 accounts

2008-12-06 Thread NiftyClusters T Mitchell
On Sat, Dec 6, 2008 at 11:38 AM, Adam Tauno Williams
[EMAIL PROTECTED] wrote:
 Regarding the Load Balancing, I find ipvsadm to be a very good package.
 I'm not well-versed with squid, but for 10,000 users, I should image
 that hardware is not sufficient (especially if they're all requesting
 pages at the same time?)
 My immediate hunch would be to set up a virtualised squid proxy, and
 then copy that across to be hosted on multiple servers.  Providing it's
 set up in a scalable fashion (maybe NFS share for config/rules) across
 the entire cluster - you should be able to have a very scalable solution.

 Squid supports cache peering, cache hierarchies, and multicast ICP.  I'd
 setup Squid peers.

 http://www.deckle.co.za/squid-users-guide/Cache_Hierarchies



Exactly... and it is possible to have a 'URL' as your proxy.  It can contain
hints and be dynamic over time making it easy to update the proxy environment.
and you have a single instruction for all your 1 users.   While
some stuff can
be done with DHCP, the URL trick is powerful and sets a stage such
that the squid
admin folk do not need  to touch a complex DHCP setup.


-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Faking RHEL with CentOS

2008-10-01 Thread NiftyClusters T Mitchell
On Wed, Oct 1, 2008 at 11:06 AM, John [EMAIL PROTECTED] wrote:
 From CentOS /etc/redhat-release:
 CentOS release 5.2 (Final)

 From RHEL3 /etc/redhat-release:
 Red Hat Enterprise Linux WS release 3 (Taroon Update 9)

 From RHEL4 /etc/redhat-release:
 Red Hat Enterprise Linux WS release 4 (Nahant Update 7)

 Has anybody maybe actually done this already and can tell if it'd work?

 What other places may a software look into to check the computer runs the
 correct OS?

 JohnStanley Writes:

 Yes that will work. Replace the appropriate string. Also do cat /etc/issue.
 One more and it is called programatically rpm --whatprovides


If there are 1 files it might look at 1 different places including
device names kernel names, shell features, kernel modules and more.
i.e all the things that 'configure' might know about and more.

/etc/redhat-release is the most common.   N.B. You may need to restore
the CentOS words often to permit CentOS updates to do the right thing.

If /etc/redhat-release is not the answer you may have to look harder at the
failing process with strace  or even SELinux tricks to see what it does
look at.

If it is Oracle, Given the price of Oracle -- just purchase the RH product.
It is common that the expensive packages are the most restrictive and putative.




-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] vmcore

2008-10-01 Thread NiftyClusters T Mitchell
On Tue, Sep 30, 2008 at 2:50 AM, Mag Gam [EMAIL PROTECTED] wrote:
 I would like to analyze a kernel vmcore. Are there any docs you can
 recommend for me to read to  understand the process?

The kernel is a massive C program.
Download the source that matches your kernel and make yourself a set of  tags
(ctags or gtags what ever you like).

When it blew up you should have some points in the stack with symbol names.
Walk through the call stack and look at the input and output of each
function with
the source in front of you.
See where that (and a good search on the web) takes you

   http://www.linuxsymposium.org/2006/kdump_slides.pdf

If you made any source changes look for errors in your code  ;-)

If you are running stock mainline code -- file a bug and if you find the source
of the bug first do an add to the report with what you  think the error is.


-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Re: setting timezone from kickstart

2008-10-01 Thread NiftyClusters T Mitchell
On Tue, Sep 30, 2008 at 5:54 AM, Jerry Geis [EMAIL PROTECTED] wrote:

 /I used to do manual installs so I would set the timezone each time.
 //I have now migrated to kickstart and I wish to use a command line (at
 //boot) parameter
 //to set the needed timezone.
 /
 What's wrong with the KS Timezone command? Why do it via cmdline or w/
 symbolic
 links??


 On first thought I didnt want to have X different KS files for setting the
 timezone... however, I can use the command
 line method I was thinking about... then use the %pre section to make use of
 the KS timezone
 command.

 Thanks - I just wasnt thinking straight yet this morning.

If you have lots of KS files you can use %include

   %include mysite-standard-stuff.ks

In that file add standard stuff like:

timezone US/Los_Angeles
lang en_US.UTF-8
keyboard us
auth --useshadow --enablemd5
selinux --enforcing

Keep it simple.
There is a tool to flatten KS files out there that can be of help
(used it once).
Use a revision control system for your KS files too.



-- 
NiftyCluster
T o m   M i t c h e l l
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos