本站用于记录日常工作内容,虚拟化云计算,系统运维,数据库DBA,网络与安全。
上次在某机房遇到的问题,ip在母鸡可以用,小鸡不可用。后来这样解决。现在来和大家分享。请执行下列步骤配置的XenServer:1。使用下面的命令来确定桥XenServer所使用的接口在同一子网route | grep default复制代码1.gif(3.99 KB, 下载次数: 0)2。在 /etc/sysconfig/network-scripts 新建一个 “xenbrX“DEVICE=xenbrX:1ONBOOT=yesBOOTPROTO=noneNETMASK= <SUBNET MASK>IPADDR= <IP ADDRESS>复制代码3。启用IP转发的XenServer Dom0中为路由器,通过编辑/ etc / sysctl.conf并改变线路:- from -net.ipv4.ip_forward = 0- to -net.ipv4.ip_forward = 1复制代码3.gif(6.98 KB, 下载次数: 0)4。配置防火墙 ,取代xenbrX步骤1中确定的值后,通过添加下面一行到/ etc / sysconfig中/ iptables的启用IP接口之间转发) :-A RH-Firewall-1-INPUT -i xenbrX -o xenbrX -j ACCEPT复制代码4.gif(14.55 KB, 下载次数: 0)5.应用通过运行以下命令sysctl -pifup xenbrX:1service iptables restart6. Assign VMs to the managem复制代码
ESXi 和 vCenter Server 5.5 文档 > vSphere 安装和设置 > 系统要求 ESXi 硬件要求确保主机符合 ESXi 5.5 支持的最低硬件配置。 硬件和系统资源要安装和使用 ESXi 5.5,您的硬件和系统资源必须满足下列要求: ■ 支持的服务器平台。有关支持的平台的列表,请参见《VMware 兼容性指南》,网址为 http://www.vmware.com/resources/compatibility。 ■ ESXi 5.5 将仅在安装有 64 位 x86 CPU 的服务器上安装和运行。 ■ ESXi 5.5 要求主机至少具有两个内核。 ■ ESXi 5.5 仅支持 LAHF 和 SAHF CPU 指令。 ■ ESXi 5.5 需要在 BIOS 中针对 CPU 启用 NX/XD 位。 ■ ESXi 支持多种 x64 多核处理器。有关受支持处理器的完整列表,请参见《VMware 兼容性指南》,网址为 http://www.vmware.com/resources/compatibility。 ■ ...
Traffic accounting with iptablesJump to: navigation,searchSuppose you need to know how much traffic your containers eat. It can be easily doneusing iptables.Contents [hide] 1 Situation description2 Solution3 More complicated cases4 Scripting4.1 Get CTIDs of all running containers4.2 Get all IPs of running containers4.3 Set up all needed iptables rules4.4 Generate a traffic.log4.5 Sample php script to store the trafficlog in a database4.6 A SQL query to get the traffic for the last 30 days4.7 Notes5 See also[edit] Situation description Let's consider the very simple situation: one container with one IP address on the Hardware Nodewith only one network interface. To be more exact, assume that container ID is 200, the IP address of the HNis 192.168.0.56, the network interface name is eth0, and the IP address of the container is 192.168.0.117.You wish to know how many bytes container 200 eats. One more assumption is that there are no iptables ruleson HN now. All these assumptio...
Proxmox using iptables in openvz guests I recently upgraded Proxmox and noticed iptables was not working in the guests.Turns out a small edit is required to /etc/vz/vz.conf (we need to add some more modules to be used in the openvz guests).Using any editor, open /etc/vz/vz.conf and change and find the “IPTABLES=” lineChange:IPTABLES="ipt_REJECT ipt_tos ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length"To:IPTABLES="ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp"Then reboot (you can probably just re-start your guests).
OpenVZ 更加好支持iptables 在硬件节点内修改iptables挂载模组vim /etc/sysconfig/iptables-configIPTABLES_MODULES="ipt_REJECT ipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp"vim /etc/sysconfig/vzIPTABLES="ipt_REJECTipt_tos ipt_TOS ipt_LOG ip_conntrack ipt_limit ipt_multiport iptable_filter iptable_mangle ipt_TCPMSS ipt_tcpmss ipt_ttl ipt_length ipt_state iptable_nat ip_nat_ftp"重新启动VZ服务service vz restart放行更加多的iptables 条目# vzctl set $CTID --numiptent 400 --savevzctl enter $CTIDiptables -P INPUT DROPiptables -P FORWARD DROPiptables -I INPUT -j ACCEPT -m state --state ESTABLISHED,RELATEDiptables -I FORWARD -j ACCEPT -m state --state ESTABLISHED,RELATEDiptables -I INPUT -j ACCEPT -i loiptables -I INPUT -p tcp --dport 25 -j ACCEPTiptables -I INPUT -p tcp --dport 110 -j ACCEPTiptables -I INPUT -p tcp --dport 995 -j ACCEPTiptables -I INPUT -p ...
您所在的组无权查看该日志
Burning an IMG FileIf your system does not have a CDROM drive to install from, you can instead write the operating system directly to a compact flash card or USB thumbdrive. Download the img.xz file, uncompress the file, and write it to a compact flash card or USB thumbdrive that is 2 GB or larger. You then boot into that device to load the FreeNAS® operating system. This section demonstrates how to write the image using several different operating systems. The Unetbootin tool is not supported at this time.DANGER! The dd command demonstrated in this section is very powerful and will destroy any existing data on the specified device. Be very sure that you know the device name to write to and that you do not typo the device name when using dd! If you are uncomfortable writing the image yourself, download the .iso file instead and use the instructions in Installing from CDROM.Once you have written the image to the device, make sure the boot order in the BIOS is set to boot from tha...
NAS4Free 开源网络存储系统最新版本:9.1.0.1更新时间:2013-07-18软件大小:193.0MB软件语言:C/C++软件授权:免费授权协议:BSD下载次数:3711应用平台:跨平台 最新版本9.1.0.1 文件大小md5 nas4free-9.1.0.1.iso ...
ConVirt 2.0.1 中文版发布,图形化虚拟机管理最近花点时间作了一下ConVirt 2.0.1社区版的汉化工作,现按照ConVirt 2.0.1社区版所使用的GPLv2授权协议发布出来。欢迎各位正在研究/使用云计算相关技术的朋友试用并提出宝贵意见。除了本人之外,天涯社区的李帅,Intel公司的王帅,以及搜狐的王蕾也参与了ConVirt 2.0.1社区版的汉化工作。在此向如上各位所付出的时间和精力一并表示感谢。下面以Ubuntu 10.04.2服务器版为例,说明一下管理节点安装方法:下载安装包:wget http://www.convirture.com/downloads/convirt/2.0.1/convirt-install-2.0.1.tar.gzwget http://www.qyjohn.net/ConVirt/convirt-2.0.1-chinese.tar.gz安装依赖关系:sudo apt-get install libmysqlclient-devtar -xzf convirt-install-2.0.1.tar.gzsudo ./convirt-install/install/cms/scripts/install_dependencies 修改MySQL配置,在/etc/mysql/my.cnf文件的[mysqld]部分添加如下内容:innodb_buffer_pool_size=1Ginnodb_additional_mem_pool_size=20M 重新启动MySQL:sudo    /etc/init.d/mysql restart 修改ConVirt数据库配置,编辑~/convirt/src/convirt/web/convirt/develop...
在Ubuntu Server 12.04.1 安装部署CloudStack 4.0企业私有云平台 http://www.milltoo.com/forum.php?mod=viewthread&tid=2543 在Ubuntu Server 12.04.1 安装部署CloudStack 4.0企业私有云平台 1. 什么是CloudStack 2. 宿主机的系统需求 3. 配置安装源 4. 安装Management Server 5. 安装配置KVM虚拟化Host主机 6. 用户界面 7. 配置Management Server 8. 创建Instance类型 9. 创建ISO安装源并创建Instance 10. 创建并定制Template 11. 通过定制的Template创建VM Instance 12. 其它优化设置 参考资料 CloudStack Installation_Guide/installation.html CloudStack Admin_guide/working-with-iso.html ...
    总共58页,当前第34页 | 页数:
  1. 24
  2. 25
  3. 26
  4. 27
  5. 28
  6. 29
  7. 30
  8. 31
  9. 32
  10. 33
  11. 34
  12. 35
  13. 36
  14. 37
  15. 38
  16. 39
  17. 40
  18. 41
  19. 42
  20. 43
  21. 44