Search

My notebook

Category

VMware

CentOS 7.x VMware Tools

yum -y install open-vm-tools

 

systemctl start vmtoolsd.service

 

systemctl enable vmtoolsd.service
Advertisements

Vmware Windows 2012 R2 template configuration–Recommended

image

  • Floppy Drive Removed
  • Memory 4GB
  • Hard Disk 40 GB – Keeping it low is good as you cannot reduce thin provisioned disk size.

Make sure Hot Add is enabled

  • Enable Memory Hot Add for this Virtual Machine
  • Enable CPU Hot Add only for this Virtual Machine

image

  • Check and Upgrade Tools during Power Cycling

image

  • Check Enable Logging

image

Get to Boot Screen to do some configurations –

image

  • Boot-Time Diagnostic Screen to Enabled

image

Change Boot Order to  –

  • Hard Drive
  • Removable Devices
  • CD-ROM Drive
  • Network boot

Use + to Toggle or Shift ` +

image

Advanced –> I/O Device Configuration Serial Ports/Parallel Ports/Floppy Disabled.

image

  • Install VMware Tools

image

Disabled IPv6

image

Allow Remote Desktop –

image

  • Set Time to Display List of Operating Systems to 5 Seconds
  • Set Time to Display recovery Options when Needed to 5 Seconds

image

Change Machine Name –

image

Make sure Windows is up to date –

  • As .NET 4.6.1 is not supported for Some Applications like Exchange. Not Installing it at this point of time (Optional).

image

Open PowerShell Run as Administrator and Cleanup C:\Windows\WinSxS folder which contains all the Updates which is almost 8GB

Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

This is a great command added with Windows 8.1 and Windows Server 2012 R2.  Essentially, it’s the mother of all commands. It cleanups and removes all the old superseded stuff from every component in the component store.

image

Change DVD ROM Drive Letter to Z: in Disk Management –

image

Control Panel – Notification Area Icons – Check Always Show All Icons and Notifications on the Taskbar

image

Power Options Set to High Performance

image

  • Proper Time Zone Updated in Server Manager
  • IE Enhance Security Configuration is set of OFF for Administrators only.

image

Start Run – Lusrmgr.msc – Local Administrator Account – Password Never Expires

image

Check – File Name Extensions

Windows Explorer – View –

image

Clear All Event Logs

Get-EventLog -List | foreach{Clear-EventLog -LogName $_.log}

image

  • Shutdown Windows 2012 R2 Template server

Windows Server 2012 Sysprep – %windir%\system32\sysprep

  • Convert to Template

 

Microsoft Recommendation –

  • Do not Disable User Access Control (UAC)
  • Do not Disable Windows Firewall

image

Deploy Virtual Machine From this Template –

image

Customization Specifications Manager to Join Domain Automatically –

image

image

Enter Local Administrator Password –

image

Network Settings

image

image

Enter Domain Information –

image

  • Check Generate New Security ID (SID)

image

  • Customize using an Existing customization Specification

image

Deploy Virtual Machine using Template –

image

image

Machine Joined Automatically –

image

Using PowerCLI – Import Multiple Virtual Machines using CSV

Original post.

Esxi warning “SSH for the host has been enabled:

2016-07-14_10-37-39.png

Go to your host, click the configuration tab, click “advanced settings”, go to “UserVars” and scroll all the way down to “UserVars.SuppressShellWarning” change the value from 0 to 1.

disable esxi shell warning

Deprecated VMFS volume(s) found on the host

Deprecated VMFS volume(s) found on the host. Please consider upgrading volume(s) to the latest version”

Capture

 

services.sh restart

 

Resources: VMware

How to Start, Stop, Restart VmTools

 

/etc/vmware-tools/services.sh status

/etc/vmware-tools/services.sh start

/etc/vmware-tools/services.sh stop

/etc/vmware-tools/services.sh restart

 

reconfig:

/usr/bin/vmware-config-tools.pl -d

 

SSH for the host has been enabled

  1. Select the ESXi host from the Inventory.
  2. Click the Configuration tab.
  3. Click Advanced Settings in the Software menu.
  4. Navigate to UserVars > UserVars.SuppressShellWarning.
  5. Set the value from 0 to 1.
  6. Click OK.

Как добавить статический маршрут на vmware ESXi 4/5.0 и 5.1/5.5

Для добавления маршрута на ESXi 4.x и 5.0 нужно зайти по SSH на сервер и выполнить команду:
esxcfg-route -a <целевой_IP_подсети> <маска> <шлюз>
Например, чтобы задать маршрут к сети 192.168.1.0 с маской /24 (255.255.255.0) через роутер с адресом 192.168.2.1, нужно выполнить:
esxcfg-route -a 192.168.1.0/24 192.168.2.1
или
esxcfg-route -a 192.168.1.0 255.255.255.0 192.168.2.1
Для ESXi 5.0 роуты не сохраняются после перезагрузки, потому необходимо также вписать команду выше в файл /etc/rc.local – чтобы она выполнялась при загрузке гипервизора и прописывала нужный маршрут:
vi /etc/rc.local
Для ESXi 5.1/5.5 команда другая:
esxcli network ip route ipv4/ipv6 add –gateway <шлюз> –networkI <шлюз>/<маска>
Т. е. для примера выше будет:
esxcli network ip route ipv4 add –gateway 192.168.2.1 –network 192.168.1.0/24
Для просмотра маршрутов необходимо использовать команду:
esxcfg-route -l

Continue reading “Как добавить статический маршрут на vmware ESXi 4/5.0 и 5.1/5.5”

vSphere 5 vCenter – Check New Notifications tasks are queued

Log on by RDP to that server, go to start, run and type services.msc
Scroll down to the “VMware vSphere Update Manager Service”
Restart the service

Webmin – Install and Configure

 

 

Step 1: Download Webmin RPM

cd /opt
wget http://prdownloads.sourceforge.net/webadmin/webmin-1.831-1.noarch.rpm

Step 2: Install Webmin Using rpm Command

yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty
rpm -U webmin-1.831-1.noarch.rpm

Step 3: Access Webmin in Browser

http://server_name:10000/ OR http://server_ip:10000/

Webmin Themes:  download from my Yandex disk

After install:

  • make sure that it runs automatically at system startup:
chkconfig --level 2345 webmin on
  • Start Webmin by entering the following:
service webmin start
  • add to firewall to allow access to Webmin:
iptables -I INPUT -p tcp --dport 10000 -j ACCEPT ;
/etc/init.d/iptables save

 

 

 

 

 

Install Webmin on CentOS 7

To get started, login your remote server and follow the steps below:
First, create a new file webmin.repo in /etc/yum.repos.d/ :

vi /etc/yum.repos.d/webmin.repo

and paste below line:

[Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

Install webmin GPG key using below command.

rpm --import http://www.webmin.com/jcameron-key.asc

Now, update the repositorys:

yum check-update

Install webmin:

yum install webmin -y

Start the service and make it start automatically

chkconfig webmin on
service webmin start

By default, Webmin will listen on port 10000. Enable webmin Port:

firewall-cmd --add-port=10000/tcp

Now, open http://ip.add.re.ss:10000 in your browser and enter yor root username and password:

Create a free website or blog at WordPress.com.

Up ↑