I remenber the psexec server mustbe a windows server.
And the agent path environment variable should be "agnetinstalldirectory\NSH\bin"
for example: C:\Program Files\BMC Software\BladeLogic\NSH\bin
And I put the psexec.exe in the "C:\Program Files\BMC Software\BladeLogic\NSH\bin",it works well for me.
If yoy have installed the RSCD agent through msi package and have selected the default option. The directory is C:\Program Files\BMC Software\BladeLogic\RSCD
I have installed RSCD 8.2 on windows server 2003 EE, as per you are saying i can not see "agnetinstalldirectory\NSH\bin", instead there is directory "agnetinstalldirectory\rscd\bin"
i have downloaded PsTools which is in .zip file from the link specifed in pdf (user guide), and i m trying to install PsExec on windows server 2003. on that same machine i have already installed RSCD 8.2.. Now, as given in pdf -->
PsExec must be installed in a directory that is specified in the agent's path
environment variable when the agent is started on the PsExec server.
i m not able to locate where to install this PsExec ? as per above sentence i should install PsExec server in directory specified in agent's environment variable... BUT I DON'T KNOW WHERE TO SEE THIS ENVIRONMENT VARIABLE.? WHERE TO SEE ITS VALUE ?
you mean to say,in order to install PsExec, i should extract PsTools.zip in C:\Program Files\BMC Software\BladeLogic\RSCD ?
is this directory is set for Agent's environment variable ?
agnetinstalldirectory\NSH\bin shoud be NSH's environment variable.
Put only psexec.exe which come with pstools in RSCD folder.
Open cmd prompt and type psexec to validate psexec is in path.
Else , You can also put psexec.exe under c:\windows . It will also be of help
1 of 1 people found this helpful
I just do a test.Put the psexec.exe in the "agnetinstalldirectory\rscd\bin" or in the "agnetinstalldirectory\rscd", they all works well.Agent installer job ran successfully.
It confuse me.
you can try this...
copy psexec.exe under folder path where your RSCD agent is installed. For example if your RSCD agent is installed under folder path "C:\Program Files\BMC Software\BladeLogic\RSCD" perform the following steps:
1) Copy psexec.exe under "C:\Program Files\BMC Software\BladeLogic\RSCD" directory..
2) Execute RSCDsvc.exe with PsExec.exe.
C:\Program Files\BMC Software\BladeLogic\RSCD>PsExec.exe RSCDsvc.exe
PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com
RSCDsvc.exe exited with error code 0.
Also note If you are installing agents on Windows servers using a domain account, the account must be
granted the Windows "Logon as a batch job" privilege on the PsExec server.
i just copy pasted PsExec.exe in C:\Program Files\BMC Software\BladeLogic\RSCD folder. and then Opened command promt which is showing following on cmd prompt --> C:\Documents and Settings\Administrator
and then i type --> C:\Documents and Settings\Administrator psexec
it showed psexec is not an internal or external command, operable program or batch file. .
please tell me how to do next setting to validate psexec is in path. ?
ACTUALLY I AM FRESHER, SO U MAY FIND MY QUERIES AS VERY SIMPLE, BUT IT IS ALOT TO ME, PLEASE BARE WITH MY SILLY QUERIES..
Also put the PsExec.exe in c:\Windows and execute the AgentInstaller Job.
I hope it will solve your problem.
i have not yet created any installer job, right now i m in prerequisites step. then
after this as per given in pdf i need to create unified agent installer and then run the unified agent installer.
one thing is in my mind.
my environment is like below
application server --> on linux
file server --> on linux
database server --> on windows 2003 enterprise edition.
all above machines are runnings as VM in my windows 7 machine.
now whatever i have practised till now is on database server as target server.. means all the things like snapshot jobs, deloy job, audit job, etc and everthing like patching and all i have tried it on the database server as target server by in installing rscd on it and adding it in console.
i m trying this RSCD agent installation using Unified agent installer on a machine which is another Windows server 2003 EE. and i m installing this psexec on that database server on which RSCD is already present
So question in my mind is --> DO I NEED TO CREATE AUTOMATION PRINCIPAL FOR THIS ?
Create Automation principal.
Create RemoteHOstAuthetication Rule.
Agent Installer Job
Use unifiedAgentInstaller (It will create most of the needed objects)
You can use it through
Right click server node and click on Unified Agent Installler
thanks for the help. when i put psexec.exe in C:\Windows and then when i opened command prompt it and typed psexec like C:\Documents and Settings\psexec
then it showed me all options it has.
thanks once again.
1 of 1 people found this helpful
The requirement is
Install PsExec according to the instructions from Microsoft.
PsExec must be installed in a directory that is specified in the agent's path or install psexec over C:\Windows and add this value on the
environment variable when the agent is started on the PsExec server
Add the PSexec install path to the System environment PATH variable and restart the agent.
after that We need to follow the sequence,
After RHA and RHA routing rule creation need to follow this steps.
1)Add Installer in a depot.
2)Create the Agent Bundle,in which you have mentioned the configuration after installation.
3)Create the Installer job while selecting the agent bundle from the depot.
4)Execute the Agent Installer Job.
msiexec /I "??SOURCE??" /qn ALLUSERS=1 %Logpath%\aa.log REBOOT=ReallySuppress PENDINGREBOOTFORCE=1"
When you open the rscd Installer in depot,this command mentioned over there.
Its doing the Silent installation of RSCD(form source path),Permisssion for ALL USER,Isnatllation log path where you want,if there is any pending reboot request is there then its supress the reboot forcefully and install the Agent