文章列表
创建一个RealServer
Configuring Real Servers
配置步骤:
创建一个realserver
rserver host RS_WEB1 RealServer 的名字 RS_WEB1
descripttion content server web-one 描述
ip address 10.10.50.10 realserver真实主机的IP地址
inservice ...
系统为centos5,加一块硬盘。
先加上硬盘
分区: fdisk /dev/sdb
分成一个分区,格式为linux LVM.
下面开始把分区加到LVM内去:
1.建立物理卷
pvcreate /dev/sdb1
2.把新物理卷加入到卷组中去
vgextend VolGroup00 /dev/sdb1
3.把新的空间加到逻辑卷中去
lvextend -L+10G /dev/VolGroup00/LogVol00
4.加上去之后,目前用df -h还看不到新的空间,需要激活
resize2fs -p /dev/VolGroup01/LogVol00
SSH login without password
Your aim
You want to use Linux and OpenSSH to automize your tasks. Therefore you need an automatic login from host A / user a to Host B / user b. You don't want to enter any passwords, because you want to call ssh from a within a shell script.
How to do it
First log in on ...
Routine Maintenance
* Notes on killing Oracle sessions: http://www.oracle-base.com/articles/misc/KillingOracleSessions.php
SELECT sid,serial#,osuser,program,username FROM v$session;
ALTER SYSTEM KILL SESSION 'sid,serial#' IMMEDIATE;
* Finding active sessions:
SELECT SID, Se ...
one P2V way
- 博客分类:
- Virtualization
Steps to Clone a VM.
1. Let's assume we want to clone SOURCE-VM to DESTINATION-VM.
2. Make sure both VMs runs the same version of the OS, boot them up.
3. Take both machines into single user mode with networking and ssh service, with the following commands:
# ch ...
mysql> show binary logs;
mysql> purge binary logs to 'mysql-bin.??????';