Difference between revisions of "Bright:License the Cluster"

From Define Wiki
Jump to navigation Jump to search
(Created page with "* Run the <tt>request-license</tt> command <syntaxhighlight> [root@brighthead ~]# request-license Product Key (XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX): 016264-737513-885435-736363-619576 ...")
 
 
Line 1: Line 1:
 +
== Request / Apply License ==
 +
 
* Run the <tt>request-license</tt> command
 
* Run the <tt>request-license</tt> command
 +
* Run this command if you have a product key (such as: 016264-737513-885435-736363-619576)
  
 
<syntaxhighlight>
 
<syntaxhighlight>
Line 58: Line 61:
 
pexec reboot
 
pexec reboot
  
 +
</syntaxhighlight>
 +
 +
== Verify License ==
 +
<syntaxhighlight>
 +
[root@brighthead ~]# cmsh
 +
[brighthead]% main licenseinfo
 +
License Information                                                             
 +
---------------------------- ----------------------------------------------------
 +
Licensee                    /C=UK/ST=St Albans/L=Frogmore/O=Boston             
 +
                              /OU=HPC/CN=Boston Test                           
 +
Serial Number                12903                                             
 +
Start Time                  Mon Jul 15 00:00:00 2013                           
 +
End Time                    Sat Nov 16 23:59:00 2013                           
 +
Version                      6.1                                               
 +
Edition                      Advanced                                           
 +
Pre-paid Nodes              32                                                 
 +
Max Pay-per-use Nodes        1000                                               
 +
Node Count                  1                                                 
 +
MAC Address / Cloud ID      08:00:27:C7:8F:2A       
 
</syntaxhighlight>
 
</syntaxhighlight>

Latest revision as of 20:49, 20 October 2013

Request / Apply License

  • Run the request-license command
  • Run this command if you have a product key (such as: 016264-737513-885435-736363-619576)
[root@brighthead ~]# request-license 
Product Key (XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX): 016264-737513-885435-736363-619576

Country Name (2 letter code): UK
State or Province Name (full name): St Albans
Locality Name (e.g. city): Frogmore
Organization Name (e.g. company): Boston 
Organizational Unit Name (e.g. department): HPC
Cluster Name: Boston Test
Private key data saved to /cm/local/apps/cmd/etc/cert.key.new

MAC Address of primary head node (brighthead) for eth0 [08:00:27:C7:8F:2A]: 
Will this cluster use a high-availability setup with 2 head nodes? [y/N] 

Certificate request data saved to /cm/local/apps/cmd/etc/cert.csr.new
Submit certificate request to http://support.brightcomputing.com/licensing/index.cgi ? [Y/n] 

Contacting http://support.brightcomputing.com/licensing/index.cgi...

License granted.
License data was saved to /cm/local/apps/cmd/etc/cert.pem.new
Install license? [Y/n] y
========= Certificate Information ========
Version:                 6.1
Edition:                 Advanced
Common name:             Boston Test
Organization:            Boston 
Organizational unit:     HPC
Locality:                Frogmore
State:                   St Albans
Country:                 UK
Serial:                  12903
Starting date:           15 Jul 2013
Expiration date:         16 Nov 2013
MAC address:             08:00:27:C7:8F:2A
Pre-paid nodes:          32
Max Pay-per-use Nodes:   1000
==========================================

Is the license information correct ? [Y/n] y
Backup directory of old license: /var/spool/cmd/backup/certificates/2013-10-20_21.44.24
Installed new license

Waiting for CMDaemon to stop: OK

Installing admin certificates

Waiting for CMDaemon to start: OK

Regenerating certificates for users
New license was installed. In order to allow nodes to obtain a new
node certificate, all nodes must be rebooted.

Please issue the following command to reboot all nodes:
	pexec reboot

Verify License

[root@brighthead ~]# cmsh
[brighthead]% main licenseinfo 
License Information                                                              
---------------------------- ----------------------------------------------------
Licensee                     /C=UK/ST=St Albans/L=Frogmore/O=Boston              
                              /OU=HPC/CN=Boston Test                             
Serial Number                12903                                               
Start Time                   Mon Jul 15 00:00:00 2013                            
End Time                     Sat Nov 16 23:59:00 2013                            
Version                      6.1                                                 
Edition                      Advanced                                            
Pre-paid Nodes               32                                                  
Max Pay-per-use Nodes        1000                                                
Node Count                   1                                                   
MAC Address / Cloud ID       08:00:27:C7:8F:2A