April 7, 2008

How to set-up SIM ( System Integrity Monitor)

by @ 6:31 am. Filed under Micfo Web Hosting, Web Hosting Articles, Hosting Support

The System Integrity Monitor, SIM tools monitor and ensure that the services are running and responding smoothly, it verify that services are online, load averages are in check, and log files are at reasonable sizes.

you can install SIM with easy process as discussed below;

Login to your server via SSH as root.

Type: wget http://www.r-fx.org/downloads/sim-current.tar.gz
This will download the most current version of SIM (System Integrity Monitor)

Type: tar -xzvf sim-current.tar.gz
This will extract the tar.gz file at once.

The last line should look like “sim-2.5-3/CREDITS” everything before the / is the directory where the script was extracted too.
Type: cd sim-2.5-3
where sim-2.5-3 is the directory that SIM was extracted too.

Type: ./setup -i
Then press “Enter”
Then when it says MORE press the “space bar”
Then press “Enter”
Then when it syas MORE press the “space bar”

Now press enter for the auto-configuration script for SIM.

The following config are just for an example what I use, please note, you can change some monitoring services what you are going to choose.

Where is SIM installed ?
[/usr/local/sim]:
Press Enter
Where should the sim.log file be created ?
[/usr/local/sim/sim.log]:
Press Enter
Max size of sim.log before rotated ? (value in KB)
[128]:
Type: 512
Press Enter
The larger the file the more SIM (System Integrity Monitor) logs we can view. This is good for looking back.
Where should alerts be emailed to ? (e.g: root, user@domain)
[root]:
Type: youreamil@yourdaomin (One off server would be more secure.)
Press Enter
Disable alert emails after how many events, to avoid email flood ?
(Note: events stats are cleared daily)
[8]:
Press Enter
The below are configuration options for Service modules:
press return to continue…
Press Enter
Auto-restart services found to be offline ? (true=enable, false=disable)
[true]:
Press Enter
Enforce laxed service checking ? (true=enable, false=disable)
[true]:
Press Enter
Disable auto-restart after how many downed service events ?
(Note: events stats are cleared daily)
[10]:
Press Enter
Enable FTP service monitoring ? (true=enable, false=disable)
[false]:
Press Enter
Enable HTTP service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Enable DNS service monitoring ? (true=enable, false=disable)
[false]:
Type: true (if you are running ensim do not type true just press enter)
Press Enter
Enable SSH service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Enable MYSQL service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Enable SMTP service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
TCP/IP port that SMTP operates on ?
[25]:
Press Enter
Enable XINET service monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
TCP/IP port that any XINET service operates on (e.g: pop3, 110) ?
[110]:
Press Enter
Enable ENSIM service monitoring ? (true=enable, false=disable)
[false]:
Press Enter
Enable PGSQL service monitoring ? (true=enable, false=disable)
[false]:
After an unclean HTTP shutdown, semaphore array’s may remain allocated
and cause the service to fall into a looping restart cycle. Using this
feature clears semaphore arrays on HTTP restart.
Enable semaphore cleanup ?
[false]:
Press Enter
This is extended feature in the http module which determine if/when the apache server locks up or otherwise stops
responding.
Enable URL aware monitoring ?
Type: true
Press Enter
URL path to a local file ? (exclude HTTP://)
Note: This URL should be valid and reside on the local server, otherwise
HTTP will loop restarting
[127.0.0.1/index.html]:
Type: site.com/index.html that resides on your local server
Press Enter
HTTP log files can grow large and cause the service to crash
(segfault), this feature will keep the main HTTP logs incheck.
Enable HTTP log monitor ?
[false]:
Press Enter
MySQL uses a /tmp symlink of its mysql.sock socket file. This
feature verifies that the symlink exists from the main mysql.sock
file, and if not it is recreated.
Enable MySQL Socket correction ?
[false]:
Press Enter
Enable NETWORK monitoring ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
interface to monitor ?
[eth0]:
Press Enter
Enable LOAD monitor ? (true=enable, false=disable)
[false]:
Type: true
Press Enter
Load level before status condition ‘warning’ ?
[25]:
Type: 5
Press Enter
Load level before status condition ‘critical’ ?
[45]:
Type: 10
Press Enter
Enable a global (wall) message at status condition ‘warning’ & ‘critical’ ?
[false]:
Press Enter
Renice services at status condition ‘warning’ or ‘critical’ ?
(3 values - warn, crit, false - false=disabled)
[false]:
Press Enter
Stop nonessential services at status condition ‘warning’ or ‘critical’ ?
(3 values - warn, crit, false - false=disabled)
[false]:
Press Enter
Reboot system on status condition ‘warning’ or ‘critical’ ?
(3 values - warn, crit, false - false=disabled)
[false]:
Now Press Enter

Now the SIM (System Integrity Monitor) has been configured we will add a cron.

Type: ./setup -c
If it says “Removed SIM cronjob.” then type it again.
Type: ./setup -c
It will say “Installed SIM cronjob.
« Shopping Cart Software
Install mod_security for Apache »

Installation process finished!

« Previous entries

January 18, 2008

CGI Script Hosting

by @ 9:21 am. Filed under Micfo Web Hosting, Web Hosting Articles, Windows Web Hosting

Today most of online business sites have interactive feature and have lot of automated texture that is one of the reason that the website must run smooth and on secured platform. CGI hosting supports websites that use CGI scripts in their CGI-BIN, CGI and SSI, which are both often compatible. However it may be no more than a matter of personal preference about what script or programming languages you’re going to use. Java is also one of the best and popular programming languages which generally accomplish through the scripting on server side, as well other programming languages on this side are PHP, PERL.

Generally CGI script are used for a website to bring greater functionality like shopping cart, which should entail for the capability to calculate shipping cost, apply sales tax and make other calculation automatically. in addition for automated registration process and issuing user name/password to your visitors CGI scripts is one of the preferred choice. You will require better interaction capability of your website with majority of database that includes MYSQL & MS Access databases which can be applied in similar range of servers like UNIX, Linux & Window.

However there are many other languages like PHP, PERL and Java are gaining popularity due to many reasons but CGI hold it place since from long time & still it remain one of the essential element for creating a website and so on the CGI Hosting will remain there to serve you efficiently & resourcefully.

« Previous entries

December 21, 2007

Why Virtual Private Server?

by @ 8:19 am. Filed under Micfo Web Hosting, Web Hosting Articles

VPS concept is not a new one. The idea of dividing the resources of a physical server is being in use from many years. The idea is to divide the Mainframes ( slice up physical server into virtual or “private ) to allow more people affordable access to such huge and very costly devices, where each private server has it’s own unique file system, user space (including virtual root) disk space, process space, CPU, bandwidth, and memory allocations. Even though there limit on CPU, Memory there is no affect on other private server in case of still a horde of heavy traffic. With a VPS account most important thing that you get Root access to individual private servers and these Private Servers are invisible to each other and do not share processes. Also each private server has its own set of IP add and even in case of faults in one private server, it does not affect others.

The isolation performances eliminate the risk of downtime which may cause by others mistakes, or in case of fault and hack. In short within the fraction of the cost with a private server you get all benefits of a dedicated server as you can share a physical server and still have the same guarantees of a dedicated server.

« Previous entries

March 26, 2007

Name server setup for new VPS or Dedicated server

by @ 4:15 pm. Filed under cPanel Hosting, Micfo Web Hosting, Web Hosting Articles, Linux Hosting
Greetings,
If you have a new VPS or a dedicated server with cpanel and are looking for some document on guidance how to set the name server for it the here is the step by step to do it.
1. First you will have to decide what nameserver you want to set on your VPS. If you have the domain “mydomain.com” then you can make the nameservers ns1.domain.com and ns2.domain.com.
2. http://IP/whm >> show ip address usage >> Check free IP there or choose your primary and secondary IP Address.
You will need to register nameservers first from registrar end. Login to your registrar’s domain control panel and register the name server or ask them to register the private name server for your domain.

-ns1.domain.com - the Default IP Of your server
-ns2.domain.com - Secondary IP or free IP

Exception : In case if you have just one domain and you have set that name server for your other server and you want to use ns3.domain.com and ns4.domain.com name server for this server then you will have to set the dns for it from the dns zone file of domain.com if you have WHM then you can go to the server where this domain is resolving then open WHM >> Edit a DNS zone >> select domain from the list >> Edit at the end just add this line
ns3 In A First_IP
ns4 In A Second_IP

or if you are using shell then you can simply append following lines there in

# vi /var/named/domain.com.db
ns3 IN A First_IP
ns4 IN A Second_IP

save file.

# service named reload

# rndc reload domain.com

3. http://IP/whm >> Basic cPanel/WHM Setup

Primary Nameserver ns1.domain.com >>
Click on “Assign IP address” and then “Add an A entry for this name server”

Secondary Nameserver ns2.domain.com
Click on “Assign IP address ” and then “Add an A entry for this name server”

4. Once all done you can check if your nameservers have started resolving or not from
http://www.dnsstuff.com/tools/lookup.ch?name=ns1.domain.com&type=A
Once you see the assigned IP address there then it means that the name server for your server are set.

Create new account from your WHM and now you will just need to point your site from your registrar end to these nameservers ns1.domain.com and ns2.domain.com if you want to resolve your site from this server.

You are done with the name server set-up…
Cheers ..!!

Jason.

« Previous entries

January 27, 2007

Avoid Mistake While Choosing Host Providers

by @ 3:20 am. Filed under Web Hosting Articles

Free web host; A free web space can hamper your business as there would be a bunch of advertisements of other sites on your web pages. You will loss your own identity with such jargon of ad campaign over your site. If you check the TOS of these free host providers they don’t give any guarantee of uptime or support, means you are helpless in some unseen circumstances, also think what would be the effect if the google crawler tried to visit your site and found your site facing downtime? Best to opt for a paid service, you should have command of good service & support.

Limited Hosting; As far as possible avoid those providers that don’t provide add order forms,multiple email account and other features that you would like to have.

Best to choose a providers that offer;

multiple POP Email accounts
VPS & Dedicated hosting
Secure Servers
FTP Accounts
Web usage statistics
Web space allocation
Url Redirection
Autoresponders
Site builder
24×7 live support

I would suggest to opt for a free trial those offer “Money Back Guarantee” and check their uptime, support to insure their reliability and customer care service.

« Previous entries

December 20, 2006

How to access cpanel without pointing DNS to that server

by @ 8:42 am. Filed under cPanel Hosting, Web Hosting Articles, Domain Name

How to access cpanel without pointing DNS to that server

Hello Friends,

You can access your cpanel without pointing your DNS to that server from your local machine. For that please follow the following steps.

1. Make sure that you are having the account on that server which you are trying to access.

2. You must have the cpanel login details.

3. put the following entries in your local machine hosts file. for that edit

c:\WINDOWS\system32\drivers\etc\hosts

add the following line as

domain.com

and now you can access your cpanel without pointing DNS to that server.

« Previous entries

RESELLER HOSTING | DEDICATED SERVER | PREMIUM HOSTING | VPS HOSTING

Micfo Hosting

Micfo International LLC Leading the hosting Industry with Cheap and Affordable Linux Web Hosting Packages.

internal links:

categories:

archives:

Services:

Micfo Hosting

Micfo, delivering the best cpanel web hosting with maximum reliability is our exclusive focus.
Micfo International LLC

search blog:

TOP 10 POSTS:

Pages:

General Links:

Syndicate

other:

41 queries. 0.134 seconds