![]() |
|
|||||||
| Register | FAQ | Rules | Chat | TWC Wiki | Downloads | Arcade | Forum Help | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
| Technical Bazaar Where members can conduct informed technical discussions related to TWC's software, hardware, or similar issues. For things like "Why doesn't this feature work?" or "I found something wrong", please use Questions & Suggestions instead, unless you have an informed diagnosis, proposed technical solution, etc. |
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 | |
|
Chief Technician
![]() Technical Staff • Citizen |
Steps 1-3 and possibly 4-5 will need to be done by GED, I'll most likely do most of the rest. I need to research setting up RAID and LVM some more: I've never set up Linux software RAID, and while I did set up LVM for the current server, the way I did it was . . . peculiar.
Last edited by Simetrical; January 25, 2009 at 01:43 PM. Reason: Status update |
|
|
|
|
|
|
|
#2 | |
|
Nøbama
![]() Technical Staff • Artifex |
RAID might be best done on initial setup, but we can go either way on that. I generally do it that way but it doesnt really matter to me. Seems to take less time.
Once the machine is up and running I will install sshd and make sure everything goes through my network like it should so you can have access. The name thor will work, nothing on my network is using that name. Good thing you didnt pick zeus or ares though For user accounts we also have to have one for the host in case we really need them to get into it, and they will probably have to change some configurations to set it up in their network when we move it. I will probably just create 1 user account at install, and give you that user name and password so you can create whatever else you need. To run on my network its going to have to have an internal IP of 10.100.128.xxx so my router and DNS server will forward traffic to it. I think restricting MySQL to 4 cores is probably a good idea, make sure we have plenty for the cgi processes. Other software I want: That hardware package that checks temps, thats pretty useful. Its running on my Ubuntu server just fine. I also want to run the crap out of it for several hours while I am sitting here and make sure we have no issues. I dont expect any, but better to catch it early. |
|
|
|
|
|
|
|
#3 | |||||||
|
Chief Technician
![]() Technical Staff • Citizen |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
|||||||
|
|
|
|||||||
|
|
#4 | ||||||
|
Nøbama
![]() Technical Staff • Artifex |
Quote:
The current machines (Odin) setup is: Quote:
Quote:
Quote:
Quote:
|
||||||
|
|
|
||||||
|
|
#5 | |||||
|
Chief Technician
![]() Technical Staff • Citizen |
Quote:
Quote:
The internal name in Linux is just an arbitrary designation, as far as I can tell. I don't think it's used for any network operations at all. It will sometimes coincide with a domain name that resolves to the computer in question, but that's optional: on my home machine, the command "hostname" prints out simply "aryeh-desktop". On odin it outputs "odin.twcenter.net". On another server I have access to it outputs "ubuntu". I'm quite certain nothing bad would happen if you hooked two of them together with the same hostname. Quote:
Quote:
Which ports are available? Normally I'd open SSH on port 22, SMTP on port 25, and HTTP on port 80. If those don't work, we can probably pick any we like, although of course we should switch them back when we set up the server for real. I'm not sure offhand if you can receive incoming mail except on port 25, actually . . . if necessary we can disable that to begin with and make sure it's working once the server is moved to the hosting facility. |
|||||
|
|
|
|||||
|
|
#6 | |||
|
Nøbama
![]() Technical Staff • Artifex |
Quote:
Linux: Code:
smbmount //servername/share /mnt/srvr -o username=________ password=_________ Code:
\\servername\share Code:
NET USE I: \\servername\folder /persistent:no. When a client recieves an IP address via DHCP it takes the computer name and registers that in DNS as its FQDN (Fully Qualified Domain Name) whether its just a simple name like odin or a name like odin.twcenter.net. If you assign a static IP, you either have to create a manual DNS entry or set the option to register the address with DNS automatically. Either way the machine name, or virtual DNS name, has to be unique or you will get errors in your DNS logs. If you had two machines named odin, and typed a simple command like ping odin, it would fail. However you can have two machines with the same name if one is joined to the domain and one is not, or they belong to two different domains. For example if you had odin.twcenter.net and odin.twcenter.com that would be fine, though there would be some special routing rules you would have to set up. Quote:
|
|||
|
|
|
|||
|
|
#7 | ||||
|
Chief Technician
![]() Technical Staff • Citizen |
Quote:
Code:
mount twcenter.net:/var/local/export /media/twc Code:
mount 74.53.195.226:/var/local/export /media/twc Quote:
Quote:
Then your other servers can't be running services on the same ports. Otherwise how will it know where to send packets addressed to port 22 (or whatever) with your IP address? The domain name isn't necessarily provided in the request. |
||||
|
|
|
||||
|
|
#8 | ||||
|
Nøbama
![]() Technical Staff • Artifex |
Quote:
Incidentally your cable modem also has two IP addresses, your public 72.229.xxx.xxx and http://192.168.100.1/ which is the default broadcast IP for home networks. Theres usually a config page located there. If you look at the routing tables or DHCP tables within your router (assuming your router is also your DHCP server) then you will see your machine name next to its IP address. This is why you can ping by machine name. When you name your machine, in Linux or in Windows, that name becomes the default DNS (internal) name. Like this: ![]() Ares is obviously my server, goliath is my sons machines name (he picked it) and pandora is my Ubuntu machine. Note that pandora is not joined to the domain, so it just says pandora. The ones you do not see are zeus (my desktop), athena (wifes machine), apollo (backup server), or either one of my daughters machines. They are not turned on or they would show in the list too, and my backup server is also its own DNS server (10.100.1.xxx) and then there is a bridge between the two networks. I am connected via remote with my laptop so you dont see that connection either. The Linux machine broacasts its name for DNS purposes, though you can manually change it through suffixes for any operating system. For external/internet DNS resolution there has to be a manual table entry created on a public DNS server, and you can call that anything you please. Quote:
Quote:
If we need port 21, I will move mine to another port for a while. I am the only one that uses it anyways. Last edited by GrnEyedDvl; January 01, 2009 at 01:43 PM. |
||||
|
|
|
||||
|
|
#9 | ||||||
|
Chief Technician
![]() Technical Staff • Citizen |
Quote:
Code:
$ traceroute google.com traceroute to google.com (72.14.205.100), 30 hops max, 40 byte packets 1 10.36.0.1 (10.36.0.1) 11.225 ms * * 2 gig-4-0-nycmnye-rtr1.nyc.rr.com (24.29.98.37) 10.905 ms 10.955 ms 10.946 ms 3 pos-2-0-nycmnyc-rtr1.nyc.rr.com (24.29.104.162) 10.961 ms * * ... Code:
$ ifconfig | grep 'inet addr'
inet addr:72.229.28.14 Bcast:72.229.29.255 Mask:255.255.254.0
inet addr:127.0.0.1 Mask:255.0.0.0
$ dig -x 72.229.28.14 +short
cpe-72-229-28-14.nyc.res.rr.com.
Quote:
Quote:
Getting the latest DHCP RFC, I see that "DHCP also does not address registration of newly configured clients with the Domain Name System (DNS)". What protocol are the computers using to broadcast their hostnames? Quote:
Code:
$ dig google.com +nocmd +nocomments +noidentify +nostats ; <<>> DiG 9.5.0-P2 <<>> google.com +nocmd +nocomments +noidentify +nostats ;; global options: printcmd ;google.com. IN A google.com. 27 IN A 74.125.45.100 google.com. 27 IN A 209.85.171.100 google.com. 27 IN A 72.14.205.100 google.com. 78310 IN NS ns4.google.com. google.com. 78310 IN NS ns3.google.com. google.com. 78310 IN NS ns2.google.com. google.com. 78310 IN NS ns1.google.com. ns2.google.com. 163952 IN A 216.239.34.10 ns1.google.com. 342159 IN A 216.239.32.10 Quote:
|
||||||
|
|
|
||||||
|
|
#10 | ||||||
|
Nøbama
![]() Technical Staff • Artifex |
Quote:
Quote:
Quote:
Quote:
But even back then the DHCP protocols required a unique identifier: Quote:
It can also be done through NetBIOS, which is pretty much tied to DHCP and DNS both as it runs over the TCP protocol. Windows has its own version of NetBIOS called WINS which allows you to append names differently than DNS does. I assume that similar to how the Linux host-name operates. |
||||||
|
|
|
||||||
|
|
#11 | ||||||
|
Chief Technician
![]() Technical Staff • Citizen |
Quote:
Quote:
Anyway, IRC is complicated enough that routers might not bother to support it, or might support it incorrectly or incompletely. Practically speaking, the only easy way to get it to work reliably is to forward the whole slew of ports to one machine. When we set up our network, my sister also used IRC, so we couldn't easily be behind the same NAT. So I got split off to my own IP address. I like that anyway because it's more straightforward if I want to run servers for whatever reason. For instance, I run sshd on my desktop (which I also leave on all the time) so I can access my computer from anywhere if desired. Since I'm not behind NAT, I don't have to worry about conflicting with a server set up by my brother, or about having to forward the port to me at all. Quote:
Quote:
Anyway, the original idea was that IPv6 would avoid the need for DHCP, by having the host-specific part of the address (lower 64 bits) be globally unique, for instance by including a MAC address. Then the host could just tell the network on connection what its half of the IP address would be, and the network would provide its half (upper 64 bits), with no negotiation needed. Apparently a stripped-down form of DHCP ended up being needed in practice for one or two obnoxious remaining details, like figuring out the IP address of the local nameserver, but certainly not the same form used in IPv4. Quote:
Code:
#send dhcp-client-identifier 1:0:a0:24:ab:fb:9c; I'll ask some of the real Linux gurus I know (i.e., one of the people who runs Wikipedia) what happens if you hook together a bunch of Linux machines with the same hostname set. |
||||||
|
|
|
||||||
|
|
#12 | |
|
Мосфильм
![]() Citizen |
Please remember that it would be good to notify Ian as early as possible about the moving date so he can terminate our relation with the current host.
|
|
|
|
|
|
|
|
#13 | ||
|
Life = Like a beanstalk
![]() Content Writer • CdeC • Citizen |
Quote:
![]() Host-------Ian |
||
|
|
|
||
|
|
#14 | |
|
Chief Technician
![]() Technical Staff • Citizen |
Of course. We should be able to keep the overlap down to a couple of days, since initial setup will be done at GED's place. We won't be able to figure out timeframes until we've at least gotten the server running.
|
|
|
|
|
|
|
|
#15 | |
|
Nøbama
![]() Technical Staff • Artifex |
I got the coolers yesterday, I will try and get it together and booted today.
|
|
|
|
|
|
|
|
#16 | |
|
Chief Technician
![]() Technical Staff • Citizen |
Okay, great. Make sure you get LVM set up as well as RAID, if possible.
|
|
|
|
|
|
|
|
#17 | |
|
Nøbama
![]() Technical Staff • Artifex |
I seem to be having a BIOS issue, I think the board we got had been setting on a shelf for a while and doesnt have an updated BIOS for the 82xx Opterons. The problem with that is I cant flash it, I dont have an Opteron 8xxx-82xx processor. Its throwing me an FF error code which either means bad CPU or power supply issues. As everything is new, and I seriously doubt I got 4 bad CPUs, I am guessing it just doesnt recognize the processors. I spent about an hour on the phone with Tyan today and I am probably going to end up getting an RMA on it as they will not ship a BIOS chip to me directly as I am not a Tyan authorized dealer. I will be on the phone again with them tomorrow.
|
|
|
|
|
|
|
|
#18 | |
|
Nøbama
![]() Technical Staff • Artifex |
Sorry I havent been around much the last few days.
The board has been RMA'd to Tyan (Monday), which may take as many as 14 days. We cant really wait that long. We have to give a 30 day notice to our old host, and I dont want to gove them notice until the new machine is up and stable. That puts us up against the clock for the release of Empire. A 30 day notice for the Planet puts us in mid February, if I got the machine up and running today. Waiting a further 14 days puts us right at the end of February and I am not comfortable with that cushion. Sooo... Today I ordered a 1U barebones system that will accept the 4 processors and RAM we already have. This system was not out when I ordered the original parts, damn them. It came out last week. Its a case, board, power supply, and rails with 4 hot swap drive bays at $1100. I am the only person that has ordered this from NewEgg, possibly the first person to order it ever. Since I have never had a problem with a Tyan board until building this machine, I am not too worried about more problems. Because of this thread, I also ordered another 8 gigs of RAM, so we will have 16 total. That was another $230, but I want to eliminate as many problems as we can here. All told I spent $1400 that I was not expecting to spend, and had it shipped next day air for $100. That should put it here Friday at the latest, possibly tomorrow if they get it out on time. I will end up with a case, power supply, and a motherboard that I really have no use for but cannot return. Such is life I guess. I will figure out what to do with the extra parts sometime in the future. Since I dont really have a need for a board that will accept 4 quad cores hopefully I can sell it and recoup most of the original cost on that. The case and power supply I will probably have a need for at some point, though they are much more than what the standard small business server needs. Anyone in Denver that happens to have a use for this stuff feel free to contact me. The good news is that going to 1U instead of 2U will save the site $25 a month which we can put towards bandwidth if we need to. |
|
|
|
|
|
|
|
#19 | |||
|
Chief Technician
![]() Technical Staff • Citizen |
No problem, not all of us are college students on winter break.
Quote:
We have to give 30 days' notice before we move the server, but are we really going to put off starting the contract with the new host until that time is almost up? That will save a month's overlap in billing, but it puts us in a hard situation if there are problems with the new setup. Plus, it puts us on our current inferior hardware for an extra month. Or are you saying we'd be able to verify that it's working before the new host will start billing us? Speaking of which, have you decided for sure which host we'll be using? Quote:
Didn't you say there might be problems with that size? |
|||
|
|
|
|||
|
|
#20 | |||||
|
Nøbama
![]() Technical Staff • Artifex |
Quote:
Quote:
Quote:
Quote:
On the flip side of that, I could move all the stuff from the barebones case into the bigger case I already have if we ran into heat problems. |
|||||
|
|
|
|||||
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
|
|
|