Running scandisks command in remote nodes
Grid Infrstructure version: 11.2.0.4
Platform :Oracle Linux 6.4
We have a 3-Node production RAC cluster . We have created a 3-Node test RAC cluster for cloning purposes
We are automating the SAN level cloning from production to test. After the Hitachi guys take a snapshot of diskgroup LUNs from production they present the LUNs to the test RAC cluster. At test the cluster we need to do the following to do the cloning
Step1. In Node1, run
/etc/init.d/oracleasm scandisks
Step2. In Node2 run
/etc/init.d/oracleasm scandisks
Step3. In Node3 , run
/etc/init.d/oracleasm scandisks
Step4.
srvctl start diskgroup -g <dg_name> -n Node1
srvctl start diskgroup -g <dg_name> -n Node2
srvctl start diskgroup -g <dg_name> -n Node3
Step5. Finally, Start the database start the database in test cluster using
srvctl start database -d MANHPRD
From a shell script, I would like to run the above Step1,2 and 3 from Node1 in a sequential order as shown above . How can I do this ? I am not worried about Step4 and 5 as it can be run from any nodes.
Hello Page,
why not use ssh? very simple
from node 1:
ssh root@node2 /etc/init.d/oracleasm scandisks
take note of Dude! comment
edited: take a look at Tobi&#39;s Oracle DBA &amp; UNIX Blog: Cloning ASM Diskgroup to Create Database Clone
Similar Messages
-
Javascript: Check Internet connection before attempting to run SQL command on remote server
Good evening,
I am developing a form that reads and posts data from/to a table hosted on a remote PC running XP/SQL Server Express 2008 R2. I access the server through the Internet.
My problem is that if the internet connection happens to be down when I -eg- try to save data to the table using the form, the SQL command tries to reach the server for a while, and eventually crashes.
Is there a way to programatically verify that a remote SQL server is reachable over the Internet before attempting to run a command on it?
Many thanks in advance for any help you can provide!
RandyDid you find a solution to this? I am attempting a similar form and need to verify there is an active internet connection before allowing the form to process.
-
Run commands on remote Hyper-V host in different domain/network with powershell
Hi experts,
My Setup: Windows Server 2012 R2 / SCVMM 2012 managing localhost and other Hyper-V hosts
I need to run a script on the remote Hyper-V Host which is in different domain/workgroup using powershell.
I have tried
Invoke-SCScriptcommand cmdlet. But I am getting the below error
Error (2917)
Virtual Machine Manager cannot process the request because an error occurred while authenticating MY-PC-15.mydomain.local. Possible causes are:
1) The specified user name or password are not valid.
2) The Service Principal Name (SPN) for the remote computer name and port does not exist.
3) The client and remote computers are in different domains and there is not a two-way full trust between the two domains.
The network path was not found (0x80070035)
I tried the 'Run Script Command' option in the Host tab in VMM. But getting the same error.
Checked that it uses the 'Invoke-ScScriptcommand' PS cmdlet.
Could someone explain how to run scripts on remote Hyper-V host in different Domain/Perimeter network ?
Regards,
SaleemHi Saleem,
Please try to follow the article below to regarding using command "enter-pssession" across domains :
https://social.technet.microsoft.com/Forums/windowsserver/en-US/f60a29ef-925e-4712-9788-1f95e12c8cfc/forum-faq-introduce-windows-powershell-remoting?forum=winserverpowershell
(I tested it in my lab )
Best Regards,
Elton Ji
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] . -
WLST - Failing to run nmConnect() command / node manager becomes unreachabl
Hello guys,
I'm facing some issues to setup some configurations of one application that I've deployed on weblogic 10.3.3.0.
One of the needed steps in order to configure this applications is open the WLST in offline mode an run 2 commands:
*/bea/mytrack/wlserver_10.3/common/bin/wlst.sh*
Then I try to connect in the nodemanager:
* wls:/offline> nmConnect('admin30800','weblogic_password',port='30801',domainName='track30800')*
The following error returns:
Connecting to Node Manager ...
<Jul 13, 2011 2:23:45 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=thawte Primary Root CA - G3,OU=(c) 2008 thawte\, Inc. - For authorized use only,OU=Certification Services Division,O=thawte\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 13, 2011 2:23:45 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 3,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 13, 2011 2:23:45 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=T-TeleSec GlobalRoot Class 2,OU=T-Systems Trust Center,O=T-Systems Enterprise Services GmbH,C=DE". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 13, 2011 2:23:45 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GlobalSign,O=GlobalSign,OU=GlobalSign Root CA - R3". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 13, 2011 2:23:45 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "OU=Security Communication RootCA2,O=SECOM Trust Systems CO.\,LTD.,C=JP". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 13, 2011 2:23:45 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=VeriSign Universal Root Certification Authority,OU=(c) 2008 VeriSign\, Inc. - For authorized use only,OU=VeriSign Trust Network,O=VeriSign\, Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 13, 2011 2:23:45 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=KEYNECTIS ROOT CA,OU=ROOT,O=KEYNECTIS,C=FR". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
<Jul 13, 2011 2:23:45 PM CDT> <Notice> <Security> <BEA-090898> <Ignoring the trusted CA certificate "CN=GeoTrust Primary Certification Authority - G3,OU=(c) 2008 GeoTrust Inc. - For authorized use only,O=GeoTrust Inc.,C=US". The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object: 1.2.840.113549.1.1.11.>
Traceback (innermost last):
File "<console>", line 1, in ?
File "<iostream>", line 123, in nmConnect
File "<iostream>", line 646, in raiseWLSTException
WLSTException: Error occured while performing nmConnect : Cannot connect to Node Manager. : Access to domain 'track30800' for user 'admin30800' denied
I did some research and found this thread here: http://kr.forums.oracle.com/forums/thread.jspa?threadID=788163
that solves the initial problem, however after I performed the nmConnect and a storeUserConfig() command, I exit() from the WLST and restart the node manager with success, the node manager becomes unreachable.
I used the WL adm console and access -> appdomain -> environments -> machines -> monitoring -> node manager status to check the unreachable status.
Thanks in advance,
DavinodNice it worked!!
However when I try to start the servers controlled by this node manager I got this error:
-sh-3.2$ <Jul 14, 2011 8:43:42 AM> <WARNING> <Exception while starting server 'track30800-01'>
java.io.FileNotFoundException: /u01/track30800/user_projects/domains/track30800/servers/track30800-01/data/nodemanager/boot.properties (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at weblogic.nodemanager.server.ServerManager.saveBootIdentity(ServerManager.java:495)
at weblogic.nodemanager.server.ServerManager.saveStartupConfig(ServerManager.java:438)
at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:301)
at weblogic.nodemanager.server.Handler.handleStart(Handler.java:567)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:118)
at weblogic.nodemanager.server.Handler.run(Handler.java:70)
at java.lang.Thread.run(Thread.java:619)
Jul 14, 2011 8:43:42 AM weblogic.nodemanager.server.Handler handleStart
WARNING: Exception while starting server 'track30800-01'
java.io.FileNotFoundException: /u01/track30800/user_projects/domains/track30800/servers/track30800-01/data/nodemanager/boot.properties (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at weblogic.nodemanager.server.ServerManager.saveBootIdentity(ServerManager.java:495)
at weblogic.nodemanager.server.ServerManager.saveStartupConfig(ServerManager.java:438)
at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:301)
at weblogic.nodemanager.server.Handler.handleStart(Handler.java:567)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:118)
at weblogic.nodemanager.server.Handler.run(Handler.java:70)
at java.lang.Thread.run(Thread.java:619)
<Jul 14, 2011 8:43:42 AM CDT> <Error> <NodeManager> <BEA-300048> <Unable to start the server track30800-01 : Exception while starting server 'track30800-01'>
Edited: Should I change the chmod for 777 for this file in order to check that all users have write permission?
-rw-r--r-- 1 root iluser 193 Jun 24 11:05 boot.properties
Did I miss a step?
Thanks,
Davinod
Edited by: davinod on Jul 14, 2011 6:58 AM -
How to run UNIX command to a remote SUN machine through Java from Windows
Dear All:
I want to write one Java program which will be run on my Windows Machine.
My Java program will will login in a SUN machine remotely say telnet and run some command.
I want all those command output in my client windows PC for futher processing.
Can anyone help me doing this?
BR,
P. Guptaimport java.net.*;
import java.io.*;
import java.util.*;
public class TelnetSocketDemo {
static String list="";
static String listArr[], hostArr[];
static String host="", lhost="";
public static void main(String[] args)throws IOException
ExecuteUnixCmd obj=new ExecuteUnixCmd();
// InetAddress localMachine = InetAddress.getLocalHost();
// host=localMachine.getHostName();
list=obj.ExecuteUnixCmdMain();
int port=getPort(list,"Live");
System.out.println(port);
Socket sock = null;
String prompt=">";
String output = null;
try
// Connect to the PoleStar process.
sock = new Socket("localhost",port);
sock.setSoTimeout(60000);
// Get the I/O streams for the socket.
PrintWriter out = new PrintWriter(sock.getOutputStream(), true);
InputStream in = sock.getInputStream();
// Get to the silent console port.
// out.println("S");
// readToPrompt(in,area);
// Fetch the response to the command.
out.println("list all");
output = readToPrompt(in,prompt);
//System.out.println(output);
//out.println("quit");
//output=readToPrompt(in);
catch (Exception ex)
String msg = "unable to get Connection for PoleStar";
finally
try
// close socket
sock.close();
catch (Exception ex)
System.out.println(output);
private static String readToPrompt(InputStream in,String prompt)throws IOExcepti
on
byte[] mByte = null;
int iStrt = 0, iLen = 2000, nBytes = 0;
StringBuffer buf = new StringBuffer();
String s = null;
boolean bNotFinished = true;
do
mByte = new byte[2000];
nBytes = in.read(mByte, iStrt, iLen);
if (nBytes == -1)
break;
// lost our TCP/IP connection
// bNotFinished = false;
// Convert byte stream to a string
s = new String(mByte, 0, iStrt + nBytes);
if (prompt.equals("") == false)
if (prompt.equals(">"))
if (s.indexOf(0x04) != -1)
bNotFinished = false;
// the hub sends the prompt at the beginning and the end
else if (s.indexOf(prompt) != -1)
bNotFinished = false;
buf.append(s);
} while (bNotFinished);
return buf.toString();
public static int getPort(String list, String area)
int port;
String listArr[],hostArr[];
String lhost="";
listArr=list.split(",");
for(int i =0; i < listArr.length ; i++)
lhost=listArr;
hostArr=lhost.split("#");
if((hostArr[1].equalsIgnoreCase("connectDev20"))&&(hostArr[0].indexOf(area)!=-
1))
port=Integer.parseInt(hostArr[2]);
return port;
else
continue ;
return 0; -
Running a command in a remote Powershell session
Hi,
I have used the Enter-PSSession to get a remote session on a domain controller... all is ok with that.
when i run the following command it fails, however if i run this locally on the domain controller it succeeds. this command is correct, it just fails with the remote powershell session
dsacls.exe "OU=MYTestOU,OU=Servers,DC=MyDomain,DC=Local" /G "mydomain\MyComputer$":GRGWCC
I have tried placing c:\windows\system32 before the exe, and i have also tried cmd /c dsacls.exe .........
i cant figure out why this doesnt work, can anyone help?
thanks
Stevestrange, if i run the command for a user account instead of a computer account and remove the "" around it, it works.
dsacls.exe "OU=MYTestOU,OU=Servers,DC=MyDomain,DC=Local" /G mydomain\steve:GRGWCC
it must be that $ sign that is causing the problems....? -
I installed Exchange Server 2010 inside my VMWare Windows Server 2008 Ent R2. And After successful installation when I try to open my Exchange Server Console, I am getting the following error message. I am very new to Exchange server please help me
to solve this problem.
Initialization Failed
The following error occurred while searching for the on-premises Exchange server:
[win-.local] Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError
$true -CurrentVersion 'Version 14.1 (Build 218.15)''.
Thanks Vivek
SharePoint Foundation 2010 Book
http://www.redpipit.comHi,
Please have a look at the article below:
Troubleshooting Exchange 2010 Management Tools startup issues
http://blogs.technet.com/b/exchange/archive/2010/02/04/3409289.aspx
Resolving WinRM errors and Exchange 2010 Management tools startup failures
http://blogs.technet.com/b/exchange/archive/2010/12/07/3411644.aspx
Besides, please run the cmdlet below:
set-user alias -remotepowershellenabled$true
Xiu Zhang
TechNet Community Support -
C# Run VB Script file remotely thriugh PowerShell Invoke Command
I have a requirement where need to run vbscript remotely through PowerShell Invoke command. I can run the VB Script locally but not remotely as the vbscript file is not present on the remote machine. I don't want to copy the script file on remote machine.
Please let me know how to run vb script on remote machine. Below is the code.
Collection<PSObject> output
= null;
using
(Runspace runSpace =
RunspaceFactory.CreateRunspace())
runSpace.Open();
using
(Pipeline pipeline = runSpace.CreatePipeline())
RunspaceInvoke invoke =
new RunspaceInvoke();
PowerShell ps = PowerShell.Create();
ps.Runspace
= runSpace;
ps.AddCommand("invoke-command");
ps.AddParameter("ComputerName",
"RemoteServerName");
ScriptBlock sb = ScriptBlock.Create("cscript E:\\Test\\DeleteFiles.vbs");
ps.AddParameter("ScriptBlock", sb);
output
= ps.Invoke();
Regards, ParveenHello Parveen,
Please refer to the following thread
https://social.msdn.microsoft.com/Forums/vstudio/en-US/7562eefb-7fba-4bf6-834e-82256f159155/run-script-on-remote-macine?forum=csharpgeneral
See his code:
You can use WMI to create processes on a remote machine. In C#, use the ManagementClass.
using System;
using System.Management;
using System.Collections.Generic;
public class MyClass
public static void RunNotepad()
ManagementPath p = new ManagementPath(@"\\targetMachine\root\cimv2:Win32_process");
ManagementClass m = new ManagementClass(p);
m.InvokeMethod("Create", new Object[] {"notepad.exe"});
See: Creating Processes Remotely
Note that the the scrpt file is not executable so you have to create script like this:
cscript.exe "\\yourmachine\script\test.vbs".
Best regards,
Barry
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
SSH User equivalence is not set up on the remote nodes
I'm getting the above message when trying to push deploy a Linux agent 10.2.0.2 from an OEM.
I have run the sshUserSetupNT.sh succesfully - I believe there were no error messages being returned.
I can cygwin ssh to connect successfully to the linux box and issue commands without providing a password.
- and I've run the failing command from the log below successfully from a command prompt. (changed it to run date)
C:/cygwin/bin/ssh.exe -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -l oraoem centos5 /bin/sh -c '/bin/date '
I appears to be complaining about an RSA key - but how can that be when I can connect from a command prompt succesfully.
Any suggestions!
snip from deployment logfile
=======================================================================
Performing check for CheckSSHEquivalence
Does SSH equivalence exist with the remote nodes
Setting username to oraoem
Setting FallbackToRSH to false
Setting REMOTE_PATH_PROPERTIES_LOC to D:\OracleHomes\oms10g\/sysman/agent_download/10.2.0.2.0/linux/agentdeploy
C:\WINDOWS\system32\ping.exe#centos5#-n#5#-w#5000
C:\WINDOWS\system32\ping.exe centos5 -n 5 -w 5000
Exitcode of the remote command [rnode centos5]: 0
Errstream [rnode centos5]:
CommandResult status [rnode centos5]: true
C:/cygwin/bin/ssh.exe#-o#FallBackToRsh=no#-o#PasswordAuthentication=no#-o#StrictHostKeyChecking=yes#-l#oraoem#centos5#/bin/sh#-c#'/bin/true '
C:/cygwin/bin/ssh.exe -o FallBackToRsh=no -o PasswordAuthentication=no -o StrictHostKeyChecking=yes -l oraoem centos5 /bin/sh -c '/bin/true '
Exitcode of the remote command [rnode centos5]: 255
Errstream [rnode centos5]: No RSA host key is known for centos5 and you have requested strict checking.
Host key verification failed.
CommandResult status [rnode centos5]: false
Expected result: centos5
Actual Result: Problem: 'PROV-16018: The command C:/cygwin/bin/ssh.exe failed.'
Check complete. The overall result of this check is: Failed <<<<
Check complete: Failed <<<<
Problem: SSH equivalence check has failed
Recommendation: Setup SSH equivalence with the remote hosts and retryReboot the box and try again.
-
The selected remote nodes 'node3' are not accessible
Hello,
I removed node3 from 2 node RAC Cluster.
After this I have re-add this node to my RAC. I added without any problem to CRS but I have a problem with script addNode.sh (/u01/app/oracle/product/crs/oui/bin).
I have to separate homes for ORACLE_HOME and ASM_HOME, so I need to run this script twice for each ORACLE_HOME.
I run addNode.sh from one of the cluster nodes (node1), if I run:
export ORACLE_HOME=/u01/app/oracle/product/11.1.0/asm
cd $ORACLE_HOME/oui/bin
./addNode.sh -silent CLUSTER_NEW_NODES={node3} CLUSTER_NEW_PRIVATE_NODE_NAMES={node3-priv} CLUSTER_NEW_VIRTUAL_HOSTNAMES={node3-vip}
I got the following error:
Performing tests to see whether nodes node2,node3 are available
............................................................SEVERE:The selected remote nodes 'node3' are not accessible.
... 100% Done.
I reviewed logs located in /u01/app/oraInventory/logs I found
Status of node 'node3':
null
The virtual host name 'node3-vip' for node 'node3' is already in use.
I checked crs_stat from $ORA_CRS_HOME, but all applications (ons, gsd, vip) and targets are ONLINE. I tried to run vipca -nodelist node1,node2,node3 and updated a configuration. I checked /etc/hosts, connection via SSH between all hosts belonging to RAC: node1, node1-vip, node1-priv etc. Everything looks like fine, so I have no idea what caused this problem.
Software which I used:
Linux: UNL 5.4 x86_64
11g Release 11.1.0.7.0 - 64bit, Oracle Clusterware
Thank you for your answer,
Best Regards,
Edited by: user4924714 on 2010-02-15 07:50Hi,
Thanks for your reply.
I am running addNode.sh from node which already exist in the Rac Cluster. I tried on node1, node2 but the resulat are the same.
Best regards, -
Hello Expert,
It seems like we have Oracle GRID forum having some issue so i am posting grid Question on Real Application Clusters forum.
I am installing 11gr2 - 11.2.0.2 Grid infrastructure on Red hat linux 5- x86_64 (Host01-04, Host01-LOCAL and Host 02-04 REMOTE) . During install it pop up to execute
orainstRoot.sh,root.sh as root and they clearly mentioned that execute
orainstRoot.sh,root.sh on local node first and then the remote node. But by mistake i have executed root.sh on remote node first HOST02 (Host01-04, Host01-LOCAL and Host 02-04 REMOTE).
Does it really affect anything?
Thanks in Advance.
BillyYes, you're right.
Its a empty Prod Box where nothing is running but eventually it would become Production LIVE box with Prod Database instances.
Yes, Only concerns about the master instance .As you seen below host 2 is master right node right now.without bringing down the node 2 can i convert node 1 to master.
we are not using ASM so you'll see ASM services in OFFLINE state.
HOST1: crsstat
Resource Target State
ora.LISTENER.lsnr ONLINE ONLINE on host1
ora.LISTENER_SCAN1.lsnr ONLINE ONLINE on host1
ora.LISTENER_SCAN2.lsnr ONLINE ONLINE on host3
ora.LISTENER_SCAN3.lsnr ONLINE ONLINE on host2
ora.asm OFFLINE OFFLINE
ora.cvu ONLINE ONLINE on host2---
ora.gsd OFFLINE OFFLINE
ora.net1.network ONLINE ONLINE on host1
ora.oc4j ONLINE ONLINE on host2---
ora.ons ONLINE ONLINE on host1
ora.registry.acfs OFFLINE OFFLINE
ora.scan1.vip ONLINE ONLINE on host1
ora.scan2.vip ONLINE ONLINE on host3
ora.scan3.vip ONLINE ONLINE on host2
ora.host1.ASM2.asm OFFLINE OFFLINE
ora.host1.LISTENER_host1.lsnr ONLINE ONLINE on host1
ora.host1.gsd OFFLINE OFFLINE
ora.host1.ons ONLINE ONLINE on host1
ora.host1.vip ONLINE ONLINE on host1
ora.host2.ASM1.asm OFFLINE OFFLINE
ora.host2.LISTENER_host2.lsnr ONLINE ONLINE on host2
ora.host2.gsd OFFLINE OFFLINE
ora.host2.ons ONLINE ONLINE on host2
ora.host2.vip ONLINE ONLINE on host2
ora.host3.ASM3.asm OFFLINE OFFLINE
ora.host3.LISTENER_host3.lsnr ONLINE ONLINE on host3
ora.host3.gsd OFFLINE OFFLINE
ora.host3.ons ONLINE ONLINE on host3
ora.host3.vip ONLINE ONLINE on host3
ora.host4.ASM4.asm OFFLINE OFFLINE
ora.host4.LISTENER_host4.lsnr ONLINE ONLINE on host4
ora.host4.gsd OFFLINE OFFLINE
ora.host4.ons ONLINE ONLINE on host4
ora.host4.vip ONLINE ONLINE on host4
Billy. -
Integration Broker - PTool 8.50 - Pinging remote node errors out
Hi! I am trying to configure default local nodes on HCM 9.1 and FSCM 9.1, both systems have PeopleTools 8.50.
HCM 9.1 is installed on Windows 7 Home Premium. DB is Oracle 10g
FSCM 9.1 is installed on Windows 2003 server. DB is Oracle 10g
Problem:
=====
When I ping remote node from HCM 9.1 it displayes the following message
“PeopleSoftTargetConnector - The application server is down (or not responding). Check AppServer URL.”
When I ping the remote node from FSCM 9.1 then I get the following message:
“PSFT Authentication token failed for Node PSFT_HR. (158,454)”
Setup Details:
=========
Here are steps I followed on both systems:
FSCM 9.1. side :
=========
1.Defined local gateway. http://<My-Machine B>:/PSIGW/PeopleSoftListeningConnector When I ping it from Gateway page, it shows it is active.
2.Renamed default node PSFT_EP to PSFT_TRN. Before renaming ran the appmsgpurgeall.dms script from <PS_HOME>\scripts\ to make sure there are no references to PSFT_EP in runtime tables. This is PS supplied dms script and they recommend to run this script before renaming any node (It should be done at the initial setup time).
3.On the Node page, PSFT_TRN node is defined as default node. Specified the default user Id as ‘PTINT’ the common User id created by cloning ‘VP1’. On the ‘Connectors’ tab Gateway ID is ‘LOCAL’ and connector id is ‘PSFTTARGET’. From the ‘Connectors’ tab Pinged the PSFT_TRN node and it was pinged successfully.
4.On Gateway Properties page, defined "APP Server URL" as ‘<Machine Name B>:9000, user Id/pwd as ‘PTINT’ and tool release as ‘8.50’.
5.Defined PSFT_TRN node, with APP Server URL as ‘<Machine Name B>:9000, user Id/pwd as ‘PTINT’ and tool release as ‘8.50’. When I ping this node, it is pinged successfully.
6.Inserted another node PSFT_HR, with APP Server URL as ‘<Machine Name A>:9000, user Id/pwd as ‘PTINT’ and tool release as ‘8.50’. When I ping PSFT_HR node from this page I get the following error:
“PSFT Authentication token failed for Node PSFT_HR. (158,454)”
HCM 9.1. side:
=========
1.Defined local gateway. http://<My-Machine A>:/PSIGW/PeopleSoftListeningConnector. When I ping it from Gateway page, it shows it is active.
2.On the Node page made sure ‘PSFT_HR’ node is default and active. Specified the default user Id as ‘PTINT’ the common User id created by cloning ‘PS’. On the ‘Connectors’ tab Gateway ID is ‘LOCAL’ and connector id is ‘PSFTTARGET’. From the ‘Connectors’ tab clicked on ‘Ping Node’ button for PSFT_HR node and it was pinged successfully.
3.On Gateway Properties page, defined "APP Server URL" as '<Machine Name A>:9000', user Id/pwd as ‘PTINT’ and tool release as ‘8.50’.
4.Defined PSFT_TRN node, with "APP Server URL" as ‘<Machine Name B>:9000', user Id/pwd as ‘PTINT’ and tool release as ‘8.50’. When I ping this node, the following message is displayed:
“PeopleSoftTargetConnector - The application server is down (or not responding). Check AppServer URL.”
Basically, I am unable to ping remote node on both systems. Local node ping successfully on both systems.
Has any one encountered similar problem and found a solution?
Thanks
Raj
Edited by: 865522 on Jun 13, 2011 2:18 PMYes, I could ping both machines from each other.
Here is the host file contents from Windows 7:
127.0.0.1 localhost
::1 localhost
127.0.0.1 activate.adobe.com
192.168.1.106 RAJ-PC
Here is from Window 2003 server:
127.0.0.1 localhost
192.168.1.100 saroja
Both nodes are listed under PeopleTools>Security Objects> Single Signon
Both nodes are secured with userid/pwd on Node page.
One of my machine had fire wall on, so I swtiched the fire wall off. Now machine A can ping both nodes but machine B can ping only local node. Pinging remote node displays "User name not defined in database".
Raj
Edited by: Raj on Jun 13, 2011 11:37 PM -
Not able to create Oracle External Procedure to Run Host Commands
Trying to follow this article
http://timarcher.com/node/9
Its related to
Oracle External Procedure to Run Host Commands
steps
1)mkdir –p /u01/app/usfapp/oracle_external_procs/oracle_host
2)
Author is suggesting to create a file
but header file is missing in very first line... may be not sure..say it is <stdio.h>Create a file named oracle_host.c. The contents of this file will be:
#include
int RunCmd(char *cmd)
return(system(cmd));
4) Create the file named makefile. The contents of this file will be:
oracle_host: oracle_host.o
gcc -shared -o oracle_host.so oracle_host.o
$ cat makefile
oracle_host: oracle_host.o
gcc -shared -o oracle_host.so oracle_host.o
5)
Now run the command make
The output on my server looks like:
[u01/app/usfapp/oracle_external_procs/oracle_host]
banner@usfbannerte [TRNG] > make
gcc -shared -o oracle_host.so oracle_host.o
here I stuck .. Not able to run this step ]$ make
gcc -shared -o oracle_host.so oracle_host.o
/usr/bin/ld: oracle_host.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
oracle_host.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [oracle_host] Error 1
Any one has any idea what went wrong
Any other link related to this is most welcomed.
Please suggest ...hi
please update
or
provide any other link / document for
Oracle External Procedure to Run Host Commands
--using c
Thanks in advance. -
DBCA does not show the remote nodes on a RAC 10.2.0.2 HP-ITANIUM
HI at all,
I have a problem and I hope someone can help me.
A collegue have installed CRS and the Oracle HOME for a RAC 10.2.0.2 on a HP-ITANIUM ( two nodes) .
Im'm using the dbca for creating a cluster database.
I can see the RAC option pages , but in the "select nodes page" I found only the local node and not the remote node.
Any suggestion is appreciated
thank you
Adriano
$ crs_stat
NAME=ora.itmicz50.LISTENER_ITMICZ50.lsnr
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz50
NAME=ora.itmicz50.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz50
NAME=ora.itmicz50.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz50
NAME=ora.itmicz50.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz50
NAME=ora.itmicz51.LISTENER_ITMICZ51.lsnr
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz51
NAME=ora.itmicz51.gsd
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz51
NAME=ora.itmicz51.ons
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz51
NAME=ora.itmicz51.vip
TYPE=application
TARGET=ONLINE
STATE=ONLINE on itmicz51
and the olsnodes command :
$ olsnodes
itmicz50
itmicz51
Message was edited by:
user549224
nullHI Chandra,
thank you very much for your reply. I suppose the oraInventory is the same, however the contents of inventory.xml file is this:
<?xml version="1.0" standalone="yes" ?>
<!-- Copyright (c) 2005 Oracle Corporation. All rights Reserved -->
<!-- Do not modify the contents of this file by hand. -->
<INVENTORY>
<VERSION_INFO>
<SAVED_WITH>10.2.0.1.0</SAVED_WITH>
<MINIMUM_VER>2.1.0.6.0</MINIMUM_VER>
</VERSION_INFO>
<HOME_LIST>
<HOME NAME="OUIHome1" LOC="/work/app/oracle/product/CRS" TYPE="O" IDX="1" CRS="true">
<NODE_LIST>
<NODE NAME="itmicz50"/>
<NODE NAME="itmicz51"/>
</NODE_LIST>
</HOME>
<HOME NAME="OUIHome2" LOC="/work/app/oracle/product/RAC10g" TYPE="O" IDX="2">
<NODE_LIST>
<NODE NAME="itmicz50"/> <===== EVIDENCE
</NODE_LIST>
</HOME>
</HOME_LIST>
</INVENTORY>
I can see that within the node_list tag I have only one hostname It is correct?
thank you in advance
Adriano Capruzzi -
Ways to run dir command in Process and get Output
Hello,
In one of the control in our web application, User can select any directory from his work area and can get list of directories and content of directories i.e. list of files. As working on file object is really slow so the performance is extremely poor. I am thinking of using Process object and run dir command for any directory selected by user and show the directory listing to user.
Do you guys think it would be possibleIts always good to work with IO buffer than low level file api. That should be irrelevant to the question as asked (if not then there might be other problems.)This is no way irrelevant but its a fact. Working with Java File api to traverse the content of the directory is really painful. Because we currently use file api to help user to traverse thru her work area.
BTW, there are two servers. One running the app and the other have all users work areas. User can traverse the workareas content by using something \\server1\workarea1\user1\folder1 etc... in the app to see the content of any folder.A "server" in this context would be an "application" such as something like tomcat. Your client would then ask the "server" for information.
In your case you are dealing with another file system via the windows remote file system access. So per my question it is not another "server".A server is what providing service to a client and in our case its a app server with a web app in it. The users use the web app to manage their work area(which is another file server).
The app server and file server and physically two separate machines.
So again, I am back to my first question, how can run dir command using Process object and get the buffer.
Till now, I have done this
ProcessBuilder pb = new ProcessBuilder("cmd", "dir", "c:/");
pb.directory( new File("C:/temp")); // Or whatever directory you want for cwd
Map<String,String> env = pb.environment();
env.put("PATH", "C:/temp");
try {
Process process = pb.start();
InputStream inStream = process.getInputStream();
new AsyncPipe(process.getErrorStream(), System.out).start();
new AsyncPipe(process.getInputStream(), System.out).start();
final int returnCode = process.waitFor();
System.out.println("Return code is " + returnCode);
System.out.println("\nExit value = " + inStream + "\n");
} catch (Exception e) {
e.printStackTrace();
}However it simply opens command prompt
Maybe you are looking for
-
hello guys, I want to create a vi such dat when I press a button on the frontpanel of the vi it opens the same vi in another window..and I should be able to work on this new window also able to work on the previous window without closing it...Just li
-
We have an iPod touch 4th generation (4 months old) that is charging on our PC but is not recognized by iTunes. It is also charging on the docking station of our stereo but is not recognized by the stereo (will not play music). Other devices (2 other
-
IPhoto library disappeared while dragging iPhoto to external drive
I have a Mac Pro OX S and iPhoto 11,9.6.3. As I was dragging the iPhoto folder from my finder menu to a newly bought 4 T Seagate,I lost all of my photo library in a second.There is blank box instead! would anybody have a solution?thanks!
-
JDeveloper - ADF Mobile - Web Services Data Control
Hello, I'm new to ADF mobile (newer than ADF mobile itself :) I watched Shay's excellent you tube videos which makes it look really easy to create a mobile projects. I was successfully able to create a simple project and deploy it on my iphone and ip
-
hi,all: oracle 8i backup and recovery guide page 5-15. If you have a database damaged by media failure and operating in NOARCHIVELOG mode, and you want to restore from your most recent consistent whole database backup (your only option at this point)