12.00
Normal
0
7.8 磅
0
2
false
false
false
EN-US
ZH-CN
X-NONE
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
mso-bidi-font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;
mso-font-kerning:1.0pt;}
防止老找不到
一、修改SSHD端口号的方法
#cd /etc/ssh/
#vi sshd_config
Port 2208
Port 22
切记2208,22都先打开,因为ESX的防火墙设置和我们经常用的linux有区别
二、修改ESX防火墙
#cd /etc/vmware/firewall
#vim services.xml
sshServer
inbound
tcp
2208
-m state --state NEW
sshClient
outbound
tcp
2208
-m state --state NEW
#esxcfg-firewall
-o 2208,tcp,in,sshServer
# service
mgmt-vmware restart
ESX硬盘250G限制
1、指定VMHBA卡名字:#vmkfstools -C vmfs3 -b 1m -S vmanager
vmhba0:0:0:3
2、指定一个特定的设备名,比如naa.xxx:
#vmkfstools -C vmfs3 -b 1m -S vmanager
naa.600601604d521c002732ff0dc122dd11:3
3、创建一个新的虚拟磁盘:
#vmkfstools -c 10G '[storage1] new.vmdk'
4、重命名指定磁盘名字:
#vmkfstools -E '[storage1] old.vmdk' '[storage1] new.vmdk'
5、获取虚拟磁盘的相关信息(cylinders、heads和sectors):
#vmkfstools -g '[storage1] new.vmdk'
6、删除掉当前存在的磁盘:
#vmkfstools -U '[storage1] new.vmdk'
7、压缩虚拟磁盘的尺寸:
#vmkfstools -s '[storage1] new.vmdk'
8、扩展磁盘的容量并将磁盘格式调整为eagerzeroedthick格式:
#vmkfstools -X 10G -d eagerzeroedthick '[storage1]
new.vmdk'
9、初始化虚拟磁盘将之归零:
#vmkfstools -w '[storage1] new.vmdk'
阅读(1150) | 评论(0) | 转发(0) |