
wget $JON_LICENSE_URL -O /home/$JON_USER/
$JON_ROOT/jbossas/server/default/deploy/rhq.ear.rej/license/license.xml
echo " * Starting JON for the first time..."
service rhq-server.sh start
# install JON plugins
echo " * Waiting until server installs..."
sleep $AUTOINSTALL_WAITTIME #wait for autoinstall to finish
echo " * Installing plugins..."
for i in /home/$JON_USER/*.zip ; do unzip -d /tmp/rhq-plugins $i *.jar ; done
find /tmp/rhq-plugins -name "*.jar" | xargs -i[] mv [] /home/$JON_USER/
$JON_ROOT/jbossas/server/default/deploy/rhq.ear/rhq-downloads/rhq-plugins
/bin/rm -rf /tmp/rhq-plugins
echo " * Restarting JON..."
service rhq-server.sh stop
service rhq-server.sh start
6.4.2 MRG VM
The MRG VM kickstart installs the VM and configures MRG settings. The kickstart installs the
OS, opens the required firewall ports, adds the MRG Manager user, enables the required
services, and configures actions to be performed upon the next boot of the VM.
mrggrid.ks
install
text
network --device eth0 --bootproto static --ip 10.16.136.50 --netmask 255.255.248.0 --gateway 10.16.143.254
--nameserver 10.16.136.1,10.16.255.2 --hostname mrg-vm.cloud.lab.eng.bos.redhat.com
url --url http://sat-vm.cloud.lab.eng.bos.redhat.com/ks/dist/ks-rhel-x86_64-server-5-u5
lang en_US
keyboard us
zerombr
clearpart --all
part /boot --fstype=ext3 --size=200
part pv.01 --size=1000 --grow
part swap --size=1000 --maxsize=2000
volgroup MRGVG pv.01
logvol / --vgname=MRGVG --name=rootvol --size=1000 --grow
bootloader --location mbr
timezone America/New_York
auth --enablemd5 --enableshadow
rootpw --iscrypted $1$1o751Xnc$kmQKHj6gtZ50IILNkHkkF0
selinux --permissive
poweroff
firewall --enabled
skipx
101 www.redhat.com
Comentarios a estos manuales