on 11-16-2018 8:00 AM
Hello Experts,
I'd like to seek for your expertise if anyone has experienced this type of scenario wherein it's required to use sapcontrol command to use -function StartSystem without the parameter -user?
This is to start a different system instance.
Apparently, I tried searching for several solutions online but only got me confused with several terminologies like trusted pipes. Both systems run on Windows Server 2012.
So far, I use the command sapcontrol - nr $$ -host <hostname of remote system> - function StartSystem.
It returns me with error message: FAIL: HTTP error, HTTP/1.1 401 Unauthorized
Hi
If possible use the user credential either SAP SIDADM or equivalent administrator authority in the remote system. from the remote system open the command prompt and follow the steps
1. From the command prompt type the command "powershell"
2. From power shell command prompt use the command net use s: \\SAP instance hostname or IP\sapmnt (SAP default share & for example drive letter S: )
3. From the S: bower the folder to SAPcontrol.exe \\hostname or IP\sapmnt\SID\DVEBMGSXX\exe\sapcontrol.exe
4: From the EXE folder you can execute the command start SAP instance ".\sapcontrol.exe -nr XX -prot PIPE -host HOSTNAME -function StartSystem"
Regards
SS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jonathan.
1. you can pass the command in windows powershell command prompt. "\sapcontrol.exe -nr XX -prot PIPE -host HOSTNAME -function StartSystem". before that map the network path \\hostname\sapmnt on your windows SAP instance.
2. Kindly refer the pdf link - https://archive.sap.com/kmuuid2/60e24f7b-1ba1-2b10-c0a0-e514b855624b/SAP%20Control%20WebService.pdf
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jonathan,
first try the parameter "GetProcessList" to check if the connect to the sapstartsrv.exe works:
sapcontrol.exe -nr xx -prot PIPE -function GetProcessList
This should work, if locally started in a command prompt or PowerShell.
Then add the -host <hostname> parameter. Does it work, too?
Best regards,
Kalle
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalle,
I tried the command sapcontrol.exe -nr xx -prot PIPE -function GetProcessList but got the same error message: "FAIL: The network path was not found,. CreateFile failed in plugin_pipefopen<>"
However, if I remove the -prot PIPE and enter command with the -host parameter like this:
sapcontrol -nr xx -host <IP of XYZ> -function GetProcessList seems to work but however, the goal is to achieve the parameter -function StartSystem
I'm quite puzzled with the PIPE for windows, it's stated on the SAPNote 927637 via trusted connect.
Can't seem to find a detailed documentation on how it works. Still looking for answers.
Regards,
Jonathan
Hello Jonathan,
do you try to start/stop an instance remotely? (you use -host parameter …)
Please try this:
sapcontrol.exe -nr XX -prot PIPE -function StartSystem
This should work.
Best regards,
Kalle
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kalle,
Thanks for your feedback.Yes I'm starting an instance remotely.
I tried adding -prot PIPE on the syntax but it seems that it only checks on the system instance. I'm doing this on the OS level of my Window box. I'm also trying to connect to a separate windows box, they belong to one network.
I used the -host <IP Address of other system> parameter to check the status of a different application server.
So far, I tried using the command: sapcontrol.exe -nr 00 -prot PIPE -host <IP of different AS> -function StartSystem
Got the error message:
FAIL: The network path was not found,. CreateFile failed in plugin_pipefopen<>
I appreciate your time in answering my query and hoping you have any other ideas? I'm stumbling on SAP note 927637 and added the parameters indicated but still no luck.
Best Regards,
Jonathan
User | Count |
---|---|
76 | |
10 | |
9 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.