ehowton: (Default)
Snapshot vCenter
SSH vCenter
# service-control --stop vmware-vpxd
# /opt/vmware/vpostgres/current/bin/psql -d VCDB -U postgres
# select * from vpx_datastore;


Look for the affected datastore (DS) UUID and find the ID.
To confirm the correct ID as needed, run:
select * from vpx_entity where id=(ID found on previous step);

# delete from vpx_ds_assignment where ds_id=ID;
# delete from vpx_vm_ds_space where ds_id=ID;
# delete from vpx_datastore where id=ID;
# delete from vpx_entity where id=ID;

# quit
# service-control --start vmware-vpxd

#chronyc clients
◾ Tags:
ehowton: (Default)

  1. While installing Windows 11, if your computer does not meet the hardware requirements, you will see a message stating, "This PC can't run Windows 11." Windows 11 setup blocked due to missing hardware requirements.


  2. When you see the above message, press Shift+F10 (Or Shift+fn+F10) on your keyboard at the same time to launch a command prompt. At the command prompt, type regedit and press enter to launch the Windows Registry Editor.


  3. When the Registry Editor opens, navigate to: HKEY_LOCAL_MACHINE\SYSTEM\Setup, Right-click on the Setup key and select New > Key.


  4. When prompted to name the key, Type LabConfig and press enter.


  5. Now right-click on the LabConfig key and select New > DWORD (32-bit) value and create a value named BypassTPMCheck, and set its data to 1.


  6. Once you configure the BypassTPMCheck key-value under the LabConfig key, close the Registry Editor, and then type exit in the Command Prompt followed by enter to close the window. You will now be back at the message stating that the PC can't run Windows 11.


  7. Click on the "X" button in the Windows Setup dialog, then confirm, Yes.


  8. You will now be back at the screen prompting you to select the version of Windows 11 you wish to install. You can now continue with the setup, and the hardware requirements will be bypassed, allowing you to install Windows 11.

◾ Tags:
ehowton: (Default)
When logging into vCenter from Opera on macOS and you're denied entry due to NET::ERR_CERT_INVALID

Simply type within the page: thisisunsafe and vCenter should pop right up with a login screen!

If not, log into the vCenter shell and initiate the vCenter Service Appliance:
service-control --restart vmware-vcsa
◾ Tags:
ehowton: (Default)

As a UNIX guy I often fail to consider that not everything which utilizes point & click is automatically intuitive. Configurability's Achillies heel is in its complexity, and VMware's vast suite of tools is infinitely configurable. Hello intricacy! I've been running ESXi for longer than I can count using both hands, but never as an Enterprise-level VMware administrator - while I am aware of its daunting challenges, there's nothing quite like being thrust into unfamiliar territory for humble clarification.

I was dismayed vSAN didn't easily and automatically configure itself based upon a series of guesswork, mild interest, and median effort, but that's on me. So instead of sleeping last night, I fired up our employer-provided learning site and began watching technical training videos. Somewhere between the philosophy surrounding its use and the technical howto, I mused on how rote this all would be if I could simply virtualize vSphere itself to create a lab-within-a-lab, free from impacting the very platform on which I was standing in order to test. As you may have already surmised, these thoughts quickly turned from fanciful, to obsessive.

Those of you who are already familiar with this course of action may be confused how I could get "routine" from adding additional layers of configuration into an already complex environment, but that's not necessarily how us stereotypically lazy UNIX administrators operate; we vacillate between brilliant creativity in engineering an over-the-top solution for even the simplest problem, to orchestrating incomprehensibly bare-minimum solutions to otherwise sticky problems completely dependent upon our level of interest in the project at hand, and this had assuredly caught my attention.

In the annals of my blog I oft repeat how I embrace the RTFM-only-as-a-last-resort school of thought, so once again I winged it, albeit this time with increasing interest and above-average (for me) effort. I'm running three (3) vSphere 6.7u3 servers as virtual machines, with vCenter 7.0.3 as one of their virtual machines in an elegant display reminiscent of nested Matryoshka dolls and finished nesting their respective discrete virtual switches. I still don't entirely know what I'm doing, but it sure is a lot of fun.



◾ Tags:
ehowton: (Default)
** FOR EDUCATIONAL/TRAINING PURPOSES ONLY **

CLI

cp /etc/vmware/license.cfg /etc/vmware/license.BAK

rm -r /etc/vmware/license.cfg

cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg

/etc/init.d/vpxa restart


GUI
HOST --> MANAGE --> LICENSING

Copy Key --> Save

Remove license (should revert immediately back to Evaluation Mode)

*May need to reboot host




script to auto-reset license every 60-days:
#!/bin/sh
## remove license
echo 'Removing License'
rm -r /etc/vmware/license.cfg
## get a new trial license
echo 'Copying new license'
cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg
## restart services
echo 'Restarting VPXA'
/etc/init.d/vpxa restart

# chmod +x reset-eval.sh
# /bin/echo "* * 59 * * /vmfs/volumes/__datastore__/reset-eval.sh" >> /var/spool/cron/crontabs/root
# kill $(cat /var/run/crond.pid) && crond
◾ Tags:
ehowton: (Default)
Steps to create a virtual machine disk descriptor file:

    Connect to the ESXi host as root through SSH or DCUI.
    Navigate to the directory that contains the virtual machine disk with the missing descriptor file using the command:

    cd /vmfs/volumes/DATASTORE_NAME/VM_NAME
     
    Identify the type of SCSI controller the virtual disk is using by examining the virtual machine configuration file (.vmx ). The controller is identified by the line scsi#.virtualDev , where # is the controller number.

    This example uses lsilogic :

    scsi0.present = "true"
    scsi0.sharedBus = "none"
    scsi1.present = "true"
    scsi1.sharedBus = "virtual"
    scsi1.virtualDev = "lsilogic"
     
    Identify and record the exact size of the -flat file using this command:

    ls -l vmdisk0-flat.vmdk

    -rw------- 1 root root 4294967296 Oct 11 12:30 vmdisk0-flat.vmdk
     
    Use the vmkfstools command to create a new temp virtual disk:

    # vmkfstools -c 4294967296 -d thin temp.vmdk

    The command uses these flags:
        -c size
        This is the size of the virtual disk.
        -d thin
        This creates the disk in thin-provisioned format.

The temp.vmdk and temp-flat.vmdk files are created as a result.

Note: To save disk space, we create the disk in thin-provisioned format using the type thin. The only consequence, however, is that the descriptor file contains an extra line that must be manually removed in a later step if the original disk is not Thin provisioned.

    Delete temp-flat.vmdk, as it is not needed. Run this command:

    rm -i temp-flat.vmdk
     
    Rename temp.vmdk to the name that is required to match the orphaned -flat file (or vmdisk0.vmdk , in this example):

    mv -i temp.vmdk vmdisk0.vmdk
     
    Edit the descriptor file using "vi" text editor ( vi vmdisk0.vmdk, in this example)
     
        Under the Extent Description section,
            Use command "Insert" to allow modifications on the descriptor file.
            Locate and change the name of the -flat file to match the orphaned -flat. Once completed - hit "Esc" to exit this mode.
        Find and remove the line ddb.thinProvisioned = "1" if the original .vmdk was not a thin disk. If it was, retain this line. Use command ":wq!" to save and exit "vi" editor.

        The virtual machine is now ready to power on. Verify your changes and ensure the Disk chain is consistent before starting the virtual machine.
         
    To check the disk chain for consistency, run this command against the disk descriptor file:

    vmkfstools -e filename.vmdk

    For a complete chain, you see output similar to:
    Disk chain is consistent.

    For a broken chain, you see a summary of the snapshot chain and then an output similar to:
    Disk chain is not consistent : The parent virtual disk has been modified since the child was created. The content ID of the parent virtual disk does not match the corresponding parent content ID in the child (18).

Original here: https://kb.vmware.com/s/article/1002511

THEN USE DETACHED CONSOLE and RESIZE TROUBLESOME DISK using the GUI if required!

Also just in case:
# esxcli storage vmfs extent list
# partedUtil fixGpt /vmfs/devices/disks/naa.NUMBER <-- datastore level only
# vmkfstools -x repair rando_disk.vmdk
◾ Tags:
ehowton: (Default)
I have found most of my problems can be fixed by cleaning up this file:

esxi ~# /etc/vmware/esx.conf

This includes, but is not limited to:

stale nfs mounts
stale IPs
stale datastores
datastores mounted in the wrong IP space


And probably a whole host of others. Do you need to reboot the hypervisor after editing this file?

Its VMWare, of course you do!
◾ Tags:
ehowton: (Default)

So I thought it would be fun and easy to simultaneously de-register VMs from one datastore path and register them on the identical datastore but through a private GB interface while also exporting an ancient WinXP VM require for iDRAC from some random volume on one computer to my VM volume on another computer utilizing two different hypervisors (both of which can hypothteically read *.ova) and deleting unused zvols from FreeNAS while copying TBs of data from external drives to UNRAID while also attending to phone calls and answering emails today. You know what? It wasn't.
◾ Tags:
ehowton: (Default)

I moved a formatted NVMe from one USB adapter to another USB adaptor and rebooted the host. ESXi GUI saw it as USB accessible storage, but would not mount it as a DATASTORE. Let's fix that!

# esxcli storage vmfs snapshot list

612fd952-87ba1925-3294-e45f012e79af
Volume Name: CYBERPUNK_NVMe
VMFS UUID: 612fd952-87ba1925-3294-e45f012e79af <-- note
Can mount: true
Reason for un-mountability:
Can resignature: true
Reason for non-resignaturability:
Unresolved Extent Count: 1

esxcli storage vmfs snapshot mount -u 612fd952-87ba1925-3294-e45f012e79af

# df -h
Filesystem Size Used Available Use% Mounted on
NFS 529.4G 438.9G 90.5G 83% /vmfs/volumes/SANDATASTORE
VMFS-6 931.2G 89.4G 841.9G 10% /vmfs/volumes/CYBERPUNK_NVMe
VFFS 13.8G 2.6G 11.1G 19% /vmfs/volumes/OSDATA-613a47c6-0701eb8e-8416-e45f012e79af
vfat 1023.8M 116.7M 907.2M 11% /vmfs/volumes/BOOTBANK1
vfat 1023.8M 32.0K 1023.8M 0% /vmfs/volumes/BOOTBANK2

Now GUI has auto-mounted as usable DATASTORE!
◾ Tags:
ehowton: (Default)


◾ Tags:
ehowton: (Default)
Originally posted by fgrehk @ Virten.net

Connect to the ESXi host with SSH
###########################################################################################################################
Stop the USB arbitrator service. This service is used to passthrough USB device from an ESX/ESXi host to a virtual machine.
(When disabling it, you can no longer passthrough USB devices to VMs)
-------------------------------------------
# /etc/init.d/usbarbitrator stop
-------------------------------------------
###########################################################################################################################
(optional) Use this command to permanently disable the USB arbitrator service after reboot.
-------------------------------------------
# chkconfig usbarbitrator off
-------------------------------------------
###########################################################################################################################
Plug in the USB device to your ESXi host. While connecting the USB device you can either watch /var/log/vmkernel.log
to identify the device name or identify it within /dev/disks. Devices are either named mpx.vmhbaXX or with an naa.X number.
-------------------------------------------
# ls /dev/disks/
-------------------------------------------
###########################################################################################################################
Write a GPT label to the device (Assuming that the Device ID is naa.5000000000000001)
--------------------------------------------------------
# partedUtil mklabel /dev/disks/naa.5000000000000001 gpt
--------------------------------------------------------
###########################################################################################################################
To create a partition you need to know the start sector, end sector, which depends on the device size and the GUID.
The start sector is always 2048
The GUID for VMFS is AA31E02A400F11DB9590000C2911D1B8
The end sector can be calculated with the following formula (Use the numbers from getptbl):
-----------------------------------------------------
# partedUtil getptbl /dev/disks/naa.5000000000000001
-----------------------------------------------------
gpt
15566 255 63 250069680
15566 * 255 * 63 - 1 = 250067789 (Your end sector)
###########################################################################################################################
You can also calculate the end sector with the following command:
------------------------------------------------------------------------------------------------------------------------
# eval expr $(partedUtil getptbl /dev/disks/naa.5000000000000001 | tail -1 | awk '{print $1 " \\* " $2 " \\* " $3}') - 1
------------------------------------------------------------------------------------------------------------------------
250067789 => Your end sector
###########################################################################################################################
Create the VMFS partition (Replace with your end sector)
--------------------------------------------------------------------------------------------------------------
# partedUtil setptbl /dev/disks/naa.5000000000000001 gpt "1 2048 250067789 AA31E02A400F11DB9590000C2911D1B8 0"
--------------------------------------------------------------------------------------------------------------
###########################################################################################################################
Format the partition with VMFS5 or VMFS6
VMFS v5
-------------------------------------------------------------------------
# vmkfstools -C vmfs5 -S USB-Datastore /dev/disks/naa.5000000000000001:1
-------------------------------------------------------------------------
VMFS v6
-------------------------------------------------------------------------
# vmkfstools -C vmfs6 -S USB-Datastore /dev/disks/naa.5000000000000001:1

NOW DO THIS:

esxcli system settings advanced set -o /Disk/AllowUsbClaimedAsSSD -I 1
esxcli storage nmp satp rule add -s VMW_SATP_LOCAL --device=mpx.vmhba32:C0:T0:L0 --option=enable_ssd
esxcli storage core claiming unclaim --type device --device=mpx.vmhba32:C0:T0:L0
esxcli storage core claimrule load
esxcli storage core claimrule run

REMEMBER TO:

In the vSphere Client, navigate to the ESXi host.
Click the Configure tab.
Under System, click Advanced System Settings.
In the Advanced System Settings table, select the Misc.APDTimeout parameter and click the Edit icon.
I've been using 600 as the value.
◾ Tags:
ehowton: (Default)


◾ Tags:
ehowton: (Default)


◾ Tags:
ehowton: (Default)
To reconfigure a thin-provisioned disk to eagerly-zeroed thick:

vmkfstools -c 100m virtualdisk.vmdk -d eagerzeroedthick

To reconfigure a thick-provisioned disk to thin:

vmkfstools -i virtualdisk.vmdk -d thin virtualdisk_thin.vmdk
mv virtualdisk-flat.vmdk virtualdisk-flat.vmdk.OLD
mv virtualdisk_thin-flat.vmdk virtualdisk-flat.vmdk

UNREGISTER in GUI
REGISTER in GUI
VERIFY DISK TYPE

rm virtualdisk-flat.vmdk.OLD
rm virtualdisk_thin.vmdk
◾ Tags:
ehowton: (Default)
When, in VMware Fusion, the left-mouse click doesn't work, do this:

Shutdown all VMs.
Quit Fusion.

# vi /path/to/virtual_machine/vm.vmx

Add:

mouse.vusb.startConnected = "FALSE"

Fix you right up.
◾ Tags:
ehowton: (Default)

I am running ESXi 6.7u3 on an old PowerEdge R610 and recently purchased a no-name NVMe m.2 drive and the StarTech.com M2 PCIe SSD Adapter from Amazon which I had read on several blogs worked flawlessly with 6.7. And that part appears to have been true. Finding the right group of online people who tinker with things as I do is rarely quick or easy in the Googlesphere, as most of the official replies dismiss unsupported hardware with unsupported drivers on unsupported versions of end-of-life hardware; where my dreams generally begin. I had already bugged one certified VMWare administrator at work on something *actually* supported I needed help in figuring out, but wasn't about to approach him with this sketchy shit.

Eventually, I did find my people, and here is the unglamorous solution: Downgrade ESXi's NVMe driver from 6.7u3 to 6.7.0 GA:

# esxcli software vib install -v ht*ps://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/nvme/VMW_bootbank_nvme_1.2.1.34-1vmw.670.0.0.8169922.vib

# esxcli software vib install -v ht*ps://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/vmware-esx-esxcli-nvme-plugin/VMware_bootbank_vmware-esx-esxcli-nvme-plugin_1.2.0.32-0.0.8169922.vib

# reboot
I am now running SSD (NVMe) Host Swap Cache as mentioned in the Performance Best Practices for VMware vSphere 6.7 document I'd read several weeks back, as well as using the NVMe drive for all my virtual machine's paging file. There seems to be enough space on the drive as well that I could theoretically build a small, fast vm as well. Just like EMC's storage at work, I too will have "tiered" storage;
SSD --> SAN --> HDD --> NAS

Here's a couple of helpful commands for sussing out NVMe-related ESXi stuffs:

esxcli storage core adapter list
esxcli nvme device list
esxcli storage nmp device list | grep Display




◾ Tags:
ehowton: (Default)

Long story short, I have no idea what I'm doing. And I was frustrated I couldn't see the (TrueNAS, formerly FreeNAS) iSCSI volumes from the ESXi host. Especially since I plan on backing up the the NAS and reconfiguring it as an honest-to-god fiber-connect SAN once I build-out my UNRAID NAS server. I reached out to a vSphere guy who explained what I was doing wrong, subsequently hobbling my way through an admittedly redneck solution. But it works:

iSCSI requires communication on its own VMKernel NIC.
Created vmk1 and assigned it the IP 10.0.0.5

Unsure if VMKernel NICs required discrete interfaces.
Attached a patch cable from a port in the ESXi QFE to a port in the TrueNAS QFE, and assigned TrueNAS interface 10.0.0.4

We need a vSwitch to handle traffic from the physical adapter to the VMKernel port.
Created vSwitch1 and attached both VMKernel and vmnic3

Let storage know what's going on.
Change IP to 10.0.0.4 for Static and Dynamic targets under STORAGE --> Adapters --> Software iSCSI

Once everything was saved and rescanned, everything just sprung to life!

The TrueNAS now shows up under Storage Devices, and VMguests have the functionality to map raw LUNS :)
◾ Tags:
ehowton: (Default)

For reasons I won't go into here, I increased the capacity of an iSCSI LUN to make more room in a handful of logical volumes. Awkwardly, the parent volume group lost its goddamn mind.

I can't recall if I've ever run into this specific scenario or not before, but I doubt it because I rarely mess around with SAN. Well, until recently anyway. Suffice it to say I was stuck until I could find away to dynamically resize the volume group. Turns out you have to use pvresize as in:

pvresize /dev/sdb

I cannot remember now if I had activated or deactivated the vg prior to doing so, but at any rate it worked.
◾ Tags:
ehowton: (Default)
SINGLE VIB:
[root@esxi:~] esxcli software vib install -v /tmp/ixgben-1.7.10-1OEM.670.0.0.8169922.x86_64.vib
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: INT_bootbank_ixgben_1.7.10-1OEM.670.0.0.8169922
VIBs Removed: VMW_bootbank_ixgben_1.7.1.16-1vmw.670.3.73.14320388
VIBs Skipped:

ENTIRE ZIP OF VIBs:
[root@esxi:~] esxcli software vib update -d "/vmfs/volumes/RAID5/PATCHES/ESXi670-202004002.zip"
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: [like, the entire ZIP file]
VIBs Removed: [subset]
VIBs Skipped: [subset]
◾ Tags:
ehowton: (BSD)
SINGLE VIB:
[root@esxi:~] esxcli software vib install -v /tmp/ixgben-1.7.10-1OEM.670.0.0.8169922.x86_64.vib
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: INT_bootbank_ixgben_1.7.10-1OEM.670.0.0.8169922
VIBs Removed: VMW_bootbank_ixgben_1.7.1.16-1vmw.670.3.73.14320388
VIBs Skipped:

ENTIRE ZIP OF VIBs:
[root@esxi:~] esxcli software vib update -d "/vmfs/volumes/RAID5/PATCHES/ESXi670-202004002.zip"
Installation Result
Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
Reboot Required: true
VIBs Installed: [like, the entire ZIP file]
VIBs Removed: [subset]
VIBs Skipped: [subset]
◾ Tags:
ehowton: (Default)

Either I was always searching for the wrong words or combination of words on Google - OR - the information is so humiliatingly basic as to not be helpful to anyone who already understands SAN topology, I present to you this, my masterpiece of trial and error (basically clinking every goddamn thing I could, in every conceivable combination until something worked.) Also, I'm the only person on the planet not running vCenter which makes it look like it could be configured verbally, "Alexa, map my SAN LUNs to ESXi."
"No problem, Eric. Done."


SO YOU WANT TO ADD SAN DISKS TO YOUR ESXi HOST LOL

ESXi HOST - ESXi 6.7u3:
12x48 PowerEdge R610 with a single 16GB dual-port HBA

SAN HOST - FreeNAS 11.3u2:
32x16 PowerEdge R730 with a single 10GB quad-port HBA


In FreeNAS ensure:

Sharing --> Block Shares (iSCSI) --> Associated Targets

Contains the Target/Extent mapping you wish to use, else even with the above the VM will not be able to see the boot disk.

Sharing --> Block Shares (iSCSI) --> Extents

For ESXi ONLY ensure 512 block size and DISABLE physical block-size reporting!

Lastly, your iSCSI disks may appear as NORMAL,DEGRADED on your ESXi GUI. This is due to there only being a single-path to your SAN disk.

In ESX ensure:

Host --> Manage --> Hardware --> PCI Devices --> "[brand] [speed] [port number] network connection" (this is your HBA)

Ensure Passthrough is DISABLED (enabling is apparently awesome if you want ONLY EVER A SINGLE VM to see the SAN via fiber not FCoE)

Reboot the whole entire goddamn ESXi host if you had to toggle passthrough.

Storage --> Adapters --> (vmhbaXX - iSCSI software adapter - online - iscsi_vmk)

Highlight that bitch and whichever is not grayed out (Configure iSCSI or Software iSCSI) click that one.

You have to enter the SAN's copper network IP as a DYNAMIC TARGET (port should be pre-populated with 3260) and when you click {ok} or {next} or whichever verbiage indicates you've completed this task and should move on to the next...

STATIC TARGETS populate with the BLOCK SHARE TARGET NAMES from the SAN :O

We all have our philosophies surrounding system administration, and mine is learning by utilizing RTFM only as a last resort. According to the SUSE Linux Enterprise Server 15 SP1 Deployment Guide:

The boot manager GRUB 2, used to boot machines with a traditional BIOS, does not support UEFI, therefore GRUB 2 is replaced with GRUB 2 for EFI. If Secure Boot is enabled, YaST will automatically select GRUB 2 for EFI for installation.

I tried it both ways, but EFI with Secure Boot disabled seems to be the way to go.

Edit Settings --> Add Hard Disk --> New Raw Disk --> (compare hostname UUID mapping from FreeNAS)

Boot VM from attached optical media and it should jump right into Installation and know right where to install :)

WHEN YOU ADD ANOTHER PATH TO AN EXISTING ESXi:

Storage --> Adapters --> Rescan
Storage --> Devices --> Rescan
Storage --> Devices --> Refresh

Should populate with the new LUN IF THE LUN ON THE SAN SIDE has a unique LUN_ID.
◾ Tags:
ehowton: (Default)

I'll start by admitting the best solution may be the one already in place. If you don't want Windows to statically assign unchanging drive letters to each and every device it may touch over the course of its lifetime until all letters of the alphabet are exhausted (when you have, and you plug in one more, the operating system doesn't alert you to this fact, it just doesn't work) you need those drive letters to be dynamically allocated. VBox presumably understands dynamic drive letter allocation, but apparently some of us may not always remove and detach our numerous devices in an identical order each and every time, which can cause, well...the drive numbers to be dynamically allocated.

And this may be my own fault, for wanting to run VMs on separate spindles (or devices in the SSD world - I don't yet know the best phraseology to describe the practice of moving heavy read/write operations to independent non-magnetic media). So when my drive letters change, understandably, VBox can't find its disks. But when I manually reassign the virtual disk to a specific VM, it seems rather arrogant of VBox to disallow it, citing differing UUIDs. Yes there's an obtusely elegant solution (simple in how it works, arduous in its execution - actually, I may move the binary to C:/Windows now that I'm thinking about it) but it sometimes doesn't update its XML file, which is what passes judgement upon me.

Vbox arguing with me about every drive on every VM every single time I remove and add a device or reboot notwithstanding, I'm really looking forward to VMWare ESX putting driver hooks into my desktop graphics. That is, undoubtedly, where all this is headed. True cloud gaming. I can't wait.
◾ Tags:
ehowton: (Default)

Ever since I stumbled across http://lowendbox.com, I've been like a kid in a candy shop; from the 256MB/1vCPU for $1.65/mo., to the 2048MB/4vCPU for $7.00/mo. my current CHUNKHOST seems expensive by comparison. But since every platform doesn't support every operating system (OpenVZ for example can't support openSUSE 12.3 or Ubuntu 13.04 like it can on the more expensive Xen or KVM - something about the kernel level though I've read conflicting reports) you have to be prepared to make some sacrifices and be familiar with a wide range of distros.

My oldest VPS is running Ubuntu 12.04 LTS, and my newest CentOS 6; but my favorites are running openSUSE 12.3. I found a good article explaining why its DAFT PUNK to run 32-bit on lower end machines. That aside, of the two Dartmouth boxes I have, the one in Frankfurt is 64-bit - currently hosting http://newtonkansas.us, and my xenchunk (Ubuntu) is also 64-bit.

Then I found two more. Got one on special for $12/annually, and another I'm going to let drop at the end of this month. This latter one I have been rebuilding with openSUSE 11.4 and incrementally upgrading it versus skipping versions (HINT: I don't recommend skipping versions). When I used to run Solaris and HP/UX at home, I always put Big Brother monitor on there so I could keep an eye on them at work, but with these numbers, I may start deploying BB just to keep track of them all!

I'm currently teaching myself how to build an SMTP relay server. With all these boxes, I think it will be nice to have a private, centralized, mail server.

Lest we forget, I'm also running openSUSE 12.3 on physical server-class hardware and as a vbox vm on my desktop - YES I FIND I HAVE PLENTY OF REASON TO DO SO :P
◾ Tags:
ehowton: (Default)
Remember the awkward workaround required to get VMware Workstation up and running on Ubuntu 9.10 by suppressing the error messages because the installer sucked? Yeah, so that still works on 10.04 "Lucid Lynx" but not to completion - that is to say, the installer will launch and run, but afterward it just shoots blanks. Workstation doesn't seem to know what a 2.6.32 kernel is best I can tell, nor can it real-time compile needed modules into the running kernel. Regardless, I can't get it to work on Ubuntu 10.04.
Many search terms think you want to run 10.04 on your Windows box. Ugh.
Come to think of it, VMware Workstation has been exceedingly limp at its offerings since 9.10, and even when it was installed there, many of the keyboard and/or cursor workarounds didn't work well. I don't know what's going on with that, but v7 doesn't seem to be the answer. It would appear on the surface that Ubuntu's aggressive 6-month release roadmap is wrecking havoc on VMware's more...lackadaisical approach.
Mostly though, I don't have time for this shit.
So here's what you can do if you've upgraded to 10.04 and need your Windows VM rfn: Install Sun's VirtualBox. No, its not a digital-era masturbatory interface; VirtualBox (and its F/OSS counterpart, VirtualBox-OSE (Open Source Edition)) is a freeware, proprietary-sourced Desktop virtualization product. We're going to discuss Sun's offering, not the repository-accessible "OSE" because we require USB support. And why do we care about it now? Because it can load and run all your VMware Workstation VMs.
With just a little help.
First of all you're going to need Dynamic Kernel Module Support - dkms: sudo apt-get install dkms then download VirtualBox for your architecture from http://www.virtualbox.org/wiki/Downloads (I know it sounds like a porn site, but the link is Safe For Work). Be sure to change your drive to "SCSI" as the default will load your *.vmdk file as IDE. Also, cat the *.vmdk file to verify you're using "busmaster" logic on that SCSI drive, as once again, the VirtualBox default is incorrect. It won't pick up your network setting (I use "Bridged") because it defaults to "NAT" so you'll need to change that as well if that's not what you're using (you can check this settings in the *.vmx file). Lastly - enable "IO/ACPI." Just do it. I know you don't want to, but its the last piece of the VMware Workstation-to-VirtualBox puzzle.
Voilà! You have a working VM on your 10.04 box.

Be aware that VirtualBox is about 900x slower than VMware.

Even when running on a 15k-rpm RAID-0 stripe on a separate controller.

And I'm a day behind, because this took me the better part of yesterday.

Suckle the fruits of my labor.
◾ Tags:
ehowton: (Default)

I received an email that the score to Torchwood's season 3 mini-series "Children of Earth" was available for pre-order. Not only was the composer someone I was unfamiliar with, outside the Main Theme I don't vividly recollect the music used throughout the first two seasons.

All that changed yesterday.

We watched the first two episodes of the 5-episode mini-series (which encompasses the entirety of the third season) "Children of Earth" and all I can say is, "WOW!" Torchwood was initially unadulterated British cheese, billed as a "Dr. Who for adults" which eventually matured as the series progressed. And though I'd heard that they'd pulled out all the stops for this last 'season' I was doubtful it would rise to the occasion. I'm here to admit that I was mistaken.

When was the last time you came so hard, you forgot where you were?

While I don't suggest watching it standalone without having first seen the previous two seasons to set up the backstory, I do think the conclusion of the series is time well spent for watching the entire thing. And the score? Magnificent! Its very exciting - I ordered it today:





Which leads me to The Plan. Thanks to [livejournal.com profile] irulan_amy who was my eyes & ears at ComicCon this year and who attended Bear McCreary's "Battlestar Concert" where he played a piece from a yet-to-be-released direct-to-video TV movie I was entirely ignorant of, The Plan. You see, humans created the Cylons. They rebelled. There are many copies. And yes, you guessed it, they have a plan. Taking place after the events of the destruction of the 12 colonies, that plan will be unveiled, answering a lot of questions (I assume) behind the motivations of the cylon's actions in the series.

Of course another Bear McCreary score is never a bad thing either ;)




Since I first mentioned my DL380 G3 I got rid of the ML380 which I accidentally irrevocably destroyed and replaced it with a DL380 G4 on which I installed ESXi v4.0 aka vSphere. vSphere will only load on 64-bit machines, and the G4 fit the bill.

G3 = 32-bit dual 3.20 GHz procs, 5GB memory, 3x15k 18GB drives in a RAID-0 configuration
G4 = 64-bit dual 3.60 Ghz procs, 4GB memory, 5x10k 72GB drives in a RAID-5 configuration

The ML370 took 35 minutes to load ESXi v3.5. But thanks to a boost in compute power, and a complete re-engineering of vSphere, the G4 was able to accomplish the task in about 8 minutes. Now we all know the heartburn I have with only being able to run the Virtual Infrastucture Client (now called vSphere client) on the Windows operating system, but moving my VMware Workstation hosts from my laptop to the G3 gives me the overhead I need so that its not such a drag.

The VMware leader dude showed me how to make a virtual switch on vSphere, allowing me to suck DHCP addresses for my hosts while keeping my server on my static IP. He later showed me the Windows equivalent of the resolv.conf. I manipulated that so I can access my hosts via DNS if the back-end IP addresses refresh their lease. The best part is - no more transferring of files; I can access the same box no matter where I am.

While we were building out the new server, we were simultaneously playing with features. For example, I put a lot of work into culling down my initial XP image for his SAN - 3.4GB with all my apps. Unfortunately, that backfired because I'm perpetually low on disk space. During the transfer of the host from his SAN to my new server, I was able to resize the c:\ drive, update the VMware Tools, and make configuration changes along the way. I have a gigabit connection under my desk on my static IP ethernet, and was able to copy and convert my entire host in about five minutes.

The VMware leader dude suggested that I create a separate datastore for the swap files, and I knew just the thing - a 72GB 15k drive I'd recently come into possession of, and I had one free slot.

And now a word about SCSI hot-swap. When I first plugged one of the 72GB 15k drives into an empty slot on my ubuntu workstation, it froze the server. Plugging it into the G4, it didn't - however, ESX wouldn't "see" the drive as a valid physical drive. Yes, I had to reboot the server and configure it as a logical drive first.

So yeah, its fast. I'm going to see how much more I can do with it. And while your average run-of-the-mill user will be able to use it immediately "out of the box" the bastardization of linux they've managed seriously inhibits my ability to exploit it, as its quite different than the v3 builds. Once I've completely set up all the nuances I want from it, however, I shouldn't have to touch it again. Unfortunately, I'm still accessing this technology with the same 1800s interface - the same interface which was around when steam engines crossed this nation. I really believe that should be updated next.




Things at work are keeping me absolutely buried this week but in a good way. Lots of work, but lots of accomplishments as well. You cannot stop change, and none of us know the future, but if you're able to exceed your programming, you may just keep your head above the waterline.
◾ Tags:
ehowton: (Default)


The 1TB 7200rpm 32MB-cache SATA drive.


$107 at Best Buy. Now if I could only get it out of compatibility mode. But because I installed it without AHCI enabled...In short, because I didn't F6 the drivers, there's no controller to apply drivers to.

So rather than wallow in self-pity (which I would do, trust me, if it would get me out of this cycle of Microsoft asininity) I'm going to, probably in this order, install:
  1. Windows 7 RC1

  2. Windows Server 2008

  3. Windows Server 2003

And in other most awesome news, I managed to procure an HP ProLiant DL380 G3 with dual-Xeon 3.20GHz procs and 4.5GB RAM. I unwrapped 2x72GB 10k Sun drives I've been saving for just such an adventure, swapped sleds, and created a 137GB (formatted) RAID-0 stripe to install ESXi on at work. Its ashame that VMware provides some of their tools for both linux and windows, some for linux only, and some for windows only? WTF ^^ mate?

Of course all this fun has been betwixt attempting to ignite an HP/UX frame in nPar mode on an external array. Bah!

I think I'll give away all my Sun servers. Anyone interested?
◾ Tags:
ehowton: (Default)

My XP box randomly drops USB ports. At first I thought this an issue with the operating system because I've had issued with XP and USB in the past, but here lately I've noticed that the new Intel board occasionally forgets it has PATA drives connected. Sometimes when I reboot (its boot drive is PATA) and sometimes while I'm using the computer.

Why not use SATA? I'm glad you asked! Mostly because even with a slipstreamed SP3, XP still doesn't have drivers for it. F6 drivers aside, it took me a week to find the right O/S driver on Intel's support page. The SATA optical drive? Sometimes it reads and burns, sometimes it doesn't. But I can't rely on the external DVD-burner because of the intermittent USB problem.

And because the Intel board only has one PATA port, I can't go all PATA either. Unless I use the Intel board for linux, which installs effortlessly and flawlessly - but because the Intel board limits me to 2.9 GB of RAM, I can't use an operating system which will allow me more.

This random dropping of ports also greatly limits my use of my new USB KVM, which gets confused. Frankly, I don't blame it. I'd get confused to! This completely disables my ability to bounce between two computers - the reason the KVM exists.

My KVM is not all that smart to begin with. Or rather, the engineers behind it. I suppose I'm some sort of anomaly, as the instructions layout how magnificent their KVM is, because it can do the following:

PC keyboard to control a PC
Mac keyboard to control a Mac
Sun keyboard to control a Sun
PC keyboard to control a Mac
PC keyboard to control a Sun

You guessed it, I'm using a MAC KEYBOARD TO CONTROL A PC. Am I the only person on the planet attempting to do this? Unlikely. No one else I know has the problems I do with IDE drives, SATA drivers, USB or KVM. I'd like to set someone on fire.

The solution is clear. Unfortunately, $8000 clear. That's the price of the box with the all-new 2.93GHz dual Quad-Core Intel Xeon "Nehalem" processors. Maybe at some point in my life all this extra-curricular activity I spend sleepless nights doing will someday pay off. I can't even imagine the things I could do with a shiny new MacPro - I'd be unstoppable! No more XP drivers, no more KVM, USB that *actually* worked. And screw those old 7200rpm drives. I'm ready for an external 15k rpm SAS array!

As it stands, I'm manually plugging my KVM into one box or another, depending on what I need to accomplish, as well as moving physical drives from one box to another, dependent upon my motherboard's mood. I needed access to my 500GB drive which was no longer seen, so I pulled my mac's boot drive out of its external enclosure, removed the drive from my XP box and plugged it in to the external firewire port.

Huh.

I was under the impression all this time that the 1394 IEEE port actually worked in XP. Color me unsurprised.

I'll likely tear down both computers again and create what I hope is my last & final configuration: Ubuntu 9.04 with VMWare Workstation.

Of course I'll need another 19" flat panel monitor...



◾ Tags:
ehowton: (Default)

Thank you all for the kind words and emails - though I was bedridden for two days (and later quarantined at the doctor's office - Swine Flu? - Seriously?) I am already ramping up to capacity once again.

Here we go:

I'm still facing the pros and cons of everyday life, much as we all are, with the difference that I have tried, and tested ESXi. It is a fantastic multipurpose tool which has no place whatsoever in my home, unless as a third box, perhaps. It is NOT a replacement for a graphical workstation (VMware Workstation truly has earned its special niche), and I won't bore you with the details as to why (interested parties, if any, can inquire in the comments). Suffice it to say, its absolutely killing me, and I'll have to go back to running XP as a primary on one of my boxes. It is however, a gorgeous solution for our new proposed collocated server for a myriad of reasons, up to and including "attaching" to an internal, virtualized enterprise-standard EMC Celera NAS. Go [livejournal.com profile] drax0r.

Building my own ESX server was a great learning experience (I can now say I've built and managed one) and once [livejournal.com profile] drax0r saw what it was capable of, he started salivating as the nearly endless possibilities started playing out in his head. With the click of a button, I have at my disposal, a Solaris x86 box, an OpenSolaris box, and any flavor of linux I choose to run. ESX gives me the ability to clone entire operating systems for backup or archival purposes, or with "P-to-V" turn any existing x86 box into a virtual machine at the push of a button. I can't even comprehend what fanciful things we'll come up with having such flexibility at our fingertips. Windows runs even faster virutualized, as there are no drivers to set aside memory for (though I can't imagine a single scenario where we'd need to run one collo'd), but it was that 'virtual desktop' [livejournal.com profile] drax0r saw which really got him spun up by way of the minuscule resources required to run it as he peeked under the engine. Imagine - running Windows, without ever having to admit to running Windows! No wonder Parallels is so popular. "Minimize" and the embarrassment is gone.

As things stand now, I'm preparing to once again tear down my two boxes, swap parts in some semblance of order that only makes sense to me, and hopefully finalize my production workstations. I've been without iTunes, a printer, and audio (another lengthy story including HDMI-audio out; Ugh) for far too long.





And a special thanks to Blue Portal Productions for the beautifully aromatic "Ambrosia" cigars which arrived in the post today!

Cut due to the graphic nature of the image )
◾ Tags:
ehowton: (Default)


My ESX Hypervisor is ready...
◾ Tags:
ehowton: (Default)




Deep in the bosom of the gentle night, is when I search for the light; Pick up my pen and start to write
I struggle, I fight dark forces in the clear moonlight; Without fear. Insomnia. I can't get no sleep

I'm working on about 4-hours sleep a night since Thursday night due to my machines at work paging me ceaselessly from about midnight to 0400 every single night to the point I may not make it in tomorrow. I've been working on building out a computer for my mother during these extended waking hours, which cratered after I put 20-hours into it; bad disk. All that time and I have nothing to show for it. I replaced the 160GB drive with another spare of the same size which did the same thing. And while we're on the subject, why does XP still insist on using a floppy drive? SP3! C'mon, thumbdrive me, baby! I had to pull out my USB floppy drive to create a driver disk - which XP can't see during install, so had to find a 40-pin cable and a drive. Ugh.
I used to worry. Thought I was going mad in a hurry; Getting stressed, making excess mess in darkness
No electricity, something's all over me. Greasy. Insomnia, please release me

Bought and assembled, then utilized, a wheelbarrow and an edger/weed-eater today after I mowed the lawn. It was a beautiful day for it - sunny & cool. Last night I pulled my two new boxes out of my rack and reconfigured them. Yes, the ESX server sees all 6GB of interleaved RAM - BAM! Unfortunately, I now see why the Windows group is in charge of it - almost no tools to administer it with unix. And since I no longer have an XP box...I installed VMware Workstation on my new linux box...which apparently doesn't run as well as it does on my laptop. CoreDuo vs. Hyperthreading best I can tell, especially since the HT proc is the faster of the two. Yes, this really sucks.
And let me dream of making mad love to my girl on the heath, tearing off tights with my teeth
But there's no release, no peace. I toss and turn without cease. Like a curse, open my eyes and rise like yeast
I just wanted to get all this done so I could lay in bed after work every day this week with my woman and watch DVD box sets. We're halfway through Millennium and just purchased the first three seasons of Stargate:Atlantis. What a shitty weekend. And yes, the pager is still going off! The icing on the cake is that with all this alone time spent zombie-like in the dead of night, I have no tunes. My iTunes database is on a 500GB drive inside my ESX box, and I don't have the sound on the linux box configured yet. Damn I'm tired.
But now I keep myself pepped. Deeper still, that night, I write by candlelight. I find insight
Fundamental movement, so when it's black, this insomniac, take an original tack;
Keep the beast in my nature under ceaseless attack...I gets no sleep




◾ Tags:
ehowton: (Default)

How fast does a computer have to be before its 'too fast' and do you think such a think is possible? To be honest, I've never had it happen to me, but my linux workstation is just that - simply too fast. Since apt-get has replaced my compiling, and I really only use it for my terminal tab-farm and web-browsing, in its current configuration its simply too much horsepower. It is nice to see gnome so freaking responsive, but since I usually turn off all the bells and whistles, I really gain nothing.

And my Windows box? Too sluggish comparatively, I/O bound with ancient IDE drives. [livejournal.com profile] princessleia2 was right, the Windows box needs it more. But I am aghast at how quick that linux box runs.

I have a lot of questions. I do a lot of research. But the answers can't all be found online. So I search out the experts, armed with knowledge enough to speak intelligently on the subject, seeking answers. Sadly, many "experts" never roam past the boundaries of their given profession, have never thought of other ways to utilize the tools they use. This isn't as sad as the ones who show no interest in pushing that envelope - testing, trying, troubleshooting and aiming to excel. But occasionally I find them and they feed off my excitement which in turn further motivates me to push the limits.

At work I run VMware Workstation 6.5.2 on my ubuntu laptop. Its fantastic, and nearly flawless. Problem is, it saps my resources if I run more than one virtual machine. I considered running the same configuration on my linux box at home, until the idea of running ESX, the bare metal hypervisor occurred to me. [livejournal.com profile] drax0r and I had toyed with the idea several times in the past, but the hardware limitations prevented us from pursuing it further. You see, ESX requires very specific x86 server hardware (multiple Xeon processors, SCSI or SAN disks, etc) or rather, it used to. While still not "officially" supported, it will apparently now install and run on a single Pentium chip and write to SATA drives. Better yet, VMware has recently released ESXi, their free version. Using ESXi I will be able to run multiple operating systems simultaneously without the resource drain. The hypervisor is its own operating system, so to speak. Think of it as an embedded system - it only has a 32MB footprint, and with its overallocation ability (single, shared files in swap for identical operating systems, force-to-disk cache to free RAM on systems not actively using resources) and promise to run at near-native speeds, it sounds like a wild ride.

So while I haven't figured out my final configuration yet (I can re-arrange the RAM to get 6GB interleaved on one (@667MHz), 3GB on the other (@533MHz - the board which only sees 2.8) and disperse my SATA drives across platforms), I think I'll pull everything out, start over, and install ESXi. While it may prove to not be a permanent solution, at least I'll get some hands-on experience with it, and maybe get a leg up on the Windows guys, which are usually the only ones using it at work.



My son's PowerMac G4
◾ Tags:
ehowton: (Default)


  • I have a new BFF at work, though he doesn't know it. No [livejournal.com profile] drax0r, you haven't been replaced. He would make a poor eating partner, and he doesn't talk much. In fact, he doesn't say much at all. Probably why I like him.


  • I rickrolled myself. I was rooting around my server looking for wallpaper to burn on CD for my new BFF and pulled up my own spoof. At work. Its been many years since I've had such an instantaneous spike in adrenaline.


  • I was hot yesterday, so I went to the barber shop to have my head scalped with a 1-guard. "Sports Clips" where I had to talk to some girl about how she not only knows nothing about computers, she also can't even navigate MySpace. Remind me next time to tell people that I sweep streets for a living. Either that, or let's open an "IT Clips" where we don't have to sit around and be asked about sports.
    My newly shorn head was the buzz of conversation at work today (pathetic, I know) where, in that special way I seem to have with people, that being, completely believable by affably and almost unwittingly giving things away, [livejournal.com profile] drax0r came up in conversation (as he used to shave his head and face more severely than myself) and now one of the DBA's *really believes* that he walks around his house in sackcloth, like Uncle Fester.

    I bought a Rastafarian knit cap at a head shop this weekend and wore it to work Monday. Other than the strange looks this white boy got, my hair was so long they kinda looked like dreads spilling out of that cap. I'm not going say that wasn't another reason I got my hair cut.


  • Sometimes I'm so brilliant I amaze myself. But I usually temper that with the fact that if I were as brilliant as I thought I was, why does it take me so long to realize these brilliant solutions? Just like you, I put my pants on one leg at a time. When I wear them. Anyway - its no secret that I despise running XP, and only do so in a virtual machine. Hardware limitations prevent me from running multiple VM's on my laptop efficiently, so I usually just don't run the one with XP. Problem is, while I'm afforded quite a bit of autonomy at work, occasionally I get called on not being 'online' that is to say, accessible via the corporate SameTime instant messenger client (imagine that, an unavailable sysadmin) or timely in my responses to Lotus Notes email (I've said for years Lotus Notes, IE & Photoshop is the only reason I still run Windows). So today, an amazing solution came to me - put my vmware XP instance on the corporate SAN! VNC costs my laptop almost nothing, and I can keep it up and running 24x7. They're happy, I'm happy. Freaking brilliant!



◾ Tags:
ehowton: (Default)

I'm no scholar

  • I was supposed to have recited the poem, "Paul Revere's Ride" to my class, but since I hadn't *actually* memorized it, I instead orated a very colorful retelling. The instructor was so enamored, I received an A.

  • I always had a book with me in school. When not working on a project, I was reading a novel. All my book reports were on novels I happened to be reading at the time. The only failing paper I turned in was my report on John Irving's The Water-Method Man. That evening, my father explained to me how to write a book report on a book such as that in a way to remain completely free of the subject matter.

  • For my December "Holiday-themed" report in Public Speaking I spent fifteen minutes discounting every myth of a traditional Christmas, revealing its origins, its symbolism, and its meanings. Most of this I was able to pull from and cite various Christian Encyclopedias. When I concluded, there was a stillness over the room I'd never experienced. I was the only student who wasn't applauded at the end of their speech.

  • I have read a lot of the classics. I love them. I did not, however, enjoy James Fenimore Cooper's The Last of the Mohican's. For my book report, I instead turned in what can only be called a graphic novel. It was a highly-detailed, full-color illustrated report, bound & covered with those report protectors. I received an A.

  • Once, we were discussing a new server. It was an ODS server. "Output Data System." Our manager was giving us the pitch on how our team was going to help test it. One of the new airmen asked what ODS meant. The manger thought for a moment and said, "I don't know." I dramatically reached for a dictionary, opened it, and read aloud, interrupting the meeting, "Odious - repugnant, detestable. Loathsome." Half the team had worked with me a long time, and laughed out loud at my show. The other half, believed I seriously thought our manager was talking about an odious server. I was amused at both outcomes.






Apple Support Forums

Concerning the OSX NFS issue, I made progress, then hit a wall, succumbing to submitting a request on the Apple Support Forum two days ago. I have not yet received a single reply:

I am trying to NFS export a FAT32 formatted external USB device, which fails with the error:

/sbin/nfsd: Can't export /Volumes/: Operation not supported (45)

I am able to export internal/HFS drives, which have the "Owners Enabled: Yes" attribute, and therefore assume I need to set the flag accordingly on my external drive.

Despite the fact that the device has been assigned a uuid (it appears to be in place in .fseventsd and running 'repair disk' echos it in syslog), I get this error when running vsdbutil:

vsdbutil: Couldn't update volume information for '/Volumes//': Invalid argument
vsdbutil: no valid volume UUID found on '/Volumes//': Invalid argument

And diskutil returns this:

Permissions are not enabled on the disk (-9973)

I attempted to add the uuid to /var/db/volinfo.database in order to set the permissions there, to no effect.

I don't believe that I am the only person who has attempted this, but I can find no evidence to the contrary. Thank you.






Ineffective Solutions

I can't get any linux software to burn dual-layer. This has negatively affected my inventory of blank dual-layer media. Thankfully, the price has easily dropped half of what my first spindle cost me. I can, however, burn dual-layer through my wmware XP installation. I decided to make a backup of my backup of my iTunes database in order to burn it off on dual-layer media (the only DL burner I have is on my ubuntu laptop). However, since I boot from my external 500GB drive, and that's also where I dumped my library (apparently, I don't have enough external drives capable of containing my entire repository of music) which means vmware gave me the finger when I asked it to also mount up my iTunes directory.

Fine. I relocated my XP .vmx image locally, then attached the directory. I decided to use iTunes built-in "Backup" solution, which failed after burning six DL DVD's.

Back to the drawing board.




Politics

The Greater Anna Chamber of Commerce is hosting "Meet the Candidate" tonight. I'm linking my candidate's site on this page (http://www.beckyglover.net) because this blog gets indexed by Google rather quickly. [livejournal.com profile] drax0r was testing various CMS's for all the projects we find ourselves in, and while were were dabbling in Drupal, we now jump for joy with Joomla. Both are cumbersome, but Joomla is far less difficult to work with. I'll be installing it soon at darkvoyager.homeunix.com to help familiarize myself with it, as there are several 'gotchas' that [livejournal.com profile] drax0r was able to overcome, and my familiarization with it will greatly increase my efficiency.




Pathetic

I have checked http://lalalandrecords.com twice a day, everyday, for a month now, in hopes they will soon be releasing Bear McCreary's Terminator: The Sarah Connor Chronicles score. I'm on their mailing list, but I always get the email a day after the announcement and I'm unsure I could handle that amount of delay. I often find myself on my Theme Clips post, listening to the two online offerings over and over in mournful anticipation.




This entry has gone on far too long.
◾ Tags:
ehowton: (Default)

Inability to run an extended desktop across two screens is one reason I've run XP for so long. There are other reasons - such as a requirement to run a full-version of Lotus Notes (8.5.1 beta installs flawlessly in native linux, but its too new for our server to accept connections from) and my unholy desire to never migrate from Photoshop to that blague they call GIMP.

There are several applications which will allow spanning of your desktop across monitors if you're using an nvidia or ati card, but corporate laptops invariably contain nothing more than a vanilla intel framebuffer, and I have spent months researching possible solutions to this annoying shortcoming.

Three weeks ago, I caught wind of XrandR, the X Resize and Rotate Extension to allow for just these types of modern-day necessities not thought of in 1984 when X was first released. Now - for me, this is a milestone, but that didn't make any of what I went though easy. The X configuration file, xorg.conf (previously xfree86.conf) is a fairly straightforward configuration file. That is, once you're familiar with how it works. Unfortunately, I experienced times when the operating system refused to believe what I'd told it, chose to ignore its video driver altogether, or simply stubbornly refused to do what I told it to. That being said, there will undoubtedly be repeats of that, but in the interim, I have a solid working conf file, and for the first time in three weeks, with visible, reboot-proof repeatable results.

Like most things in unix, there are many different ways to do things, and enough configuration options available to render nearly anything unusable. xrandr is no different. Once you've installed the xrandr libraries (its available as a precompiled binary in ubuntu) you can simply run

xrandr -q

to confirm your system sees two screens. Because xrandr is a bolt-on cli configuration, it actually takes the work off your xorg.conf file, making it much cleaner - much easier to read. I tried to use my existing one, but what worked best in the end, was creating an entirely new "bare bones" file, and working from it. xrandr really doesn't do a lot with it - basically, the only required modification is the addition of a single line telling your X server what size you want your stretched desktop to be. In my case, I wanted two 1280x1024 screens, so I added the bold line in the "Display" SubSection under the "Screen" Section:

SubSection "Display"
Depth 24
Modes "1280x1024@60"
Virtual 2560 1024
EndSubSection


That's it! You likely won't see the brilliance in this, until you see how empty and simplistic my full xorg.conf file is:
xorg.conf )
To take further advantage of my new workspace, I'm running XP under vmware on the left monitor - in fullscreen mode.1 This setup allows me to seamlessly move my mouse back and forth, and cut & paste between any and all windows. Much more efficient than either using a separate workspace under linux, or a KVM, as I can always see what's going on either screen.



In reality, the entire left half is displayed on my 17" laptop screen, and the right half on my 19" flat panel to the right of the laptop.


There are just a few 'gotchas' in this setup. First of all, DRI only works in virutal space no higher than a 2048x2048 square. But as I only require 2D space, I am unaffected by this limitation. Secondly, xrandr does not work with compiz. I really like compiz on a fast box - not because of its eye candy, rather because of its inherent functionality. Regardless, xrandr is able to provide what I was using compiz as a workaround for.

I've reached nirvana at last.



1 Using vmware 6.5.1 beta's "Unity" function, I can also minimize XP altogether, and allow my open apps to reside purely on my linux desktop - but its a little buggy in beta, up to and including disallowing me to drag them across screens.

Ref: http://www.thinkwiki.org/wiki/Xorg_RandR_1.2
◾ Tags:
ehowton: (Default)

The good news is that Fedora 9 is nothing like Ubuntu. The bad news is that Fedora 9 is nothing like Ubuntu. Let me explain. First of all, I haven't *actually* had to compile anything in a very long time. apt-get works like a dream. Auto-dependencies, auto-links, auto-run time scripts, and at the conclusion....auto-start. yum on the other hand, apt-get's retarded half-brother, has a sub-standard search capability, a half-assed dependency check, and when the dependancy check works, sometimes requires packages that either it doesn't have access to, or packages that don't exist for its distro and/or architecture.

I've been doing a lot of compiling lately.

And while I enjoy the control over not having to auto-remove entire suites of software just because I want to down-rev a single package, it is an awful lot of work. I've also never compiled on a box as fast as my CoreDuo laptop, which was at least a plesant surprise.

And while VMware 6.5 Beta has been rock-solid (locking up my entire laptop only once, likely due to running three virtual machine's simultaneously, over extending my memory and cpu allocation) it doesn't do well with my 16:10 aspect ratio widescreen monitor - VMware won't let me a set a 1440x900 resolution. VMware has a setting, "Match hosts resolution when fullscreen" but to date, it won't properly size. I fought hard enough with xorg to get it right since Gnome couldn't autodectect it on Fedora, but I don't think the fault lies with the host operating system.

I have a 19" 4:3 LCD panel at work, and I'm sure everything will work swimmingly tomorrow. The only downside to running VMware on linux vs. running it on XP is utilizing my laptop's display as an extended desktop. A serious hinderance to productivity. At any rate, I can now run Lotus Notes and IE as 'applications' on my linux desktop via VMware's Unity. Change is in the air.
◾ Tags:

December 2025

S M T W T F S
  1 2 3 45 6
7 8 9 10 11 12 13
14 15 1617 18 19 20
21 22 23 24 25 2627
28293031   

Most Popular Tags

Expand Cut Tags

No cut tags