Mais conteúdo relacionado Semelhante a Server Admin Manual (20) Server Admin Manual14. /tmp
/tmp
http://www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=844
6 VMware, Inc.
19. vmware-cmd
http://www.vmware.com/support/developer
http://www.vmware.com/support/pubs/server_pubs
VMware, Inc. 11
21. vmware-cmd
http://www.vmware.com/support/developer
http://www.vmware.com/support/pubs/server_pubs
VMware, Inc. 13
29. http://www.vmware.com/products/product_index.html
http://www.vmware.com/vcommunity/technology
http://www.vmware.com/support/pubs
http://www.vmware.com/support/kb
http://www.vmware.com/community
http://www.vmware.com/vcommunity/usergroups.html
http://www.vmtn.net
http://www.vmware.com/support
http://www.vmware.com/support/phone_support.html
VMware, Inc. 21
31. vm-support
.tgz
http://www.vmware.com/requestsupport
vmware.log .vmx
<vmname>.log .vmx
core vmware-core
VMware, Inc. 23
32. event-<path_to_configuration_file>.vmx.log
C:¥Program Files¥VMware¥VMware Server¥vmserverdRoot¥eventlog
/var/log/vmware
vmware-<username>-<PID>.log
C:¥Documents and Settings¥<username>¥Local Settings¥Temp
L ui-<PID>.log
/tmp/vmware-<username>
mui.log
C:¥Program Files¥VMware¥VMware Management Interface
error_log
/var/log/vmware-mui
vmware-authd
24 VMware, Inc.
33. C:¥Documents and Settings¥All Users¥Application
Data¥VMware¥VMware Server edit config.ini
/etc/vmware/config
vmauthd.logEnabled = TRUE
log.vmauthdFileName = "vmauthd.log"
vmauthd.log
C:¥Windows¥system32 C:¥WINNT¥system32
/var/log/vmware
vmware-serverd.log C:¥Windows¥Temp
vmware-serverd.log
/var/log/vmware
VMware, Inc. 25
34. vminst.log vmmsi.log
C:¥Documents and
Settings¥<username>¥Local Settings¥Temp Local Settings
locations /etc/vmware
26 VMware, Inc.
40. C:¥Program Files¥VMware¥VMware Server
C:¥Program Files¥VMware¥VMware Management Interface
C:¥Program Files¥VMware¥VMware VmCOM Scripting API
C:¥Program Files¥VMware¥VMware VmPerl Scripting API
C:¥Program Files¥VMware¥VMware VIX
32 VMware, Inc.
45. %WINDIR%system32msiexec.exe
instmsiw.exe
VMware-server-installer-1.0.0-<xxxx>.exe /a /s /v
"TARGETDIR=C:¥temp¥server /qn"
<xxxx>
msiexec -i "C:¥temp¥server¥VMware Server Standalone.msi" ADDLOCAL=ALL
/qn
VMware, Inc. 37
46. DESKTOP_SHORTCUT
DESKTOP_SHORTCUT = 0
DISABLE_AUTORUN
DISABLE_AUTORUN = 0
REMOVE_LICENSE
REMOVE_LICENSE = 1
SERIALNUMBER
SERIALNUMBER=<serialNumber>
ADDLOCAL
ADDLOCAL REMOVE
All
Network vmnet0
vmnet1 vmnet8
NAT DHCP
NAT
DHCP
38 VMware, Inc.
47. ADDLOCAL
REMOVE
Network
ADDLOCAL=ALL REMOVE=DHCP,NAT
DHCP NAT Network
ADDLOCAL=ALL REMOVE=Network
VMware, Inc. 39
49. PC-style hardware
( )
gcc
VMware-server-<xxxx>.i386.rpm
VMware-server-<xxxx>.tar.gz <xxxx>
VMware-mui-<xxxx>.tar.gz
VMware, Inc. 41
51. /usr/bin
/usr/lib/vmware-mui
/usr/bin
/usr/lib/vmware-mui/apache/bin
/usr/bin
/usr/lib/vmware-api
/usr/lib/vmware-vix
VMware, Inc. 43
52. inetd
su -
rpm -Uhv VMware-server-<xxxx>.i386.rpm
VMware-server-<xxxx>.i386.rpm
<xxxx>
/tmp
cp VMware-server-<xxxx>.tar.gz /tmp <xxxx>
cd /tmp
tar zxf VMware-server-<xxxx>.tar.gz
cd vmware-server-distrib
./vmware-install.pl
init init
vmware-config.pl
44 VMware, Inc.
53. lspci
/usr/bin/lspcidrake
vmware-config.pl
Do you
accept
Do you want networking for your
virtual machines?
Do you want to be able to use NAT networking in your virtual machines?
Do you want this script to probe for an unused private subnet?
Do you want to be able to use host-only networking in your virtual
machines?
Do you want this script to probe for an unused private subnet?
VMware, Inc. 45
54. ideafarm-chat
/var/lib/vmware/Virtual Machines
exit
libdb.so.3
Couldn't find necessary components on your system. It appears that you are missing
the following library: libdb.so.3.
46 VMware, Inc.
55. compat-db-<#>.<#>.<##>-<#>.i386.rpm libdb#.deb RPM
<#>
/etc/init.d/httpd.vmware start
libdb.so.3
su -
/tmp
cp VMware-mui-<xxxx>.tar.gz /tmp
<xxxx>
cd /tmp
tar zxf VMware-mui-<xxxx>.tar.gz
<xxxx>
VMware, Inc. 47
56. cd vmware-mui-distrib
./vmware-install.pl
init init
vmware-config-mui.pl
exit
libxpm.so.4
gcc
gcc
YAST2
48 VMware, Inc.
57. YAST2
gcc
VMware, Inc. 49
59. /usr/bin/netscape
/usr/bin
ln -s <path to browser> /usr/bin/netscape
VMware, Inc. 51
61. su -
/tmp
unzip VMware-server-linux-client-<xxxx>.zip -d
/tmp
<xxxx>
/tmp
cd /tmp
VMware, Inc. 53
62. rpm -Uhv VMware-server-console-<xxxx>.i386.rpm
<xxxx>
tar zxf VMware-server-console-<xxxx>.tar.gz
<xxxx>
vmware-server-console-distrib
cd vmware-server-console-distrib
./vmware-install.pl
Do you accept ... <Q>
vmware-config-console.pl
What port do you want the remote console to use to connect to server. [902]
exit
54 VMware, Inc.
65. MiniMUI SampleScripts
MiniMUI
SampleScripts
SampleScripts
SampleScripts
VMware, Inc. 57
66. su -
tar zxf VMware-VmPerlAPI-<xxxx>.tar.gz
<xxxx>
cd vmware-api-distrib
./vmware-install.pl
Do you accept?
<Q>
/usr/bin
/usr/lib/vmware-api
SampleScripts
58 VMware, Inc.
70. rpm -qa | grep VM
rpm -e <VMware-server package name>
vmware-uninstall.pl
/usr/bin/vmware-uninstall-mui.pl
rpm -e VMware-server-console
62 VMware, Inc.
75. .vmdk .dsk .cfg .vmx nvram
VMware, Inc. 67
78. rpm -e VMware-gsx
vmware-uninstall.pl
/usr/bin/vmware-uninstall-mui.pl
rpm -qa | grep -i vm
rpm -e VMware-server-console
/usr/bin/vmware-uninstall-console.pl
/usr/bin/vmware-uninstall-api.pl
70 VMware, Inc.
80. .vmx .vmdk .dsk
Unable to upgrade <drivename>. <drivename>
One of the supplied parameters is invalid.
72 VMware, Inc.
85. C:¥Windows¥System
C:¥Windows¥System
lpt.vxd
C:¥Windows¥System
C:¥Windows¥System
VMware, Inc. 77
86. C:¥Windows¥System
uhcd.sys
C:¥Windows¥System32¥drivers
C:¥Windows¥System
C:¥Windows¥System
inetmib1.dll
C:¥Windows
locproxy.exe
C:¥Windows¥System
ndishlp.sys
C:¥Windows
wsock.vxd
C:¥Windows¥System
78 VMware, Inc.
87. C:¥Windows¥System
.inf
dhcpsvc.dll
C:¥Windows¥System
inetmib1.dll
C:¥Windows
locproxy.exe
C:¥Windows¥System
ndishlp.sys
C:¥Windows
wshtcp.vxd
C:¥Windows¥System
VMware, Inc. 79
88. lpt.vxd
C:¥Windows¥System
80 VMware, Inc.
92. vmware-cmd
ideafarm-chat
authd.port
authd.client.port
authd.port authd.client.port authd.port
authd.client.port
authd.port
<server name>:<port> <config file>
84 VMware, Inc.
93. authd.client.port authd.port
C:¥Documents and Settings¥All Users¥Application Data¥VMware¥VMware
Server config.ini
authd.port = <portNumber>
<portNumber>
config.ini C:¥Documents and Settings¥All
Users¥Application Data¥VMware¥VMware ServerÉRÉìÉÅ[Éã
authd.client.port = <portNumber>
<portNumber>
config.ini
vmware-authd authd.port
C:¥Documents and
Settings¥<user>¥Application Data¥VMware preferences.ini
authd.client.port = <portNumber>
<portNumber>
config.ini vmware-authd
authd.port
xinetd inetd
xinetd
/etc/xinetd.d/vmware-authd
port = 902
VMware, Inc. 85
94. inetd
/etc/inetd.conf
902 … vmware-authd
/etc/vmware-server-console/config
/usr/lib/vmware-server-console/config
authd.client.port = <portNumber>
<portNumber>
config.ini vmware-authd
authd.port
/etc/vmware-server-console/config
~/.vmware/preferences
authd.client.port = <portNumber>
<portNumber>
config.ini vmware-authd
authd.port
~/.vmware/preferences
/etc/vmware-server-console/config
/usr/lib/vmware-server-console/config
86 VMware, Inc.
95. config.ini
vmware-authd authd.port
0 authd.client.port
authd.client.port
VMware, Inc. 87
98. r
r x
r w
90 VMware, Inc.
103. /etc/passwd
inetd xinetd
vmware-authd vmware-authd
VMware, Inc. 95
104. vmware-authd
vmware
vmware-authd
vmware-authd
vmware /<path_to_config>/<configfile>.vmx
vmware-authd vmware
vmware
vmware-config.pl
96 VMware, Inc.
106. https://<hostname>:8333
http://<hostname>:8222
https://<hostname>:8333
http://<hostname>:8222
mmc.exe
/etc/vmware-mui/ssl
mui.crt mui.key
98 VMware, Inc.
107. smbios2
00 11 22 33 44 55 66 77-88 99 aa bb cc dd ee ff
VMware, Inc. 99
108. .vmx
uuid.action = "create"
uuid.action = "keep"
.vmx
uuid.bios = <uuidvalue>
uuid.bios = "00 11 22 33 44 55 66 77-88 99 aa bb cc dd ee ff"
100 VMware, Inc.
110. eventlog.win.message=FALSE
eventlog.win.register=FALSE
.vmx
C:¥Documents and Settings¥All Users¥Application Data¥VMware¥VMware Server
VMware Server config.ini
102 VMware, Inc.
111. vmware-cmd
vmware-cmd <path_to_config>¥<config>.vmx suspend
vmware-cmd <path_to_config>¥<config>.vmx start
vmware-cmd <path_to_config>¥<config>.vmx stop
VMware, Inc. 103
114. C:¥Program Files¥VMware¥VMware Management
Interface¥htdocs¥init.pl vmware_SESSION_LENGTH
vmware_SESSION_LENGTH
0
vmware_SESSION_LENGTH -1
vmware-config-mui.pl
0
-1
https://<hostname>:8333
<hostname> localhost
106 VMware, Inc.
127. su -
/etc/init.d/httpd.vmware start
/etc/init.d/httpd.vmware stop
/etc/init.d/httpd.vmware restart
.vmx nvram
VMware, Inc. 119
146. x-vmware-server console
vmwareserver-helper.bat
"<path_to_vmwareserver>" -o "%1"
<path_to_vmwareserver>
C:¥Program Files¥VMware¥VMware Server¥vmware.exe
vmware-vms-helper.sh
#!/bin/sh
"<path_to_vmware-vms>" -o $1 > /dev/null 2>&1;
<path_to_vmware-vms>
/usr/bin/vmware
138 VMware, Inc.
147. chmod +x vmware-server-helper.sh
VMware Server
xvm
application/x-vmware-console
vmwareserver-helper.bat vmware-server-helper.sh
vmwareConsole-helper.bat
"<path_to_vmwareConsole>" -o "%1"
<path_to_vmwareConsole>
C:¥Program Files¥VMware¥VMware Server Console¥vmware.exe
vmware-server-console-helper.sh
#!/bin/sh
"<path_to_vmware-server-console>" -o $1 > /dev/null 2>&1;
<path_to_vmware-server-console>
/usr/bin/vmware-server-console
VMware, Inc. 139
153. .vmx
.REDO
.vmx
VMware, Inc. 145
156. .vmx
.vmx
148 VMware, Inc.
157. .vmdk .dsk
C:¥Documents and Settings¥<user name>¥My Documents¥My Virtual
Machines¥<machine name>¥<machine name>.vmdk
<machine name>.vmdk
VMware, Inc. 149
158. .vmdk
.REDO
.vmdk
150 VMware, Inc.
159. .REDO
.vmdk
.vmdk
VMware, Inc. 151
160. My Documents¥My Virtual Machines¥Windows 2000¥Windows 2000.vmdk
.vmx .REDO .vmx
.REDO
My Documents¥My Virtual
Machines¥Windows 2000¥
Windows 2000.vmdk
.vmdk
152 VMware, Inc.
161. .vmx
.vmdk
VMware, Inc. 153
172. /tmp
/tmp
/tmp
/tmp
164 VMware, Inc.
176. mem=959M
lilo.conf
linux-2.2.16xxx mem=959M
168 VMware, Inc.
177. lilo.conf kernel
append mem="959M"
mem=1983M lilo.conf
linux-2.2.16xxx mem=1983M
lilo.conf kernel
append mem="1983M"
mem=959M
lilo.conf
linux-2.2.16xxx mem=959M
lilo.conf kernel
append mem="959M"
mem=1983M lilo.conf
linux-2.2.16xxx mem=1983M
lilo.conf kernel
append mem="1983M"
VMware, Inc. 169
181. scsi0
scsi1
.vmx
scsi<x>.sharedBus = "virtual"
<x>
scsi1
scsi1.sharedBus = "virtual"
scsi1:1
scsi1:1.shared = "true"
scsi<x>:1
scsi1.sharedBus
virtual
disk.locking = "false"
VMware, Inc. 173
182. .RESLCK
scsi1:0.filename
scsi1:0.fileName = "/<path_to_config>/vmSCSI.vmdk"
"/<path_to_config>/vmSCSI.vmdk.RESLCK"
scsi1:0.reslckname
scsi1:0.reslckname = "/tmp/scsi1-0.reslock"
"/tmp/scsi1-0.reslock"
scsi1:0.reslckname
scsi1
scsi<x>.sharedBus = "virtual"
disk.locking "false"
174 VMware, Inc.
183. scsi<x>.sharedBus = "virtual"
disk.locking "true"
scsi<x>:<y>.shared = "true"
scsi<x>:<y>.shared = "false"
"The driver detected a controller error on Device ScsiBusLogic3"
VMware, Inc. 175
188. SQL1
d:¥cluster¥SQL1
/home/cluster/SQL1
SQL1
data.vmdk
quorum.vmdk
180 VMware, Inc.
189. /home/cluster/SQL1/SQL1.vmx
/home/cluster/SQL1/SQL1.vmx
scsi1.sharedBus = virtual
disk.locking = "false"
¥support¥tools¥deploy.cab
sysprep.exe
sysprep.exe
cluster SQL2
VMware, Inc. 181
190. SQL1*.vmdk
SQL2*.vmdk
vmware-vdiskmanager -n SQL1.vmdk SQL2.vmdk
SQL2
d:¥cluster¥SQL2
/home/cluster/SQL2
SQL2.vmdk
quorum.vmdk data.vmdk
quorum.vmdk data.vmdk
182 VMware, Inc.
191. d:¥cluster¥SQL2¥SQL2.vmx
/home/cluster/SQL2/SQL2.vmx
scsi1.sharedBus = virtual
disk.locking = "false"
Q: R:
VMware, Inc. 183
192. dcpromo.exe
vmcluster> <domain.com> <domain.com>
<vmcluster>
cluster
SQLCLUSTER
Q:
184 VMware, Inc.
193. Q:
R:
dcpromo.exe
VMware, Inc. 185
195. NLB1
d:¥cluster¥nlb1
/home/cluster/nlb1
nlb1
VMware, Inc. 187
196. ¥support¥tools¥deploy.cab
sysprep.exe
sysprep.exe
nlb2
nlb1*.vmdk
nlb<n>.vmdk
<n>
vmware-vdiskmanager -n nlb1.vmdk nlb<n>.vmdk
188 VMware, Inc.
197. nlb2
nlb2
d:¥VMware¥cluster¥nlb2
/home/cluster/nlb2
nlb2.vmdk
VMware, Inc. 189
200. D:¥Netware6¥Cluster1
/home/Netware/Cluster1
D:¥Netware6¥Cluster2
/home/Netware/Cluster2
192 VMware, Inc.
201. data.vmdk
quorum.vmdk
D:¥Netware6¥Cluster1¥Cluster1.vmx
/home/Netware/Cluster1/Cluster1.vmx
D:¥Netware6¥Cluster2¥Cluster2.vmx
/home/Netware/Cluster2/Cluster2.vmx
scsi0.sharedBus = “virtual”
disk.locking = “false”
scsi1.present = “true”
scsi1.sharedBus = “virtual”
disk.locking = “false”
VMware, Inc. 193
202. scsi0
c:¥nwserver
List Devices
194 VMware, Inc.
208. .vmdk
vmware-mount [options] [drive letter:] [¥¥path¥to¥virtual disk]
200 VMware, Inc.
209. /v:N N N 1
/p
/d
/f
/? vmware-mount
vmware-mount h: “C:¥My Virtual Machines¥w2003std.vmdk“
vmware-mount
Currently mounted volumes:
f:¥ => “C:¥My Virtual Machines¥w2003std¥w2003std.vmdk”
g:¥ => “C:¥My Virtual Machines¥NT¥NT.vmdk (volume 1)”
vmware-mount /v:2 h: “C:¥My Virtual Machines¥w2003std.vmdk”
vmware-mount h: /d
VMware, Inc. 201
211. vmware-authd
Linux
vmware-serverd vmware-serverdwin32
VMware, Inc. 203
219. 45
143, 146, 149
119 14
14 49
194
17, 20 196–197
196
14
196
197
13
5
195
196
15 14
17
17, 20
96
39
164
172 40
103 95
95
VMware, Inc. 211
220. 70
14
62 14
96
95
6
203
138
100
18 14
103
172
45
171
209
171
138 171
174
173
99
45 14
45
97 97
98
192 120
98, 120
20
98
191
97
97
134
16
212 VMware, Inc.
221. 50
151 105
15 106
99 97
99 108
100 106
100 118
111
109
108
87
24
106
203
204
108
111
120 21
119
203
106
25
123, 137 92
115 203
119
107 55
49 83
112
88
117
55
98
132
87
127
107
126
107
203
98
97 87
49, 51 51, 53
24
97 49
VMware, Inc. 213
222. 24
83
48 84
120
98, 120 69
55
107 92
98, 120 101
97 29
138 132
138 132
97
134 59
134
132
110
134
56
84
102 84
120
132 48
120 12
10
111
204 12
95 10
84
45
96
96
84 96
96
204
214 VMware, Inc.
223. 91
45 96
65 204
70
65 207
69 208
71
208
59 7
62 209
151
71, 148
101
45
23
96
15
205
14
205
205
32
39 92
29 102
37
59 112
117
47 130
132
51, 53
118
56
111
58
23
27
148
43
143
25
89
91
92
VMware, Inc. 215
224. 99
113 15
95 128
92 206
71 176
143 194
205 177
128 179
13 194
119
186
93
96
185
205
177
14 191
16 51
179
15
15 191
130 177
143
13 194
13
164
206
208
130 16
130 23
130
126 165
126
132 45
131 205
128
128
37
206
83
16
216 VMware, Inc.
225. 206
21
7 95
209 95
21
92
5
11
130
206
15
205
207
208
207
209
96
207
37 185
98 186
51
111
165
179
208
21
104
205 104
14
206 102
209 103
131 206
13 93
32, 43 89
22
158
158
159
VMware, Inc. 217
226. 157
5
160 209
157 130
160
107
164 84
164
163–164 15
165 128
41 30
15
208 157
132
15 168
15 165
6
96
209 206
208
51
138
208 21
91
132
13 132
5
208
40
51
83
209 97
97
209 83
84
218 VMware, Inc.
227. 83
83
209
209
23
23
24
25
24
25
24
25
126
VMware, Inc. 219