You must be logged in as root, or use sudo
or pfexec
, to install Go on Solaris. Go server also requires that Oracle or Open JRE or JDK - version 7 or above - is installed.
The installer will create a user called go
if one does not exist on the machine. The home directory will be set to /var/go
. If you want to create your own go
user, make sure you do it before you install the Go server.
After you have downloaded the go-server package, run the following commands -
$ gzip -d go-server-${version}-solaris.gz
$ pkgadd -d go-server-${version}-solaris
To manage the go-server service, you may use the following commands -
svcs go/server
svcadm enable -s go/server
svcadm disable -s go/server
After installing the go-server service, you must first configure the service with the hostname (or IP address) of your Go server, in order to do this -
/etc/default/go-server
in your favourite text editor.GO_SERVER=127.0.0.1
to the hostname (or IP address) of your Go server.The go server installs the following files on your filesystem
/var/lib/go-server #contains the binaries
/usr/share/go-server #contains the start script
/var/log/go-server #contains the server logs
The go server installs the following files on your filesystem
/var/lib/go-server #contains the binaries and database
/etc/go #contains the configuration files
/var/log/go-server #contains the server logs
/usr/share/go-server #contains the start script
You can replicate a go-server with all the pipeline, stage, job, tasks and materials definitions/configuration intact.
To do this Administrator should copy cruise-config.xml
from the config directory to the new server and clear serverId
attribute of server
tag.
Note: Copying just the
cruise-config.xml
file will not migrate the historical pipeline data and artifacts. Please see backup go server to backup and restore an existing go server.
Also see...