- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Re: automating disabling ASR?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2010 01:25 PM
тАО01-14-2010 01:25 PM
My company uses several Proliant DL model servers... 320, 360, 380, 180, g1, g2, g3, g4, g5, g6, etc... quite a few different ones.
I'm trying to find out if there is a way to automate disabling the ASR feature as part of our deployment process for Windows servers..
I would need to be able to do it from a script.
1. I'm assuming there is no registry setting since this is an out-of-band from the OS kind of thing, yes/no?
2. is there a command line tool I could shell out to?
3. Could it be done via WMI?
any input would be appreciated, thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2010 01:34 PM
тАО01-14-2010 01:34 PM
Re: automating disabling ASR?
my comp .props .advanced .startup and recovery settings autorestart remove the tick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-14-2010 01:43 PM
тАО01-14-2010 01:43 PM
Re: automating disabling ASR?
my comp -> props -> advanced system settings -> start up and recovery 'settings' button -> in 'system failure' section, untick 'automatically restart'?
That's a hook into the HP ASR feature? I thought that was just part of Windows? Isn't HP ASR part of ILO stuff, operating outside of the installed operating system?
I just unticked it and re-ran the System Management Homepage and ASR is still enabled.
??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2010 10:56 AM
тАО01-15-2010 10:56 AM
Re: automating disabling ASR?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-15-2010 11:16 AM
тАО01-15-2010 11:16 AM
Re: automating disabling ASR?
anyone know?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-16-2010 08:07 PM
тАО01-16-2010 08:07 PM
Re: automating disabling ASR?
(At SERVER AVAILABILITY, ASR STATUS)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-17-2010 07:45 AM
тАО01-17-2010 07:45 AM
SolutionThe utility that can be used to use this xml file is called "conrep", it exists either as Windows, DOS, or Linux binary ...
Radek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2010 08:35 AM
тАО01-18-2010 08:35 AM
Re: automating disabling ASR?
Radek Zima:
That sounds interested, I'm not familiar with SSST. Is this something that needs to be a part of the Proliant Support Pack installation, or can it be done after PSP installation? More info would be very much appreciated. As I said, I'm not familiar with SSST at all, but it sounds like I should be. Will this work for all server models or only some?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2010 09:11 AM
тАО01-18-2010 09:11 AM
Re: automating disabling ASR?
here is the product homepage with documentation:
http://h18000.www1.hp.com/products/servers/management/toolkit/index.html
It is not connected to PSP, it's a separate product, I'm using this with PXE and it works on all "real" ProLiant servers (ML300/DL300 and above) ... Radek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2010 09:26 AM
тАО01-18-2010 09:26 AM
Re: automating disabling ASR?
thanks again for the reply. I was just reading up a bit on the SSST. I downloaded the win64 version and was looking into the sample files. I have a quick follow up question that if you know could save me a bunch of time.
I already have an established server deployment system (MDT 2010). I'm thinking I should be able to just use parts of the SSST to enhance my existing system by getting at those BIOS level settings. Using MDT I have the ability to launch any script I want from WinPE or the fully installed Windows OS, so I should be able to, for example, just set this HP ASR setting if I wanted, right? If so, could you let me know which parts I should look into to do this? I could use this ASR setting as my proof of concept to start integrating some of the SSST tools into my overall deployment system.
thanks again!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2010 09:29 AM
тАО01-18-2010 09:29 AM
Re: automating disabling ASR?
Hey, I just re-read your last post and I see you have already told me which specific part to use for ASR, awesome, thank you. So to wrap up I just need to know if I will be able to just do that one setting with SSST, without needing to use the whole SSST deployment process, since I am already using a different process.
thanks again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2010 10:08 AM
тАО01-18-2010 10:08 AM
Re: automating disabling ASR?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2010 02:29 PM
тАО01-19-2010 02:29 PM
Re: automating disabling ASR?
dpioctl 467156 last error was: 6
dpioctl 467152 last error was: 6
dpioctl 467156 last error was: 6
dpioctl 467152 last error was: 6
dpioctl 467156 last error was: 6
dpioctl 467152 last error was: 6
dpioctl 467156 last error was: 6
dpioctl 467152 last error was: 6
and so on...
had to ctrl-c to quit, then gave return code of 2, bad data file?
anyone know what I'm doing wrong here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2010 02:33 PM
тАО01-19-2010 02:33 PM
Re: automating disabling ASR?
You can add the version, something like this:
ad 2) no idea about your error messages, what box are you trying that on? from which version of Win PE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2010 02:43 PM
тАО01-19-2010 02:43 PM
Re: automating disabling ASR?
Actually I was running it from windows server 2008. I thought it was able to run from WinPE or the full installed Windows OS. No?
my test machine is a DL360 G4, currently has server 2008 R2 on it. I did not install Proliant Support Pack on this. I know you can't do everything with conrep without the health driver (IPMI driver), but as my first test I just tried to run the conrep command before installing the PSP.
my command was:
conrep -l -x c:\test.xml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2010 02:51 PM
тАО01-19-2010 02:51 PM
Re: automating disabling ASR?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2010 02:58 PM
тАО01-19-2010 02:58 PM
Re: automating disabling ASR?
Ok, thanks for that, I won't bother installing PSP to see if it makes a difference then. I will actually be doing this from WinPE as my final solution, I was just trying to do a little playing with it in 2k8.
I'll try from WinPE now.
1. Do I only need the conrep.exe and the settings xml file?
2. I have both x86 and x64 versions of WinPE in use, do you know if I can just use the x86 version of conrep.exe for both? or do I need to get the seperate 32 and 64 bit versions for each respective WinPE version?
thanks again!.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2010 03:05 PM
тАО01-19-2010 03:05 PM
Re: automating disabling ASR?
1) you need also libxml2.dll
2) you should use 32-bit toolkit in 32-bit winpe and 64bit in 64bit ... guest 32bit will work even in 64bit, but as it's a bit of pain to put these to WinPE, I will put there both to stay save ...
3) you will also need hpsstkio.sys from hpDrivers directory (if you unpack toolkit distribution file) in \system32 (may this be the issue with dpioctl?) ... I'm afraid you should be carefull here with 32/64bit ...
Radek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2010 03:31 PM
тАО01-19-2010 03:31 PM
Re: automating disabling ASR?
So I'm assuming I need to actually add the hpsstkio.sys driver file to my PE image and have it loaded before trying to run conrep? In other words, I can't just copy the file over the network into the PE windows\system32 directory and expect conrep to load it when it needs it? I use MDT and WAIK which pretty much takes care of adding drivers for me, so I have not had to manually mess with it at all. To do that though, I would need an accompanying inf file, which I don't see for hpsstkio.sys, I assume I can't just copy this file into system32 of my pe image offline, then boot and have it work, right? I would need to tell PE to actually load this driver somehow, right?
I think your right on my error being due to no hpsstkio.sys. I just ran it from PE by booting an existing PE image and just copying over conrep.exe... it gave me an error saying it needed libxml2.dll, as you also said, so I copied that file to the same directory as conrep.exe and tried again, this time, same error I was getting from 2008, dwIOCTL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-19-2010 03:53 PM
тАО01-19-2010 03:53 PM
Re: automating disabling ASR?
so if I only need to use conrep.exe should I be able to copy just conrep.exe, libxml2.dll, and hpsstkio.sys to the appropriate places in my PE image and use? No editing init files anywhere to actually load the hpsstkio.sys file?
I have to head home now, but I will try this in the morning. If I have to load the whole SSSTK PE package as detailed in that readme file that's what I will do, but considering I only need this for one setting, I'm trying to just do the simplest thing to accomplish just that. Thanks again for all your help, I do appreciate it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 06:15 AM
тАО01-20-2010 06:15 AM
Re: automating disabling ASR?
Can I do this with only conrep.exe, libxml2.dll, and hpsstkio.sys? If so how do I get hpsstkio.sys loaded? The only way I know to get drivers loaded in PE is if they have an inf file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 07:00 AM
тАО01-20-2010 07:00 AM
Re: automating disabling ASR?
hpsstkio.sys is resolved now I believe... I just put it in the wrong place, I put it in windows\system32 and it needs to be in windows\system32\drivers
now I get a return code of 2, bad data file? Here is my output:
conrep.exe -l -x:\testy.xml
Warning: conrep has detected that the Proliant Health Driver is not running.
On system that support iLo - full configuration is not possible without this driver being loaded.
conrep 3.00 - SmartStart Scripting Toolkit Configuration Replication Program
Copyright (c) 2007-2009 Hewlett-Packard Development Company, L.P.
System type: Proliant DL360 G4
ROM Date: 7/16/2007
ROM Family: P52
Processor Manufacturer: Intel
XML System Configuration: x:\testy.xml
Hardware Configuration: conrep.dat
Unsupported tag text ignored
Loading Configuration from conrep.dat
Conrep return code: 2
Conrep (code): 2
Here is the xml file:
1. so do I need the Health Driver in order to set this setting?
2. whats with the 'Loading Configuration from conrep.dat'? I know if you don't supply an 'output' file it uses conrep.dat but it's an 'output' file right? why would it be 'loading' anything from it? Do I need a conrep.dat file?
3. 'unsupported tag text ignored', does this mean my server does not support setting this setting from conrep?
now I'm honed in on being able to set BIOS settings from script in winPE or Windows, I have to make it work now :) What do I need to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 09:49 AM
тАО01-20-2010 09:49 AM
Re: automating disabling ASR?
sorry for delay
1) please also copy conrep.xml to the directory
2) the syntax should be:
conrep.exe -l -f your_file_with_config.xml
I go that that "dpioctl" error on non-proliant box, but it worked on DL380G6 server (but I have also other drivers from the hpDriver loaded in my WinPE image)
Radek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 11:37 AM
тАО01-20-2010 11:37 AM
Re: automating disabling ASR?
I am confused about the conrep parameters though, -f is for an 'output' file, why would that param be used for the setting(s) you are trying to configure, which is 'input'??
what is conrep.xml for? If I need to worry about supplying different files for different models then this is not worth the trouble for me. I mean, I could do it, I could use wmi to get model and dynamically create the conrep command to run but that seems like it will add a lot of administrative overhead as far as keeping these files updated as new models come out.
I don't know if I just don't know enough about it, and I'm trying to just get this one thing done without really taking the time to learn the whole SSST architecture, or what, but this is becoming less and less attractive to me. I was thinking if I can take care of this one setting it would basically open the door to extending my deployment system to start automating BIOS setup.
I'm loosing faith considering conrep's 'output file' parameter is actually an 'input' file... something tells me this is not a finished product?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2010 12:19 PM
тАО01-20-2010 12:19 PM
Re: automating disabling ASR?
1) yep, the naming is strange, but "-f" is for xml file you want to use ... with "-s" it will be the one you want to create, so it will be "output" ... with "-l" it does not make sense to call it "output" ... but they do :)
2) conrep.xml contains some basic definitions about the configuration xml structure, I did not realize you need this as well ...
3) it's a finished product, it is used heavily inside HP's product "RDP" for unattended instalaltions, but it's somehow hidden for normal users, tweaking is necessary for more complicated stuff ... I thought it will be easy task as I'm using that regularly, but inside RDP, so WinPE image is ready for me and contains everything ...
Hope you will find a way how to solve it, either with SSST or something else ...
Radek