I have listed the mostly used asadmin commands here, have a look.
Domain:
Creating a domain
create-domain --adminport port domain-name
Starting a domain
start-domain
domain-name
Stopping a domain:
stop-domain domain-name
deleting a domain:
delete-domain domain-name
Node:
Creating a node:
create-node-config --nodehost
localhost Node-Name --port
port_Number
Deleting a node:
delete-node-config Node-Name
--port port_Number
Standalone Instance:
Creating an instance:
create-local-instance --node
Node-Name --portbase port_Number
InstanceName
Starting an Instance:
start-instance InstanceName
--port port_Number
Stopping an Instance:
stop-instance InstanceName
--port port_Number
Deleting an
Instance:
delete-instance InstanceName
--port port_Number
Cluster:
Creating a cluster:
create-cluster ClusterName
--port port_Number
Starting a Cluster:
start-cluster ClusterName
--port port_Number
Stopping a Cluster:
stop-cluster ClusterName
--port port_Number
Creating an Instance / Adding an instance
to a cluster:
create-instance --node Node-Name --cluster
ClusterName --port port_Number
InstanceName
Deployments:
Deploying an Application
deploy
--port port_Number --name AppName --target
InstanceName “APP_PATH” --port port_Number
Redeploying an Application:
redeploy
--port port_Number --name
AppName --target InstanceName
“APP_PATH” --port port_Number
Undeploying an Application:
undeploy
--port port_Number --target
InstanceName AppName --port port_Number
Virtual server:
Creating a virtual server:
create-virtual-server --hosts
localhost Virtual-Server-Name --port port_Number
Deleting a virtual server:
delete-virtual-server Virtual-Server-Name --port port_Number
Http Listener:
Creating an http Listener:
create-http-listener --listeneraddress 0.0.0.0
--listenerport NewPort
–default-virtual-server server ListenerName
--port port_Number
Deleting an http listener:
delete-http-listener ListenerName
--port port_Number
Database (derby/javadb):
Starting a database:
start-database --dbhost
localhost --dbport 1527
Stopping a database:
stop-database --dbhost
localhost --dbport 1527
Misc:
How to Find the Version of your server?
version
How to Login:
login --host
localhost --port port_Number
0 comments:
Post a Comment