Node Categories | Software Images | Nodes |
---|---|---|
compute | compute-image | cnode[01-16] |
login | login-image | login[01-02] |
scheduler | sched-image | sched |
iml | iml-image | imlnode |
mds | mds-image | mds[01-02] |
oss | oss-image | oss[01-02] |
nfs | nfs-image | nfs[01-02] |
These images are based on the default image from Bright Cluster Manager.
Clone the default image to “new” name
[bright1->softwareimage]% clone default-image compute-image [bright1->softwareimage]% clone default-image login-image [bright1->softwareimage]% clone default-image sched-image
Clone the default category to a “new” category
[bright1->category]% clone default compute [bright1->category]% clone default login [bright1->category]% clone default scheduler
Set the default software image for each category
[bright1->category*[compute*]]% set softwareimage compute-image [bright1->category*[login*]]% set softwareimage login-image [bright1->category*[scheduler*]]% set softwareimage sched-image [bright1->category*]% commit
* Install CentOS 6.7 manually on a physical machine [hostname “iml”]
* Copy ssh-keys from Bright server to the physical machine
[root@bright1 ~]# ssh-copy-id root@172.18.0.187 [root@bright1 ~]# ssh root@172.18.0.187 Last login: Sun Aug 13 18:47:05 2017 from master.cm.cluster [root@iml ~]#
* Copy CentOS 6 repo for Bright manager and dell repository
[root@bright1 general_repos]# scp cm.repo 172.18.0.187:/etc/yum.repos.d/cm.repo [root@bright1 general_repos]# scp dell-osma-repository.repo 172.18.0.187:/etc/yum.repos.d/dell-osma-repository.repo
* Install additional packages for dependencies on the physical machine
[root@iml ~]# yum groupinstall -y "development tools" [gives me rsync, perl etc] [root@iml ~]# yum install redhat-lsb-core [cmd init script requires it] [root@iml ~]# yum install smartmontools ["smart" healthcheck fails without it]
* Create image from the physical machine
[root@bright1 images]# cm-create-image --fromhost 172.18.0.187 --imagename iml-image --hwvendor dell Validating image host............................ [ OK ] Running sanity checks............................ [ OK ] Syncing image host............................... [ OK ] Copying cm repo files............................ [ OK ] Validating repo configuration.................... [ OK ] Finalize base distribution....................... [ OK ] Installing distribution packages................. [ OK ] Finalizing image services........................ [ OK ] Installing Minimal CM packages................... [ OK ] Finalizing cluster services...................... [ OK ] Adding/Updating software image................... [ OK ]
* Clone iml-image to create “new” images of it
[bright1->softwareimage]% clone iml-image mds-image [bright1->softwareimage]% clone iml-image oss-image [bright1->softwareimage]% clone iml-image nfs-image [bright1->softwareimage]% commit
* Clone default category and set software images for each category
[bright1->category]% clone default mds [bright1->category[mds]]% set softwareimage mds-image [bright1->category*[mds*]]% commit [bright1->category[mds]]% exit [bright1->category]% clone default oss [bright1->category[oss]]% set softwareimage oss-image [bright1->category*[oss*]]% commit [bright1->category[oss]]% exit [bright1->category]% clone default nfs [bright1->category*[nfs*]]% set softwareimage nfs-image [bright1->category*[nfs*]]% commit [bright1->category[nfs]]% exit [bright1->category]% clone default iml [bright1->category*[iml*]]% set softwareimage iml-image [bright1->category*[iml*]]% commit [bright1->category[iml]]% exit