Skip to main content

Posts

Showing posts from June, 2019

Scalability Vs Elasticity

SCALABILITY  - ability of a system to increase the workload on its current hardware resources ( scale up ); ELASTICITY  - ability of a system to increase the workload on its current and additional (dynamically added on demand) hardware resources ( scale out ); Scalability:  "Increasing" the capacity to meet the "increasing" workload. Elasticity:  "Increasing or reducing" the capacity to meet the "increasing or reducing" workload. Scalability:  In a scaling environment, the available resources may exceed to meet the "future demands". Elasticity:  In the elastic environment, the available resources match the "current demands" as closely as possible. Scalability:  Scalability adapts only to the "workload increase" by "provisioning" the resources in an "incremental" manner. Elasticity:  Elasticity adapts to both the "workload increase" as well as "workload decre

Exim options

exiqgrep to obtain a queue listing, and then greps the output to select messages that match given criteria. The following selection options are available: -f Match the sender address using a case-insensitive search. The field that is tested is enclosed in angle brackets, so you can test for bounce messages with exiqgrep -f '^<>$'  -r Match a recipient address using a case-insensitve search. The field that is tested is not enclosed in angle brackets. -s Match against the size field. -y Match messages that are younger than the given time. -o Match messages that are older than the given time. -z Match only frozen messages. -x Match only non-frozen messages. The following options control the format of the output: ############################################# -c Display only the count of matching messages. -l Long format – display the full message information as output by Exim. This is the default. -i Display message ids only. -b Brief format – one

htaccess redirection / passwd subfolder problem

Sometimes when we need to put htaccess password or redirection in the subfolders of a site like /home/user/public_html/SVT/VVT/.htaccess. In this case there is a possiblity of .htaccesss is not getting picked by apache.. For making apache to read the subfolder .htaccess file put the below line in the first of the htaccess file. ErrorDocument 401 "Unauthorized". So the .htaccess file for password protection will be as follows: ErrorDocument 401 "Unauthorized" AuthUserFile /home/username/public_html/SVT/VVT/.htpasswd AuthType Basic AuthName "Password Protected Area" Require valid-user