Tuesday, October 28, 2014

Kernel Panic in CentOS Virtual Machine after yum update

After performing updates to the virtual machine, the vm kernel panics.  Hit space on the boot screen and select the old kernel.  Then open a terminal and do the following substituting your kernel version.

mkinitrd --with=hid-base-hv --with=hid-hyperv --with=hv_utils --with=hv_vmbus --with=hv_storvsc --with=hv_netvsc /boot/initrd-2.6.18-371.8.1.el5.img 2.6.18-371.8.1.el5 -f

From: http://community.spiceworks.com/topic/486741-kernel-panic-after-migrating-centos-5-10-to-hyper-v

Tuesday, May 20, 2014

Timeout Errors When Trying to Move a VM from one Hyper-V 2012 server to Another.

I had an issue where I could move VM's in one direction only.  The resolution was to add some attributes to the AD object.

  • Make sure "Advanced Features" is turned on (View->Advanced Features) and then locate your server object in Active Directory.  
  • Right Click, go to properties, and click Attribute Editor. 
  • Find "servicePrincipalName" and click Edit.
  •  Make sure the following records exist. If not, add them (I had to add all 4).
    • Note: SERVERNAME is the name of your server and DOMAIN is your domain name.
    • Microsoft Virtual Console Service/SERVERNAME
    • Microsoft Virtual Console Service/SERVERNAME.DOMAIN
    • Microsoft Virtual System Migration Service/SERVERNAME
    • Microsoft Virtual System Migration Service/SERVERNAME.DOMAIN
Tried the move immediately following this update and it was successful.

Wednesday, February 26, 2014

VSS Writers and their Corresponding Services

When backup operations fail due to failed writer "vssadmin list writers" can be utilized to check the current status of the writers.  However, it can be difficult to determine which service needs restarted to correct the writer.  The following list was obtained from a blog at http://www.planetcobalt.net/sdb/vss_writers.shtml.

VSS Writer Service Name Service Display Name
ASR Writer VSS Volume Shadow Copy
BITS Writer BITS Background Intelligent Transfer Service
COM+ REGDB Writer VSS Volume Shadow Copy
DFS Replication service writer DFSR DFS Replication
DHCP Jet Writer DHCPServer DHCP Server
FRS Writer NtFrs File Replication
FSRM writer srmsvc File Server Resource Manager
IIS Config Writer AppHostSvc Application Host Helper Service
IIS Metabase Writer IISADMIN IIS Admin Service
Microsoft Exchange Writer MSExchangeIS Microsoft Exchange Information Store
Microsoft Hyper-V VSS Writer vmms Hyper-V Virtual Machine Management
NTDS NTDS Active Directory Domain Services
OSearch VSS Writer OSearch Office SharePoint Server Search
OSearch14 VSS Writer OSearch14 SharePoint Server Search 14
Registry Writer VSS Volume Shadow Copy
Shadow Copy Optimization Writer VSS Volume Shadow Copy
SPSearch VSS Writer SPSearch Windows SharePoint Services Search
SPSearch4 VSS Writer SPSearch4 SharePoint Foundation Search V4
SqlServerWriter SQLWriter SQL Server VSS Writer
System Writer CryptSvc Cryptographic Services
TermServLicensing TermServLicensing Remote Desktop Licensing
WMI Writer Winmgmt Windows Management Instrumentation

Tuesday, February 18, 2014

Creating 3d Models with 123d Catch and Makerbot Replicator 2x


In episode 388 of Mac Break Weekly (http://twit.tv/show/macbreak-weekly/388) Andy Ihnatko discusses using 123d Catch to produce 3D models for printing.  Freshman Aaron Dixon under the direction of Robert and Steve Ellison took this process and brought it to life with the campus mascot.  Below you can see some of the series of photos he took around the panther. 



The photos were then run through 123d Catch and uploaded to their  platform which analyzes the images to produce a 3d model.  




The 3d Model can then be downloaded in a format compatible with the Makerbot Replicator 2x.  Below is the model opened in the Makerware application.


 And the resulting 3d print




This technique could be used to create quick 3d models of almost any object.



Thursday, May 16, 2013

Error: Failed to clone disk: The system cannot find the file specified (25) when using vmkfstools in Vmware 5.1

I have been working on setting up Apache VCL 2.3 with VMWare 5.1 and getting continual errors about not being able to find the file when VCL attempts to clone the disk.  I ran through a series of tests ensuring I could read and write to source and destination, but would get this error when trying the vmkfstools command by itself.  I finally found the solution on this blog.  A module needs to be enabled within VMWare to allow this type of clone to occur.  The command is:

esxcli system module load -m multiextent

Tuesday, May 14, 2013

3D Printing CT Scans on a Makerbot

Converting a DICOM CT scan to a 3D Stereolithography (.stl) file is a simple process that produces interesting results. These files can then be printed on a 3D printer such as the Makerbot Replicator 2x.  The DICOM files used in this demonstration were used with permission from Dr. L. M. Witmer.

To do the conversion you will need two pieces of software.  The first is InVesalius (http://svn.softwarepublico.gov.br/trac/invesalius) and the second is FreeCad.  Both are freely available under their respective licenses.
Begin by opening InVesalius and click "Import Medical Images".


Then browse to the folder containing your DICOM CT scan files and click OK


InVesalius will import the DICOM Files and display the scan when done.

Now select "Import" in the lower left hand corner.



You will now see a screen similar to the following:



Select "Create Surface" from the left hand task pane and wait a few minutes while it processes.


Once complete you will see a three dimensional rendering of the CT scans in the lower right panel.  You can spin and rotate this model to verify it rendered properly.


Finally, in the left hand task pane expand "4. Export Data" and choose Export 3D surface. Choose a filetype and filename and save.  Note for Makerbot's Makerware program, use the .STL file type.



This particular scan has some artifacts at the bottom that  cause a lot of wasted support structure to be printed on the Makerbot.  To remove these, launch FreeCad and open your file.
Select "Mesh Design" (1) from the drop down at the top.  Orient the model so that you can see the artifacts you would like to remove by using the various view buttons at the top (2).  Now click on your model and the "Cut with Picked Polygon" tool (3) will become available.



Select it and click the points around the object you want to remove.   Now, right click and choose "Inner" and the objects inside your polygon will be removed.

Finally select the "Export a mesh to a file" tool (4) and export your model back to an .STL file and you are ready to load your model into Makerware and print it.