How to create NFS Share on Linux for VMware LAB

How to create NFS Share on Linux for VMware LAB

I am using centos 5.5 Linux to create NFS share to map on VMware Datastores.

1- Create one directory to share  # mkdir /NAS

2- Give Read Write permission to create folders and files on share  #chmod  755  /NAS

3-Allow or stop the firewall to share to be accessible on VMwware ESX servers. #service iptables stop or add a rule to allow NFS Share

4-insert the share entry in /etc/exports file

5-add a line “/share name  hostname permission” for example  /NAS 192.168.1.0/24(rw)    192.168.1.0 is my VMware Management Network range so my all ESX server will be able to access   the NFS Share. Continue reading

Posted in VMware | Tagged | Leave a comment

Cisco Validated Designs Guides

Cisco Validated Design (CVD) Guides are comprehensive, design and implementation guides. The validated systems and solutions have undergone thorough architectural design development and lab testing, and provide guidance for the introduction of new technologies, emerging architectures, or the enhancement of the customer’s network.

To qualify as a Cisco Validated Design Guide, the design must meet the following criteria:

  • Products that are incorporated in the design are generally available.
  • Deployment, operation, and management of components within the system are repeatable processes. Continue reading
Posted in Uncategorized | Leave a comment

How to reset Centos Linux Password

Reboot the linux
1-Press esc to intruppet boot loader
2-Press e to edit boot loader to load linux Kernal in single mode
3-add s at the end of  of the line and press ENTER

kernel /vmlinuz-2.6.18-194.el5PAE ro root=/dev/VolGroup00/LogVol00 s

3-Press b to boot

4-Linux will boot in single mode
5-now change the password of the root host# passwd root

Posted in Linux | Leave a comment

Unable to find users in lync server

I was trying to enable users in Microsoft Lync server.I was unable to find some active directory users in Microsoft Lync server.My configuration was proper.I was able to find users but not all users.
At the end i find there was office communicator server was installed before and i twas removed. but the users for office communicator was still enabled in active directory and pointing to the old office communicator server. I find solution on http://ingazat.wordpress.com/
After removing OCS user information form AD I was able to find users in Lync Server.

1- On Active Directory open ADSIEdit
2- Point to where your users reside
3- Right click on your user and select properties and clear the following attributes :
msRTCSIP-PrimaryHomeServer
msRTCSIP-PrimaryUserAddress
msRTCSIP-User Enabled to “Not Set”

Posted in Uncategorized | Leave a comment

Troubleshooting Microsoft Network Load Balancing Clusters

Troubleshooting Microsoft Network Load Balancing Clusters

This section lists some common issues that you might encounter when using Network Load Balancing (NLB) clusters
http://technet.microsoft.com/en-us/library/cc732592.aspx

Network Load Balancing (NLB) Survival Guide
http://social.technet.microsoft.com/wiki/contents/articles/7329.network-load-balancing-nlb-survival-guide.aspx

Posted in Uncategorized | Tagged | Leave a comment

Operating System Version

Operating System Version

The GetVersionEx function retrieves the major and minor version numbers and other information about the currently running version of the operating system. The VerifyVersionInfo function enables you to determine whether the current system satisfies a specified set of operating system version conditions. For more information, see the following topics:

The following table summarizes the most recent operating system version numbers.

Operating system Version number
Windows 8 6.2
Windows Server 2012 6.2
Windows 7 6.1
Windows Server 2008 R2 6.1
Windows Server 2008 6.0
Windows Vista 6.0
Windows Server 2003 R2 5.2
Windows Server 2003 5.2
Windows XP 64-Bit Edition 5.2
Windows XP 5.1
Windows 2000 5.0

 

Identifying the current operating system is usually not the best way to determine whether a particular operating system feature is present. This is because the operating system may have had new features added in a redistributable DLL. Rather than using GetVersionEx to determine the operating system platform or version number, test for the presence of the feature itself.

Source link 

Posted in Uncategorized | Tagged | Leave a comment

Registering or adding a virtual machine on vCenter Server/VirtualCenter or an ESX/ESXi host

Registering or adding a virtual machine on vCenter Server/VirtualCenter or an ESX/ESXi host
You can register a virtual machine in vCenter Server/VirtualCenter or from a command line.
To register a virtual machine in vCenter Server:
  1. Open the vSphere/VMware Infrastructure (VI) Client and log in with appropriate credentials.
  2. If connecting to vCenter Server, click on the desired host.
  3. Click the Configuration tab.
  4. Click Storage.
  5. Right-click on the appropriate datastore and click Browse Datastore.
  6. Navigate to the folder named after the virtual machine, and locate the <virtual machine>.vmx file.
  7. Right-click the .vmx file and click Add to inventory. The Add to Inventory wizard opens.
  8. Continue to follow the wizard to add the virtual machine.
To register a virtual machine from a command line on an ESX host:
  1. Log in as root to the ESX host with an SSH client.
  2. Run the command:# vmware-cmd -s register <full path to virtual machine>\<virtual machine name>.vmx

To register a virtual machine from a command line on an ESXi host:

  1. Log in as root to the ESXi host with an SSH client. For information on using Tech Support mode, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.x (1017910).
  2. Run the command:# vim-cmd solo/registervm /vmfs/volumes/datastore_name/VM_directory/VM_name.vmx

Source link

Posted in VMware | Leave a comment

How to enable SNMP Client on ESX5

How to enable SNMP Client on ESX5

In this example I am assuming your detals as below but it will change according to your setup.

ESX Host IP is 192.168.1.10
Username root
Password P@ssw0rd
SNMP Server IP 192.168.1.100

Note:- on VMware support site is shows all commands as “vicfg-snmp” for SNMP you will not get this command as VCLI you will find in bin folder as vicfg-snmp.pl So change vicfg-snmp with vicfg-snmp.pl
1- Check the SNMP status

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl –server 192.168.1.10 –username root –password P@ssw0rd –show

Current SNMP agent settings:
Enabled : 0
UDP port : 161

Communities :

Notification targets :

Options :
EnvEventSource=indications

2- Set the SNMP Community

C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl –server 192.168.1.10 –username root –password P@ssw0rd -c public, internal

3- Enable SNMP Client
C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl –server 192.168.1.10 –username root –password P@ssw0rd –enable

4- Set the target SNMP server
C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl –server 192.168.1.10 –username root –password P@ssw0rd -t 192.168.1.100@162/public

5- Test SNMP
C:\Program Files (x86)\VMware\VMware vSphere CLI\bin>vicfg-snmp.pl –server 192.168.1.10 –username root –password P@ssw0rd –test

Source Link

Posted in VMware | Tagged | Leave a comment

How to add static ARP entry in windows 2008 or Windows 7

How to add static ARP entry in windows 2008 or Windows 7

netsh -c interface ipv4 add neighbors “Network Card Name” “IP Address” “MAC Address” store=persistent
For Example :-

Your Network Card Name is :- Local Area Connection
IP Address is :- 192.168.10.10
MAC Address is :- 00-1d-71-83-6c-00

netsh -c interface ipv4 add neighbors “Local Area Connection” “192.168.10.10” “00-1d-71-83-6c-00” store=persistent

It will make parmanent ARP entry.

Posted in Uncategorized | Tagged | Leave a comment