Download Installation Manual - Support

Transcript
5.2 Registering A SUSE Linux Enterprise Server Based Cluster
[root@bright70 ~]# zypper lr
and the head node can be updated with:
[root@bright70 ~]# zypper refresh
[root@bright70 ~]# zypper update
5.2.2 Registering A Software Image With SUSE
The suse_register command can be used to register a SUSE software
image. If the head node on which the software image resides has no direct connection to the internet, then the HTTP_PROXY and HTTPS_PROXY
environment variables can be set to access the internet via a proxy. Running the command with the help option, as “suse_register --help”,
provides further information about the command and its options.
The default software image default-image can be registered by
running the following on the head node:
[root@bright70˜]# chroot /cm/images/default-image suse_register -n -a \
email=<e-mail address> -a regcode-sles=<activation code> --restore-repos
The e-mail address is the address used to register the subscription
with Novell. When logged in on the Novell site, the activation code or
registration code can be found at the products overview page after selecting “SUSE Linux Enterprise Server”.
When running the suse_register command, warnings about the
/sys or /proc filesystems can be ignored. The command tries to query
hardware information via these filesystems, but these are empty filesystems in a software image, and only fill up on the node itself after the
image is provisioned to the node.
Instead of registering the software image, the SLES repositories can be
enabled for the default-image software image with:
[root@bright70 ~]# cp /etc/zypp/repos.d/*novell* /cm/images/default-ima\
ge/etc/zypp/repos.d/
[root@bright70 ~]# cp /etc/zypp/credentials.d/NCCcredentials /cm/images\
/default-image/etc/zypp/credentials.d/
The repository list of the default-image software image can be
viewed with the chroot option, -R, as follows:
[root@bright70 ~]# zypper -R /cm/images/default-image lr
and the software image can be updated with:
[root@bright70
[root@bright70
[root@bright70
[root@bright70
~]#
~]#
~]#
~]#
export
zypper
zypper
zypper
© Bright Computing, Inc.
PBL_SKIP_BOOT_TEST=1
-R /cm/images/default-image refresh
-R /cm/images/default-image update
-R /cm/images/default-image clean --all
65