skip to main
|
skip to sidebar
Tuesday, August 5, 2008
more on VPS..
#####
# VPS
#####
##############
# VPS commands
##############
from central node :-
vps configuration file path=>
/etc/sysconf/vz-script/
to dispaly list of vps=>
vzlist
to enter the vps =>
vzctl
vid
eg :- vzctl enter 100
to stop a vps from server =>
vzctl stop vid
to start a vps from server=>
vzctl start vid
to restart =>
vzctl restart vid
-------------------------------
way to find a vps with an ip from the central node
#vzlist | grep IP
or
#grep IP /etc/sysconfig/vz-scripts/*
or
cd /etc/sysconfig/vz-scripts
grep ip ./*
---------------------------------
from vps
to see the conf. parameters=>
cat /proc/user_beancounters
to change the values at runtime=>
vzctl set vid --numfile 30000 --save
vzctl set vid --numflock 200:220 --save
-------------------------------------------------------------------
#########################
# VPS issues and commands
#########################
1.VPS
---------
A virtual private server (also referred to as virtual dedicated server
or virtual server, and abbreviated VPS or VDS) is a method of
partitioning one physical server computer into multiple servers that
each has the appearance and capabilities of running on its own
dedicated
machine. Each virtual server can run its own full-fledged operating
system, and each server can be independently rebooted.
You can find more information about VPS at
http://en.wikipedia.org/wiki/Virtual_private_server
-----------------------------------------------------------------------------------------------
The service chksrvd is always running on your VPS, that will check for
any service failures and restart them. The services will be always
restarted unless they have a major fault with the configuration.
-----------------------------------------------------------------------------------------------
2)VPS Commands
-----------------------
2.1)To """"find a VPS""""" in the central node..(.conf file)
----------------------------------------
At the central node,
cd /etc/sysconfig/vz-scripts
grep IP ./*
or
#grep IP /etc/sysconfig/vz-scripts/*
or
vzlist | grep IP
--------------------------------------------
2.2)For """"""entering"""""""" a VPS
--------------------------------
#vzctl enter ID
-------------------------------------------
2.3)For """""rebooting"""""" VPS
----------------------------
vzctl start/stop ID
-------------------------------------------
2.4)For changing """"""hostname""""""
---------------------------------
vzctl set ID --hostname [newhostname] --save
-------------------------------------------
2.5)For changing """""""parameters"""""""
------------------------------------
vzctl set ID --[parameter] [value] --save
-------------------------------------------
2.6)For optimizing """""time zone"""""""
----------------------------------
rdate -s tick.greyware.com
or
rdate -s rdate.cpanel.net
-------------------------------------------
2.7)To know how many """""""processes""""""""
-------------------------------------------
cat /proc/cpuinfo
-------------------------------------------
2.8)To show """""resources usage""""
------------------------------------------------
cat /proc/user_beancounters
-------------------------------------------
-------------------------------------------
1) vzlist -a : Shows list of all the VPS’s hosted on the Node.
2) vzctl start VPS_ID: To start the VPS.
3) vzctl stop VPS_ID : To stop (Shut Down) the VPS
4) vzctl status VPS_ID : To view the status of the particular VPS
5) vzctl stop VPS_ID –fast : to stop the VPS quickly and forcefully
6) vzctl enter VPS_ID : To enter in a particular VPS
-------------------------------------------
-------------------------------------------
Configuration Commands
-------------------------------------------
1) vzctl set VPS_ID –hostname vps.domain.com –save: To set the
Hostname of a VPS.
2) vzctl set VPS_ID –ipadd 1.2.3.4 –save : To add a new IP to the
hosting VPS.
3) vzctl set VPS_ID –ipdel 1.2.3.4 –save : To delete the IP from
VPS.
4) vzctl set VPS_ID –userpasswd root:new_password –save : to reset
root password of a VPS.
5) vzctl set VPS_ID –nameserver 1.2.3.4 –save : To add the
nameserver IP’s to the VPS.
6) vzctl exec VPS_ID command : To run any command on a VPS from Node.
7) vzyum VPS_ID install package_name : To install any package/Software
on a VPS from Node.
Here VPS_ID refers to the ID of the Particular VPS.
------------------------------------------------------------------------------------------------------------------------------------------------------
####################
# performance tuning
####################
1. Install zend optimizer
2. Install eaccelerator
3. zlib.output_compression = On
or
output_handler = ob_gzhandler
Note : may produce error. Have to check in detail
4. session.save_handler=mm (default session.save_handler=file)
5. Use output buffering. Note that output buffering is already enabled
if you are using the above ob_gzhandler hint
6. make -> Options FollowSymLinks to
#Options SymLinksIfOwnerMatch
Note : If you are not worried about the directory security when
accessing symbolic links, turn on FollowSymLinks and turn off
SymLinksIfOwnerMatch to prevent additional lstat() system calls from being made:
7. # disable DNS lookups: PHP scripts only get the IP address
HostnameLookups off
8. # disable htaccess checks
###############################
# Virtuozzo Power Panels (VZPP)
###############################
Virtuozzo Power Panel?
--------------------------------
Virtuozzo Power Panels (VZPP) is a powerful web-based recovery and
administration tool, intended for use by VPS owners. VZPP can be used on a
standalone basis or within the Plesk interface. With VZPP, a user with
administrative access to a VPS can easily perform many critical
management tasks:
VPS Start/Stop/Reboot
Start, stop, fast stop and restart the VPS
VPS Services Management
Manage VPS services and processes such as stopping an offending task or
restarting a service
VPS Resource Monitoring
Monitor VPS resource utilization for CPU, system, disk space and disk
inodes
VPS Backup/Restore
Back up and restore the VPS from the backup including all system and
user files
VPS Repair
Start the VPS in repair mode when a VPS is broken and does not boot
Embedded SSH Client
Connect via integrated SSH client to the VPS
VPS Re-install
Reinstall the VPS from scratch, either saving or discarding existing
files
VPS Actions Log
View the VPS actions log to monitor resource shortage alerts and
various VPS events
VZPP accessible via 4643 port. Example:
If your main VPS server IP 64.202.123.197, VZPP would be accessible as:
https://64.202.123.197:4643
username: root
password: your_current_root_password
Q: I am existing customer do I have access to VZPP?
A: Most of clients are already have access to VZPP. VZPP accessible via
4643 port. Example: If your main VPS server IP 64.202.123.197, VZPP
would be accessible as:
https://64.202.123.197:4643
username: root
password: your_current_root_password
Click for demo screenshot
But there are a number of servers with outdated virtuozzo management
software, that does not support VZPP and cannot be updated. These clients
will be migrated to new VPS servers with latest software within
several next months. If you would like to migrate now, please contact
migration@hostforweb.com
=============================================================================================================================
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2016
(1)
►
May
(1)
►
2012
(7)
►
November
(7)
►
2011
(1)
►
July
(1)
►
2010
(2)
►
December
(1)
►
March
(1)
►
2009
(53)
►
December
(1)
►
July
(1)
►
June
(7)
►
May
(11)
►
April
(6)
►
March
(4)
►
February
(11)
►
January
(12)
▼
2008
(75)
►
December
(5)
►
November
(4)
►
October
(1)
►
September
(14)
▼
August
(4)
Using your VPS's /proc/user_beancounters
Passwordless ssh[ssh tunneling]
aPaChe ApAcHe
more on VPS..
►
July
(4)
►
June
(4)
►
May
(19)
►
April
(20)
Contact me for help:syleshh@gmail.com
View my complete profile
Live Chat!
FEEDjit
Feedjit Live Blog Stats
Check out!!
Prajiz webbie
Social Media Responsibility
12 years ago
cool doode
No comments:
Post a Comment