Links and Commands


Important Links


IBM Support Assistant
For installation instructions and more details about the IBM Support Assistant, see the following website:

Certificates and the keystore
For a full description of the certificates and the keystore password, see the following website:

WASService
For more information about the WASService command, see the following website:

addNode syntax 
For more information about the addNode syntax and options, see the following website:

Changing port settings 
After profile creation Use the updatePorts tool to change port settings. For more information, read the article “Updating ports in an existing profile” at the following website:

Manually delete the profile. 
For information about this, see the topic Deleting a profile in the Information Center at the following website:

Session timeout value
To change the session timeout value, see the page at the Information Center found at the following website:

startServer command 
For more information about the startServer command, go to the following website:

startNode command
For information about the use of the startNode command, go to the following website:

stopNode command
For more information about the stopNode command, go to the following website:

removeNode command
For more information about the removeNode command, go to the following website:

renameNode command
For more information about the renameNode command, go to the following website:

WAS Scripting

You can find more information about these script libraries in the WebSphere Application Server Information Center at the following website:
  

Important Commands


Open Commandline Prompt
imcl.exe -c

List Available Pack for update
imcl.exe listAvailablePackages

List all Installes Package
imcl.exe listInstalledPackages

Commandline Creation of ResponceFile.
C:\IBM\InstallationManager\eclipse\>IBMIM.exe -skipInstall C:\temp\imRegistry -record C:\temp\websphere_silent_install_reponse_file.xml

Silent Installation
imcl.exe -acceptLicence input C:\temp\websphere_silent_install_reponse_file.xml -log C:\temp\install_nd_log_file.xml

Enter the following command to install the console application:
wsadmin.bat(sh) -lang jython -f deployConsole.py install

Register Profile to the job Manager.
registerNode.bat -profilePath "C:\WebSphere\AppServer\profiles\AppSrv01" -host localhost -conntype SOAP -port 8877 -username wasadmin -password wasadmin08 -nodeusername wasadmin -nodepassword wasadmin08 

Run the addNode command.
Example of using the addNode command on a Windows system to add Node01 to the deployment manager using 8879 as the SOAP connector address. If administrative security is enabled, use the -username and -password arguments on the command line to provide the user ID and password.
/opt/IBM/WebSphere/AppServer/profiles/Custom01/bin>addNode.sh localhost 8879

Creating a profile with the manageprofiles command
manageprofiles.bat -create -templatePath c:\WebSphere \AppServer\profileTemplates\management -serverType DEPLOYMENT_MANAGER -profileName TestDmgr01 -profilePath c:\WebSphere\AppServer\profiles\TestDmgr01 -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin11 -cellName TestCell01 -nodeName TestDmgr01

Creating a profile with the manageprofiles command
C:\WebSphere\AppServer\bin>manageprofiles.bat -create -templatePath c:\WebSphere \AppServer\profileTemplates\default -profileName profile01 -profilePath c:\WebSphere\AppServer\profiles\profile01 -startingPort 21000 -enableAdminSecurity true -adminUserName wasadmin -adminPassword wasadmin11 -cellName TestCell01 -nodeName profile01Node

Deleting a profile using manageprofiles
C:\WebSphere\ND\profiles\Dmgr01\bin>manageprofiles -delete -profileName Node06
INSTCONFSUCCESS: Success: The profile no longer exists.

 startServer example
/opt/IBM/WebSphere/AppServer/profiles/Custom01/bin>./startserver.sh ralserver1

stopServer command example
/opt/IBM/WebSphere/AppServer/profiles/Custom01/bin>./stopserver.sh ralserver1 -username admin -password adminpw

startNode command
/opt/IBM/WebSphere/AppServer/profiles/Custom01/bin>./startnode.sh

stopNode command
/opt/IBM/WebSphere/AppServer/profiles/Custom01/bin>./stopnode.sh -username admin -password adminpw

 removeNode example
/opt/IBM/WebSphere/AppServer/bin>/removeNode.sh -profileName Custom02 -username admin -password admin

information about the renameNode command
renameNode.bat 10.1.29.100 8879 BCTNode02

Registering a deployment manager as a Windows service
C:\WebSphere\AppServer\bin>WASService -add "DeploymentManager01" -serverName dmgr -profilePath "C:\websphere\appserver\profiles\DeploymentManager01" -restart true

Removing a service
C:\WebSphere\AppServer\bin>WASService -remove "DeploymentManager01"

Installing the application script library
wsadmin>AdminApplication.installAppWithNodeAndServerOptions("IBMUTC","C:/IBMUTC.ear", "sys1Node01", "Amember01")

Starting an application script library
wsadmin>AdminApplication.startApplicationOnSingleServer("IBMUTC","sys1Node01","Amember01")

Create Deployment Manager
./manageprofiles.sh -create -profileNameDmgr01 -templatePath websph1/IBM/Webserver/AppServer/profileTemplates/management- serverType DEPLOYMENT_MANAGER -nodeNamenode_name -cellName cell_name -hostNamehost_name

Backup your Profile
D:\IBM\WebSphere\AppServer\bin>manageprofiles.bat -backupProfile -profileName AppSrv07 -backupFile D:\IBM\WebSphere\AppServer\profiles\Dmgr07_Bkp 

Restore Your Profile
D:\IBM\WebSphere\AppServer\bin>manageprofiles.bat -restoreProfile -profileName AppSrv07 -backupFile D:\IBM\WebSphere\AppServer\profiles\Dmgr07_Bkp 

Pasword Information

D:\IBM\WebSphere\AppServer\profiles\Dmgr01\config\cells\HBROUTPRDAP1Cell01\fileRegistry.xml

2 comments:

Popular Posts