- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- ProLiant Deployment and Provisioning
- >
- Re: STATEMGR.EXE from SS Scripting Toolkit
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
Forums
Discussions
Discussions
Discussions
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
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
07-26-2004 08:31 AM
07-26-2004 08:31 AM
STATEMGR.EXE from SS Scripting Toolkit
I've tried it on BL20pG2, DL380G3, and an Evo D510 SFF that I use for testing... none return any errors, but none retain info at all.
In theory, I should get "Phase: 4" every time I type "statemgr /r phase" after I've typed "statemgr /w phase 4" right?
I get "phase: 0" every time.
Where does statemgr store its info?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 11:29 PM
07-26-2004 11:29 PM
Re: STATEMGR.EXE from SS Scripting Toolkit
It returns the value as an errorlevel. Try the following batch file.
statemgr /w phase 4
statemgr /r phase
if errorlevel 4 goto itworks
echo did not work
goto exit
:itworks
echo it works
:exit
Infrastructure Architect
HP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 11:52 PM
07-26-2004 11:52 PM
Re: STATEMGR.EXE from SS Scripting Toolkit
Anybody else having problems using it on blades specifically?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-20-2005 02:44 AM
01-20-2005 02:44 AM
Re: STATEMGR.EXE from SS Scripting Toolkit
I have exactly the same problem as explained below. Did you find a solution since you posted your message?
----------------
I was using statemgr from the smartstart scripting tool dos v241 in a very efficient manner to automate servers installation.
I am currently "migrating" my master from a Windows 98 boot version to a WinPE version. That's why I use now the new version of statemgr from the SmartstartScriptingToolKit for WinPE (Win32 edition) and it doesn't work.
On a server already installed with Windows 2003 when I type the following command to write the value 4 in the variable called Phase:
statemgr /w phase 4
I get
Message:
dwIOCTL:467476 Last Error was:6
phase:4
And when I typed the following command to read the value of the variable:
statemgr /r phase
I get a 0 instead of the value I wrote earlier (4)
dwIOCTL:467472 Last Error was:6
phase:0
It also happens when I use the "-" instead of the "/" like "statemgr -w phase 4" instead of "statemgr /w phase 4"
If I boot on a Proliant DL380 G4 from my WinPE CDROM and type the same commands, I get the same problem.
If I boot from a bootable floppy and type the same commands with the old version of statemgr, it works fine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-21-2005 04:36 AM
01-21-2005 04:36 AM
Re: STATEMGR.EXE from SS Scripting Toolkit
I posted a similar question a week or so ago. Look farther down on the page.
Your two servers both contain the Broadcom NIC. I've rolled my own DOS boot disk that will load the Netflex, Intel 100, Intel 1000 or Broadcom NIC driver depending on the server model. If I boot this disk on a DL-380-G3 or -G4, State Manager fails as you describe. Conrep also doesnt work. If I boot the disk on a server using the other three NIC's, State Manager and Conrep work ok.
I think there is some conflict between the Broadcom Q57.dos driver and the smart start scripting tools, but I've pretty much decided its not a memory issue.
I've since added the intel NDIS driver for PXE and put this disk on a PXE server. When I PXE boot the same DL-380-G3 or -G4's that previously failed, the tools now work when using the PXE NIC driver.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2005 11:44 PM
01-23-2005 11:44 PM
Re: STATEMGR.EXE from SS Scripting Toolkit
My problem seems to be fixed now.
I updated the server with CP004479 which is version 7.80 of my network card (NC 7782 Gigabit Ethernet NIC).
The previous version installed was 7.40
The statemgr command now works on my W2K3 server. (I now need to make it work when I boot with WinPE).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2005 09:09 PM
01-30-2005 09:09 PM
Re: STATEMGR.EXE from SS Scripting Toolkit
I am not sure where the problem was as I didn't do the WinPE image myself but the reasons probably were one of the following:
-The WinPE image was made with a Windows 2003 instead of a Windows XP SP2 CD.
-The WinPE image was created with the mkimg command without the /PnP /WMI options.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2011 07:03 AM
08-03-2011 07:03 AM
Re: STATEMGR.EXE from SS Scripting Toolkit
Hi everyone - I realise this thread has been dead for a while but I've experienced the same thing on a DL380 G7 just recently and was hoping that someone might be able to clue me in.
I use a WinPE disk to build the server and keep track of where in the batch file the process is with the statemgr.exe program.
However, whereas it works perfectly on G3's, G4's, G5's and G6's I've got some G7's to test now and it doesn't work.
If I use statemgr.exe /w testParameter 10
it shows a successfull message:
testParameter:10
but if I then try and read the value back I always get 0:
statemgr.exe /r testParameter
testParameter:0
Any idea why this doesn't work on the G7's?? I've updated to the latest Proliant Support Pack and latest Smartstart Scripting Toolkit for Windows but it still doesn't work.