Add VM Serial Port
1. Edit VM Settings and select "Add.." to add new hardware:2. Select "Serial Port" from the Device Type:
3.Select "Output to file" for Serial Port Type:
4. Specify the file name to output as, on the desired Datastore: (I recommend an NFS share for easy access)
5. Finish saving your changes. Now ready to configure the VM. Example of a finished Serial Port configuration:
Redirect Linux Console to Serial
1. Test serial out with: (should appear in serial output file specified above)echo "hello" > /dev/ttyS02. Modify Grub to have Linux Kernel also send console output to Serial: (/boot/grub/grub.conf)
- Comment out splash screen (optional)
- Add serial and terminal settings below "hidden menu" (optional)
- Add kernel options (this is the important part)
# splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
serial --unit=1 --speed=19200
terminal --timeout=8 console serial
title CentOS3. (Optional) Create serial virtual console, append to /etc/inittab: (useful for login through serial)
...
kernel ... console=tty0 console=ttyS0,19200n8
S0:23:respawn:/sbin/agetty -h -L ttyS0 19200 vt100
- Note: This would be useful if you change the output type from file to something bidirectional (physical serial, pipe, network) that you could login from (if needed)
Test a Kernel Panic
To quickly test a kernel panic:echo c > /proc/sysrq-trigger
Auto Answer Append/Replace Question
To auto answer the append/replace question that occurs when you now power on this VM: (http://kb.vmware.com/kb/1027096http://kb.vmware.com/kb/1027096)2. In the vSphere Client, right-click the virtual machine and choose Edit Settings.
3. Click the Options tab.
4. Under Advanced, select General and then click Configuration Parameters.

5. Click Add Row.
6. In the new row, enter "answer.msg.serial.file.open" for the Name and enter a Value of either "Append" or "Replace".
answer.msg.serial.file.open = Append

7 .Click OK in the Configuration Parameters window, then click OK in the Virtual Machine Properties window.
References:
- Add a Serial Port to a Virtual Machine in the vSphere Client - http://pubs.vmware.com/vsphere-50/index.jsp?topic=%2Fcom.vmware.vsphere.vm_admin.doc_50%2FGUID-A779C84D-4324-4D32-AF43-BBD962ABC9E3.html
- VMware vSphere 4 - ESX and vCenter Server - Add an Output Serial Port - http://pubs.vmware.com/vsphere-4-esx-vcenter/index.jsp?topic=/com.vmware.vsphere.webaccess.doc_40/adding_hardware_to_a_virtual_machine/t_add_an_output_serial_port.html
- Linux: Configure / Enable Serial Console By Editing GRUB Boot Loader - http://www.cyberciti.biz/faq/linux-serial-console-howto/
- VMware KB: Powering on a virtual machine pauses at 95% while waiting for a question to be answered - http://kb.vmware.com/kb/1027096
I admire the valuable information you offer in your articles. I will bookmark your blog and have my friends check up here often. I am quite sure they will learn lots of new stuff here than anybody else! Regards, vmware jobs in hyderabad
ReplyDeleteBig data is a term that describes the large volume of data – both structured and unstructured – that inundates a business on a day-to-day basis. big data projects for students But it’s not the amount of data that’s important.Project Center in Chennai
DeleteSpring Framework has already made serious inroads as an integrated technology stack for building user-facing applications. Corporate TRaining Spring Framework the authors explore the idea of using Java in Big Data platforms.
Spring Training in Chennai
The new Angular TRaining will lay the foundation you need to specialise in Single Page Application developer. Angular Training
It is imperative that we read blog post very carefully.
ReplyDeletepengobatan kanker nasofaring
cara mengatasi kemaluan gatal
cara menghilangkan benjolan di mulut rahim
cara menghilangkan kista bartholin
cara menghilangkan benjolan di punggung
cara mengobati pembengkakan otak
cara mengobati sakit perut bagian atas
The blog is really superb, I like it. I got more techniques and surely this post will be helpful for my growth. continue the great work and Please updates
ReplyDeleteExcel Training in Chennai
Advanced Excel Training in Chennai
Unix Training in Chennai
corporate training in chennai
Tableau Training in Chennai
Oracle Training in Chennai
Primavera Training in Chennai
Power BI Training in Chennai
Excel Training in Chennai
Advanced Excel Training in Chennai
Trucking Cube provides all type of shifting like moving and packing shifting, goods shifting, transportation services, etc.
ReplyDeleteTruck Hire
Freight Forwarder
Looks easy enough. Thanks for the guide. Hope it's applicable to vSphere replication .
ReplyDelete
ReplyDeleteAmazing Post. keep update more information.
Ethical Hacking Course in Chennai
Ethical hacking course in bangalore
Ethical hacking course in coimbatore
Ethical Hacking Training in Bangalore
Ethical hacking Training institute in bangalore
Ethical Hacking in Bangalore
Hacking Course in Bangalore
Ethical Hacking institute in Bangalore
Selenium Training in Bangalore
Software Testing course in Bangalore
I got wonderful information from this blog. Thanks for sharing this post. it becomes easy to read and understand the information.
ReplyDeletePHP Training in Chennai
PHP Training in Bangalore
PHP Course in Bangalore
PHP Training Institute in Bangalore
PHP Classes in Bangalore
Best PHP Training Institute in Bangalore
AWS Training in Bangalore
Data Science Courses in Bangalore
DevOps Training in Bangalore
DOT NET Training in Bangalore
Nice article...Waiting for next update...
ReplyDeletePhotoshop Classes in Chennai
Photoshop Course
learn photoshop
photoshop training in Porur
photoshop training in anna nagar
Drupal Training in Chennai
Manual Testing Training in Chennai
LoadRunner Training in Chennai
QTP Training in Chennai
C C++ Training in Chennai
Wonderful Post!!! Thanks for sharing this great blog with us.
ReplyDeleteAndroid Training in Chennai
android training center in chennai
android classes in chennai
Android Course in Chennai
Android training in Guindy
Android Training in Tambaram
Python Training in Chennai
Big data training in chennai
SEO training in chennai
JAVA Training in Chennai
The information given in this article is very good and I like it. I have also written this kind of blog you can also read for more knowledge.
ReplyDeletewhy cloud computing is needed
benefits of machine learning
benefits of devops
php vs .net
js interview questions
javascript interview questions for experienced
This is a comprehensive notion and well done. Keeps updating...!
ReplyDeleteReact JS Training in Chennai
Blue Prism Training in Bangalore
Blue Prism Training in Chennai
Blue Prism Online Training