Showing posts with label Personal rant. Show all posts
Showing posts with label Personal rant. Show all posts

Friday, November 23, 2007

What is the deal with Fedora Core 8??

For the Polar Grid project I use a job scheduler named Condor. Unfortunately attempts to get Condor running in Ubuntu have been completely unsuccessful. So I figure I need to go ahead and get use to Fedora. Fine I download spiffy new FC8 and load it up. Pretty straight forward install. The only issue I kind of had to deal with was that because I have both a SATA and an IDE drive in my system and wanted the SATA to be the primary, I had to have GRUB load on the IDE drive. No biggie.

So I'm think all will be well just like it was with Ubuntu as far as general system stability. I was wrong as hell. I had constant lock-ups. Programs froze all the time. I'm not even talking about 3rd party apps which were a joke to get running, I mean built in software like Firefox and Compiz.

For you hard core nuts out there I did all of the the updates with the same results, so back I went to Ubuntu 7.10 and I have had nothing but smooth sailing.

I am going to try CentOS because I have to have Condor but as for my primary system and all of the Macs in my lab, Fedora is out.

Tuesday, August 21, 2007

Dual-booting -- Setting the default OS in Grub (Unbutu)

Ok if you have decided to just try Ubuntu out without fully committing you may have found yourself in a dual-boot situation. Well when you install Ubuntu it sets it self as the default OS. Well you may not want that or you may have other versions of Linux that you want as the default. Well that is where the grub "menu.lst" file comes into play. To open the file you type:

sudo gedit /boot/grub/menu.lst

Find the following section in the file:

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default 0


The important line is the last one. You will need to change that number 0 to match the Windows boot section. Typically it's always going to be 6 on a default dual-boot configuration. Change this value to 6, and then save and reboot your machine. You should go into Windows instead of Ubuntu automatically. (To figure out what number the OS you want to install is simply count from 0 down the menu to find the number of the wanted OS. In my case it was 6)

Special thanks to: http://www.howtogeek.com/howto/ubuntu/set-windows-as-default-os-when-dual-booting-ubuntu/

Friday, August 17, 2007

[Mega Linux Nerd] Shell App -- Cygwin

A PhD fresh off the boat told me about this Windows Linux Shell emulator Cygwin. Now i have to tell you that personally this isn't exactly the kill app I have been waiting for but for you ultra nerds out there that love emacs or vi or just good ole` bash commands, this is the thing for you. Now the install isn't as intuitive as would have liked because it is a live distribution. So in otherswords if you are trying to get this off a modem connection -- you might as well hang it up. Once the distribution all you get is a prompt. Nothing more just a prompt although per Dr. A you can start the xserver and possibly pull up Gnome if you really want a GUI interface but why lol? I guess if you don't have a compiler or you just want to mess with someone, this would be the app for you but, if you are looking for something to help make a person want to switch, just leave it alone.

Monday, July 30, 2007

Condor Reconfigure

This pages purpose is to show how to reconfigure a condor pool if the master/server units IP address changes. (Note: This has happened in our case because 1: The server did not have a static IP address. 2:The direct IP address was being used instead of a domain name in condor_config CONDOR_HOST.)

The Condor Master (Fedora RC7 Linux with Gnome)

First a couple quick questions answered.

     1. Condor is located in two main directories
Actual program scripts

/usr/local/condor/sbin

Condor configuration

/etc/condor

2. No the condor master does not run auto-magically when you start the system
--well at least not in Linux

Now here is what I had to do:

1. open a terminal window and get the new IP address of the machine

/sbin/./ifconfig 

2. I had to edit the condor_config file to enter in the new IP address (In case you didn't know it the condor_config file is for both the master's config and the workers. (Note: if you are not root, you may have to type su or sudo prior to running this command)

 gedit /etc/condor_config 

change the CONDOR_HOST under Part 1 then save the config. (Note: If you cannot save, you may need to open the file as root by doing su or sudo.)

3. Now you have to start the master. (Note: If you already have the master running you may just be able to type ./condor_reconfigure)


cd /usr/local/condor/sbin
./condor_master

As long as you don't see any errors you should be good to go. 4. Check to make sure the condor is running by typing

condor_status

Assuming all went well you should get something like the following:

[condor@ecsulab222-16 ~]$ condor_status

Name OpSys Arch State Activity LoadAv Mem ActvtyTime

10-24-5-83.my LINUX INTEL Unclaimed Idle 0.000 883 0+02:15:04


Total Owner Claimed Unclaimed Matched Preempting Backfill

INTEL/LINUX 1 0 0 1 0 0 0

Total 1 0 0 1 0 0 0

Now for the workers

Condor Workers (MAC OS X, Linux, Windows XP)

Mac OS X and Linux (Note: Make sure you still have the IP address of the Condor Master)

1. Open a Terminal window and edit the condor_config file to change the CONDOR_HOST under Part 1 to the IP address of the Master

 open /Users/condor/condor_config 

Then save the file. (Note: If you cannot save, you may need to open the file as root by doing su then running the open command.)

2. You must start the master manually

cd /usr/local/condor/sbin/
./condor_master

3. Now you must force the master to take the reconfiguration

./condor_reconfig

4. After a minute or so as long as you haven't had any errors you can go back to the condor master and do a condor_status to look for the OS X machine.

[condor@ecsulab222-16 ~]$ condor_status

Name OpSys Arch State Activity LoadAv Mem ActvtyTime

10-24-5-83.my LINUX INTEL Unclaimed Idle 0.000 883 0+02:45:04
10-24-5-51.my OSX PPC Unclaimed Idle 0.010 128 0+00:09:49

Total Owner Claimed Unclaimed Matched Preempting Backfill

INTEL/LINUX 1 0 0 1 0 0 0
PPC/OSX 1 0 0 1 0 0 0

Total 2 0 0 2 0 0 0

Windows XP

1. Open the c:\condor\condor_config file. (Note: when you double click the icon and it asks what program to open in, I suggest NotePad.)

2. Change the CONDOR_HOST under Part 1 to the IP address of the Master.

3. Save the file. (Note: If you are unable to save, you may need to log in to an account with administrative privileges.)

4. Restart the computer.

5. After a minute or so once the computer has booted, and as long as you haven't had any errors, you can go back to the condor master and do a condor_status to look for the WINNT 51 machine.

[condor@ecsulab222-16 ~]$ condor_status

Name OpSys Arch State Activity LoadAv Mem ActvtyTime

10-24-5-122.m LINUX INTEL Unclaimed Idle 0.480 376[?????]
10-24-5-83.my LINUX INTEL Unclaimed Idle 0.000 883 0+02:45:04
10-24-5-51.my OSX PPC Unclaimed Idle 0.010 128 0+00:09:49
cerser1 WINNT51 INTEL Unclaimed Idle 0.000 511 0+00:09:39
cerser2 WINNT51 INTEL Unclaimed Idle 0.000 511 0+00:04:38
cerser3 WINNT51 INTEL Unclaimed Idle 0.000 511 0+00:04:38
cerser4 WINNT51 INTEL Unclaimed Idle 0.000 511 0+00:04:34

Total Owner Claimed Unclaimed Matched Preempting Backfill

INTEL/LINUX 2 0 0 2 0 0 0
INTEL/WINNT51 4 0 0 4 0 0 0
PPC/OSX 1 0 0 1 0 0 0

Total 7 0 0 7 0 0 0

Wednesday, July 25, 2007

SeaSpace (TeraScan) and CentOS

One of the tasks I set for my self at work is to reload all the lab systems with dual boot Linux and Windows XP. The university I work for has a TeraScan system installed so that we can receive imagery data directly from satellites. I decided to give Seaspace a call to see which flavor of Linux they would recommend. Well in order for the software to work you must have Redhat Enterprise installed. A site license for Redhat Enterprise is not cheap in any form or fashion. Even though Linux itself is free, the support or specialized programs to go along with it are not. As a matter of fact your looking around $9k to purchase Redhat Enterprise. I asked if Fedora which is supposedly RedHat open sourced would work. the agent informed me that they had not had good luck with Fedora, because of the many changes that have occurred in the OS.

When I heard that I though oh crap, that is gonna take a while to get passed through the budget. Thankfully the agent from SeaSpace let me know that CentOS is a direct port from the RedHat kernel. The best part is that CentOS is free! I have downloaded the ISO and I will of course keep you apprised of how it goes.

Monday, July 23, 2007

Should I really be running Ubuntu??

When I started this blog I was all about the Ubuntu distribution of Linux. I hate to say it but it is just to much of a pain to do anything in it. Don't get me wrong i love the fact that everything that is needed for most new Linux users comes pre-installed. I'm not a normal user. I like to try stuff. I like to install new versions of Beryl. I like to install WINE, and run PC games. I have to work in a program named Condor for GRID computing that isn't supported in Ubuntu. I hate to say it but Ubuntu just isn't getting it for me. I am seriously considering switching over to either Suse or Fedora. I'm leaning greater to the Fedora side because of user lead forums and what not. I guess this is a part of every Linux users plight. Since Linux isn't standardized or centralized different distributions may be better for a person or companies particular situation. It sucks but so is life you know? So --Ubuntu guys I am sorry but I just can't take sudo'ing everything anymore. I want a root account. I want to be able to use su. I want some of the power of true Linux back. So I am going to have to jump ship to a different distribution.