<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2267284187143627970</id><updated>2024-10-04T21:30:31.243-05:00</updated><category term="Beekeeping"/><category term="slackware"/><category term="Linux"/><category term="Russian"/><category term="TV"/><category term="centos"/><category term="solaris"/><category term="Azure"/><category term="Slackware-current"/><category term="beekeeping honey feeders"/><category term="honey"/><category term="powershell"/><category term="zfs"/><category term="Citrix"/><category term="Dark Angel"/><category term="Hyper-V"/><category term="Italian bees"/><category term="KVM"/><category term="LVM"/><category term="Oracle Linux"/><category term="VirtualBox"/><category term="Xen"/><category term="XenServer"/><category term="ansible"/><category term="feeders"/><category term="kernel"/><category term="lubuntu"/><category term="perl"/><category term="sqlite"/><category term="ubuntu"/><category term="virtualbox-kernel"/><category term="zones"/><category term="AWS"/><category term="Andromeda Galaxy"/><category term="Apple"/><category term="BSD"/><category term="Bash shell"/><category term="Beekeeping Supplies"/><category term="CentOS 5.6"/><category term="Chef"/><category term="Chuck"/><category term="Classic Movies"/><category term="Cloud"/><category term="DIY"/><category term="DSL"/><category term="Docker"/><category term="Ethernet"/><category term="GEnie"/><category term="Genetics"/><category term="Harmonie State Park"/><category term="Heroku"/><category term="Jefferson"/><category term="John Wayne"/><category term="Jupiter"/><category term="Kenyan Top Bar hive"/><category term="LXC"/><category term="Linux Containers"/><category term="M31"/><category term="MLS"/><category term="Microsoft"/><category term="OSX"/><category term="OVM"/><category term="Oracle"/><category term="Oracle VirtualBox"/><category term="Pleiades"/><category term="Puppet"/><category term="RAIDz"/><category term="Raspberry Pi"/><category term="Red Hat"/><category term="RedHat"/><category term="Religion"/><category term="Roku"/><category term="Ross Rounds"/><category term="Russian hybrid bees"/><category term="SELinux"/><category term="SLS"/><category term="Science"/><category term="Slackbuilds"/><category term="Tiny Core Linux"/><category term="USB"/><category term="USB 2.0"/><category term="Unix"/><category term="VM"/><category term="VMware"/><category term="Xubuntu"/><category term="ancestors"/><category term="archlinux"/><category term="astronomy"/><category term="bees"/><category term="camping"/><category term="cannot log in"/><category term="change IP"/><category term="change name"/><category term="chickens"/><category term="clone"/><category term="containers"/><category term="cygwin"/><category term="dialup"/><category term="digital"/><category term="do-it-yourself"/><category term="free computer support"/><category term="hive beetles"/><category term="homeschooling"/><category term="hostnamectl"/><category term="howto"/><category term="hyper-visor"/><category term="ironman"/><category term="iscsi"/><category term="knoppix"/><category term="light pollution"/><category term="lost root password"/><category term="lxc.conf"/><category term="message store"/><category term="netplan"/><category term="ntfs-3g"/><category term="oil"/><category term="oil spill"/><category term="oiligarchy"/><category term="openoffice"/><category term="openssh"/><category term="pigeons"/><category term="rollers"/><category term="scouts"/><category term="semodule"/><category term="sshd"/><category term="sun"/><category term="sun virtualbox zfs resilvered"/><category term="top bar hive"/><category term="vagrant"/><category term="veth"/><category term="weeds"/><category term="yaml"/><category term="zfs snapshot"/><category term="zshell"/><title type='text'>RAT Nest</title><subtitle type='html'>Stuff I&#39;m interested in.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>89</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-6625567038615350139</id><published>2019-12-05T08:27:00.000-06:00</published><updated>2019-12-05T08:27:17.690-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="slackware"/><category scheme="http://www.blogger.com/atom/ns#" term="Slackware-current"/><category scheme="http://www.blogger.com/atom/ns#" term="VirtualBox"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox-kernel"/><title type='text'>Linux Kernel 5.4 and VirtualBox Puzzle</title><content type='html'>I&#39;ve been puzzling over WHY my VirtualBox doesn&#39;t work under Linux kernel 5.4 ever since 5.4-RC1 came out.&amp;nbsp; Last week, Slackware -current made 5.4 the default kernel so I hoped all was well - NOPE!&amp;nbsp; So I compiled it myself adding in the modules that have always allowed everything to work up until 5.3.x.&amp;nbsp; That didn&#39;t work either.&amp;nbsp; Bummer.&lt;br /&gt;
&lt;br /&gt;
So I did a bit of research (5 seconds of googling) and it seems there was a lot going on with VirtualBox and Linux kernel 5.4.&amp;nbsp; First there was &lt;a href=&quot;https://www.virtualbox.org/ticket/18945&quot; target=&quot;_blank&quot;&gt;this&lt;/a&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
Linux 5.4 kernel will no longer make interfaces available so that 
arbitrary kernel modules may modify page attributes to turn the 
executable bit on/off. Virtualbox currently is one of such kernel 
modules doing that.
&lt;/blockquote&gt;
&lt;br /&gt;
&amp;nbsp;Then, it seems, in 5.4-RC7 they added a special&lt;a href=&quot;https://www.phoronix.com/scan.php?page=news_item&amp;amp;px=Linux-5.4-rc7-Released&quot; target=&quot;_blank&quot;&gt; &quot;shared folder&quot;&lt;/a&gt; area for Virtualbox which was later &lt;a href=&quot;https://www.phoronix.com/scan.php?page=news_item&amp;amp;px=VirtualBox-SF-Ejected-Linux-5.4&quot; target=&quot;_blank&quot;&gt;removed&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
So, at this time, it seems VirtualBox and Linux kernel 5.4 are not going to play well together until a &lt;a href=&quot;https://news.softpedia.com/news/virtualbox-6-1-enters-development-with-linux-kernel-5-4-support-ui-improvements-528288.shtml&quot; target=&quot;_blank&quot;&gt;special new VirtualBox 6.1 candidate&lt;/a&gt; is released (designed specifically to work with VirtualBox).&amp;nbsp; So far, I cannot find this release candidate (&lt;a href=&quot;https://www.virtualbox.org/wiki/Testbuilds&quot; target=&quot;_blank&quot;&gt;5 seconds of googling&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
That&#39;s ok, I have my box set to always my special vanilla 5.3.x (5.3.15 at the time of this writing).&amp;nbsp; I just hope this continues to get updates so I don&#39;t have to drop back to the&lt;a href=&quot;https://www.kernel.org/&quot; target=&quot;_blank&quot;&gt; 4.19.x LTS kernel&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
If you see a release candidate for VirtualBox 6.1 post a response.&amp;nbsp; I&#39;ll do the same (so we&#39;re racing).</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/6625567038615350139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/6625567038615350139' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/6625567038615350139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/6625567038615350139'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2019/12/linux-kernel-54-and-virtualbox-puzzle.html' title='Linux Kernel 5.4 and VirtualBox Puzzle'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-472857513905577902</id><published>2019-10-14T16:12:00.003-05:00</published><updated>2019-10-14T16:12:27.466-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="slackware"/><category scheme="http://www.blogger.com/atom/ns#" term="Slackware-current"/><category scheme="http://www.blogger.com/atom/ns#" term="XenServer"/><title type='text'>Slackware 14.2 Under XenServer 7.1</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I&#39;ve always had a networking problem with &lt;a href=&quot;http://www.slackware.com/&quot; target=&quot;_blank&quot;&gt;Slackware&lt;/a&gt; as a guest VM under &lt;a href=&quot;https://www.citrix.com/products/citrix-hypervisor/&quot; target=&quot;_blank&quot;&gt;Citrix XenServer&lt;/a&gt; (or Citrix Hypervisor, I guess is what they call it these days).&amp;nbsp; I still prefer Slackware as a desktop and so I set about solving this again recently - this time I would not be thwarted!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I ran across this article: &lt;a href=&quot;https://serverfault.com/questions/480217/how-do-i-disable-8139too-network-driver-in-favor-of-the-8139cp-network-driver-in&quot; target=&quot;_blank&quot;&gt;How do I disable 8139too network driver...&lt;/a&gt; because lsmod lead me to search for 8139too networking module.&amp;nbsp; This was an Ubuntu article, so, I&#39;ll transmorgify it a bit for Slackware users. &amp;nbsp; The first thing it suggested was to blacklist 8139 in the modules.&amp;nbsp; Like the author of this I did not have any luck with that.&amp;nbsp; It was suggested you use the 8139cp instead (cool!&amp;nbsp; I didn&#39;t even know of its existence before this article).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# lsmod | grep 8139&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This revealed 8139too in use and bound with mii, so...&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# rmmod 8139too&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# rmmod mii&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# modprobe 8139cp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# modprobe mii&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# /etc/rc.d/rc.inet1 restart&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;At this point, I had, for the first time ever as a Slackware XenServer guest, a working eth0!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;In order to keep it (and use less resources) I created a smaller kernel /boot/initrd.gz by running mkinitrd.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# /usr/share/mkinitrd/mkinird_command_generator.sh&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;I appended :8130cp to the suggested mkinitrd script:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# mkinitrd -c -k 4.4.14 -f ext4 -r /dev/sda2 -m jbd2:mbcache:ext4:8139cp -u -o /boot/initrd.gz&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;This seemed to work nicely so I doctored up the boot area a bit:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# cd /boot&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# rm System.map&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# ln -s System.map-generic-4.4.14 System.map&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# rm config&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# ln -s config-generic-4.4.14 config&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Then I added a section to the /etc/lilo.conf:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;image = /boot/vmlinuz-generic&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; label = Slackware&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; initrd = /boot/initrd.gz&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; root = /dev/sda2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; read-only&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;And I always add&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;default = Slackware &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;before running lilo -v.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;After that, I rebooted and had a Slackware install with a nice lean kernel with a eth0 running as a guest VM under Citrix XenServer (or Hypervisor - I can&#39;t get used to that!).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: Times, &amp;quot;Times New Roman&amp;quot;, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp; &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/472857513905577902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/472857513905577902' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/472857513905577902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/472857513905577902'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2019/10/slackware-142-under-xenserver-71.html' title='Slackware 14.2 Under XenServer 7.1'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-3736631088842097599</id><published>2018-12-10T11:20:00.003-06:00</published><updated>2018-12-10T11:20:59.485-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ansible"/><title type='text'>Ansible is so useful - Even for someone who doesn&#39;t know how to use it!</title><content type='html'>I love Ansible!&amp;nbsp; It is so useful even though my skills with it are very minimal, it is so powerful and useful.&amp;nbsp; I have about 80 or 90 playbooks that I use over and over.&amp;nbsp; They&#39;re all pretty simple but they get things done.&amp;nbsp; I forget when and where I can use ad-hoc ansible commands.&amp;nbsp; I love it when those work though.&amp;nbsp; I thought I could use ad-hoc to view /etc/resolv.conf and goofed around with -shell and had no success.&amp;nbsp; Then I found this I had written 13 months ago:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;- hosts: all&lt;br /&gt;&amp;nbsp; sudo: yes&lt;br /&gt;&amp;nbsp; tasks: &lt;br /&gt;&amp;nbsp; - name: Display /etc/resolv.conf&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; shell: cat /etc/resolv.conf&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; register: resolv&lt;br /&gt;&lt;br /&gt;&amp;nbsp; - name: Debug resolv&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug: var=resolv&lt;br /&gt;&lt;br /&gt;&amp;nbsp; - name: Debug resolv.stdout as part of a string&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; debug: msg=`{{ resolv.stdout }}`&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/3736631088842097599/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/3736631088842097599' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/3736631088842097599'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/3736631088842097599'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2018/12/ansible-is-so-useful-even-for-someone.html' title='Ansible is so useful - Even for someone who doesn&#39;t know how to use it!'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-5848147456046902277</id><published>2018-11-28T13:27:00.002-06:00</published><updated>2018-11-28T13:56:19.351-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="change IP"/><category scheme="http://www.blogger.com/atom/ns#" term="change name"/><category scheme="http://www.blogger.com/atom/ns#" term="hostnamectl"/><category scheme="http://www.blogger.com/atom/ns#" term="lubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="netplan"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat"/><category scheme="http://www.blogger.com/atom/ns#" term="slackware"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Xubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="yaml"/><title type='text'>Codename: Ubuntu Rusty</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Just call me Rusty -&amp;nbsp; with regards to Ubuntu anyway.&amp;nbsp; Man!&amp;nbsp; I can&#39;t remember how to set the IP in the old Ubuntu.&amp;nbsp; Now, 18.04 has changed yet again.&amp;nbsp; I&#39;m a RHELish* user when I&#39;m not using Slackware for my own personal desktop.&amp;nbsp; Don&#39;t get me wrong - Ubuntu is a fine desktop.&amp;nbsp; I used it from &#39;04 to &#39;09 parting ways when the Unity desktop came into play.&amp;nbsp; I did enjoy Xubuntu and then later Lubuntu but found my 5+ years of &#39;buntu had weakened my RHELish skills much in the way the last (nearly 10) years has mu &#39;buntu skills SO I switched back.&amp;nbsp; Actually, I always load Ubuntu for other people (non-Unix folks) who want to salvage an old laptop or old desktop that ran Windows 7 or something.&amp;nbsp; I&#39;ve had some success stories there.&amp;nbsp; But I digress.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;This is just a place to save these commands so I don&#39;t have to hunt them up YET AGAIN.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;/span&gt;

&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Changing an Ubuntu 18.04 LTS server&#39;s name&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;This is pretty easy.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;$ sudo hostnamectl set-hostname linuxconfig&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;This note is not (currently) for me: Check for the existence of /etc/cloud/cloud.cfg and change preserve_hostname: false to preserve_hostname: true&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;Changing the static IP of an Ubuntu 18.04 LTS server&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;This is no longer in the /etc/network/interfaces.&amp;nbsp; Instead look in /etc/netplan (sudo -s first or it will not auto-complete leading me to believe it didn&#39;t exist).&amp;nbsp; The file is 50-cloud-init.yaml.&lt;br /&gt;&lt;br /&gt;That is all I have to say since this note is mainly for me.&amp;nbsp; Hopefully I&#39;ll know what else to do when I need this information again.&amp;nbsp; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;---&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif;&quot;&gt;*RHELish (pronounced &quot;relish&quot;) is the term I coined for Red Hat -like based systems such as (of course) Red Hat Enterprise Linux, CentOS, Scientific Linux and Oracle Linux.&amp;nbsp; &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/5848147456046902277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/5848147456046902277' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5848147456046902277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5848147456046902277'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2018/11/codename-ubuntu-rusty.html' title='Codename: Ubuntu Rusty'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-7066224109018909718</id><published>2017-11-28T09:49:00.001-06:00</published><updated>2017-11-28T11:31:34.826-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle VirtualBox"/><category scheme="http://www.blogger.com/atom/ns#" term="Slackbuilds"/><category scheme="http://www.blogger.com/atom/ns#" term="slackware"/><category scheme="http://www.blogger.com/atom/ns#" term="Slackware-current"/><category scheme="http://www.blogger.com/atom/ns#" term="USB"/><category scheme="http://www.blogger.com/atom/ns#" term="USB 2.0"/><category scheme="http://www.blogger.com/atom/ns#" term="VirtualBox"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox-kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="VM"/><title type='text'>Slackware14.2-current, VirtualBox and new kernels</title><content type='html'>I keep blowing up my Slackbuild VirtualBox setup with every new kernel update.&amp;nbsp; Usually, I can just re-run the &lt;a href=&quot;http://slackbuilds.org/repository/14.2/&quot; target=&quot;_blank&quot;&gt;Slackbuilds&lt;/a&gt; for &lt;a href=&quot;http://slackbuilds.org/repository/14.2/system/virtualbox-kernel/&quot; target=&quot;_blank&quot;&gt;virtualbox-kernel&lt;/a&gt; and &lt;a href=&quot;http://slackbuilds.org/repository/14.2/system/virtualbox/&quot; target=&quot;_blank&quot;&gt;virtualbox&lt;/a&gt; (with a re-boot in between) and I&#39;m fine.  Not today.  Tried all kinds of things.  Then got weird.  I was running the Slackbuild for VirtualBox 5.0.40.  I decided to just skip package management and go straight to the source (hey, I&#39;m a Slacker).  So, I went to the &lt;a href=&quot;https://www.virtualbox.org/wiki/Linux_Downloads&quot; target=&quot;_blank&quot;&gt;Oracle Virtualbox site&lt;/a&gt; and found this link and then, from the command line ran the following:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;curl -O http://download.virtualbox.org/virtualbox/5.2.2/VirtualBox-5.2.2-119230-Linux_amd64.run&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;sh VirtualBox-5.2.2-119230-Linux_amd64.run&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;Lots of things works, lots of things complained about symbolic links already existing (step 1 of this script attempted to remove my Slackbuild VirtualBox with, I&#39;d say, partial success), and then it ended on &quot;unable to start kernel drivers&quot;.  Not a good sign I thought.  Just for luck, another reboot.  And then, I re-ran &quot;rc.vboxdrv start&quot; AND IT WORKED! So now I&#39;m running 5.2.2!!&lt;br /&gt;
&lt;br /&gt;
So, I fire up an ALL NEW Oracle VirtualBox with lotsa Oracle branding (hmmm... didn&#39;t remember all of that).  I attempt to start my Windoze VM - no go.  It complains about USB 2.0 support not being there and suggests I try installing extensions.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 12px 0px; text-indent: 0px;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Implementation of the USB 2.0 controller not found!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;margin: 12px 0px; text-indent: 0px;&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Because the USB 2.0 controller state is part of the saved VM state, the VM cannot be started. To fix this problem, either install the &lt;span style=&quot;font-weight: 600;&quot;&gt;&#39;&lt;a href=&quot;http://slackbuilds.org/repository/14.2/system/virtualbox-extension-pack/&quot; target=&quot;_blank&quot;&gt;Oracle&amp;nbsp;VM&amp;nbsp;VirtualBox&amp;nbsp;Extension&amp;nbsp;Pack&lt;/a&gt;&#39;&lt;/span&gt; or disable USB 2.0 support in the VM settings&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
I re-run extensions.  Still no go.  So, I retro my VM&#39;s USB support from 2.0 to 1.1 (trying to think how often I use USB with a VM anyways?) AND IT WORKED!&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Ok, not the slickest solution in the world.  The installer did something with Python bindings, from what I could tell, installed some things, fixed some things, possibly broke my USB 2.0 support but otherwise bailed me out.&lt;br /&gt;
&lt;br /&gt;
So, if you&#39;re desperate - you&#39;re welcome.&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/7066224109018909718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/7066224109018909718' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/7066224109018909718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/7066224109018909718'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2017/11/slackware142-current-virtualbox-and-new.html' title='Slackware14.2-current, VirtualBox and new kernels'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-5791047674861350187</id><published>2017-02-21T10:29:00.000-06:00</published><updated>2017-02-21T10:29:05.007-06:00</updated><title type='text'>The Rare un-iSCSI Commands</title><content type='html'>I often add iSCSI volumes to Linux servers but, until now, rarely take them away.&amp;nbsp; That strikes me as odd too.&amp;nbsp; But, I guess when I get to the point of not using storage, the server is usually going away too.&amp;nbsp; -Not in this case.&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
So, here&#39;s the steps for removing all traces of an iSCSI volume. &lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
Step 1: Find the iSCSI Session&lt;/h4&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[root@localhost]# iscsiadm -m session&lt;br /&gt;tcp: [1] 192.168.0.100:3260,1 iqn.2001-05.com.emc:0-af1ff6-c57ac0bd5-712a2878fd0&lt;br /&gt;533c6-backuppc (non-flash)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;
Step 2: Disable (logout) current iSCSI session&lt;/h4&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[root@localhost]# iscsiadm --m node -T iqn.2001-05.com.emc:0-af1ff6-c57ac0bd5-71&lt;br /&gt;2a2878fd0533c6-backuppc --portal 192.168.0.100:3260 -u&lt;br /&gt;Logging out of session [sid: 1, target: iqn.2001-05.com.emc:0-af1ff6-c57ac0bd5-7&lt;br /&gt;12a2878fd0533c6-backuppc, portal: 192.168.0.100,3260]&lt;br /&gt;Logout of [sid: 1, target: iqn.2001-05.com.emc:0-af1ff6-c57ac0bd5-712a2878fd0533&lt;br /&gt;c6-backuppc, portal: 192.168.0.100,3260] successful.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
Step 3: Double check that session is logged out&lt;/h4&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[root@localhost]# iscsiadm -m session&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iscsiadm&lt;br /&gt;: No active sessions.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;
Step 4: Permanently delete iSCSI session&lt;/h4&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[root@localhost]# iscsiadm -m node -o delete -T iqn.2001-05.com.emc:0-af1ff6-c57&lt;br /&gt;ac0bd5-712a2878fd0533c6-backuppc --portal 192.168.0.100:3260&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h4&gt;
Step 5: Stop iSCSI from running (since targets are gone)&lt;/h4&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[root@localhost]# service iscsi stop&lt;br /&gt;Stopping iscsi:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [&amp;nbsp; OK&amp;nbsp; ]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;[root@localhost]# chkconfig iscsi off&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;
Step 6: Remove references to iSCSI in /etc/fstab&lt;/h4&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[root@localhost]# vi /etc/fstab ...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/5791047674861350187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/5791047674861350187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5791047674861350187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5791047674861350187'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2017/02/the-rare-un-iscsi-commands.html' title='The Rare un-iSCSI Commands'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-5100594555575673013</id><published>2016-08-05T10:04:00.002-05:00</published><updated>2017-02-02T13:01:39.433-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ansible"/><category scheme="http://www.blogger.com/atom/ns#" term="Chef"/><category scheme="http://www.blogger.com/atom/ns#" term="Citrix"/><category scheme="http://www.blogger.com/atom/ns#" term="containers"/><category scheme="http://www.blogger.com/atom/ns#" term="Docker"/><category scheme="http://www.blogger.com/atom/ns#" term="hyper-visor"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux Containers"/><category scheme="http://www.blogger.com/atom/ns#" term="LXC"/><category scheme="http://www.blogger.com/atom/ns#" term="lxc.conf"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Puppet"/><category scheme="http://www.blogger.com/atom/ns#" term="slackware"/><category scheme="http://www.blogger.com/atom/ns#" term="solaris"/><category scheme="http://www.blogger.com/atom/ns#" term="vagrant"/><category scheme="http://www.blogger.com/atom/ns#" term="veth"/><category scheme="http://www.blogger.com/atom/ns#" term="XenServer"/><title type='text'>Slackware and LXC</title><content type='html'>I have a fresh Slackware 14.2 I&#39;ve been enjoying since it came out this month.&amp;nbsp; I needed a hyper-visor and was getting ready to add Xen (the hyper-visor of choice on Slackware).&amp;nbsp; I like Xen, but I knew the compile times for the Slackbuilds and it&#39;s dependencies would probably take more time than I had at the moment.&amp;nbsp; Then I remembered LXC.&amp;nbsp; It comes with.&lt;br /&gt;
&lt;br /&gt;
I didn&#39;t know much about LXC so did some quick reading.&amp;nbsp; They say &quot;it&#39;s similar to Docker but easier&quot; - I like the sound of that.&amp;nbsp; So I check it out.&amp;nbsp; It&#39;s EXACTLY like Solaris containers!&amp;nbsp; Which I&#39;ve been using for over 10 years - but, again, easier!&amp;nbsp; It&#39;s pretty slick!&amp;nbsp; And it installs by default on Slackware 14.2 but there&#39;s a few things you need to change.&lt;br /&gt;
&lt;h4&gt;
&lt;/h4&gt;
&lt;h3&gt;
ON THE HOST&lt;/h3&gt;
&lt;h4&gt;
Edit the /etc/rc.d/rc.inet1.conf &lt;/h4&gt;
Slackware does not have a bridged network device by default BUT it does have it defined and commented out.&amp;nbsp; I found this works nicely except I was expecting my host interface to use eth0 and lxc guest to use br0.&amp;nbsp; It was not what I expected but it works fine!&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace; font-size: x-small;&quot;&gt;# Example of how to configure a bridge:&lt;br /&gt;# Note the added &quot;BRNICS&quot; variable which contains a space-separated list&lt;br /&gt;# of the physical network interfaces you want to add to the bridge.&lt;br /&gt;IFNAME[0]=&quot;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;eth0&lt;/span&gt;&quot;&lt;br /&gt;BRNICS[0]=&quot;br0&quot;&lt;br /&gt;#IPADDR[0]=&quot;&quot;&lt;br /&gt;#NETMASK[0]=&quot;&quot;&lt;br /&gt;USE_DHCP[0]=&quot;yes&quot;&lt;br /&gt;#DHCP_HOSTNAME[0]=&quot;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;h4&gt;
Routing = Yes &lt;/h4&gt;
You will, of course, need your host to route packets so&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;# chmod 755 /etc/rc.d/rc.ip_forward&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
And then start it or restart.&amp;nbsp; I like to restart to make sure everything is the way it needs to be before relying on it.&amp;nbsp; You could also just&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;# echo 0 &amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt; &lt;/span&gt;&lt;/span&gt;/proc/sys/net/ipv4/ip_forward&lt;/code&gt;&lt;br /&gt;
&lt;h4&gt;
&lt;br /&gt;&lt;span style=&quot;font-size: small;&quot;&gt;LXC Config&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Really the only other thing you need to do is add a bit to /etc/lxc/default.conf.&amp;nbsp; This worked for me:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;root@slacks:~# cat /etc/lxc/default.conf &lt;br /&gt;lxc.network.type=veth&lt;br /&gt;lxc.network.link=br0&lt;br /&gt;lxc.network.flags=up&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;O&lt;span style=&quot;font-family: inherit;&quot;&gt;N THE LXC GUEST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Just run netcon&lt;span style=&quot;font-family: inherit;&quot;&gt;fig and set a static address or DHCP&lt;span style=&quot;font-family: inherit;&quot;&gt; and then restart &lt;span style=&quot;font-family: inherit;&quot;&gt;rc.inet1&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;WHAT LXC GUEST?!!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Oh, I skipped that bit, eh?&amp;nbsp; Super simple.&amp;nbsp; Try this:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;# lxc-create -n lxcguest -t /usr/share/lxc/templates/lxc-slackware&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;# lxc-start -n lxcguest -d&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;# lxc-console -n lxcguest&amp;nbsp; (it&#39;ll tell you how to login) &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Now, run netconfig. &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;What?!&amp;nbsp; You&lt;span style=&quot;font-family: inherit;&quot;&gt;&#39;re already running Slackware on the host and you&#39;d like to try &lt;span style=&quot;font-family: inherit;&quot;&gt;som&lt;span style=&quot;font-family: inherit;&quot;&gt;ething different?&amp;nbsp; Just run list &lt;span style=&quot;font-family: inherit;&quot;&gt;the contents of&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; /usr/share/lxc/templates&lt;span style=&quot;font-family: inherit;&quot;&gt; and then &lt;span style=&quot;font-family: inherit;&quot;&gt;try on&lt;span style=&quot;font-family: inherit;&quot;&gt;e or a dozen of the other 1&lt;span style=&quot;font-family: inherit;&quot;&gt;8&lt;/span&gt; pre-installed templates.&amp;nbsp; Like:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;root@slacks:~# ls /usr/share/lxc/templates&lt;br /&gt;lxc-alpine*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lxc-cirros*&amp;nbsp;&amp;nbsp;&amp;nbsp; lxc-openmandriva*&amp;nbsp; lxc-sparclinux*&lt;br /&gt;lxc-altlinux*&amp;nbsp;&amp;nbsp; lxc-debian*&amp;nbsp;&amp;nbsp;&amp;nbsp; lxc-opensuse*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lxc-sshd*&lt;br /&gt;lxc-archlinux*&amp;nbsp; lxc-download*&amp;nbsp; lxc-oracle*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lxc-ubuntu*&lt;br /&gt;lxc-busybox*&amp;nbsp;&amp;nbsp;&amp;nbsp; lxc-fedora*&amp;nbsp;&amp;nbsp;&amp;nbsp; lxc-plamo*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lxc-ubuntu-cloud*&lt;br /&gt;lxc-centos*&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lxc-gentoo*&amp;nbsp;&amp;nbsp;&amp;nbsp; lxc-slackware*&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;I&lt;span style=&quot;font-family: inherit;&quot;&gt;f you down like any of th&lt;span style=&quot;font-family: inherit;&quot;&gt;ose, try something else with this &lt;span style=&quot;font-family: inherit;&quot;&gt;command:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;# lxc-create -t /usr/share/lxc/templates/lxc-download -n newguest&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;You will be given&lt;span style=&quot;font-family: inherit;&quot;&gt; a&lt;span style=&quot;font-family: inherit;&quot;&gt;n even bigger choice.&amp;nbsp; Knowing&lt;span style=&quot;font-family: inherit;&quot;&gt; Slackware and &lt;span style=&quot;font-family: inherit;&quot;&gt;how stable it is, I would stay&lt;span style=&quot;font-family: inherit;&quot;&gt; with the &lt;span style=&quot;font-family: inherit;&quot;&gt;l&lt;span style=&quot;font-family: inherit;&quot;&gt;ocal choices to ensure that legendary &lt;span style=&quot;font-family: inherit;&quot;&gt;stability stays as is&lt;span style=&quot;font-family: inherit;&quot;&gt; (but that&#39;s just me).&lt;/span&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;THE EN&lt;span style=&quot;font-family: inherit;&quot;&gt;D&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Well, that&#39;s all of my notes.&amp;nbsp; &lt;span style=&quot;font-family: inherit;&quot;&gt;Postive c&lt;/span&gt;omments and any kind of experiences with LXC are always welcome below. &lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/5100594555575673013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/5100594555575673013' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5100594555575673013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5100594555575673013'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2016/08/slackware-and-lxc.html' title='Slackware and LXC'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-2580694991245373870</id><published>2015-12-22T17:14:00.002-06:00</published><updated>2015-12-23T09:15:56.927-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Apple"/><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="Bash shell"/><category scheme="http://www.blogger.com/atom/ns#" term="BSD"/><category scheme="http://www.blogger.com/atom/ns#" term="dialup"/><category scheme="http://www.blogger.com/atom/ns#" term="GEnie"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><category scheme="http://www.blogger.com/atom/ns#" term="OSX"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><category scheme="http://www.blogger.com/atom/ns#" term="Raspberry Pi"/><category scheme="http://www.blogger.com/atom/ns#" term="Roku"/><category scheme="http://www.blogger.com/atom/ns#" term="slackware"/><category scheme="http://www.blogger.com/atom/ns#" term="SLS"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>It&#39;s a good time to be a Linux sysadmin!</title><content type='html'>Linux is everywhere now.&amp;nbsp; It&#39;s on &lt;a href=&quot;https://products.sel.sony.com/opensource/&quot; target=&quot;_blank&quot;&gt;my TV&lt;/a&gt;, on my &lt;a href=&quot;https://www.roku.com/&quot; target=&quot;_blank&quot;&gt;Roku&lt;/a&gt;, it&#39;s the firmware running my SAN hardware, it&#39;s the OS behind all of our virtualization platforms. If you know me, you know my technology passions are for &lt;a href=&quot;http://www.slackware.com/&quot; target=&quot;_blank&quot;&gt;Linux&lt;/a&gt;, &lt;a href=&quot;http://www.silug.org/~robert/perl/&quot; target=&quot;_blank&quot;&gt;Perl&lt;/a&gt; and pretty much anything running open source.&amp;nbsp; I started using Linux about 1993/94 when I downloaded &lt;a href=&quot;https://en.wikipedia.org/wiki/Softlanding_Linux_System&quot; target=&quot;_blank&quot;&gt;SLS&lt;/a&gt; from &lt;a href=&quot;https://en.wikipedia.org/wiki/GEnie&quot; target=&quot;_blank&quot;&gt;GEnie&lt;/a&gt; over my 2400 baud modem.&amp;nbsp; It was kernel 0.99p11.&amp;nbsp; It booted Linux and ran off of floppy.&amp;nbsp; Later, I got a larger copy from GEnie using work&#39;s 9600 baud connection.&amp;nbsp; I had to dialup Indy to get a speed that fast!&lt;br /&gt;
&lt;br /&gt;
Later, when Windows 95 came out, I started running Linux as my desktop and I&#39;ve stuck with it.&amp;nbsp; I remember that the guys in my office would always reboot their Windows 95 systems at lunch as a preventative measure to prevent accidental lockups.&amp;nbsp; One time, just prior to lunch, I distinctly remember Ken yelling &quot;Oh&amp;nbsp; no!&amp;nbsp; It locked up and I&#39;ve been working on that spreadsheet for an hour!&quot; I typed &quot;w&quot; to get my uptime:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;[rat@localhost Desktop]$ w&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;16:39:19 up 99 days,&amp;nbsp; 8:14,&amp;nbsp; 4 users,&amp;nbsp; load average: 0.25, 0.25, 0.27&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Ha!&amp;nbsp; They can&#39;t keep their desktop up half a day - mine&#39;s been up for 99 days and still going.&amp;nbsp; I think to myself: &quot;Linux - I think I&#39;ll keep it.&quot;&lt;br /&gt;
&lt;br /&gt;
It&#39;s been over 20 years.&amp;nbsp; I can remember telling someone I worked on Unix and Linux systems.&amp;nbsp; &quot;Ah, a niche OS, eh?&quot;&amp;nbsp; &quot;Niche?&quot;&amp;nbsp; Not really.&amp;nbsp; Unix/Linux was running the Internet before these guys knew there was an Internet.&amp;nbsp; It&#39;s always been the one to run &lt;a href=&quot;https://en.wikipedia.org/wiki/Domain_Name_System&quot; target=&quot;_blank&quot;&gt;DNS&lt;/a&gt;, &lt;a href=&quot;http://news.netcraft.com/archives/2015/05/19/may-2015-web-server-survey.html&quot; target=&quot;_blank&quot;&gt;web servers&lt;/a&gt;, &lt;a href=&quot;https://www.isc.org/downloads/dhcp/&quot; target=&quot;_blank&quot;&gt;DCHP&lt;/a&gt; servers, &lt;a href=&quot;http://www.ntp.org/&quot; target=&quot;_blank&quot;&gt;NTP&lt;/a&gt; (time protocol), etc.&amp;nbsp; It ran all the &lt;a href=&quot;https://en.wikipedia.org/wiki/Simple_Mail_Transfer_Protocol&quot; target=&quot;_blank&quot;&gt;SMTP&lt;/a&gt; (mail) and &lt;a href=&quot;https://en.wikipedia.org/wiki/Simple_Network_Management_Protocol&quot; target=&quot;_blank&quot;&gt;SNMP&lt;/a&gt; (network and hardware monitoring).&amp;nbsp; Linux WAS the back office of any decent sized IT shop.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Later, Apple forked BSD Unix into its operating system &lt;a href=&quot;https://en.wikipedia.org/wiki/OS_X&quot; target=&quot;_blank&quot;&gt;OSX&lt;/a&gt;.&amp;nbsp; Now Apple was Unix!&amp;nbsp; I was very much at home on the Apple OSX command line.&amp;nbsp; Everything was there: &lt;a href=&quot;https://en.wikipedia.org/wiki/Bash_%28Unix_shell%29&quot; target=&quot;_blank&quot;&gt;Bash shell&lt;/a&gt;, Perl, and all the &lt;a href=&quot;https://en.wikipedia.org/wiki/List_of_Unix_commands&quot; target=&quot;_blank&quot;&gt;core Unix commands&lt;/a&gt;.&amp;nbsp; Pretty cool.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
Next came &lt;a href=&quot;https://en.wikipedia.org/wiki/Windows_PowerShell&quot; target=&quot;_blank&quot;&gt;Windows PowerShell&lt;/a&gt;.&amp;nbsp; So many of the commands were aliased to bash commands that I was once again at home.&amp;nbsp; I really like &lt;a href=&quot;http://myratnest.blogspot.com/2014/12/even-more-fun-with-server-core-2012-r2.html&quot; target=&quot;_blank&quot;&gt;Windows 2012 R2 Core and PowerShell&lt;/a&gt;.&amp;nbsp; Each new version of PowerShell adds more and more &lt;a href=&quot;http://cecs.wright.edu/~pmateti/Courses/233/Labs/Scripting/bashVsPowerShellTable.html&quot; target=&quot;_blank&quot;&gt;bash-like aliases&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
And now, &lt;a href=&quot;http://www.pcworld.com/article/2836412/microsoft-hearts-linux-for-azures-sake.html&quot; target=&quot;_blank&quot;&gt;Microsoft Azure Cloud Services&lt;/a&gt; has dozens of versions of Linux you can deploy in their cloud service.&amp;nbsp; One estimate was that over &lt;u&gt;75% of the virtual machines in Microsoft Azure Cloud Service were Linux.&lt;/u&gt;&amp;nbsp; Even better - &lt;b&gt;&lt;a href=&quot;http://www.wired.com/2015/09/microsoft-using-linux-run-cloud/&quot; target=&quot;_blank&quot;&gt;Microsoft runs AZURE on Linux!!&lt;/a&gt;&lt;/b&gt;&amp;nbsp; What&#39;s more, the Azure services SDK client also runs on Linux!&amp;nbsp; It was pretty freaky seeing bash scripts with a Microsoft license boiler plate on them.&amp;nbsp; And now the Office 360 is coming to Linux!&lt;br /&gt;
&lt;br /&gt;
It&#39;s not a niche!&amp;nbsp; It&#39;s not going away.&amp;nbsp; I&#39;d say that, without fan fare, Linus&#39; OS has finally won.&amp;nbsp; I saw the future 20 years ago.&amp;nbsp; &lt;b&gt;It is Linux!!&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Merry Christmas everyone!&lt;br /&gt;
&lt;br /&gt;
P.S. Don&#39;t forget - Linux is the OS running &lt;a href=&quot;http://www.cnet.com/news/linux-and-android-together-at-last/#!&quot; target=&quot;_blank&quot;&gt;Android phones&lt;/a&gt; and the &lt;a href=&quot;https://www.raspberrypi.org/&quot; target=&quot;_blank&quot;&gt;Raspberry Pi.&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
References:&lt;br /&gt;
&lt;a href=&quot;http://www.wired.com/2015/09/microsoft-using-linux-run-cloud/&quot;&gt;http://www.wired.com/2015/09/microsoft-using-linux-run-cloud/&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/2580694991245373870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/2580694991245373870' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/2580694991245373870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/2580694991245373870'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2015/12/its-good-time-to-be-linux-sysadmin.html' title='It&#39;s a good time to be a Linux sysadmin!'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-6150285721766860767</id><published>2015-12-17T16:09:00.001-06:00</published><updated>2015-12-17T16:11:32.815-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AWS"/><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="Citrix"/><category scheme="http://www.blogger.com/atom/ns#" term="Heroku"/><category scheme="http://www.blogger.com/atom/ns#" term="Hyper-V"/><category scheme="http://www.blogger.com/atom/ns#" term="KVM"/><category scheme="http://www.blogger.com/atom/ns#" term="LVM"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="OVM"/><category scheme="http://www.blogger.com/atom/ns#" term="VMware"/><title type='text'>The Joy of Modern Computing</title><content type='html'>&lt;ol&gt;
&lt;li&gt;Solaris Zones &amp;amp; Containers &lt;/li&gt;
&lt;li&gt;Oracle VirtualBox &lt;/li&gt;
&lt;li&gt;Xen&amp;nbsp;&lt;/li&gt;
&lt;li&gt;VMware &lt;/li&gt;
&lt;li&gt;KVM&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Heroku&lt;/li&gt;
&lt;li&gt;Hyper-V&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Citrix XenServer&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Oracle VM Manager (OVM)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Amazon Web Services (AWS)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Microsoft Azure Cloud Services&lt;/li&gt;
&lt;/ol&gt;
These are a few of my favorite virtualization platforms that I&#39;ve been using since 2006. I love virtualization!&amp;nbsp; I work mainly out of a virtualized desktop running ssh into virtualized systems.&amp;nbsp;&amp;nbsp; Lately, I&#39;ve been working a lot with Microsoft Azure Cloud Services.&lt;br /&gt;
&lt;br /&gt;
It&#39;s funny how this is perceived by some people unfamiliar with it.&amp;nbsp; Today in a meeting, some people thought that moving systems to the &quot;cloud&quot; would cause a loss of IT positions.&amp;nbsp; I never thought so.&amp;nbsp; My least favorite part of the job is the part that takes .001% of your time - mounting the physical hardware in a rack and wiring it.&amp;nbsp; If that goes away, I will not miss it at all.&lt;br /&gt;
&lt;br /&gt;
I love that I can clone, copy and snapshot VMs.&amp;nbsp; Using physical hardware now seems to me like working without a net. I would not want to go back.&amp;nbsp; Even better is having the services in the cloud.&amp;nbsp; No messy wires, no failing hard drives (I have an open ticket for one now).&amp;nbsp; Even backups are a breeze.&lt;br /&gt;
&lt;br /&gt;
I have a 32 bit Windows 7 desktop VM that I migrated from a PC running CentOS 5 under Xen to a PC running Red Hat Linux 6 running KVM (that was a tough migration - but it worked!) and then I moved it again to a PC running Oracle Linux 7 under KVM (much easier move).&amp;nbsp; So, my Windows 7 has been with me through 3 PCs.&amp;nbsp; All of my stuff is there - all my files and software.&amp;nbsp; Virtualized PC&#39;s are really cool!&lt;br /&gt;
&lt;br /&gt;
I also run additional VMs on my PC.&amp;nbsp; If a new distro comes out and I want to see what it looks like - I just load it from the ISO!&amp;nbsp; I don&#39;t have to have spare hardware.&amp;nbsp; It&#39;s great!&amp;nbsp; I have been running my desktop like this about 6 years and can&#39;t imagine doing it any other way.&amp;nbsp; (I started virtualizing my servers almost 10 years ago).&lt;br /&gt;
&lt;br /&gt;
Lately, as I have built about a dozen various VMs in Azure.&amp;nbsp; I&#39;ve been testing the cloning of VMs &amp;amp; filesystems and securing endpoints. (It took some time to figure out how to reserve static addresses.)&lt;br /&gt;
&lt;br /&gt;
Now, I love Linux and my technology passion is learning pretty much anything OpenSource - BUT, even though I could do quite a bit with the cross platform kit for Azure under Linux - most of the work was easier in Powershell.&amp;nbsp; No problem - because I really like Powershell - BUT, my 32 bit Windows 7 system didn&#39;t seem to want to finish the install and hung twice.&amp;nbsp; I figured it was because it was 32 bit.&amp;nbsp; Again, thanks to virtualization - No problem - I just loaded up 64 bit Windows 10.&amp;nbsp; (I tried to like Windows 8 and 8.1 but eventually gave up. Skipping that one.)&amp;nbsp; Windows 10 is a nice mix and seems more intuitive then its predecessor and ran the Azure Powershell environment which made cloning much easier.&lt;br /&gt;
&lt;br /&gt;
The cool thing is, I can still run my old Windows 7 for as long as it gets patches (and then I could just remove the network and keep it for nostalgia) BUT I also get to run Windows 10 and use the Azure Powershell features I need.&lt;br /&gt;
&lt;br /&gt;
Anyway, Linux and KVM gives you a lot of possibilities and it&#39;s free (your VMs, may not be).&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/6150285721766860767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/6150285721766860767' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/6150285721766860767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/6150285721766860767'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2015/12/solaris-zones-containers-oracle.html' title='The Joy of Modern Computing'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-585965253701151173</id><published>2015-11-17T14:40:00.002-06:00</published><updated>2015-11-17T14:44:09.953-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Azure"/><category scheme="http://www.blogger.com/atom/ns#" term="Cloud"/><category scheme="http://www.blogger.com/atom/ns#" term="LVM"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle Linux"/><title type='text'>Azure and Oracle Linux 6</title><content type='html'>Typical of my luck - the VERY FIRST Azure VM I install is the Oracle Linux 6.4.&amp;nbsp; Of course, the first thing I do after a new install is &quot;yum upgrade&quot;.&amp;nbsp; For the first time ever, I get a weird error and cannot complete this:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;...&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Running rpm_check_debug&lt;br /&gt;ERROR with rpm_check_debug vs depsolve:&lt;br /&gt;kernel-headers is needed by glibc-headers-2.12-1.166.el6_7.3.x86_64&lt;br /&gt;kernel-headers &amp;gt;= 2.2.1 is needed by glibc-headers-2.12-1.166.el6_7.3.x86_64&lt;br /&gt;kernel-uek is needed by oracle-rdbms-server-11gR2-preinstall-1.0-12.el6.x86_64&lt;br /&gt;kernel-uek is needed by oracle-rdbms-server-12cR1-preinstall-1.0-14.el6.x86_64&lt;br /&gt;** Found 4 pre-existing rpmdb problem(s), &#39;yum check&#39; output follows:&lt;br /&gt;glibc-headers-2.12-1.107.el6_4.4.x86_64 has missing requires of kernel-headers&lt;br /&gt;glibc-headers-2.12-1.107.el6_4.4.x86_64 has missing requires of kernel-headers &amp;gt;= (&#39;0&#39;, &#39;2.2.1&#39;, None)&lt;br /&gt;oracle-rdbms-server-11gR2-preinstall-1.0-7.el6.x86_64 has missing requires of kernel-uek&lt;br /&gt;oracle-rdbms-server-12cR1-preinstall-1.0-8.el6.x86_64 has missing requires of kernel-uek&lt;br /&gt;Your transaction was saved, rerun it with: yum load-transaction /tmp/yum_save_tx-2015-11-17-08-39DucKzd.yumtx&lt;/span&gt;&lt;br /&gt;
...&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
Very strange.&amp;nbsp; I have never needed to install kernel headers to complete this task before.&amp;nbsp; So, I install kernel headers and still it insists on installing the UEK kernel - so I do.&amp;nbsp; Now it allows me to fully patch the system.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Installing : kernel-uek-firmware2.6.32-400.37.12.el6uek.noarch &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;Installing : kernel-uek-2.6.32-400.37.12.el6uek.x86_64 &lt;br /&gt;Installing : kernel-headers-2.6.32-573.8.1.el6.x86_64 &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
I reboot and now my Azure appears to hang.&amp;nbsp; There is nothing I can do - with no console to see what&#39;s going on or choose a different kernel or single user mode.&amp;nbsp; I&#39;m stuck.&amp;nbsp; Of course, there is always the procedure of detaching the drive, adding it to a rescue VM, editing, chroot&#39;ing, re-running grub - yeah, fun.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I suspect it is trying unsuccessfully to boot the &lt;i&gt;Unbreakable&lt;/i&gt; Linux Kernel (um, yeah, I&#39;ve seen that &lt;i&gt;break&lt;/i&gt; things before).&amp;nbsp; So, I scrap this new install and start again.&amp;nbsp; This time, taking it slow.&amp;nbsp; I remove the item requiring UEK:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt;yum remove oracle-rdbms-server-11gR2-preinstall oracle-rdbms-server-12cR1-preinstall&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
I do not need to run Oracle on this system (luckily - because this is really handy if you do) so now I can just install kernel-headers and re-run&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;&quot;&gt; yum upgrade&lt;/span&gt;.&amp;nbsp; I do this - then reboot and it works.&amp;nbsp; (Strangely enough - I try Oracle Linux 7 and do not have this issue.&amp;nbsp; I need to review and see why [updated post later].)&lt;br /&gt;
&lt;br /&gt;
Meanwhile, I run across this &lt;a href=&quot;https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-linux-create-upload-vhd-oracle/&quot; target=&quot;_blank&quot;&gt;blog post from last month&lt;/a&gt; stating&lt;i&gt; &quot;UEK2 is not supported on Hyper-V and Azure as it does not include the required drivers&quot;&lt;/i&gt;.&amp;nbsp; yup - found that out the hard way.&lt;br /&gt;
&lt;br /&gt;
I also noticed my favorite volume manager LVM is not installed by default.&amp;nbsp; I needed to add more disk space and would probably need to grow the data area in the future so I add a VG (volume group) for data and create a PV and LV (Physical and Logical Volume) for the data and logging areas.&amp;nbsp; Seem to work ok.&amp;nbsp; But the above blog post (from last month) says: &lt;i&gt;&quot;it is recommended that you use standard partitions rather than LVM&quot;&lt;/i&gt;. It complains mainly of issues with  LVM name conflicts with cloned VMs.&amp;nbsp; I really think that was more of an issue with RHEL 5 (they named everything the same).&amp;nbsp; Anyway, my LVM group is, so far, unique, so I&#39;m not worried (but I&#39;ll have to remember this).&lt;br /&gt;
&lt;br /&gt;
That&#39;s all from me.&amp;nbsp; The documentation above covers a lot of Oracle Linux 6 issues and work-around.&amp;nbsp; Be sure to click on it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/585965253701151173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/585965253701151173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/585965253701151173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/585965253701151173'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2015/11/azure-and-oracle-linux-6.html' title='Azure and Oracle Linux 6'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-1289448026331836349</id><published>2015-04-13T15:29:00.001-05:00</published><updated>2015-04-13T15:29:06.422-05:00</updated><title type='text'>Getting old browser history for new PC</title><content type='html'>I just got a new PC.&amp;nbsp; I have a pretty complicated setup.&amp;nbsp; I run Linux and use KVM to run Windows 7 for Outlook and Powershell.&amp;nbsp; I run a lot of VMs.&amp;nbsp; And, whenever I get a new PC, I migrate the VMs from the old system to the new.&amp;nbsp; Before I do, I&#39;m in a transition period where I just use virt-manager to run the old VMs off the old system and display on my new desktop (cuts down on monitors &amp;amp; keyboards.&lt;br /&gt;
&lt;br /&gt;
So, I have my shiny new PC and I want to check on my BackupPC servers (I have 3 of them).&amp;nbsp; I usually just click on them in my quick-launch but the browser history is missing.&amp;nbsp; I decided to just look at the old history instead of launching the remote (old) version of FireFox for some reason.&amp;nbsp; And, besides, I need to move that info anyway.&lt;br /&gt;
&lt;br /&gt;
My boss thinks my setup is nuts but he generously donated an extra 1TB drive for my VMs.&amp;nbsp; I create a VG for this disk and start carving off space.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# lvcreate -L 165G -n lv_oldol6 vg_tank&lt;br /&gt;# mkfs.ext4 /dev/mapper/vg_tank-lv_oldol6&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# mkdir /oldol6&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# vi /etc/fstab &amp;nbsp; (add new file system)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# mount /oldol6&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now I have a place to store my data from my old system. So I mount the old system via SSH.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# yum install sshfs&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# mkdir /ssh&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# cd /ssh &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# sshfs me@old.system.ip:/ /ssh/&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# tar -cf - . | (cd /oldol6/ &amp;amp;&amp;amp; tar -xf - )&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# sync&amp;nbsp;&amp;nbsp; (old sysadmin good luck command)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# updatdb&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# locate places.sqlite&amp;nbsp;&amp;nbsp; (I look for the one in the old place)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# sqlite3 /oldol6/.mozilla/firefox/umw8efgh.default/places.sqlite&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;SQLite version 3.7.17 2013-05-20 00:56:22&lt;br /&gt;Enter &quot;.help&quot; for instructions&lt;br /&gt;Enter SQL statements terminated with a &quot;;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sqlite&amp;gt; .mode column&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sqlite&amp;gt; .header on&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sqlite&amp;gt; .schema&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sqlite&amp;gt; select url FROM moz_places where title LIKE &#39;%backuppc%&#39;;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Ta-dahhh!&amp;nbsp; That worked nicely.&amp;nbsp; I find the URL I&#39;m looking for. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/1289448026331836349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/1289448026331836349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/1289448026331836349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/1289448026331836349'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2015/04/getting-old-browser-history-for-new-pc.html' title='Getting old browser history for new PC'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-9131668876520753029</id><published>2015-01-05T11:45:00.001-06:00</published><updated>2015-01-05T11:45:32.199-06:00</updated><title type='text'>Booting Headless M3000 with XSCF and Wyse 55</title><content type='html'>The nice thing about Sun/Oracle Solaris Sparc systems is THEY JUST RUN!&amp;nbsp; It had been a while since I had rebooted the M3000 from a cold powered-off state.&amp;nbsp; We had some weird power issues over the holidays and lost some equipment and crashed others (despite UPS protection and generator backups).&lt;br /&gt;
&lt;br /&gt;
The system was powered off - nothing but XSCF was on.&amp;nbsp; I couldn&#39;t remember the XSCF password.&amp;nbsp; I was trying root.&amp;nbsp; As it turns out, you are forbidden from creating an account called &quot;root&quot; on XSCF (it is one of the many reserved words).&amp;nbsp; I had to create a new user &lt;a href=&quot;http://bikashkumar2.blogspot.com/2013/03/step-by-step-configuration-of-xscf.html&quot; target=&quot;_blank&quot;&gt;using the following procedure&lt;/a&gt; (thank you, Bikash!):&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; login: default&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Change the panel mode switch to Locked and press return…&lt;br /&gt;
Leave it in that position for at least 5 seconds.  Change the panel mode switch to Service, and press return…&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
I did as directed...&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Create a user andrew&lt;br /&gt;

&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;XSCF&amp;gt; adduser andrew&lt;/span&gt;&lt;/blockquote&gt;
&amp;nbsp;Change the password for andrew&lt;br /&gt;

&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;XSCF&amp;gt; password andrew&lt;br /&gt;
New XSCF password:&lt;br /&gt;
Retype new XSCF password:&lt;/span&gt;&lt;/blockquote&gt;
&amp;nbsp;Grant andrew the following privileges, useradm, platadm, aplatop.&lt;br /&gt;

&lt;br /&gt;
&lt;blockquote&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
XSCF&amp;gt; setprivileges andrew useradm platadm platop&lt;/span&gt;&lt;/blockquote&gt;
&amp;nbsp;After that, I was able to log in as my new user and view the errors.&amp;nbsp; There were none.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;XSCF&amp;gt; showlogs error&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Other options here: showlogs event, showlogs power, showlogs monitor, showlogs console and fmdump.&lt;br /&gt;
&lt;br /&gt;
What I needed to do was boot.&amp;nbsp; Again, I struggled to remember the procedure for getting to the boot prompt.&amp;nbsp; I tried the T2 commands to start a console - no luck.&amp;nbsp; I tried simply console which got me close.&amp;nbsp; I needed a domain_id that I did not know.&amp;nbsp; Then I vaguely remembered something and tried this:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; XSCF&amp;gt;&amp;nbsp; console -d 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
I answered Y to &quot;Do you really want to start console&quot; and then it did nothing.&amp;nbsp; You need an extra ENTER here before the boot prompt showed up.&amp;nbsp; Then I typed &quot;boot&quot; and was finished.&lt;br /&gt;
&lt;br /&gt;
It all seems so straight-forward and mnemonic now.&amp;nbsp; I don&#39;t know what my problem was this morning.&amp;nbsp; :-)</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/9131668876520753029/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/9131668876520753029' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/9131668876520753029'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/9131668876520753029'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2015/01/booting-headless-m3000-with-xscf-and.html' title='Booting Headless M3000 with XSCF and Wyse 55'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-5207543343244216604</id><published>2014-12-18T15:51:00.002-06:00</published><updated>2014-12-18T16:05:57.297-06:00</updated><title type='text'>EVEN MORE Fun with Server Core 2012 R2</title><content type='html'>And finally, to finish off my Windows Server Core 2012 R2, I install Cygwin!&amp;nbsp; Advice from the web says preemptively open port 22 for OpenSSHd.&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;line&quot; id=&quot;file-wincore-cygwin-LC2&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;netsh advfirewall firewall add rule name=&quot;SSHd&quot; dir=in action=allow protocol=TCP localport=22
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
Now, download the Cygwin installer: &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;line&quot; id=&quot;file-wincore-cygwin-LC4&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$client = new-object System.Net.WebClient
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line&quot; id=&quot;file-wincore-cygwin-LC5&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$client.DownloadFile( &quot;http://www.cygwin.com/setup-x86_64.exe&quot;,&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&quot;c:\windows\temp\setup-x86_64.exe&quot; )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
Now, run the installer: &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;line&quot; id=&quot;file-wincore-cygwin-LC5&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;c:\windows\temp\setup-x86_64.exe &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
Don&#39;t forget to configure OpenSShd (in Cygwin Bash):&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ ssh-host-config -y&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ cygrunsrv -S sshd&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ ssh-keygen -t rsa&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Assuming you added lots of nice Cygwin utilities, you now have a very useful server.&amp;nbsp; ;-) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;line-pre&quot;&gt;&lt;div class=&quot;line&quot; id=&quot;file-wincore-cygwin-LC5&quot;&gt;
&lt;pre class=&quot;line-pre&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/5207543343244216604/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/5207543343244216604' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5207543343244216604'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5207543343244216604'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2014/12/even-more-fun-with-server-core-2012-r2.html' title='EVEN MORE Fun with Server Core 2012 R2'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-7415240736037760948</id><published>2014-12-18T14:56:00.001-06:00</published><updated>2014-12-18T15:00:33.938-06:00</updated><title type='text'>More Fun with Windows Server Core 2012 R2</title><content type='html'>&lt;h2&gt;
SCONFIG Follow-Up&lt;/h2&gt;
In my earlier post on &lt;a href=&quot;http://myratnest.blogspot.com/2014/06/fun-with-windows-server-core-2012-r2.html&quot;&gt;using SCONFIG&lt;/a&gt;, I mentioned needing to be able to do a few other things from the command line before I could stay immersed in Windows Server Core 2012 R2.&amp;nbsp; Namely, adding disks and formatting them.&amp;nbsp; I recently covered that &lt;a href=&quot;http://myratnest.blogspot.com/2014/12/iscsi-with-powershell-and-hyper-v-on.html&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://myratnest.blogspot.com/2014/12/hard-disks-with-powershell.html&quot;&gt;here&lt;/a&gt;.&amp;nbsp; There&#39;s a couple of other things: Firewall Rules (viewing and setting), mapping network drives (turns out the old &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&quot;net use&quot;&lt;/span&gt; is by far the easiest way for that) and turning off IPv6.&lt;br /&gt;
&lt;br /&gt;
Firewall rules definitely rates its own post.&amp;nbsp; Mapping drives is trivial as long as they allow you to use the old &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&quot;net use&quot;&lt;/span&gt;command.&amp;nbsp; Slightly less trivial with Powershell.&amp;nbsp; Honestly, I would only use the PS way if i was programming something (or it MS took away &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&quot;net use&quot;&lt;/span&gt;command in a future release).&amp;nbsp; So that leaves IPv6 for this post.&amp;nbsp; Here&#39;s how to disable that: First you have to find the name  (alias) of your Ethernet card.&amp;nbsp; After that, you can display it&#39;s settings.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;container&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;code class=&quot;powershell functions&quot;&gt;&lt;/code&gt;&lt;code class=&quot;powershell plain&quot;&gt;&lt;/code&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code class=&quot;powershell plain&quot;&gt;PS C:\Windows\system32&amp;gt; Get-NetAdapter&lt;br /&gt;&lt;br /&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; InterfaceDescription&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ifIndex Status&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MacAddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LinkSpeed&lt;br /&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --------------------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ------- ------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---------&lt;br /&gt;Ethernet 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Citrix PV Network Adapter #2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20 Up&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; BE-EF-B0-1D-FA-CE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 Gbps&lt;br /&gt;Ethernet 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Citrix PV Network Adapter #0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 23 Up&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FE-ED-BA-5E-BA-11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 Gbps&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;PS C:\Windows\system32&amp;gt; Get-NetAdapterBinding -InterfaceAlias &quot;Ethernet 8&quot; | Select-Object Name,DisplayName,ComponentID&lt;br /&gt;&lt;br /&gt;Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DisplayName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ComponentID&lt;br /&gt;----&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -----------&lt;br /&gt;Ethernet 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link-Layer Topology Discovery Responder ms_rspndr&lt;br /&gt;Ethernet 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Link-Layer Topology Discovery Mapper... ms_lltdio&lt;br /&gt;Ethernet 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft Network Adapter Multiplexo... ms_implat&lt;br /&gt;Ethernet 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Client for Microsoft Networks&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ms_msclient&lt;br /&gt;Ethernet 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QoS Packet Scheduler&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ms_pacer&lt;br /&gt;Ethernet 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; File and Printer Sharing for Microso... ms_server&lt;br /&gt;Ethernet 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Internet Protocol Version 6 (TCP/IPv6)&amp;nbsp; ms_tcpip6&lt;br /&gt;Ethernet 8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Internet Protocol Version 4 (TCP/IPv4)&amp;nbsp; ms_tcpip&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;code class=&quot;powershell plain&quot;&gt;Now, just disable IPv6...&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;code class=&quot;powershell plain&quot;&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code class=&quot;powershell plain&quot;&gt;PS C:\Windows\system32&amp;gt; Disable-NetAdapterBinding -InterfaceAlias &quot;Ethernet 8&quot; -ComponentID ms_tcpip6&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;code class=&quot;powershell plain&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;And -&amp;nbsp; TA-DAHH!&amp;nbsp; That&#39;s it.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;line number1 index0 alt2&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/7415240736037760948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/7415240736037760948' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/7415240736037760948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/7415240736037760948'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2014/12/more-fun-with-windows-server-core-2012.html' title='More Fun with Windows Server Core 2012 R2'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-5011968844640536189</id><published>2014-12-18T14:20:00.001-06:00</published><updated>2014-12-18T14:20:10.682-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hyper-V"/><category scheme="http://www.blogger.com/atom/ns#" term="iscsi"/><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><title type='text'>iSCSI with Powershell and Hyper-V on Windows Core 2012 R2</title><content type='html'>I found a &lt;a href=&quot;http://blogs.technet.com/b/keithmayer/archive/2013/03/12/speaking-iscsi-with-windows-server-2012-and-hyper-v.aspx#.UT9DtFIo46Q&quot;&gt;great link for working with iSCSI drives&lt;/a&gt; from Powershell.&amp;nbsp; The first thing you have to do is turn on iSCSI:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; Set-Service -Name MSiSCSI -StartupType Automatic
&lt;br /&gt;PS C:\Windows\system32&amp;gt; Start-Service MsiSCSI&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Next, tell Windows Server Core where your SAN resides:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; New-IscsiTargetPortal -TargetPortalAddress 192.168.12.34
&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;0
&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;InitiatorInstanceName&amp;nbsp; :
&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;InitiatorPortalAddress :
&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;IsDataDigest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False
&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;IsHeaderDigest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False
&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;TargetPortalAddress&amp;nbsp;&amp;nbsp;&amp;nbsp; : 192.168.12.34&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;TargetPortalPortNumber : 3260
&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PSComputerName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :
&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
I would have thought at this point it would know the iSCSI share but it did not.&amp;nbsp; Had to run this command:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; $target = Get-IscsiTarget
&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; print $target.NodeAddress
&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Can&#39;t find file iqn.2003-06.com.equallogic:0-bf1bf6-56acce3eb-fd0030124795492f-test&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;vol1
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; Connect-IscsiTarget -NodeAddress $target.NodeAddress
&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
You just need the above TWO commands in black.&amp;nbsp; I ran the line in red to see what it was looking at (making certain of the IQN before proceeding).&amp;nbsp; The &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Connect-IscsiTarget&lt;/span&gt; command responds with this:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;AuthenticationType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NONE
&lt;br /&gt;InitiatorInstanceName&amp;nbsp;&amp;nbsp; : ROOT\ISCSIPRT\0000_0
&lt;br /&gt;InitiatorNodeAddress&amp;nbsp;&amp;nbsp;&amp;nbsp; : iqn.1991-05.com.microsoft:testsrv.example.com
&lt;br /&gt;InitiatorPortalAddress&amp;nbsp; : 0.0.0.0
&lt;br /&gt;InitiatorSideIdentifier : 412341375678&lt;br /&gt;IsConnected&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : True
&lt;br /&gt;IsDataDigest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False
&lt;br /&gt;IsDiscovered&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : True
&lt;br /&gt;IsHeaderDigest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False
&lt;br /&gt;IsPersistent&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False
&lt;br /&gt;NumberOfConnections&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1
&lt;br /&gt;SessionIdentifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : ffffe000cd87c020-4012313700056702
&lt;br /&gt;TargetNodeAddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : iqn.2003-06.com.equallogic:0-bf1bf6-56acce3eb-fd00301...-testvol1 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TargetSideIdentifier&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4f00
&lt;br /&gt;PSComputerName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Testing the iSCSI session...&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; Get-IscsiConnection
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ConnectionIdentifier : feffe060cd87c029-1
&lt;br /&gt;InitiatorAddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 0.0.0.0
&lt;br /&gt;InitiatorPortNumber&amp;nbsp; : 15552
&lt;br /&gt;TargetAddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 192.168.12.34&lt;br /&gt;TargetPortNumber&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 3260
&lt;br /&gt;PSComputerName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Looks good so you permanently register it (you don&#39;t want your iSCSI volumes disappearing after a reboot after all this). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; Get-IscsiSession | Register-IscsiSession&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Now, check to see if you have a iSCSI session:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; get-IscsiSession
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;AuthenticationType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : NONE
&lt;br /&gt;InitiatorInstanceName&amp;nbsp;&amp;nbsp; : ROOT\ISCSIPRT\0000_0
&lt;br /&gt;InitiatorNodeAddress&amp;nbsp;&amp;nbsp;&amp;nbsp; : iqn.1991-05.com.microsoft:testsrv.example.com
&lt;br /&gt;InitiatorPortalAddress&amp;nbsp; : 0.0.0.0
&lt;br /&gt;InitiatorSideIdentifier : 400301370020
&lt;br /&gt;IsConnected&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : True
&lt;br /&gt;IsDataDigest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False
&lt;br /&gt;IsDiscovered&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : True
&lt;br /&gt;IsHeaderDigest&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : False
&lt;br /&gt;IsPersistent&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : True
&lt;br /&gt;NumberOfConnections&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : 1
&lt;br /&gt;SessionIdentifier&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : bfbfe030cd87c020-400201370020d002
&lt;br /&gt;TargetNodeAddress&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; : iqn.2001-05.com.equallogic:0-af1bf6-66acce3eb-fd02300
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 24795492f-testvol1
&lt;br /&gt;TargetSideIdentifier&amp;nbsp;&amp;nbsp;&amp;nbsp; : 4f00
&lt;br /&gt;PSComputerName&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Looking good.&amp;nbsp; Now check your drives again:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; get-disk
&lt;br /&gt;&lt;br /&gt;Number Friendly Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Operationa Total Size Partition
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; lStatus&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Style
&lt;br /&gt;------ -------------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ---------- ---------- ---------
&lt;br /&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XENSRC PVDISK SCSI Disk Device&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Online&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 88 GB MBR
&lt;br /&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XENSRC PVDISK SCSI Disk Device&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Online&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 40 GB MBR
&lt;br /&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EQLOGIC 100E-00 SCSI Disk Device&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Online&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 77.01 GB RAW&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
You can see the Dell Equalogic SAN volume has been added as disk number 2.&lt;br /&gt;
Now you just need to format the disk and give it a drive letter:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: xx-small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; Get-Disk | Where partitionstyle -eq &#39;raw&#39; | Initialize-D
&lt;br /&gt;isk -PartitionStyle MBR -PassThru | New-Partition -AssignDriveLetter -UseMaximum
&lt;br /&gt;Size | Format-Volume -FileSystem NTFS -NewFileSystemLabel &quot;iDisk3&quot; -Confirm:$fal
&lt;br /&gt;se
&lt;br /&gt;&lt;br /&gt;DriveLetter FileSystemL FileSystem&amp;nbsp; DriveType&amp;nbsp; HealthStat SizeRemain&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Size
&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; abel&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; us&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ing
&lt;br /&gt;----------- ----------- ----------&amp;nbsp; ---------&amp;nbsp; ---------- ----------&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----
&lt;br /&gt;F&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iDisk3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NTFS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fixed&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Healthy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 76.91 GB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 77 GB&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Remember: &lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;b&gt;Get-Disk | Where partitionstyle -eq &#39;raw&#39;&lt;/b&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt; is CRUCIAL if you do not want to initialize a disk with data on it already.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;That&#39;s it.&amp;nbsp; You&#39;ve added an iSCSI drive from the command line. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/5011968844640536189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/5011968844640536189' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5011968844640536189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5011968844640536189'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2014/12/iscsi-with-powershell-and-hyper-v-on.html' title='iSCSI with Powershell and Hyper-V on Windows Core 2012 R2'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-1889536666560271911</id><published>2014-12-17T16:26:00.001-06:00</published><updated>2014-12-18T10:44:10.767-06:00</updated><title type='text'>Hard Disks with PowerShell</title><content type='html'>The other day, I needed to extend a Hyper-V iSCSI disk store (after increasing the size on the SAN).&amp;nbsp; I didn&#39;t know how.&amp;nbsp; One of our consultants used &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;DISKPART&lt;/span&gt; - oh yeah - forgot that from NT 3.51 (or perhaps earlier).&amp;nbsp; I was using PowerShell&#39;s &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Get-Disk&lt;/span&gt; but wasn&#39;t able to go much further.&amp;nbsp; So I mocked up a VM to play with.&amp;nbsp; I added a drive and formatted it (after looking at the &lt;a href=&quot;http://blogs.technet.com/b/heyscriptingguy/archive/2013/05/29/use-powershell-to-initialize-raw-disks-and-partition-and-format-volumes.aspx&quot;&gt;Hey, Scripting Guy!&lt;/a&gt; blog).&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&amp;nbsp;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; PS&amp;nbsp; C:\Windows\system32&amp;gt; Get-Disk | &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Where partitionstyle -eq &#39;raw&#39; | &lt;/span&gt;Initialize-Disk -PartitionStyle MBR -PassThru |New-Partition -AssignDriveLetter -UseMaximumSize |Format-Volume -FileSystem NTFS -NewFileSystemLabel &quot;disk2&quot; -Confirm:$false&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
You can run most of the commandlets between the pipes as individual commands (not sure that makes it any easier).&lt;br /&gt;
&lt;br /&gt;
Anyway, once I had my test drive, it was time to expand it.&amp;nbsp; I halted the system and then made the changes in Citrix XenCenter.&amp;nbsp; After restarting, I checked to see that the drive was now 40GB instead of 25GB.&amp;nbsp; HOWEVER, this is misleading.&amp;nbsp; Although the DRIVE is now 40GB, the partition being used is still only 25GB.&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS C:\Windows\system32&amp;gt; Get-Partition -DiskNumber 1&lt;/span&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Disk Number: 1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PartitionNumber DriveLetter&amp;nbsp; Offset &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Size Type&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;--------------- -----------&amp;nbsp; ---------&amp;nbsp;&amp;nbsp;&amp;nbsp; ---- ----&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; E&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1048576&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 25 GB IFS&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;To expand the disk, I had hoped there was a simple &quot;MaxSize&quot; but instead I &lt;a href=&quot;http://technet.microsoft.com/en-us/library/hh848680.aspx&quot;&gt;found this&lt;/a&gt;:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;PS C:\&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: black;&quot;&gt;$size&lt;/span&gt; &lt;span style=&quot;color: grey;&quot;&gt;=&lt;/span&gt; (Get&lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;PartitionSupportedSize –DiskNumber 1 –PartitionNumber 1)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;PS C:\&lt;span style=&quot;color: grey;&quot;&gt;&amp;gt;&lt;/span&gt; Resize&lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;Partition &lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;DiskNumber 1 –PartitionNumber 1 &lt;span style=&quot;color: grey;&quot;&gt;-&lt;/span&gt;Size &lt;span style=&quot;color: black;&quot;&gt;$size&lt;/span&gt;.SizeMax&lt;/span&gt;&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;b&gt;Ta-dahh!&lt;/b&gt;&amp;nbsp; Sadly, &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;DISKPART&lt;/span&gt; is easier.&amp;nbsp; But, for the PowerShell purists, running Windows Core 2012 R2, this does the trick.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/1889536666560271911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/1889536666560271911' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/1889536666560271911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/1889536666560271911'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2014/12/hard-disks-with-powershell.html' title='Hard Disks with PowerShell'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-372905258528438641</id><published>2014-09-12T16:52:00.001-05:00</published><updated>2014-09-16T08:53:12.455-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="clone"/><category scheme="http://www.blogger.com/atom/ns#" term="KVM"/><category scheme="http://www.blogger.com/atom/ns#" term="RedHat"/><title type='text'>When your VM gets stuck in suspended mode in Red Hat KVM...</title><content type='html'>I needed to re-do my network interfaces in KVM - make more bridged Ethernet connection for the VMs to use.&amp;nbsp; I totally forgot that I had a guest VM running as I began my reboot.&amp;nbsp; &quot;Suspending SSB2&quot; it says as I panic suddenly realizing what I had done.&amp;nbsp; It&#39;s ok - I&#39;ve done this before I quickly remember.&amp;nbsp; It does a great job of automatically suspending and resuming UNLESS YOU JUST HAPPEN TO CHOSE THAT REBOOT TO SCREW UP THE NETWORK CONFIGURATION.&lt;br /&gt;
&lt;br /&gt;
So, it reboots and networking is goofed.&amp;nbsp; I quickly see what I did, fix and reboot again.&amp;nbsp; This time it&#39;s ok but the SSB2 VM does not start.&amp;nbsp; I try to start it manually and get the message:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;libvirtError: error creating macvtap type of interface: Device or resource busy&lt;/span&gt;&lt;/blockquote&gt;
&lt;br /&gt;
Whatever that means.&amp;nbsp; (It actually means I tried to un-suspend but couldn&#39;t talk to the iSCSI network so we&#39;re leaving it in limbo).&amp;nbsp; I google and google and find a lot of folks in the same boat.&amp;nbsp; They came up with some very iffy and convoluted solutions involving editing multiple XML files, etc.&amp;nbsp; I follow the threads to the bottom of each.&amp;nbsp; None of them seem quite right.&lt;br /&gt;
&lt;br /&gt;
New to KVM, I try clonging the non-startable SSB2 and succeed.&amp;nbsp; It boots and works (requires a lot of network changes, but oh well).&lt;br /&gt;
&lt;br /&gt;
Still not satisfied I see mention of &quot;/var/lib/libvirt/qemu/save/rhel.save&quot;&amp;nbsp; (it&#39;s ssb2.save in my case).&amp;nbsp; Again some very complicated procedures involving editing multiple XML files, etc. with no guaranteed results by the author.&lt;br /&gt;
&lt;br /&gt;
Since I have a working clone, I figure &quot;What the heck!&amp;nbsp; I&#39;ll just delete &quot;/var/lib/libvirt/qemu/save/ssb2.save&quot; and try starting.&amp;nbsp; It worked!&amp;nbsp; -Except for one snag - I already had an exact doppleganger running.&amp;nbsp; It locked up my virt-manager and the server hard.&amp;nbsp; After, rebooting all was well.&lt;br /&gt;
&lt;br /&gt;
This worked for me.&amp;nbsp; On a TEST system.&amp;nbsp; Use at your own risk.</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/372905258528438641/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/372905258528438641' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/372905258528438641'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/372905258528438641'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2014/09/when-your-vm-gets-stuck-in-suspended.html' title='When your VM gets stuck in suspended mode in Red Hat KVM...'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-217187448424656013</id><published>2014-06-05T13:19:00.000-05:00</published><updated>2014-06-05T13:21:46.293-05:00</updated><title type='text'>Fun with Windows Server Core 2012 R2</title><content type='html'>As a Unix/Linux admin, I find administering Windows servers boring and tedious.&amp;nbsp; Until now.&amp;nbsp; With Server Core 2012, you get Powershell pre-installed.&amp;nbsp; Some of the windowish apps, still launch little windows (e.g. Xen Tools) but for the most part, I find I can deploy servers much more quickly simply by using SCONFIG.&amp;nbsp; To me, this is much quicker than hovering a mouse all over trying to find where they&#39;ve hidden the thing you need now (seems to change in every version).&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIpA41hG1mAR3wsEPHu-M9oItelqa8HCE5ritAQ3wrKS1vKNZ_LqH_3EJnttavTp9rzAx4sFvnYqh-aj_NqtBCdgFH2VZEDZ8m5Nh7vCFOGGp7KcfE_nM7BZ8Zm_RTCBUQuIyoZebHvJM/s1600/Win2012CoreSconfig.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIpA41hG1mAR3wsEPHu-M9oItelqa8HCE5ritAQ3wrKS1vKNZ_LqH_3EJnttavTp9rzAx4sFvnYqh-aj_NqtBCdgFH2VZEDZ8m5Nh7vCFOGGp7KcfE_nM7BZ8Zm_RTCBUQuIyoZebHvJM/s1600/Win2012CoreSconfig.png&quot; height=&quot;268&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
This isn&#39;t Windows Server Core, but you get the idea.&amp;nbsp; The menus are pretty self explanatory.&amp;nbsp; I find configuring a system with this much quicker!&amp;nbsp; All I needed was a command line disk utility (which has been around a long time I know).&amp;nbsp; Brushing up on the commands, I was able to quickly deploy a new disk.&amp;nbsp; I will post the command line version of iSCSI when that comes up (soon, I&#39;m sure).&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh52kgZ55ZDCHf_FhzgkopSmJ69E8MP9lW8UQnQNyosK0_qoYVKsn2mEY_une2qhwMLqibK1vidclgvhu3jR2vHqUa9R59sg3qOtiNKSU9AAwy5s3u0LwbUFELy7xNLWtV6oVU3S_XZhuA/s1600/Win2012CorePSDiskPart.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh52kgZ55ZDCHf_FhzgkopSmJ69E8MP9lW8UQnQNyosK0_qoYVKsn2mEY_une2qhwMLqibK1vidclgvhu3jR2vHqUa9R59sg3qOtiNKSU9AAwy5s3u0LwbUFELy7xNLWtV6oVU3S_XZhuA/s1600/Win2012CorePSDiskPart.png&quot; height=&quot;268&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Again, all pretty straight forward.&amp;nbsp; This looks a little more complicated than the GUI but I&#39;ll bet if I raced someone, they would not be able to find the utility, right click, etc. etc. as quickly.&lt;br /&gt;
&lt;br /&gt;
Although this isn&#39;t showing it off much, I am really loving the power of Powershell.&amp;nbsp; I like how all of my Unix commands like ls and cat are already aliased (I used to have to make a ls.bat and cat.bat, etc.).&amp;nbsp; With Windows Server Core 2012 R2&#39;s command line utilities, and powerful shell, I might actually start to enjoy this OS again.&amp;nbsp; It&#39;s becoming more Unix-like everyday - and that&#39;s a good thing (for me anyway).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/217187448424656013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/217187448424656013' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/217187448424656013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/217187448424656013'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2014/06/fun-with-windows-server-core-2012-r2.html' title='Fun with Windows Server Core 2012 R2'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIpA41hG1mAR3wsEPHu-M9oItelqa8HCE5ritAQ3wrKS1vKNZ_LqH_3EJnttavTp9rzAx4sFvnYqh-aj_NqtBCdgFH2VZEDZ8m5Nh7vCFOGGp7KcfE_nM7BZ8Zm_RTCBUQuIyoZebHvJM/s72-c/Win2012CoreSconfig.png" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-1699000708817746765</id><published>2014-05-16T11:04:00.001-05:00</published><updated>2014-05-16T11:04:08.630-05:00</updated><title type='text'>Netbackup Ports</title><content type='html'>Note to self: After installing the Netbackup client, don&#39;t forget to open ports 1556 and 13724 in the firewall.</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/1699000708817746765/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/1699000708817746765' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/1699000708817746765'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/1699000708817746765'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2014/05/netbackup-ports.html' title='Netbackup Ports'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-1063653774695572429</id><published>2014-05-16T09:55:00.002-05:00</published><updated>2014-05-16T09:55:25.073-05:00</updated><title type='text'>Simple Things</title><content type='html'>Having a Red Hat 6 install with no GUI, and little else, made installing Netbackup clients from CDROM rather problematic.&amp;nbsp; No definition for the CDROM drive was in /etc/fstab so &quot;mount /dev/cdrom&quot; wasn&#39;t going to work.&amp;nbsp; Running &quot;fdisk -l&quot; did not show a CDROM and scanning and grepping dmesg revealed no clues.&amp;nbsp; Then I found this command:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# wodim --devices&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;That worked (after running &quot;yum install wodim&quot;&lt;/span&gt;).&amp;nbsp; Handy command!&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/1063653774695572429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/1063653774695572429' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/1063653774695572429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/1063653774695572429'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2014/05/simple-things.html' title='Simple Things'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-3898993044823251989</id><published>2014-04-10T16:53:00.001-05:00</published><updated>2014-04-10T17:01:15.932-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="MLS"/><category scheme="http://www.blogger.com/atom/ns#" term="SELinux"/><category scheme="http://www.blogger.com/atom/ns#" term="semodule"/><title type='text'>SELinux and CentOS 6 with Special Guest: BackupPC</title><content type='html'>&lt;span style=&quot;font-family: inherit;&quot;&gt;I was trying to tighten things back up on the BackupPC after getting it running.&amp;nbsp; SELinux is a pain - but I like to have it running on all systems.&amp;nbsp; I had two BackupPC installs - one on a CentOS 5 server and one a CentOS 6 server.&amp;nbsp; You would think the latter would be the easiest - but not so!&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;For the most part, I just used this blog article &lt;a href=&quot;http://advisorbits.com/2011/03/backuppc_on_centos_5_selinux_fix/&quot;&gt;BackupPC on CentOS 5 (selinux fix)&lt;/a&gt; but I had a few issues between the two servers so I&#39;m documenting that. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;CentOS5 &lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;CentOS 5 didn&#39;t have the&lt;/span&gt; &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;semodule&lt;/span&gt; command.&amp;nbsp; So...&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;# yum install selinux*&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
And then create a source policy module...&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# grep httpd /var/log/audit/audit.log | audit2allow -m backuppc &amp;gt; backuppc.te&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;And then &lt;/span&gt;&lt;/span&gt; build the policy module...&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# grep httpd /var/log/audit/audit.log | audit2allow -M backuppc&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;And finally, install the module...&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# semodule -i backuppc.pp&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;After that, I turned on SELinux=enforcing at the command line and edited the &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;/etc/selinux/conf&lt;/span&gt; to default to enforcing.&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# setenforce 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# sestatus&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;SELinux status:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enabled&lt;br /&gt;SELinuxfs mount:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /selinux&lt;br /&gt;Current mode:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enforcing&lt;br /&gt;Mode from config file:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enforcing&lt;br /&gt;Policy version:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 21&lt;br /&gt;Policy from config file:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; targeted&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;CentOS 6&lt;/span&gt;&lt;/h3&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;CentOS 6 also needed to have all of the SELinux tools installed (I think).&amp;nbsp; However, when I tried the exact same things as above, the semodule command gave an error:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;Tried to link in a non-MLS module with an MLS base&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;After some searching I found that I needed to run &lt;/span&gt;system-config-selinux &lt;span style=&quot;font-family: inherit;&quot;&gt;which is a GUI (no system-config-selinux-tui I could find).&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;composeBoxWrapper GCUXF0KCPJB&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;# &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;system-config-selinux&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpI5ErdwwIsx9x5EC7WpMaFnPSH6y5TEgc5cVHhtMyzdbxMJXybC5oe9rQ1-QiUzhS5xmb7ybgY5G261K9Yb6GlDKzcKxBAfDGorAfOEDq-cTTM-5BHtwWjrS3VElHG-f5E-wsKGbSGgY/s1600/Screenshot-SELinux+Administration.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpI5ErdwwIsx9x5EC7WpMaFnPSH6y5TEgc5cVHhtMyzdbxMJXybC5oe9rQ1-QiUzhS5xmb7ybgY5G261K9Yb6GlDKzcKxBAfDGorAfOEDq-cTTM-5BHtwWjrS3VElHG-f5E-wsKGbSGgY/s1600/Screenshot-SELinux+Administration.png&quot; height=&quot;200&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;Here, I was expecting to see MLS instead of targeted.&amp;nbsp; Not sure why, but it was already toggled to the correct setting.&amp;nbsp; (So why does it think it&#39;s MLS?)&amp;nbsp; So, I checked the box to &quot;Relabel on next reboot&quot; and rebooted.&amp;nbsp; I was a little afraid of this because it said it could take a long time if you had a large filesystem and this had already used about 23% of 3TB.&amp;nbsp; It was probably done well under 20 minutes (by the time I tried it again) and it worked!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;composeBoxWrapper GCUXF0KCPJB&quot;&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/3898993044823251989/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/3898993044823251989' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/3898993044823251989'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/3898993044823251989'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2014/04/selinux-and-centos-6-with-special-guest.html' title='SELinux and CentOS 6 with Special Guest: BackupPC'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjpI5ErdwwIsx9x5EC7WpMaFnPSH6y5TEgc5cVHhtMyzdbxMJXybC5oe9rQ1-QiUzhS5xmb7ybgY5G261K9Yb6GlDKzcKxBAfDGorAfOEDq-cTTM-5BHtwWjrS3VElHG-f5E-wsKGbSGgY/s72-c/Screenshot-SELinux+Administration.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-8334424221732627328</id><published>2014-02-11T14:19:00.004-06:00</published><updated>2014-02-11T14:19:53.961-06:00</updated><title type='text'>iSCSI LVM Red Hat/CEntOS/Oracle Linux</title><content type='html'>Today I learned a couple of important things about LVMs on iSCSI.&amp;nbsp; 
First, a silly one - pvcreate against a slice (or partition - sorry, my 
Sun Solaris is showing) - NOT against a disk.&amp;nbsp; That is, /dev/sda1 NOT 
/dev/sda.&amp;nbsp; I coulda swore you could use the disk and LVM would take care of the details.&amp;nbsp; Again, probably thinking of ZFS and Sun Solaris.&lt;br /&gt;
&lt;br /&gt;
The other really important things is you MUST use _netdev in place of defaults in the /etc/fstab.&amp;nbsp; For example:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;&quot;&gt;&amp;nbsp;&amp;nbsp; /dev/mapper/vg_oracle-lv_u01 /u01 ext4 _netdev&amp;nbsp; 0 0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;This is a serious gotcha!&amp;nbsp; If you don&#39;t do this, the device disappears from /dev/mapper.&amp;nbsp; Pretty unnerving!&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;The other cool thing I picked up was, if you lose the /dev/mapper device, you can get it back (assuming you tinkered with iscsi restarts a bit) simply by issuing the command &quot;vgchange -ay&quot;.&amp;nbsp; That was a neat trick and prompted this blog post.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;That is all. &lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/8334424221732627328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/8334424221732627328' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/8334424221732627328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/8334424221732627328'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2014/02/iscsi-lvm-red-hatcentosoracle-linux.html' title='iSCSI LVM Red Hat/CEntOS/Oracle Linux'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-8652945278974533664</id><published>2013-04-26T17:00:00.000-05:00</published><updated>2013-04-26T17:00:25.707-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ethernet"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="slackware"/><category scheme="http://www.blogger.com/atom/ns#" term="Xen"/><title type='text'>Slackware 14 under Xen</title><content type='html'>I have tried (halfway) to get Slackware to run under Xen (which I run on 32 bit CentOS 5.x).&amp;nbsp; It never seems to have a working network.&amp;nbsp; This time, I took a (very) little amount of time to fix this.&amp;nbsp; Googling resulting only in running Xen on Slackware.&amp;nbsp; I couldn&#39;t find anything on this problem.&amp;nbsp; I love to load each new distro that comes out but I really enjoy just using Slackware (SLS was my first distro).&amp;nbsp; So, when Slackware would repeatedly come up without a network interface, I was disappointed and a bit surprised.&amp;nbsp; If you&#39;re having this issue - here one possible fix: &amp;nbsp; Use a virtual Ethernet and do NOT use the default hypervisor network interface.&amp;nbsp; Instead, use &quot;ne2k_pci&quot;.&amp;nbsp; I intend to try to get the shared physical interface to work with a real outside address and even test the other options under the virtual Ethernet.&amp;nbsp; But, this solved my problem.&amp;nbsp; If anyone else tries these, I&#39;d love the hear the results.</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/8652945278974533664/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/8652945278974533664' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/8652945278974533664'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/8652945278974533664'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2013/04/slackware-14-under-xen.html' title='Slackware 14 under Xen'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-239682220857250094</id><published>2011-12-04T18:02:00.003-06:00</published><updated>2011-12-04T19:18:11.975-06:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="powershell"/><title type='text'>Powershell, pretty cool afterall</title><content type='html'>&lt;div style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;I am really enjoying &lt;a href=&quot;http://technet.microsoft.com/en-us/scriptcenter/dd742419.aspx&quot;&gt;Powershell&lt;/a&gt;.&amp;nbsp; The ISE is much more useful than I thought and flipping from the shell to notepad is really slick (although I still had to install &lt;a href=&quot;http://www.vim.org/download.php#pc&quot;&gt;gVim&lt;/a&gt;).&amp;nbsp; The cmdlets are slicker than I originally gave them credit for.&amp;nbsp; The default is to list all of the parameters/attributes of the cmdlet I&#39;ve been experimenting and you can almost always leave them off when there&#39;s just one or two parameters.&amp;nbsp; e.g. &lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;highlight&quot;&gt;PS &amp;gt; Get-History | Foreach-Object { $_.CommandLine } &amp;gt; c:\temp\&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;highlight&quot;&gt;script.ps1&lt;/span&gt;&lt;/div&gt;&lt;form action=&quot;/user_annotation_relation/delete_highlight&quot; class=&quot;deleteHighlightForm&quot; method=&quot;post&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;deleteHighlight&quot;&gt;&lt;/span&gt;&lt;/form&gt;&lt;div class=&quot;editNote &quot; id=&quot;editNotea11O2E0WXOIK92_a1JIKZS7NPH9RO&quot;&gt;&lt;span class=&quot;noteContent&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif; font-size: small;&quot;&gt;For the exact same results - try the much easier to remember...&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;editNote &quot; id=&quot;editNotea11O2E0WXOIK92_a1JIKZS7NPH9RO&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;editNote &quot; id=&quot;editNotea11O2E0WXOIK92_a1JIKZS7NPH9RO&quot;&gt;&lt;span class=&quot;noteContent&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;PS &amp;gt; get-history &amp;gt; history.txt&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;editNote &quot; id=&quot;editNotea11O2E0WXOIK92_a1JIKZS7NPH9RO&quot;&gt;&lt;span class=&quot;noteContent&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;The above works just like you would expect.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;editNote &quot; id=&quot;editNotea11O2E0WXOIK92_a1JIKZS7NPH9RO&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;editNote &quot; id=&quot;editNotea11O2E0WXOIK92_a1JIKZS7NPH9RO&quot; style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;I found quite &lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;noteContent&quot;&gt;a few other examples that were obviously simplified.&amp;nbsp; It&#39;s a pretty interesting scripting language.&amp;nbsp; By adding the .Net accessibility, it is as if you have blended Bash and Ruby and some special Windows references thrown in to boot.&amp;nbsp; I like it.&amp;nbsp; It looks to be &lt;a href=&quot;http://blogs.technet.com/b/heyscriptingguy/&quot;&gt;very powerful and handy&lt;/a&gt;.&amp;nbsp; One of the main reasons I didn&#39;t like administering Windows is the lack of good sysadmin scripting tools and a poor command line shell.&amp;nbsp; Powershell fixes that.&amp;nbsp; Much is familiar too since it uses many Bash commands.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;editNote &quot; id=&quot;editNotea11O2E0WXOIK92_a1JIKZS7NPH9RO&quot; style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;noteContent&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;editNote &quot; id=&quot;editNotea11O2E0WXOIK92_a1JIKZS7NPH9RO&quot; style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;noteContent&quot;&gt;So, I&#39;ve spent the day patching and armoring my Windows 7 running under OpenBox.&amp;nbsp; I really like Windows 7 (which is probably why they are coming out with a Windows 8 so soon.)&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;editNote &quot; id=&quot;editNotea11O2E0WXOIK92_a1JIKZS7NPH9RO&quot; style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;editNote &quot; id=&quot;editNotea11O2E0WXOIK92_a1JIKZS7NPH9RO&quot; style=&quot;font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;noteContent&quot;&gt;With the vastly improved Windows 7, Windows 2008 R2 and Powershell - all in 64 bit - looks like it&#39;s going to be a less painful transition that I had thought.&amp;nbsp; I&#39;m actually really looking forward to it now.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;noteContent&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;         &lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/239682220857250094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/239682220857250094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/239682220857250094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/239682220857250094'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2011/12/powershell-pretty-cool-afterall.html' title='Powershell, pretty cool afterall'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2267284187143627970.post-5465162032971922596</id><published>2011-08-27T21:04:00.002-05:00</published><updated>2011-09-21T13:54:53.191-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Beekeeping"/><title type='text'>Honey Harvest</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDvck5KOW2NhER9i-cXUpkfyShXPDYF6kK2mSTRCtX1vG7Kft_zUY7YgFtkD5o6SNJNuZFSjpoKodrUF7mSSr0Q2WKTs3Q8q9pHs8nb9ctu1KwarBEhfn8mx-wKscAnvx8Taz-8xcsK1Q/s1600/honeycrop2011.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDvck5KOW2NhER9i-cXUpkfyShXPDYF6kK2mSTRCtX1vG7Kft_zUY7YgFtkD5o6SNJNuZFSjpoKodrUF7mSSr0Q2WKTs3Q8q9pHs8nb9ctu1KwarBEhfn8mx-wKscAnvx8Taz-8xcsK1Q/s200/honeycrop2011.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Finally had time to harvest honey.&amp;nbsp; A bit disappointing.&amp;nbsp; Milano never did completely fill all 8 medium frames.&amp;nbsp; I took only 4 fully capped (front and back) frames from that colony.&amp;nbsp; The 5th was only fully capped on one side.&amp;nbsp; I decided not to spin it.&amp;nbsp; I thought once that Milano&#39;s activity had drastically dropped off.&amp;nbsp; I wonder if I lost some productivity to a swarm?&lt;br /&gt;
&lt;br /&gt;
I had added a 2nd hive body to Venice - a deep.&amp;nbsp; I took one beautiful full frame of capped honey from Venice.&amp;nbsp; I was going to take a second but they have a begun putting brood in the two next closest full frames.&amp;nbsp; I was surprised how heavy a deep frame full of honey was.&amp;nbsp; I was also pleasantly surprised that my little extractor DID accommodate a deep frame - although two would&#39;ve been nice for the balance.&lt;br /&gt;
&lt;br /&gt;
No more mason jars!&amp;nbsp; They are too messy.&amp;nbsp; I bought these 3lbs jugs.&amp;nbsp; This years harvest - 16 lbs.&amp;nbsp; It tastes EXACTLY like previous years (unique and completely different from store bought).&amp;nbsp; We have Persimmon trees, scores of acres of Tulip Populars, a nearby peach orchard, tons of blackberries and, thanks to the dairy down the road,&amp;nbsp; 40 acres of alfalfa (which they tell me they cut 5 times right after it blooms).&amp;nbsp; It seems thicker than previous years too.&amp;nbsp; Good stuff!&amp;nbsp; Should last a while and I&#39;m pretty sure I left them plenty.&lt;br /&gt;
&lt;br /&gt;
I didn&#39;t take any from my new split: Sicily.&amp;nbsp; That colony has completely packed a medium 10 frame.&amp;nbsp; I have been meaning to add another hive body - now I wonder if that would be a good idea.&amp;nbsp; I really hope they&#39;ll winter.&amp;nbsp; I am considering adding a lower medium and feeding them all really well before winter.&amp;nbsp; I&#39;d be bummed if my first split didn&#39;t over-winter.&amp;nbsp; It&#39;s come a long way and overcome my mistakes.&lt;iframe align=&quot;left&quot; frameborder=&quot;0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; scrolling=&quot;no&quot; src=&quot;http://rcm.amazon.com/e/cm?t=robertspage-20&amp;amp;o=1&amp;amp;p=8&amp;amp;l=bpl&amp;amp;asins=B004WKILQ4&amp;amp;fc1=000000&amp;amp;IS2=1&amp;amp;lt1=_blank&amp;amp;m=amazon&amp;amp;lc1=0000FF&amp;amp;bc1=000000&amp;amp;bg1=FFFFFF&amp;amp;f=ifr&quot; style=&quot;height: 245px; padding-right: 10px; padding-top: 5px; width: 131px;&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://myratnest.blogspot.com/feeds/5465162032971922596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2267284187143627970/5465162032971922596' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5465162032971922596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2267284187143627970/posts/default/5465162032971922596'/><link rel='alternate' type='text/html' href='http://myratnest.blogspot.com/2011/08/honet-harvest.html' title='Honey Harvest'/><author><name>RAT</name><uri>http://www.blogger.com/profile/10116429541709326996</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQUwuG7JK-aFz0R3zerAbFogE5-coaPOkZZaFzoLXlkJZZpNsAbLKOIJbH9kLo6ln7i-2k20qxL5jYADOChSuODYi9jZT-ixNzcetNzhePkYSHTszPnZp1V0XhG0bU_-U/s220/Robert3t_Beard_3.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDvck5KOW2NhER9i-cXUpkfyShXPDYF6kK2mSTRCtX1vG7Kft_zUY7YgFtkD5o6SNJNuZFSjpoKodrUF7mSSr0Q2WKTs3Q8q9pHs8nb9ctu1KwarBEhfn8mx-wKscAnvx8Taz-8xcsK1Q/s72-c/honeycrop2011.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>