RE: ASM Grid Infrastructure voting files not found any more
Date: Tue, 12 Jul 2011 16:21:37 +0200
Message-ID: <4814386347E41145AAE79139EAA39898150683D648_at_ws03-exch07.iconos.be>
Martin,
There is a wallet file under the grid $ORACLE_HOME/gpnp/wallets/peer/ directory. Mind you there is also a <hostname> directory under the $ORACLE_HOME/gpnp directory, which also contains the wallets and profiles directory.
From my notes when I needed to edit this file (wrong subnet mask on the interconnect ip) I used the files (both profile.xml and wallet) under the $ORACLE_HOME/gpnp/<hostname> directory.
Also, you need to specify the directory in which the wallet file resides, not the file itself
gpnptool sign -p=profile.xml -ovr -o=profile.xml -w="file:/opt/grid/11.2.0.2/gpnp/<hostname>/wallets/peer" -rmws
[grid_at_xxxx gpnp]$ tree -pug
.
|-- [drwxr-x--- grid oinstall] <hostname>
| |-- [drwxr-x--- grid oinstall] profiles | | `-- [drwxr-x--- grid oinstall] peer | | |-- [-rw-r--r-- grid oinstall] profile.old | | |-- [-rw-r--r-- grid oinstall] profile.xml <-- this one | | `-- [-rw-r--r-- grid oinstall] profile_orig.xml | `-- [drwxr-x--T grid oinstall] wallets | |-- [drwx-----T grid oinstall] pa | | |-- [-rwx------ grid oinstall] cert.txt | | `-- [-rwx------ grid oinstall] cwallet.sso | |-- [drwx-----T grid oinstall] peer <-- and this directory | | |-- [-rwx------ grid oinstall] cert.txt | | `-- [-rwx------ grid oinstall] cwallet.sso | |-- [drwxr-x--T grid oinstall] prdr | | `-- [-rwxr-x--- grid oinstall] cwallet.sso | `-- [drwx-----T grid oinstall] root | |-- [-rwx------ grid oinstall] b64certificate.txt | `-- [-rwx------ grid oinstall] ewallet.p12
|-- [drwxr-x--- grid oinstall] init
| |-- [-rw-r--r-- grid oinstall] beantorarac03 | `-- [-rw-r--r-- grid oinstall] beantorarac03.pid
|-- [-rw-r----- grid oinstall] manifest.txt
|-- [drwxr-x--- grid oinstall] profiles
| `-- [drwxr-x--- grid oinstall] peer | |-- [-rw-r--r-- grid oinstall] profile.xml | `-- [-rw-r--r-- grid oinstall] profile_orig.xml `-- [drwxr-x--T grid oinstall] wallets |-- [drwx-----T grid oinstall] pa | |-- [-rwx------ grid oinstall] cert.txt | `-- [-rwx------ grid oinstall] cwallet.sso |-- [drwx-----T grid oinstall] peer | |-- [-rwx------ grid oinstall] cert.txt | `-- [-rwx------ grid oinstall] cwallet.sso |-- [drwxr-x--T grid oinstall] prdr | `-- [-rwxr-x--- grid oinstall] cwallet.sso `-- [drwx-----T grid oinstall] root |-- [-rwx------ grid oinstall] b64certificate.txt `-- [-rwx------ grid oinstall] ewallet.p12
16 directories, 22 files
Freek D'Hooge
Uptime
Oracle Database Administrator
email: freek.dhooge_at_uptime.be
tel +32(0)3 451 23 82
http://www.uptime.be
disclaimer: www.uptime.be/disclaimer
-----Original Message-----
From: Martin Klier [mailto:usn_at_usn-it.de]
Sent: dinsdag 12 juli 2011 15:51
To: D'Hooge Freek
Cc: Oracle L
Subject: Re: ASM Grid Infrastructure voting files not found any more
Hi Freek,
thank you very much, I think this is a big step in the right direction.
At signing the profile.xml again, the gpnptool asks for a wallet file. Do you have a clue where to find it?
What I did so far:
> gpnptool unsign
<...> (successful)
> gpnptool edit -asm_dis='/dev/disk/by-id/ASM*'
<...> (successful)
> gpnptool sign
Warning: some command line parameters were defaulted. Resulting command
line:
/u01/app/grid/11.2.0/bin/gpnptool.bin sign -p=profile.xml -o- -w=file:./
Error: failed to open a wallet at WRL: 'file:./'. Make sure it is a valid WRL (valid type, path, etc.). Cannot open wallet with given credentials.
Thanks
Martin
D'Hooge Freek schrieb:
> Is this 11.2 with voting files in ASM?
> If so, following can help (but note this is not supported)
-- Usn's IT Blog for Linux, Oracle, Asterisk http://www.usn-it.de -- http://www.freelists.org/webpage/oracle-lReceived on Tue Jul 12 2011 - 09:21:37 CDT