|
|
![]() Typical deployment scenario for a Hedeby system Before installing Hedeby please answer the following questions.
Before the installation of the Hedeby system can begin please ensure Java 5 or Java 6 is installed on all of your hosts. The Java binary must be in PATH of the users which invokes Hedeby binaries. We do not recommend different Java versions on the different hosts Please perform on each host the following steps:
% java -version
java version "1.5.0_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)
Once Java is available on each host please install the Hedeby binaries.
Currently the distribution is only available as
% rlogin foo
% cd /opt
% su
# mkdir sdm
# cd sdm
# tar xzf <dist_dir>/sdm-1.0.tar.gz
Please ensure that the owner of all files of the distrubtion is the Hedeby admin user (e.g. sdm_admin).
# chown -R sdm_admin /opt/sdm
Please update your shell configuration files. Ensure that the bin directory of the distribution is in the path of the Hedeby admin user. The first step for a Hedeby system installation is the installation of the master host. This step is performed with the sdmadm install_master_host command. It must be started as user root. The following tasks are performed by this command.
The sdmadm install_master_host command has the following options:
Example 2.1. Example for a Master Host Installation The "sdmadm inst_master" command is used to install the Hedeby master host on the local host "foo". After successfull execution the Hedeby system "hedeby1" has the bootstrap information stored in the system preferences. The CA component is using the specified "-ca_..." options for creating the CA certificate. The "cs_port" value specifies a free port on the master host used for the configuration service. All components will contact this service to get their configuration.
foo# mkdir /var/spool/sdm
foo# sdmadm -s hedeby1 -p system \
install_master_host \
-ca_admin_mail "userFoo@foo.com" \
-ca_state "fooLand" \
-ca_country "FO" \
-ca_location "fooLocation" \
-ca_org_unit "fooUnit" \
-ca_org "fooOrg" \
-au sdm_admin \
-d /opt/sdm \
-cs_port 31118 \
-l /var/spool/sdm/hedeby1 \
-sge_root /opt/sge62
After installing the command sdmadm startup_jvm starts all processes on the master host
foo# sdmadm -s hedeby1 startup_jvm
jvm host result message
---------------------------------
cs_vm foo STARTED
executor_vm foo STARTED
rp_vm foo STARTED
After the the master host is has been installed and started the managed host installation must be performed. Go to each managed host and execute the sdmadm install_managed_host command. The following steps will be executed:
The following table shows all possible command options. Global command options are described in Section 2.3.1, “Global Cli Commands”.
Example 2.2. Example Managed Host Installation The sdmadm install_managed_host command is used to make host foo2 to a managed host. After successfull execution the Hedeby system "hedeby1" has the bootstrap information stored in the system preferences. The command uses the keystore of the sdm_admin user for authentication against the configuration service.
foo1# mkdir /var/spool/sdm
foo1# sdmadm -s hedeby1 -p system \
-keystore /net/foo/export/home/sdm_admin/tmp/sdm_admin.keystore \
-cacert /net/foo/export/home/sdm_admin/tmp/ca_cert.pem \
inst_managed_host \
-au sdm_admin \
-d /opt/sdm \
-l /var/spool/sdm/hedeby1 \
-cs_url foo:31118
After installing the command sdmadm startup_jvm is used to startup the Executor component on the managed host.
foo1# sdmadm -p system -s hedeby1 startup_jvm
jvm host result message
---------------------------------
cs_vm foo1 STARTED
The master host installation adds automatically the first service to the Hedeby system. It's the Spare Pool. After all managed hosts are installed additional services can be added. For now it is only Spare Pools and Grid Engine Services are possible. Grid Engine Services are added with the sdmadm add_ge_service command. A detailed description of this command can be found at Section 2.2.3.2, “Add a Grid Engine Service” |
|
![]() |
By any use of this Website, you agree to be bound by these Policies and Terms of Use. |