All pastes #395806 Raw Edit

Stuff

public text v1 · immutable
·published 2007-03-15 09:02 UTC
rendered paste body
// Name: Enable Drive Migration 
//  
// Date: 11-20-2005 
// Revision: 1.4
//   Version 1.4 fixed the misleading on/off comment - CMVC 296330. 
// Comments: 
// This script is intended to work with controllers at Firmware 05.30.xx.xx and 
// higher only. 
//
// This script returned the FAStT to it’s default operation of importing 
// configuration informration from disks. 
//
// This script will reboot both controllers in the FAStT unit. If your 
// hosts are configured for multi-path support, this can be done with I/O 
// running to the controllers. If your hosts are not configured for 
// redundant access you must schedule downtime before running this 
// script. 
//
// See the directions at the bottom of this script if you do not have multi 
// path software installed and wish to prevent the controller restarts 
//
// Show the current state of Drive Migration 
show "Showing the current state of Drive Migration. The return value should";
show "be 82, which means drive migration is disable."; 
show " ";
show controller[a] nvsrambyte[0x35]; 
show controller[b] nvsrambyte[0x35]; 
//
// Setting Drive Migration to Enable 
show "Setting Drive Migration to Enable";
set controller[a] nvsrambyte[0x35] = 0x02,0x00; 
set controller[b] nvsrambyte[0x35] = 0x02,0x00; 
show "Showing the new state of Drive Migration. The return value should";
show "be 80, which means drive migration is enable. This should be the ";
show "default setting for the DS4000 controllers. ";
show " ";
show controller[a] nvsrambyte[0x35]; 
show controller[b] nvsrambyte[0x35]; 
//
// Reset Controllers to make changes active. Note: 
// To prevent the controllers from restarting, add ’//’ to the beginning 
// of each of the lines below. This will comment out the restart of the 
// controllers. Important: The controllers will have to be restarted for the 
// changes in this script to take effect. 
//
show "Resetting controller A"; 
reset Controller [a]; 
show "Resetting controller B"; 
reset Controller [b]; 
show "Drive Migration is now enabled.";