ProLiant Servers (ML,DL,SL)
cancel
Showing results for 
Search instead for 
Did you mean: 

CPQACUXE -reset utility (within WinPE)

blockhead
Advisor

CPQACUXE -reset utility (within WinPE)

I need to overwrite any existing array configuration on my system using the cpqacuxe.exe utility so that I can then lay down a new configuration, all while booted up in a WinPE environment. When I run "cpqacuxe.exe -i" against an existing configured server it will not overwrite it with the new config file. If I run "cpqacuxe -reset" it does not actually reset the controller.

Am I missing a swtch of some sort? Is there anyway to delete the config on the controller so that I can sned a new config down?

thanks in advance.
18 REPLIES
Neal Bowman
Respected Contributor

Re: CPQACUXE -reset utility (within WinPE)

You need to modify the captured ini file. Change the word "Configure" to "Reconfigure" to allow it to over-write an existing configuration. Otherwise, you can only create an array from a blank array setup.

Hope this helps,

Neal
blockhead
Advisor

Re: CPQACUXE -reset utility (within WinPE)

Thanks for the response. Unfortunately that didn't work either. Below is a copy of .ini file. If the "reconfigure" won't work isn't there another utility I can call out to remove the array config from within WinPE? Also, what's the purpose of running "cpqacuxe.exe -reset"?

; Date captured: Thu Feb 08 16:47:00 2007
; Version: 7.70.12.0

Action= Reconfigure
Method= Custom

; Controller Specifications
; Controller HP Smart Array 5i
Controller= Slot 0
ReadCache= 100
WriteCache= 0
RebuildPriority= Low
ExpandPriority= Low
SurfaceScanDelay= 15

; Array Specifications
Array= A
; Array Drive Type is Parallel SCSI
; 2:0 (18.2 GB),2:1 (18.2 GB)
Drive= 2:0,2:1
OnlineSpare= No

; Logical Drive Specifications
LogicalDrive= 1
RAID= 1
Size= 17350
Sectors= 32
StripeSize= 128
ArrayAccelerator= Enabled
Neal Bowman
Respected Contributor

Re: CPQACUXE -reset utility (within WinPE)

blockhead-

Create a new ini file, named clearcfg.ini, with the following lines:

Action= Reconfigure
Method= Custom

Controller= Slot 0
ClearConfigurationWithDataLoss= Yes

You can then run cpqacuxe -i clearcfg.ini, followed by cpqacuxe -i yourfile.ini to set the new config.

Neal
blockhead
Advisor

Re: CPQACUXE -reset utility (within WinPE)

That indeed clears out the drives (got to make sure to change the slot # of controller before it will work). But I still can't overlay the new config. What I'm doing to test is to run the clearconfig as you instructed, then I run a capture to see that it actually cleared it (see below for results of the new .ini). Then I run the previously captured config file and it fails to overwrite and create the new volume.

; Date captured: Thu Feb 08 15:26:24 2007
; Version: 7.70.12.0

Action= Configure
Method= Custom

; Controller Specifications
; Controller HP Smart Array P400
Controller= Slot 9
ReadCache= 50
WriteCache= 50
RebuildPriority= Medium
ExpandPriority= Medium
SurfaceScanDelay= 15
; Unassigned SAS Drives
; 1I:1:2 (36 GB),1I:1:1 (36 GB)
blockhead
Advisor

Re: CPQACUXE -reset utility (within WinPE)

According to this link: http://docs.hp.com/en/5991-6250/ch05s02.html

It tells me to do this:

Input with reset: CPQACUXE -i-with-reset FILENAME [-internal | -external] [reset] -E FILENAME

I've tried this six ways to sundown and it don't seem to work as advertised.
Neal Bowman
Respected Contributor

Re: CPQACUXE -reset utility (within WinPE)

In reading through the link you sent, I believe the correct syntax should be:

cpqacuxe -i-with-reset yourfile.ini

In reviewing your post with the results from the capture, the file indicates you are now working with SAS drives and a P400 controller. You will need two config files to make this work, as SAS drives require a different drive= syntax than regular SCSI drives.

Confirm the version of cpqacuxe you are using, as it may not be new enough to work with the P400 controller.

Create SCSI.ini as follows:

; Controller Specifications
; Controller HP Smart Array 5i
Controller= Slot 0
ReadCache= 100
WriteCache= 0
RebuildPriority= Low
ExpandPriority= Low
SurfaceScanDelay= 15

; Array Specifications
Array= A
; Array Drive Type is Parallel SCSI
; 2:0 (18.2 GB),2:1 (18.2 GB)
Drive= 2:0,2:1
OnlineSpare= No

; Logical Drive Specifications
LogicalDrive= 1
RAID= 1
; Set your logical drive size below, or
; use MAX to use all available space
Size= 17350
Sectors= 32
StripeSize= 128
ArrayAccelerator= Enabled


To configure a server with SAS drives, use the following for SAS.ini:

; Controller Specifications
; Controller HP Smart Array P400
Controller= Slot 9
ReadCache= 50
WriteCache= 50
RebuildPriority= Medium
ExpandPriority= Medium
SurfaceScanDelay= 15

; Array Specifications
Array= A
; Array Drive Type is SAS
; 1I:1:2 (36 GB),1I:1:1 (36 GB)
Drive= 1I:1:1,1I:1:2
OnlineSpare= No

; Logical Drive Specifications
LogicalDrive= 1
RAID= 1
; Set your logical drive size below, or
; use MAX to use all available space
Size= MAX
Sectors= 32
StripeSize= 128
ArrayAccelerator= Enabled


Now you should be able to run cpqacuxe -i-with-reset SCSI.ini or cpqacuxe -i-with-reset SAS.ini.

You should also find error.ini in the same folder this file is run from.
blockhead
Advisor

Re: CPQACUXE -reset utility (within WinPE)

I'm using the one off the smartstart 1.6 toolkit, version 7.70.12.0...I believe it to be the latest available.

I'm not sure I agree about the SAS drive thing. The utility works fine if the controller has never been configured. It just refuses to work with a controller that's already been configured. I'm using a capture file taken from a P400 and laying it right back down on a P400 after trying to clear the config.

I have also tried using the -i-with-reset command with no success.
Neal Bowman
Respected Contributor

Re: CPQACUXE -reset utility (within WinPE)

In doing the copy & paste between screens, it seems as if I left out two lines from each of the ini files I provided earlier. Sorry about that. Please add to the beginning of each file:

Action= Reconfigure
Method= Custom

I did a test with my WinPE disk here, and I was able to clear a config, then push a new config out to the controller. I did have to perform a reboot before DISKPART would recognize the logical drive the array was presenting. I used the Size= MAX parameter in the new config, and it did take it. I am doing this on a DL360G2, as I do not have ready access to a server with SAS drives and controllers.

Neal
Neal Bowman
Respected Contributor

Re: CPQACUXE -reset utility (within WinPE)

By the way, do you find error.ini? Can you post the results?
Neal Bowman
Respected Contributor

Re: CPQACUXE -reset utility (within WinPE)

Blockhead- further review of the 1.6 SSTK docs reveals when using Custom Method, the correct syntax for selected lines is:

OnlineSpare = NONE
blockhead
Advisor

Re: CPQACUXE -reset utility (within WinPE)

I'm going to try it on a 6i to see what happens.

error.ini results:
ACU Configuration Replication Error
ERROR: (2832) Invalid Physical Drive. Possible reasons for this include: a typing error, the drive already exists in an Array, the drive type does not match, or it is a failed drive.

Controller: Slot 9

Array: A


Neal Bowman
Respected Contributor

Re: CPQACUXE -reset utility (within WinPE)

Notice the difference in the Drive= lines for SCSI and SAS.

SCSI
Drive= 2:0,2:1

SAS
Drive= 1I:1:1,1I:1:2

The SAS drives use the format of Port:Box:Bay while SCSI uses Port:Bay format. That may explain the issues you are having.
blockhead
Advisor

Re: CPQACUXE -reset utility (within WinPE)

Here's the one I've been using. I believe the formatting to be correct. In fact, this is what was captured back by doing a cpqacuxe -c after manually cnfiguring via smartstart, so I don't believe it to be a syntax thing, but could be a SAS/P400 incompatibility thing with the utility....do you have a P400 controller to test with?
All I did was modify the drive size to prepare for image capture routines...thanks for sticking with me.

; Date captured: Fri Jan 26 21:46:45 2007
; Version: 7.70.12.0

Action= Reconfigure
Method= Custom

; Controller Specifications
; Controller HP Smart Array P400
Controller= Slot 9
ClearConfigurationWithDataLoss= Yes
ReadCache= 50
WriteCache= 50
RebuildPriority= Medium
ExpandPriority= Medium
SurfaceScanDelay= 15

; Array Specifications
Array= A
; Array Drive Type is SAS
; 2I:1:2 (36 GB),2I:1:1 (36 GB)
Drive= 2I:1:2,2I:1:1
OnlineSpare= No

; Logical Drive Specifications
LogicalDrive= 1
RAID= 1
Size= 3000
Sectors= 32
StripeSize= 128
ArrayAccelerator= Enabled
Neal Bowman
Respected Contributor

Re: CPQACUXE -reset utility (within WinPE)

Here is a copy of a config file I had late last year, for a DL360G5 with SAS drives. There is very little difference between my copy and yours.

; Date captured: Wed Dec 27 15:44:28 2006
; Version: 7.60.18.0

Action= Reconfigure
Method= Custom

; Controller Specifications
; Controller HP UNKNOWN_CHOICE
Controller= Slot 0
ReadCache= 100
WriteCache= 0
RebuildPriority= High
ExpandPriority= Low
SurfaceScanDelay= 15

; Array Specifications
Array= A
; Array Drive Type is SAS
; 1I:1:1 (72 GB),1I:1:2 (72 GB)
Drive= 1I:1:1,1I:1:2
OnlineSpare= No

; Logical Drive Specifications
LogicalDrive= 1
RAID= 1
Size= 12000
Sectors= 32
StripeSize= 128
ArrayAccelerator= Enabled

; Logical Drive Specifications
LogicalDrive= 2
RAID= 1
Size= MAX
Sectors= 32
StripeSize= 128
ArrayAccelerator= Enabled



You may want to try removing the line ClearConfigurationWithDataLoss or change the value to No.

Create a new file (clearcfg.ini) with only these lines:

Action= Reconfigure
Method= Custom
Controller= Slot 0
ClearConfigurationWithDataLoss= Yes

Run this command first to clear the config.
cpqacuxe -i clearcfg.ini

Then run your other modified file (ClearConfigurationWithDataLoss=No) to try setting the array config.

I should have a DL380G5 here next week to do some follow-up testing on.
blockhead
Advisor

Re: CPQACUXE -reset utility (within WinPE)

I've tried it both ways in an effort to get it to work. What I sent you was the latest iteration of my config file.

Dig this, I can get it to work with a 5x/6x controller. I also have a 360 G2 I'm using. Here's the reset.ini file and then the subsequent config.ini:

clearconfig360g2.ini file contents:
Action= configure
Method= Custom
Controller= Slot 0
ClearConfigurationWithDataLoss= Yes

+++++++++++
5x6xtest.ini file contents

Action= ReConfigure
Method= Custom

; Controller Specifications
; Controller HP Smart Array 5i
Controller= Slot 0
ReadCache= 100
WriteCache= 0
RebuildPriority= Low
ExpandPriority= Low
SurfaceScanDelay= 15

; Array Specifications
Array= A
; Array Drive Type is Parallel SCSI
; 2:0 (18.2 GB),2:1 (18.2 GB)
Drive= 2:0,2:1
OnlineSpare= No

; Logical Drive Specifications
LogicalDrive= 1
RAID= 1
Size= 3000
Sectors= 32
StripeSize= 128
ArrayAccelerator= Enabled
Neal Bowman
Respected Contributor

Re: CPQACUXE -reset utility (within WinPE)

Hey Blockhead-
I finally got my DL380G5 server this week and was able to do some testing with the cpqacexe utility. Here is a copy of the ini file that I was ablw to use to push down an array config:

; Date captured: Tue Feb 13 21:39:46 2007
; Version: 7.60.18.0

Action= Reconfigure
Method= Custom

; Controller Specifications
; Controller HP Smart Array P400
Controller= All
ReadCache= 50
WriteCache= 50
RebuildPriority= High
ExpandPriority= Low
SurfaceScanDelay= 15

; Array Specifications
Array= A
; Array Drive Type is SAS
; 2I:1:2 (72 GB),2I:1:1 (72 GB)
Drive= 2I:1:2,2I:1:1
OnlineSpare= 2I:1:3

; Logical Drive Specifications
LogicalDrive= 1
RAID= 1
Size= 17997
Sectors= 32
StripeSize= 128
ArrayAccelerator= Enabled

; Logical Drive Specifications
LogicalDrive= 2
RAID= 1
Size= MAX
Sectors= 32
StripeSize= 128
ArrayAccelerator= Enabled

I do have 3 SAS drives, and have an online spare configured. Change the line OnlineSpare= 2I:1:3 to OnlineSpare= None to see if it works for you.

Neal
blockhead
Advisor

Re: CPQACUXE -reset utility (within WinPE)

Hi Neal, it's blockhead again. I'm working well with the P400s now. But now I'm struglling with the 5i. I erase the config the same way we discussed before, and then apply the new config file to creat mirror set and logical drive, but WinPE doesn't see any disks. So I restart dmserver, still nothing. After that I try a diskpart rescan...still no disk. Only if I reboot again does WinPe see the disk. I don't want to have to reboot. Any ideas?
Neal Bowman
Respected Contributor

Re: CPQACUXE -reset utility (within WinPE)

Hey blockhead,

Without doing a reboot, the only thing that really comes to mind is to go into F8 at post to delete the logical drives/arrays that are already defined. The array controller should show an updated drive count of 0 (zero), then you should be able to go into WinPE and configure the drives as normal.

Thoughts??

Neal