Add the following line to the vmx file corresponding to your VM: SMBIOS.reflectHost = “TRUE”
OVFTOOL Deploy OVA o OVF from command line
I needed to deploy ova to esxi without vsphere web client or classic client.
For this operation i have used the OVFTOOL.
The tool is vmware tool and it is possible do download :
https://www.vmware.com/support/developer/ovf/
– Download file VMware-ovftool-4.1.0-2459827-lin.x86_64.bundle (64bit version)
– Install on redhat use this command sh vmware
sh VMware-ovftool-4.1.0-2459827-lin.x86_64.bundle
– Copy to esxi over ssh the /usr/lib/vmware-ovftool/
scp -r /usr/lib/vmware-ovftool/ root@*.*.*.*:/vmfs/volumes/<datastoreESXi>
– On esxi on the datastore into directory /vmware-ovftool/ change the used shell for ovftool command.
#!/bin/sh
# ————————
# Start Script for ovftool
# ————————
– For test the tool use this command:
/vmfs/volumes/<datastoreESXi>/vmware-ovftool/ovftool /vmfs/volumes/<datastoreEsxi>/<image>.ova
The file .ova need reside in the datastore esxi
In the output you see the ova info (es. use UEB .ova unitrend enterprise backup)
Now you are ready to deploy the ova appliance with this command:
Find yum repository
[root@xxxxxxxxx /]# yum whatprovides libuuid.so.1
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
base | 4.1 kB 00:00 …
libuuid-2.17.2-12.18.el6.i686 : Universally unique ID library
Repo : base
Matched from:
Other : libuuid.so.1
[root@xxxxxxx /]# yum whatprovides /usr/lib/libstdc++-libc6.2-2.so.3
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
compat-libstdc++-296-2.96-144.el6.i686 : Compatibility 2.96-RH standard C++ libraries
Repo : base
Matched from:
Filename : /usr/lib/libstdc++-libc6.2-2.so.3
MDS Cisco Startup Config and Running Config
For show different configuration from Startup Config and Running Config:
show running-config diff
for save
copy running-config startup-config
After change vcenter hostname and ip error to access TsmVMwareUI
After change vcenter hostname and ip when i try to access a TSM Vmware Gui Web interface:
Find SID session oracle from PID process OS
From TOP command linux i have found a proccess oracle this use many CPU. The PID proccess 6434
From Oracle connession i haved launched this select:
SQL> select sid from v$session, v$process
2 where paddr = addr
3 and spid = ‘6434’;
This is output of select
SID
———-
338
Creating a PowerHA v7.1.3 html cluster report
Last summer i have needed to configure 3 cluster PowerHa 7.1.3.3.
After configuration i found this command to generate a HTML report whit all information.
clmgr view report cluster file=/tmp/xxxx.html type=html company_name=”My Company”
TSM VMMAXP and MAXNUMMP
9/01/2015 09:01:34 ANS0266I The dsmEndTxn vote is ABORT, so check the reason field.
09/01/2015 09:01:34 ANS0326E This node has exceeded its maximum number of mount points.
09/01/2015 09:01:39 ANS1004W Node has exceeded max tape mounts allowed. Operation for ‘xxxx’ will be tried again later.
On opt file i find:
VMMAXP=4
on definition of NODE on TSM server i found
MAXNUMMP=1
this is incorrect.
I need change the value for MAXNUMMP:
MAXNUMMP >= VMMAXP
Change Network adapter type on VM
After upgrade my vsphere infrastructure to 5.5 i have problem of disconnect network after reboot:
https://communities.vmware.com/thread/498472
Now i have change on my vm windows the network adapter type from e1000 to vmxnet3
I have used this step :
– Save IP Address configuration
– Shutdown VM
– Copy Mac Address
– Remove E1000 network adapter
– Add vmxnet3 network adapter and set manual mac address
– Boot VM
– For windows 2008 and older set devmgr_show_nonpresent_devices=1
– Remove, if present, the old network adapter
– Configure ip address…
PowerCLI Script for show info CDP network
Get-mVMHostCDPInfo.ps1 -VMHost esxhostname | ft -a
Find the script Get-mVMHostCDPInfo.ps1 in this site :