Managing Servers

Navigation:  KernelCare.ePortal >

Managing Servers

Previous pageReturn to chapter overviewNext page

You can see servers belonging to the key by clicking on the key itself in Managing Keys interface.

 

server_list

The screen shows servers registered under the key, their IP, hostname, effective kernel as well as the time of registration and last check in.

 

Managing Script

 

Note. If scripts do not work on your ePortal, you might need to update ePortal first. To update ePortal, please run the following command:

 

> yum update kcare-eportal

 

To view the list of all servers IDs that are connected to the particular key, do the following:

In the UI go to the page with the list of keys. Then click the particular key. The list of servers connected to this key will be displayed.

 

To view the list of all servers IDs that are not connected to any key, do the following:

In the UI go to the page with the list of keys. Then click Reset filters button.

OR just follow this URL http://EPORTAL_IP/admin/kcserver/.

 

 

Script to unroll patchsets

 

To unroll patchset run:

 

> kc.eportal --unroll 16012017_1

 

Script to determine the number of servers under the management of ePortal, per key

 

To see pairs of key/number of servers run:

 

> kc.eportal --list-servers

 

Count | Key

----- + --------------------------------

  0 | 2shcolu7Y1x6885Q

  2 | 6J89aS44j6OmTr05

 

 

Script to automatically install latest patchsets

 

It determines if latest patches are available and installs them.

 

>kc.eportal --get-latest

 

Unroll patches from UI

 

In the patch-source page, there is a list of available patches. To unroll patches click the button Roll back this patch, and all after it.

Use it to roll back the patch and all the following patches.

 

Show extended check-in statistics in admin UI

 

A new table is added to the starting page. This table displays the following:

Total number of servers.

Number of servers that checked in for the past 48 hours.

 

The number of servers for each key is listed in the Key Inventory table.

 

Ability to create read-only users

 

[root@localhost ~]# kc.eportal -l

Num | Username

--- + --------------------------------

 1 | admin

 2 | user

[root@localhost ~]# kc.eportal -r user

User 'user' is now readonly

 

Feed management capabilities

 

Create additional feeds.

Specify feed for each key.

Move key (and associated servers) from feed to feed.

 

FeedManagementCapabilities1

To add a key to the feed a user should enter the key number and choose a feed.

If a user specifies the name of a feed that does not exist yet, a new feed will be created.

To change feed for a particular key, enter the key number and feed where the key should be moved to.

 

To manage patchsets for each feed, click feed name on the navigation bar. A list of all available patches and actions on them will be displayed.

 

If a feed is deleted, the servers/key belonging to that feed are moved to the "main" feed.

 

FeedManagementCapabilities2

 

 

Adding extra Tag field

 

To add extra Tag field for the server, run:

 

kcarectl --tag command

 

where command is a parameter defined by a user. This parameter will be displayed in UI for the server.

 

To remove the data, run:

 

kcarectl --tag ""

 

where ''" is a parameter to delete the previously defined tag.