← Revision 11 as of 2005-02-24 15:57:18
Size: 10395
Comment:
|
← Revision 12 as of 2005-02-24 17:26:37 →
Size: 5050
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
!'''[http://0nline-casin0.newmail.ru Online Casino] Win money fast!'''! | This page describes some general maintenance operations you can perform on an installed node. |
Line 3: | Line 3: |
!'''[http://united-airline.boom.ru/ United Airlines tickets] !'''! |
== Gaining administrative access to a node == You will need to create a ssh authentication key and give your public key to a member of the operations team. This key will be placed on the nodes for which you need administrative access. Take a look at the command ''ssh-keygen'' to create your keys. |
Line 5: | Line 7: |
[http://online-degree.hotmail.ru/ Online degree] | Once you do have the rights to get onto a node you can simply connect to it using secure shell. For example: |
Line 7: | Line 9: |
[http://online1degree.chat.ru/ Online degree] |
{{{ssh nodexyz.personaltelco.net}}} This will allow you to connect to the host as a normal user. You will also be provided with {{{sudo}}} rights, which basically gives you the right to execute commands as root. A command is executed with root priviledges as follows: {{{sudo <command>}}} Some of the commands described on this page requires you to have root priviledges. These are not explicitly indicated but if you get "permission denied" errors, try running the command using {{{sudo}}}. == Verify correct services == The PTP boxes run several services. Once you are logged into a node you should check if the following important services are running: * '''nocat''': ''You will notice a perl process that is the actual NoCat service.'' * '''apache''': ''The local web server. There may be more than one running - depending on how many people are connected.'' * '''dhcpd''': ''The dhcp server.'' * '''snmpd''': ''The SNMP deamon that allows us to monitor the box with Nagios. '' * '''named''': ''This is the DNS server and there may be several named processes running.'' The commands used for this is: {{{ps -ax}}} == Verify services are running correctly == === NoCat === A good check to verify that the machine is operating correctly is to see when the last user authenticated using NoCat. You can check this by looking at the entries in the file {{{/var/log/nocat.log}}}. In this file you will notice entries describing hosts entering and leaving the network. You can check the most recent timestamps of these entries to verify that the node is operating as expected. A problem that occurs regularly is that the NoCat log file grows too big for the partition it is on. In this case you can do the following to free up some disk space: {{{ % cd /var/log % sudo gzip nocat.log % sudo touch nocat.log % sudo /etc/init.d/nocatauth-gateway restart }}} === bind === Bone is the primary dns server for personaltelco.net. Bone's zone configuration files are located in {{{/etc/bind/external}}} . Note: these are in subversion so use the cof command to edit these files. (of course you want to make sure you know what you're doing editing those as well) On the Node side of things. Each node runs is own instance of Bind9 it's local configuration is in {{{/etc/bind}}}. The configuration is set to allow locally connected clients (the wireless network) and the machine itself to use the NuCab as the primary nameserver for the network. Each box is a secondary/slave for the ptp zone and the 10.11.in-addr.arpa zone. It also provides dns services to clients connected on the network using bone as it's primary source for un-cached dns queries. You'll also want to pay attention to {{{/etc/hosts -> /etc/net-node/hosts}}} for node specific information. |
Line 10: | Line 65: |
[http://chp-cigar.boom.ru/ cheap cigarettes] [http://disc-cigar.boom.ru/ discount cigarettes] [http://online-cigaret.hotmail.ru/ online cigarettes] [http://marlb-cigar.boom.ru/ marlboro cigarettes] [http://online-cigar.boom.ru/ online cigarettes] [http://winst-cigar.boom.ru/ winston cigarettes] [http://camel-cigar.boom.ru/ camel cigarettes] [http://winst-cigaret.hotmail.ru/ Cheap winston cigarettes] |
== Updating packages == It is a good idea to keep the nodes updates with recent packages. The commands used for this are: |
Line 19: | Line 68: |
[http://cruise4-review.boom.ru/ | cruise review] [http://cruise2review.chat.ru/ | cruise review] [http://cruise2bahamas.chat.ru/ | bahamas cruise] [http://nile2cruises.chat.ru/ | nile cruises] |
{{{ % sudo apt-get clean % sudo apt-get update % sudo apt-get dist-upgrade % sudo apt-get clean }}} == Updating configuration files == You can also update a node with the latest configuration files as created by the PTP operations team. You update the configuration files as follows: {{{ % df -h (confirm there is adaquate disk space) % cd /home/web % sudo svn st (look at the changes to the repository, by the same token, know what your putting into subversion, space is very limited on most nodes) % sudo svn update }}} |
Line 25: | Line 86: |
Best links: '''crystal cruise''' |
== Change detection == A way to detect any configuration changes on a box is to use {{{aide}}}. Running aide will show you which files have been changed recently. This will give you a good idea about what is going on with the box. You can run {{{aide}}} as follows: {{{ % sudo aide --update | less }}} Notify the ops team if you notice a lot of files in the list or "odd" file changes. The database that changed files are compared against may need updating, but they should decide this. It should be noted that if you are the regular maintainer of the node in question it may not suprise you that say several files are changed concerning apache after a dist-upgrade where the apache-common pkg was upgraded. What your looking for and should be interested in is, after running "last" and seeing your the only one to have logged in since the last dist-upgrade, that an unrelated file in /etc was changed, say the shadow file or that /var/log/messages.3.gz was deleted. :) Use your heads. -Robert |
Line 28: | Line 96: |
[http://crystalcruise.chat.ru/ | crystal cruise] [http://crystal1cruise.boom.ru/ | crystal cruise] [http://crystal1cruise.hotmail.ru/ | crystal cruise] Best links: '''desk lamp''' [http://desk-lamp.nightmail.ru/ | desk lamp] Best links: '''didrex''' [http://didrex1.chat.ru/ | didrex] Best links: '''divorce''' [http://floridadivorce.chat.ru/ | divorce florida] [http://ncarolinadivorce.chat.ru/ | carolina divorce north] [http://divorce1help.chat.ru/ | divorce help] [http://divorce1form.chat.ru/ | divorce form] [http://divorce1advice.chat.ru/ | advice divorce] [http://nydivorce.chat.ru/ | divorce new york] [http://divorceuncont.chat.ru/ | divorce uncontested] Best links: '''drugs''' [http://phentermine1.chat.ru/ | buy phentermine] [http://best-phent.boom.ru/ | buy phentermine] Best links: '''equipment''' [http://exe-equipment.boom.ru/ | exercise equipment] [http://heavy-equipment.boom.ru/ | heavy equipment] [http://construction-eq.boom.ru/ | construction equipment] [http://home-fitness-eq.boom.ru/ | home fitness equipment] [http://surv-equipment.boom.ru/ | surveillance equipment] [http://scuba-equipment.boom.ru/ | scuba equipment] [http://eq-leasing.boom.ru/ | equipment leasing] Best links: '''financial aid''' [http://financial-aid.newmail.ru/ | financial aid] [http://financial1aid.chat.ru/ | financial aid] Best links: '''first aid''' [http://first-aid.newmail.ru/ | first aid] [http://first1aid.chat.ru/ | first aid] Best links: '''flower delivery''' [http://flower-1delivery.boom.ru/ | flower delivery] [http://flower1delivery.chat.ru/ | flower delivery] Best links: '''flowers''' [http://birthday-flower.boom.ru/ | birthday flower] [http://send-flower.boom.ru/ | send flower] [http://flower-shop.boom.ru/ | flower shop] [http://order-flower.boom.ru/ | order flower] [http://flower-arrange.boom.ru/ | flower arrangement] [http://a-1-800-flower.boom.ru/ | 1 800 flower] Best links: '''ford''' [http://ford-engine.newmail.ru/ | ford engine] Best links: '''ford engine''' [http://engine4ford.chat.ru/ | ford engine] Best links: '''hawaii''' [http://hawai-hotel.boom.ru/ | hawaii hotel] [http://hawaii-hot.boom.ru/ | hawaii hotel] [http://hawaii-hotel.newmail.ru/ | Hawaii hotels] [http://hawaii-hotel.hotmail.ru/ | hawaii hotel] [http://hawaii1hotels.chat.ru/ | hawaii hotel] [http://hawaii-vacation.hotmail.ru/ | hawaii vacation] [http://hawaii1vacation.chat.ru/ | hawaii vacation] [http://hawaii-vacation.boom.ru/ | hawaii vacation] [http://hawaii-resort.hotmail.ru/ | hawaii resort] [http://hawaii-resort.boom.ru/ | hawaii resort] [http://hawaii1resort.chat.ru/ | hawaii resort] Best links: '''hawaiian cruise''' [http://hawaiian-cruise1.hotmail.ru/ | hawaiian cruise] [http://hawaiian-cruise1.boom.ru/ | hawaiian cruise] [http://hawaiiancruise1.chat.ru/ | hawaiian cruise] Best links: '''insurance''' [http://chealth-insur.boom.ru/ | california health insurance] [http://c-auto-insh.boom.ru/ | california auto insurance] [http://lcost1insurance.chat.ru/ | low cost health insurance] [http://health1insurance.chat.ru/ | california health insurance] [http://hinsurancelead.chat.ru/ | health insurance lead] [http://insurance5.chat.ru/ | online life insurance] [http://healthinsuranceq.chat.ru/ | health insurance quote] [http://rentersinsurance.chat.ru/ | renters insurance] [http://cautoinsurance.chat.ru/ | california auto insurance] [http://carinsurrate.chat.ru/ | car insurance rate] [http://ainsurancerate.chat.ru/ | auto insurance rate] [http://health2insurance.chat.ru/ | health insurance coverage] [http://home1insurance.chat.ru/ | homeowner insurance] [http://mercuryinsurance.chat.ru/ | mercury insurance] [http://healthiplan.chat.ru/ | health insurance plan] [http://life1insuranceq.chat.ru/ | life insurance quote] [http://car1insurances.chat.ru/ | car insurance company] [http://tlifeinsuranceq.chat.ru/ | term life insurance quote] [http://lifeinsurancep.chat.ru/ | life insurance policy] [http://cautoinsurance1.chat.ru/ | cheap auto insurance] [http://lifeinsurancec.chat.ru/ | life insurance company] [http://lifeinsurancer.chat.ru/ | life insurance rate] [http://ahealthinsurance.chat.ru/ | affordable health insurance] [http://auto1insuranceo.chat.ru/ | auto insurance online] [http://healthinsurances.chat.ru/ | self employed health insurance] [http://car-insurance.hotmail.ru/ | car insurance] [http://car-ins.boom.ru/ | car insurance] Best links: '''intranet''' [http://intranet-software.newmail.ru/ | intranet] [http://intranet-soft.boom.ru/ | intranet software] Best links: '''lake tahoe''' [http://lake-tahoe.boom.ru/ | lake tahoe] [http://lake-tahoe.nm.ru/ | lake tahoe] [http://travel2tahoe.chat.ru/ | lake tahoe] [http://tahoe-lodging.boom.ru/ | lake tahoe lodging] [http://lake-tahoe-lodging.newmail.ru/ | lake tahoe lodging] [http://lake-tahoe-casin0.hotmail.ru/ | lake tahoe casino] [http://tahoe1casino.chat.ru/ | lake tahoe casino] [http://tahoe-rental.newmail.ru/ | tahoe vacation rental] [http://tahoe-vacation.boom.ru/ | tahoe vacation rental] [http://tahoe1vacation.chat.ru/ | tahoe vacation rental] Best links: '''lamp''' [http://desk-lamp.hotmail.ru/ | desk lamp] [http://floor-lamp.hotmail.ru/ | floor lamp] [http://floor1lamp.chat.ru/ | floor lamp] [http://lamp-shades.hotmail.ru/ | lamp shades] [http://lamp1shades.chat.ru/ | lamp shades] [http://tiffany-lamp.hotmail.ru/ | tiffany lamp] [http://tiffany4lamp.chat.ru/ | tiffany lamp] [http://lamp-plus.hotmail.ru/ | lamp-plus] [http://lamp1plus.chat.ru/ | lamp plus] [http://projector2lamp.chat.ru/ | projector lamp] [http://projector-lamp.hotmail.ru/ | projector lamp] [http://desk1lamp.chat.ru/ | desk lamp] [http://desk2-lamp.hotmail.ru/ | desk lamp] [http://desk-lamp.narod.ru/ | desk lamp] Best links: '''laptop''' [http://dell-laptop.newmail.ru/ | dell laptop] [http://dell1laptop.chat.ru/ | dell laptop] Best links: '''lift chair''' [http://lift-chair.boom.ru/ | lift chair] Best links: '''loan''' [http://homeequityloanr.chat.ru/ | home equity loan rate] [http://fastloan.chat.ru/ | fast loan] [http://carloan.chat.ru/ | car loan] [http://bcrloanmortgage.chat.ru/ | bad credit loan mortgage] [http://fastcashloan.chat.ru/ | fast cash loan] [http://debtconsloan.chat.ru/ | debt consolidation loan] [http://cashloan.chat.ru/ | cash loan] [http://bcreditautoloan.chat.ru/ | bad credit auto loan] [http://personalloan.chat.ru/ | personal loan] [http://vahomeloan.chat.ru/ | va home loan] [http://homeloanmortgage.chat.ru/ | a home loan mortgage] [http://cashadvanceloan.chat.ru/ | cash advance loan] [http://unsecuredploan.chat.ru/ | unsecured personal loan] [http://improvementloan.chat.ru/ | home improvement loan] [http://bcreditcarloan.chat.ru/ | bad credit car loan] [http://badcreditloan1.chat.ru/ | bad credit loan] [http://badcreditloan.chat.ru/ | bad credit loan] [http://pdloanonline.chat.ru/ | payday loan online] [http://fhaloan.chat.ru/ | fha loan] [http://mortgageloan.chat.ru/ | mortgage loan] [http://nfpaydayloan.chat.ru/ | no faxing payday loan] [http://floridahomeloan.chat.ru/ | florida home loan] [http://consolidloan.chat.ru/ | consolidation loan] [http://countryhomeloan.chat.ru/ | countrywide home loan] [http://refinanceloan.chat.ru/ | refinance loan] [http://valoan.chat.ru/ | va loan] [http://chomeloan.chat.ru/ | california home loan] [http://homeequityloan.chat.ru/ | home equity loan] [http://eloancom.chat.ru/ | e loan] Best links: '''massage chair''' [http://massage-chair.hotmail.ru/ | massage chair] [http://chair4massage.chat.ru/ | massage chair] Best links: '''mat''' [http://floor-mat.nm.ru/ | floor mat] [http://floor1mat.chat.ru/ | floor mat] [http://yoga-mat.newmail.ru/ | yoga mat] [http://mat4yoga.chat.ru/ | yoga mat] Best links: '''mediterranean cruise''' [http://mediterr-cruise.boom.ru/ | mediterranean cruise] [http://mediter1cruise.chat.ru/ | mediterranean cruise] [http://mediterranean-cruise.hotmail.ru/ | mediterranean cruise] Best links: '''mortgage''' [http://lowmortgagerate.chat.ru/ | lowest mortgage rate] [http://calif1mortgage.chat.ru/ | california mortgage] [http://ameriqmortgage.chat.ru/ | ameriquest mortgage] [http://mortgage1lead.chat.ru/ | mortgage lead] [http://wmutualmortgage.chat.ru/ | washington mutual mortgage] Best links: '''network monitoring software''' [http://network-software.hotmail.ru/ | network monitoring software] [http://network-software.boom.ru/ | network monitoring software] [http://software2network.chat.ru/ | network monitoring software] [http://network-monitor.boom.ru/ | network monitoring software] Best links: '''nursing''' [http://nursing-degree.hotmail.ru/ | nursing degree] [http://nursing1degree.chat.ru/ | nursing degree] [http://nursing-home.hotmail.ru/ | nursing home] [http://nursing-home.boom.ru/ | nursing home] [http://nursing-school.hotmail.ru/ | nursing school] [http://nursing2-school.boom.ru/ | nursing school] [http://nursing2school.chat.ru/ | nursing school] |
CategoryNode |
This page describes some general maintenance operations you can perform on an installed node.
Gaining administrative access to a node
You will need to create a ssh authentication key and give your public key to a member of the operations team. This key will be placed on the nodes for which you need administrative access. Take a look at the command ssh-keygen to create your keys.
Once you do have the rights to get onto a node you can simply connect to it using secure shell. For example:
ssh nodexyz.personaltelco.net
This will allow you to connect to the host as a normal user. You will also be provided with sudo rights, which basically gives you the right to execute commands as root. A command is executed with root priviledges as follows:
sudo <command>
Some of the commands described on this page requires you to have root priviledges. These are not explicitly indicated but if you get "permission denied" errors, try running the command using sudo.
Verify correct services
The PTP boxes run several services. Once you are logged into a node you should check if the following important services are running:
nocat: You will notice a perl process that is the actual NoCat service.
apache: The local web server. There may be more than one running - depending on how many people are connected.
dhcpd: The dhcp server.
snmpd: The SNMP deamon that allows us to monitor the box with Nagios.
named: This is the DNS server and there may be several named processes running.
The commands used for this is:
ps -ax
Verify services are running correctly
NoCat
A good check to verify that the machine is operating correctly is to see when the last user authenticated using NoCat. You can check this by looking at the entries in the file /var/log/nocat.log. In this file you will notice entries describing hosts entering and leaving the network. You can check the most recent timestamps of these entries to verify that the node is operating as expected.
A problem that occurs regularly is that the NoCat log file grows too big for the partition it is on. In this case you can do the following to free up some disk space:
% cd /var/log % sudo gzip nocat.log % sudo touch nocat.log % sudo /etc/init.d/nocatauth-gateway restart
bind
Bone is the primary dns server for personaltelco.net. Bone's zone configuration files are located in /etc/bind/external . Note: these are in subversion so use the cof command to edit these files. (of course you want to make sure you know what you're doing editing those as well)
On the Node side of things. Each node runs is own instance of Bind9 it's local configuration is in /etc/bind. The configuration is set to allow locally connected clients (the wireless network) and the machine itself to use the NuCab as the primary nameserver for the network.
Each box is a secondary/slave for the ptp zone and the 10.11.in-addr.arpa zone. It also provides dns services to clients connected on the network using bone as it's primary source for un-cached dns queries.
You'll also want to pay attention to /etc/hosts -> /etc/net-node/hosts for node specific information.
Updating packages
It is a good idea to keep the nodes updates with recent packages. The commands used for this are:
% sudo apt-get clean % sudo apt-get update % sudo apt-get dist-upgrade % sudo apt-get clean
Updating configuration files
You can also update a node with the latest configuration files as created by the PTP operations team. You update the configuration files as follows:
% df -h (confirm there is adaquate disk space) % cd /home/web % sudo svn st (look at the changes to the repository, by the same token, know what your putting into subversion, space is very limited on most nodes) % sudo svn update
Change detection
A way to detect any configuration changes on a box is to use aide. Running aide will show you which files have been changed recently. This will give you a good idea about what is going on with the box. You can run aide as follows:
% sudo aide --update | less
Notify the ops team if you notice a lot of files in the list or "odd" file changes. The database that changed files are compared against may need updating, but they should decide this. It should be noted that if you are the regular maintainer of the node in question it may not suprise you that say several files are changed concerning apache after a dist-upgrade where the apache-common pkg was upgraded. What your looking for and should be interested in is, after running "last" and seeing your the only one to have logged in since the last dist-upgrade, that an unrelated file in /etc was changed, say the shadow file or that /var/log/messages.3.gz was deleted. Use your heads. -Robert