Unsolved
This post is more than 5 years old
2 Intern
•
202 Posts
0
1826
June 7th, 2007 09:00
Savepnpc problem, post script doesnt runs
We have one Networker 7.3.2 environment.
Both server (sunebs) and client (pluto) runs Solaris 9.
The customer uses gUprd_offline group to backup three clients:
- pluto : cluster node1
- syrius : cluster node2
- sapserv : cluster moving address (backup command is savepnpc)
The cluster runs Oracle and SAP.
The gUprd_offline .res file look like:
type: savepnpc;
precmd: "/root/pre";
pstcmd: "/root/post";
timeout: "5:50am";
pre command:
#!/bin/ksh
/usr/cluster/bin/scswitch -n -j sap-ci_sapserv
/usr/cluster/bin/scswitch -n -j orasrv_sapserv
root@pluto # cat /root/post
post command:
#!/bin/ksh
/usr/cluster/bin/scswitch -e -j orasrv_sapserv
/usr/cluster/bin/scswitch -e -j sap-ci_sapserv
If we start the gUprd_offline group, the pre command runs succesfully, but the
post command fails, doesnt run.
The savepnpc.log look like:
05/13/07 22:05:58 pstclntsave: Savegroup is not running.
05/13/07 22:05:58 pstclntsave: All savesets on the worklist are done.
05/13/07 22:05:58 pstclntsave: Cannot stat the temp file created by preclntsave.
05/13/07 22:05:58 pstclntsave: Exited.
No tmp remains in the /nsr/tmp directory.
How can we solve it to run the post script?
Both server (sunebs) and client (pluto) runs Solaris 9.
The customer uses gUprd_offline group to backup three clients:
- pluto : cluster node1
- syrius : cluster node2
- sapserv : cluster moving address (backup command is savepnpc)
The cluster runs Oracle and SAP.
The gUprd_offline .res file look like:
type: savepnpc;
precmd: "/root/pre";
pstcmd: "/root/post";
timeout: "5:50am";
pre command:
#!/bin/ksh
/usr/cluster/bin/scswitch -n -j sap-ci_sapserv
/usr/cluster/bin/scswitch -n -j orasrv_sapserv
root@pluto # cat /root/post
post command:
#!/bin/ksh
/usr/cluster/bin/scswitch -e -j orasrv_sapserv
/usr/cluster/bin/scswitch -e -j sap-ci_sapserv
If we start the gUprd_offline group, the pre command runs succesfully, but the
post command fails, doesnt run.
The savepnpc.log look like:
05/13/07 22:05:58 pstclntsave: Savegroup is not running.
05/13/07 22:05:58 pstclntsave: All savesets on the worklist are done.
05/13/07 22:05:58 pstclntsave: Cannot stat the temp file created by preclntsave.
05/13/07 22:05:58 pstclntsave: Exited.
No tmp remains in the /nsr/tmp directory.
How can we solve it to run the post script?
No Events found!



pgerke
35 Posts
1
June 7th, 2007 13:00
You might check the /nsr/logs/messages file to see if it can provide any output from the post backup commands, but since the message says the server can't stat the processes, there probably isn't anything there.
It sounds like you need to open a case with support.
Good Luck,
Paul
dk3
163 Posts
1
June 8th, 2007 11:00
The message "Savegroup is not running." seems to indicate that postclntsave is not able to read /nsr/tmp/ .lck that is typically created by preclntsave. Are you using any special user to perform your backups? There might be a write permission issue in this case. Are there any messages in /nsr/logs/savepnpc.log on clients and/or server?
Another question: What platform is your backup client? There's another forum thread describing similar problems with 64bit platform - without solution. Maybe contacting support would help.
ble1
4 Operator
•
14.3K Posts
0
June 9th, 2007 09:00
It is strange for me to see customers are willing to protect their db via HA solution, but for backup they still use cold backup approach instead of online module
paulo3
2 Intern
•
202 Posts
0
June 13th, 2007 12:00
Both client and server on the same Networker platform.
(7.3.2 jumbo)
Both client and server are running on Solaris 9.s
If you have client installed as HA then /nsr/tmp at the time savepnpc is executed will be
global one. Once pre script is executed global one is replaced by local one and data from
/nsr/tmp is lost. That could be another possible problem which would explain what you >see.
It could be a right solution, but i dont understand it clearly.
Client is installed with the normal pkgadd utility.
The group contains the moving ip cluster ip address.
How can i correctly install the client?
I should ssh to the moving ip?
ble1
4 Operator
•
14.3K Posts
0
June 14th, 2007 00:00