VMware vCenter Converter Standalone P2V Performance optimization

VMware vCenter Converter Standalone P2V Performance optimization

While migrating P2V Microsft server was very slow as we change the red marked line under  converter-client.xml file P2V process become very fast. thanks to my friend Mohamed Magdy, for giving me this important tip.

Turning OFF SSL Encryption in VMware vCenter Converter Standalone 5.0 can improve transfer rates.

To turn OFF SSL Encryption in VMware vCenter Converter Standalone 5.0, please follow the following steps:-

Continue reading

Posted in VMware | Tagged | Leave a comment

How to reset VSM admin password

How to reset VSM admin password

VOIPSWITCH  VSM admin password are stored in mysql database in clear text . if you know the mysql root password you can get it from users table from your voipswitch database.

1- login as root in mysql (  mysql -u root -pyourpassord

2- select your voipswitch database  (mysql>use yourvoipdatabase;

3- run    mysql> select * from users;

you will get all users and password for VSM admin

Posted in Uncategorized | Tagged | Leave a comment

EMC Storage Metalun Expand Rules

EMC Storage Metalun Expand Rules

How to Expand MetaLUN (EMC )and its rules to expand.

Striped expansion rules on page :-  24

Concatenation  expansion rules on page :- 28

http://www.emc.com/collateral/hardware/white-papers/h1024-clariion-metaluns-cncpt-wp-ldv.pdf

 

Posted in Uncategorized | Tagged | Leave a comment

How to convert Physical machine as virtual hard disk

How to convert Physical machine as virtual hard disk

Disk2vhd is a utility that creates VHD (Virtual Hard Disk – Microsoft’s Virtual Machine disk format) versions of physical disks for use in Microsoft Virtual PC or Microsoft Hyper-V virtual machines (VMs). The difference between Disk2vhd and other physical-to-virtual tools is that you can run Disk2vhd on a system that’s online. Disk2vhd uses Windows’ Volume Snapshot capability, introduced in Windows XP, to create consistent point-in-time snapshots of the volumes you want to include in a conversion. You can even have Disk2vhd create the VHDs on local volumes, even ones being converted (though performance is better when the VHD is on a disk different than ones being converted).

Disk2vhd includes command-line options that enable you to script the creation of VHDs. Specify the volumes you want included in a snapshot by drive letter (e.g. c:) or use “*” to include all volumes.

Usage: disk2vhd <[drive: [drive:]…]|[*]> <vhdfile>

Example: disk2vhd * c:\vhd\snapshot.vhd

Download link :- http://download.sysinternals.com/files/Disk2vhd.zip

 

Posted in Uncategorized | Tagged | Leave a comment

Restoring a Domain Controller Through Reinstallation

Restoring a Domain Controller Through Reinstallation

Applies To: Windows Server 2008, Windows Server 2008 R2

Restoring a domain controller through reinstallation is the same process as creating a new domain controller. It does not involve restoring from backup. This method relies on Active Directory replication to restore a domain controller to a working state, and it is valid only if another healthy domain controller exists in the same domain. This method is normally used on computers that function only as domain controllers.

Restoring through reinstallation is the only method by which a domain controller that is not part of the backup set can be restored. In addition, you might decide to use this method instead of a nonauthoritative restore because backup media is inaccessible or because this method is more convenient. Restoring a domain controller through reinstallation should not be a substitute for regular backup routines.
Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Commands and Tools for Managing Windows Server 2008 Server Core

Commands and Tools for Managing Windows Server 2008 Server Core

you have a minimal UI that includes a limited desktop environment for local console management of the server. This minimal interface includes:

  • Windows Logon screen for logging on and logging off
  • Notepad for editing files
  • Regedit for managing the registry
  • Task Manager for managing tasks and starting new tasks
  • Command Prompt for administration via the command line

After you log on to a core-server installation, you have a limited desktop environment with an Administrator command prompt. You can use this command prompt for administration of the server. If you accidentally close the command prompt, you can start a new command prompt by following these steps:
1. Press Ctrl+Shift+Esc to display Task Manager.
2. On the Applications tab, click New Task.
3. In the Create New Task dialog box, type cmd in the Open field and then click OK.

You can start Notepad and Regedit directly from a command prompt by entering notepad.exe orregedit.exe as appropriate. To open Control Panel, type intl.cpl.

 

Here is an overview of key commands and utilities you’ll use for managing server core installations while logged on locally:
Control desk.cpl – View or set display settings.
Control intl.cpl – View or set regional and language options, including formats and the keyboard layout.
Control sysdm.cpl – View or set system properties.
Control timedate.cpl – View or set the date, time, and time zone.
Cscript slmgr.vbs –ato – Activate the operating system.
DiskRaid.exe – Configure software RAID.
ipconfig /all – List information about the computer’s IP address configuration.
NetDom RenameComputer – Set the server’s name and domain membership.
OCList.exe – List roles, role services, and features.
OCSetup.exe – Add or remove roles, role services, and features.
PNPUtil.exe – Install or update hardware device drivers.
Sc query type=driver – List installed device drivers.
Scregedit.wsf – Configure the operating system. Use the /cli parameter to list available configuration areas.
ServerWerOptin.exe – Configure Windows Error Reporting.
SystemInfo – List the system configuration details.
WEVUtil.exe – View and search event logs.
Wmic datafile where name=“FullFilePath” get version – List a file’s version.
Wmic nicconfig index=9 call enabledhcp – Set the computer to use dynamic IP addressing rather than static IP addressing.
Wmic nicconfig index=9 call enablestatic(“IPAddress”), (“SubnetMask”) – Set a computer’s static IP address and network mask.
Wmic nicconfig index=9 call setgateways(“GatewayIPAddress”) – Set or change the default gateway.
Wmic product get name /value “ – List installed MSI applications by name.
Wmic product where name=“Name” call uninstall – Uninstall an MSI application.
Wmic qfe list – List installed updates and hotfixes.
Wusa.exe PatchName.msu /quiet – Apply an update or hotfix to the operating system.

source link :- click here

Posted in Uncategorized | Tagged | Leave a comment

How to move a Windows installation to different hardware

How to move a Windows installation to different hardware

This article describes how to create a system state backup on one computer and how to restore it to the same computer or to a different physical computer of the same make and model.

http://support.microsoft.com/kb/249694

Performing a Full Server Recovery of a Domain Controller

http://technet.microsoft.com/en-us/library/cc772519(WS.10).aspx

Backing up your Server

http://technet.microsoft.com/en-us/library/cc753528.aspx

Posted in Uncategorized | Tagged | Leave a comment

Vmware Vsphere 5 Error : Unsupported or invalid disk

Vmware Vsphere 5 Error : Unsupported or invalid disk type 7. Ensure that the disk has been imported. “

 Problem : Unsupported or invalid disk type 7. Ensure that the disk has been imported.
You can run into this problem when you try to power on virtual machine on Esxi that converted from physical to virtual machine. An error message prompt and running of vm will stop. The message looks something like :
Module DevicePowerOn power on failed. Unable to create virtual SCSI device  for scsi0:0,   ‘/vmfs/volumes/4e981593-1bbfd9e3-cbe6-00237de1f462/xxxx/xxxx/xxxx.vmdk’ Failed to open disk scsi0:0: Unsupported or invalid disk type 7. Ensure that the disk has been imported.
This problem occurs when you are converting physical machine to virtual one , actually the The VMs were converted and set to preserve the controller, which was IDE. The disks were also in sparse format. The VM would not boot because the controller was set to lsi sas which will not work with sparse disks. If this is changed then the VM will power up successfully.
Resolution : First up, open putty SSH session then type the following :
cd vmfs
cd volumes
cd datastore1
 Note that datastore1 is sample name , just type your datastore name , if you don’t know what is it , just type “ls” after volumes you will see a folder in greeny color , it’s the datastore name.
Then type :

vmkfstools -i xxxxxx.vmdk xxxx-New.vmdk

Select allOpen in new window

Note that xxxxx is disk name of the related virtual machine , the process will convert  disk type to zerothick , if the process success try to run your machine , if its not successful the following message may appear :

Destination disk format: VMFS zeroedthick Cloning disk ‘DemoServer.E-Data.local-s001.vmdk’... Failed to clone disk: There is not enough space on the file system for the selected operation (13).
Posted in Uncategorized, VMware | Tagged | Leave a comment

How to reset the Zeroshell password

How to reset the Zeroshell password

The Zeroshell password is written in

/Database/var/register/system/ldap/rootpw

# mount /dev/sda1 /mnt

# cd  /mnt/_DB.001/var/register/system/ldap

#cat rootpw

Zeroshell How to Download here

 

Posted in Linux | Tagged | Leave a comment

Configure TCP/IP from the Command Prompt

Configure TCP/IP from the Command Prompt

In order to configure TCP/IP settings such as the IP address, Subnet Mask, Default Gateway, DNS and WINS addresses and many other options you can use Netsh.exe. and ncpa.cpl

 network connections window: from command prompt   >  ncpa.cpl

Netsh.exe is a command-line scripting utility that allows you to, either locally or remotely, display or modify the network configuration of a computer that is currently running. Netsh.exe also provides a scripting feature that allows you to run a group of commands in batch mode against a specified computer. Netsh.exe can also save a configuration script in a text file for archival purposes or to help you configure other servers.

Netsh.exe is available on Windows 2000, Windows XP and Windows Server 2003.

You can use the Netsh.exe tool to perform the following tasks:

  • Configure interfaces
  • Configure routing protocols
  • Configure filters
  • Configure routes
  • Configure remote access behavior for Windows-based remote access routers that are running the Routing and Remote Access Server (RRAS) Service
  • Display the configuration of a currently running router on any computer
  • Use the scripting feature to run a collection of commands in batch mode against a specified router.

What can we do with Netsh.exe?

With Netsh.exe you can easily view your TCP/IP settings. Type the following command in a Command Prompt window (CMD.EXE):

netsh interface ip show config

With Netsh.exe, you can easily configure your computer’s IP address and other TCP/IP related settings. For example:

The following command configures the interface named Local Area Connection with the static IP address 192.168.0.100, the subnet mask of 255.255.255.0, and a default gateway of 192.168.0.1:

netsh interface ip set address name="Local Area Connection" static 192.168.0.100 255.255.255.0 192.168.0.1 1

(The above line is one long line, copy paste it as one line)

Netsh.exe can be also useful in certain scenarios such as when you have a portable computer that needs to be relocated between 2 or more office locations, while still maintaining a specific and static IP address configuration. With Netsh.exe, you can easily save and restore the appropriate network configuration.

  

First, connect your portable computer to location #1, and then manually configure the required settings (such as the IP address, Subnet Mask, Default Gateway, DNS and WINS addresses). 

Now, you need to export your current IP settings to a text file. Use the following command:

netsh -c interface dump > c:\location1.txt

When you reach location #2, do the same thing, only keep the new settings to a different file:

netsh -c interface dump > c:\location2.txt

You can go on with any other location you may need, but we’ll keep it simple and only use 2 examples.

Now, whenever you need to quickly import your IP settings and change them between location #1 and location #2, just enter the following command in a Command Prompt window (CMD.EXE):

netsh -f c:\location1.txt

or

netsh -f c:\location2.txt

and so on.

You can also use the global EXEC switch instead of -F:

netsh exec c:\location2.txt

Netsh.exe can also be used to configure your NIC to automatically obtain an IP address from a DHCP server:

netsh interface ip set address "Local Area Connection" dhcp

Would you like to configure DNS and WINS addresses from the Command Prompt? You can. See this example for DNS:

netsh interface ip set dns "Local Area Connection" static 192.168.0.200

and this one for WINS:

netsh interface ip set wins "Local Area Connection" static 192.168.0.200

Or, if you want, you can configure your NIC to dynamically obtain it’s DNS settings:

netsh interface ip set dns "Local Area Connection" dhcp

BTW, if you want to set a primary and secondary DNS address, add index=1 and index=2 respectively to the lines of Netsh command.

As you now see, Netsh.exe has many features you might find useful, and that goes beyond saying even without looking into the other valuable options that exist in the command.

Source link

Posted in Uncategorized | Tagged | Leave a comment