Skip to main content

Posts

Steps to install RAM and NIC Cisco UCS Server

It is always very easy to install additional hardware components to Cisco UCS blade or Rack servers in non-production environment. If you have to add something to Cisco UCS blade or Rack server in your company’s data center or in customer production environments then you are given a small time window to perform your activity and resume the Server or compute infrastructure in production. In this case you have to put extra efforts and create method of procedure MOP, to avoid any delay and surprises during your Change Request CR window and complete the task before the end of the CR window. Writing this post to save your time if you are going to install additional hardware components e.g Memory RAM/DIMM, Network interface cards, NICs, or VIC, hard drives etc. You got to plan it well, otherwise you may stuck with troubleshooting and run out of time in CR window time. Before installing the new hardware components, make sure the new hardware is compatible with your blade/rack server, sup...

How to add Python Path in Windows Environment Variables

I got to do this when I need to migrate my customer's Nexus 1000v to the VMWare vDS. Go through the migration documents, first step is to install Python and add the python to the Windows Environment Variable. Python version is 2.7. My Windows Version = Windows Server 2008 R2 Enterprise To add python into the Windows environment variable and then start the python from command prompt. Go to the Go to Control Panel > System and Security > System . Select Advanced system settings. Select Environment Variables as shown in following figure. Under system variable, Click New Add first variable as  Variable Name =  PATH Variable Value =  C:\Python27;%PATH% Add second variable as Variable Name =  PYTHONPATH Variable Value =  %PYTHONPATH%;C:\Python27 Click OK to save newly added two variables, open command prompt window and type python and you should be on the Python prompt. 

vDS operation failed on host xxxxxxx.domainname, got (vmodl.fault.SystemError) exception

This error occurs repeatedly while adding ESXi host to the Nexus 1000v. The problem seems with the VMWare Update Manager (VUM) that it doesn't initiate the required VEM module for the installation on the ESXi host we are adding to the Nexus 1000v. I solved my problem by manually installing the .vib file on the ESXi host. And here are the steps to follow. Go to the Nexus 1000v through web browser You get list of links to download files, download your required .vib file from there. for me it was Cisco_bootbank_cisco-vem-v340-esx_5.2.1.3.2.8.0-6.0.1.vib Upload that vib file to the ESXi host with WinSCP, say in the /tmp folder Run following command to install the .vib file .i.e. the vem module. esxcli software vib install -v /tmp/Cisco_bootbank_cisco-vem-v340-esx_5.2.1.3.2.8.0-6.0.1.vib After the .vib file has been installed successfully, add the ESXi host to the Nexus 1000v.

Unable to See and add new ESXi hosts in Nexus 1000v

After the VMWare upgrade from 5.x to 6.x and Nexus 1000v upgrade from 4.2 to 5.2 you are unable to add new hosts into the Nexus 1000v distributed switch, although the older hosts are seed added to the N1Kv distributed switch and running fine without any issues. This happens because Nexus 1000v has no knowledge of new versions of vCenter Server in its postgress database. You have to manually add the new version in the vCenter database to support the new Version. First you need to log in the the VCDB on command line, and for that you need to find the userID and password. To get the userID and password, open C:\ProgramData\VMware\vCenterServer\cfg\vmware-vpx\vcdb.properties vcdb.properties file contents should look like this driver = org.postgresql.Driverdbtype = PostgreSQLurl = jdbc:postgresql://localhost:5432/VCDB username = vc password = {FNr2Aad>ws8Xo<Q password.encrypted = false Grab the username and password (default userID happend to be "vc" and th...

Reset multiple User passwords in iRedmail with Python Script

Just found a built in python script for resetting passwords of multiple mail users with one go. This python script came with the installation of iRedmail. You can find the python scrip at this path  /etc/www/iredadmin/tools/update_password_with_csv.py All you have to do is to create a csv file in excel and put username+domain and password in plain text, as per below postmaster@networkpcworld.com 12345678 Put the password in same cell with space and DO NOT put the password in another cell, otherwise the script wouldn't run.  Save the CSV file with any name, here we put the name as new_passwords.csv  Now upload the CSV to ired mail server on same path /var/www/iredadmin/tools/ Run the python scrip with the uploaded file with below command. python /var/www/iredadmin/tools/update_password_with_csv.py new_passwords.csv You have successfully reset the password for all required email user account.

Unable to Increase Screen Size (Pixels) Ubuntu

I have installed Ubuntu Desktop 16.04.4 on ESXi 6.0. Tried to increase the pixel density so that i can view the big Screen on my other 27 inch screen through VMWare client. I tried installing open-vmtools but remained unsuccessful. Then installed VMWare tools by mounting through VMWare client (tools that come with ESXi 6.0 but again remained unsuccessfull. The third try was to download latest VMtools from VMWare website, uploaded to uploaded to the /tmp folder of ubuntu through WinSCP server and then installed as per given procedure on VMWare website. I shut down the Ubuntu VM Increase the Video Card Memory from Default to 16 MB. Restarted Virtual Machine, this time I was getting bunch of options for increasing screen size of the Ubuntu Display and successfully running my VM at  resolution of 1440x900 (16:10).

gns3 error --- cannot start console applications

cannot start console applications: [WinError 2] The system cannot find the file specified. I got this error, upon checking I found that I had not installed wireshark during installing gns3. Installed wireshark separately and the error is gone. I did no configuration except installing wireshark.  I can see and capture traffic on gns3 device's interfaces by just right clicking any interface and then clicking "start wireshark".