I have heard that 1 node is 1 server. But 1 server can have multiple nodes(which are different ports) and can be pointed to 1 database. So if I am having only 1 node, and i need 1 more node to process background processing, should i install a server and make it as used for background processing or have a different port and make this port as for background config?
Node architecture
Hey, your requirement is indefinite. As per my understanding in real time there will be like multiple servers/nodes no chance of single server or node 100%. So for the background processing the node will be get separated as service node from the application nodes. This means as part of load management the background processing nodes are not meant for live users those are strictly restricted for batch process only. Example if there are 6 nodes 5 nodes are available for users and 1 node for background only.
If any changes are required it needs change in prconfig.xml
But adding servers or nodes are not that simple, it should come from horse mouth like Infrastructure Architects or Leads with proper analysis from application team.
To determine the individual node settings, review the contents of the prconfig.xml file for on-premises environments
https://community.pega.com/knowledgebase/articles/system-administration/84/downloading-and-viewing-prconfigxml-file-specific-node
@AnoopKrishna
We will definitely plan to have a separate article in our blog with the detailed coverage of the Node architecture in Pega.
The point that we are discussing about is the node classification. To keep it simple, you will have multiple Nodes(JVM) in a server and each node will be classified as Web, Background, BIX, DataFlow, DDS, ADM, etc..based on its usage. A single node can also be tagged against two classification.
This setting in the JVM is called as DNodeType. We have just highlighted about node classification in one of our article. Just have a look.
https://onestoppega.com/background-processing/job-scheduler-in-pega/
As @sam027 said, getting provisioned with additional infra like Nodes, CPU, database has a process to be followed. We have something called as Hardware sizing which is purely based on the nature of the application and the other key factors to decide on the infra set-up.