Can't install OS Provisioning Server on masterserver
I'm trying to create a very basic N1 OS Provisioning system on Solaris 10 with everything running on the same physical server. We only provision a few servers per month. On the physical server I installed the Master Server by running:
cr_ms_solaris_sparc_pkg_5.2.sh
Then logged into the web interface and installed the OS Provisioning plug-in as described in the documentation.I then tried to create the OS Provisioning server by clicking on "OS Provisioning" and then "Create" in the OSP Control Server section. I selected the target host "masterserver" from the list. After clicking "Run Plan" I get this error message:
Physical host "masterserver" for logical host "masterserver" does not contain a remote agent
So... I went back to my bash shell on the masterserver and ran:
cr_ra_solaris_sparc_5.2.sh
to install the remote agent. After installing the remote agent I selected the option to start the remote agent. So now there is a remote agent running on the masterserver but I still get the same error message when I try to create an OS Provisioning server fro mthe web interface.
[1130 byte] By [
acravensa] at [2007-11-26 21:55:24]

# 2
You're on the right track. By default, as you've discovered, installing the MS node, the server, does not install a client node. You can install an RA node on the same physical machine as the MS node, but you still have to identify the RA to the MS. There is no auto-discovery feature in the core product, so adding an RA is a manual step.
1) install the RA package (already done)
2) Stop the MS node (cr_server stop). Modify the file server/config/config.properties under your MS node installation (should start with /opt/SUNWn1...). Add the line:
hostdb.enableDuplicateIPs=true
anywhere in the file and save. This is necessary because you'll be adding an RA node with the same hostname/IP credentials as the MS node. Normally, when adding an RA to any host except the masterserver host, this is not necessary.
3) Restart the MS node (cr_server start)
4) From the MS GUI, select Host Setup->Hosts. Here, you'll see your masterserver host with the MS node. What you want to do is to add an RA node the the masterserver host. You can either modify the existing masterserver host (add an RA node to this host) or create a new host, say called, "agent1" or whatever. In either case, specify that the host is to have an RA node with the appropriate hostname and port. I prefer the latter myself, just for clarity. Prepare the host (autoselected when you save the RA by default).
Now you're ready to deploy to the new RA.