Adding a EXP810 to an existing DS4700

More information: ftp://ftp.software.ibm.com/systems/support/system_x_pdf/59y7287.pdf

Connecting storage expansion enclosures at the end (bottom) of a drive loop 

To add a 16-drive expansion enclosure, for example, an EXP810 or EXP420 to the DS4000 subsystem configuration, you basically follow the same procedure as in adding the 14-drive enclosure to a DS4000 subsystem configuration; however, the port connections on the 16-drive enclosure are different, as illustrated in Figure 4and the three steps that follow it.

1. Insert the small form-factor pluggables (SFPs) or gigabit interface converters (GBICs) into only those ports that you intend to use. Do not leave GBICs or SFPs inserted into port connectors without connecting them to other ports using cables.
2. Extend one of the drive loops (that is, drive loop A) in a DS4000 storage subsystem redundant drive loop pair by connecting the OUT port of the last storage expansion enclosure to the IN port of the storage expansion enclosure as shown in Figure 1Note: The port name on an EXP810 is not labeled IN. See Figure 4 for details.

Attention: Carefully reconfigure only one drive loop at a time, making sure that the drive loop that you modify is correctly connected and in Optimal state before you attempt to reconfigure another drive loop. Take this precaution to prevent the arrays from being inadvertently failed by the DS4000 storage subsystem controllers, which happens when two or more drives in the arrays cannot be reached through either drive loop in the redundant drive loop pair.

3. Power on the added storage expansion enclosure unit.
4. Wait a few seconds; verify that the port bypass LEDs of all of the ports in drive loop A, now extended to the storage expansion enclosure, are not lit. Using the DS Storage Manager Client Subsystem Management window, verify that the storage expansion enclosure is added and displayed in the Logical/Physical view of the window.Correct any errors before you proceed to step 5. For port bypass, complete the following steps:

  1. Make sure that the SFPs and GBICs or fiber cables are in good condition.
  2. Remove and reinsert SFPs, GBICs, and fiber cables.
  3. Make sure the drive expansion enclosure speed switch is set to the same speed as the existing drive expansion enclosures and the DS4000 storage subsystem speed setting.
  4. Make sure that the ESM is functioning correctly by removing and swapping it with the other ESM in the same drive expansion enclosure. For enclosure ID conflict, set the drive expansion enclosure ID switch to values that are unique from the current settings in the existing drive expansion enclosures and storage server.

 

Call IBM support for assistance, if the problem remains.

5. In the other drive loop (drive loop B) in a DS4000 storage subsystem redundant drive loop pair, remove the connection from the storage subsystem drive loop port to the OUT port of the last storage expansion enclosure and connect it to the OUT port of the drive enclosure as shown in Figure 2.Note: The port name on an EXP810 is not labeled OUT. See Figure 4 for details.
6. Wait a few seconds; verify that the port bypass LEDs of the two ports in the connection between the storage subsystem drive loop port and the OUT port of the drive enclosure are not lit. Using the DS Storage Manager Client Subsystem Management window, verify that the drive enclosure does not indicate the Drive enclosure lost redundancy path error. See step 4 for possible corrective actions, as needed.Note: The existing storage expansion enclosures are shown with “Drive enclosure lost redundancy” path errors until you establish the Fibre Channel cabling connection that is described in step 7.
7. In drive loop B, cable the drive enclosure IN port to the OUT port of the last enclosure in the already functioning storage expansion enclosure drive loop, as shown in Figure 3.
8. Wait a few seconds; verify that the port bypass LEDs of all of the ports in drive loop B to which you have added a connection are not lit. Using the DS Storage Manager Client Subsystem Management window, verify that all of the drive enclosures in the DS4000 redundant drive loop pair to which the enclosure was added do not report the “Drive enclosure lost redundancy” path error.

 

Figure 1: Cabling a single drive enclosure to the end of a functioning drive loop (step 1 of 3)

Figure 2: Cabling a single drive enclosure to the end of a functioning drive loop (step 2 of 3)

 

Figure 3: Cabling a single drive enclosure to the end of a functioning drive loop (step 3 of 3)

 

Figure 4: Cabling an EXP810 to the end of a functioning drive loop

Connect Powervault 220s to a server

Cabling Your System for Joined-Bus, Split-Bus, or Cluster Mode

How you cable your storage system to your host system(s) depends on the bus configuration you choose: joined-bus, split-bus, or cluster.

  • A joined-bus configuration is one in which two SCSI buses are joined to form one contiguous bus.
  • A split-bus configuration enables you to connect your storage system to either one server with a multichannel RAID controller, or to two servers. However, if one server fails, information controlled by that server is inaccessible.
  • A cluster configuration offers multiple paths to the system, which provides high data availability.

Joined-Bus Configuration

 

Split-Bus Configuration (One Server)

Cluster Configuration or Split-Bus Configuration (Two Servers)

SCSI ID Assignments

Configuration Cables
Used
SCSI IDs Used
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Joined-bus 1                 H S            
Split-bus—primary EMM 1                 H S            
Split-bus—secondary EMM 1                 H S            
Cluster 2 S               H H            
NOTE: The unshaded SCSI IDs are available for hard-drive use as indicated for each configuration. The reserved SCSI IDs are used as follows:
H = used by the host system initiator.
S = used by the storage system SES.

SCSI ID Numbers and Associated Hard Drives 

 

Split-Bus Module Modes

Mode LED Icon Position of Bus Configuration Switch Function
Joined-bus mode  

 

Top LVD termination on the split-bus module is disabled, electrically joining the two SCSI buses to form one contiguous bus. In this mode, neither the split-bus nor the cluster LED indicators on the front of the system are illuminated.
Split-bus mode  

 

Center LVD termination on the split-bus module is enabled and the two buses are electrically isolated, resulting in two seven-drive SCSI buses. The split-bus LED indicator on the front of the system is illuminated while the system is in split-bus mode.
Cluster mode  

 

Bottom LVD termination is disabled and the buses are electrically joined. The cluster LED on the front of the system is illuminated while the system is in cluster mode.
More information:

CPUID – VMotion CPU Compatibility

We have problems doing a vmotion (ESX 4) from virtual machines from a Dell R710 to a Dell PowerEdge 2950. It gives a SSE4.2 error before we can vmotion it.

A quick solution is to set CPU Masks. To do this, do the following:

  1. Shut down the server
  2. Edit settings
  3. Go to Options
  4. Choose CPUID Mask
  5. Select the Expose Options
  6. Click Advanced
  7. Set the following options:
    Feature Level Row Mask
    SSE4.2 1 ecx —- —- 0–0 —- —- —- —- —-
    80000001 edx —- 0— —- —- —- —- —- —-
  8. Press OK twice

Now you can do a vmotion.

How to backup a MsSQL database to a Share

 Use a MsSQL query to backup a database to a network share:

EXEC master.dbo.sp_configure 'show advanced options', 1
RECONFIGURE
EXEC master.dbo.sp_configure 'xp_cmdshell', 1
RECONFIGURE

exec master.dbo.xp_cmdshell 'net use Z: \\sharename password /user:user'
BACKUP DATABASE Staging TO DISK='Z:\database.bak'
EXEC master.dbo.xp_cmdshell 'net use /delete Z:'

EXEC master.dbo.sp_configure 'xp_cmdshell', 0
RECONFIGURE
EXEC master.dbo.sp_configure 'show advanced options', 0
RECONFIGURE

Sync Google Calendar & Outlook 2010

Google Calendar Sync is an official tool from Google for syncing Outlook with Google calendar. At the moment it is only compatible with Outlook 2003 & 2007 versions, Outlook 2010 is not yet supported but you can still use it with Outlook 2010 (Beta & RTM) by tweaking Outlook executable file. In this post we will guide you through step-by-step procedure of tweaking Outlook 2010 executable file to finally make Outlook 2010 work with Google Calendar Sync.

Read more: http://www.addictivetips.com/microsoft-office/sync-google-calendar-outlook-2010-quick-fix

Cannot issue a new session ticket because the maximum number of tickets have been issued

This issue occurs when the Console tab is being viewed on 10 or more virtual machines in under 30 seconds.

This issue occurs when the number of session tickets exceeds the the amount of default concurrent connections that vpxd allows.    To workaround this issue, increase the Session Ticket maximum value to 1024.   To increase the Session Ticket maximum value:  

  1. Open the vCenter Server’s vpxd.cfg file in text editor.Notes:
    • In Windows Server 2003, the vpxd.cfg is located on the vCenter Server in C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\. In Windows Server 2008, it is located in C:\ProgramData\VMware\VMware VirtualCenter\.
    • For more information about editing files, see Editing files on an ESX host using vi or nano (1020302).
  2. In between the vpxd tags, insert:     <sessionTicket>
            <max>1024</max>
         </sessionTicket>
  3. Restart the VMware VirtualCenter Server service. For more information, see Stopping, starting, or restarting vCenter services (1003895).

VMware KB: 1020496

PowerCLI: Windows Disk Alignment on VMware

Searching for disk alignments off the windows 2003 servers on VMware ESX i found a CLI script which can automate the search. The original site: http://ict-freak.nl/2009/12/15/powercli-check-partition-alignment-windows-vms-only/

Script:

$myCol = @()
$vms = get-vm | where {$_.PowerState -eq "PoweredOn" -and `
$_.Guest.OSFullName -match "Microsoft Windows*" } | Sort Name 

foreach($vm in $vms){
$wmi = get-wmiobject -class "Win32_DiskPartition" `
-namespace "root\CIMV2" -ComputerName $vm            

    foreach ($objItem in $wmi){
        $Details = "" | Select-Object VMName, Partition, Status
            if ($objItem.StartingOffset -eq "65536"){
                $Details.VMName = $objItem.SystemName
                   $Details.Partition = $objItem.Name
                $Details.Status = "Partition aligned"
            }
            else{
                $Details.VMName = $objItem.SystemName
                   $Details.Partition = $objItem.Name
                $Details.Status = "Partition NOT aligned"
            }
    $myCol += $Details
    }
}
$myCol | Export-Csv -NoTypeInformation "C:\PartitionAlignment.csv"
#$myCol | Export-Clixml "C:\PartitionAlignment.xml"

PowerCLI: VMware Backup Script

Searching for way’s to create easy backup’s of a few virtual machines, i came on the website gestalt it (http://gestaltit.com/all/tech/virtualization/simon/vmware-backup-powercli-script/).

On this website there is a script which will create a snapshot of a VM, then clone it (thin provisioned) and finally remove the snapshot off the original VM.

Backup Script

# Import Backup CSV
$backupinfo =  Import-Csv C:\scripts\mybackups.csv

#Set Date format for clone names
$date = Get-Date -Format "yyyyMMdd"

#Set Date format for emails
$time = (Get-Date -f "HH:MM")

#Connect to vCenter
Connect-VIServer ""

foreach ($customer in $backupinfo)
{
	$vm = Get-VM $customer.MasterVM

	#Send Start Email
	C:\scripts\backupstartedemail.ps1

	# Create new snapshot for clone
	$cloneSnap = $vm | New-Snapshot -Name "Clone Snapshot"

	# Get managed object view
	$vmView = $vm | Get-View

	# Get folder managed object reference
	$cloneFolder = $vmView.parent

	# Build clone specification
	$cloneSpec = new-object Vmware.Vim.VirtualMachineCloneSpec
	$cloneSpec.Snapshot = $vmView.Snapshot.CurrentSnapshot

	# Make linked disk specification
	$cloneSpec.Location = new-object Vmware.Vim.VirtualMachineRelocateSpec
	$cloneSpec.Location.Datastore = (Get-Datastore -Name $customer.BackupDS | Get-View).MoRef
	$cloneSpec.Location.Transform =  [Vmware.Vim.VirtualMachineRelocateTransformation]::sparse

	$cloneName = "$vm-$date"

	# Create clone
	$vmView.CloneVM( $cloneFolder, $cloneName, $cloneSpec )

	# Write newly created VM to stdout as confirmation
	Get-VM $cloneName

	# Remove Snapshot created for clone
	Get-Snapshot -VM (Get-VM -Name $customer.MasterVM) -Name $cloneSnap | Remove-Snapshot -confirm:$False

	#Send Complete Email
	C:\scripts\backupcompletedemail.ps1
}
#Disconnect from vCentre
Disconnect-VIServer -Confirm:$false

Send Started Email Script

#Set Date format for emails
$timestart = (Get-Date -f "HH:MM")

$emailFrom = ""
$emailTo = ""
$subject = "[$vm - Backup Started]"
$body = "Backup Details
-------------
VM Name:",$vm,"
Clone Name:","$vm-$date","
Target Datastore:", $customer.BackupDS,"
Time Started:", $timestart

$smtpServer = ""
$smtp = new-object Net.Mail.SmtpClient($smtpServer)
$smtp.Send($emailFrom,$emailTo,$subject,$body)

Send Completed Email Script

#Set Date format for emails
$timecomplete = (Get-Date -f "HH:MM")

$emailFrom = ""
$emailTo = ""
$subject = "[$vm - Backup Complete]"
$body = "Backup Details
-------------
VM Name:",$vm,"
Clone Name:","$vm-$date","
Target Datastore:", $customer.BackupDS,"
Time Started:", $timestart,"
Time Completed:", $timecomplete
$smtpServer = ""
$smtp = new-object Net.Mail.SmtpClient($smtpServer)
$smtp.Send($emailFrom,$emailTo,$subject,$body)

CSV File

The content of the csv file is very simple. This is what mine looks like:

MasterVM,BackupDS
VM1,BackupDataStore
VM2,BackupDataStore