Synchronize the content to the capsule server

Capsule server install: https://goo.gl/Y4ByXk

1) List capsule servers  from satellite server

[root@satserver ~]# hammer capsule list
[Foreman] Username: admin
[Foreman] Password for admin:
—|——————————————–|——————————————————–
ID | NAME                                       | URL
—|——————————————–|——————————————————–
1  | satserver.xyz.com | https://satserver.xyz.com:9090
2  | capsule01.xyz.com    | https://capsule01.xyz.com:9090

2) List available lifecycle environments to the capsule

[root@satserver ~]# hammer capsule content available-lifecycle-environments –id 2
[Foreman] Username: admin
[Foreman] Password for admin:
—|———|———————
ID | NAME    | ORGANIZATION
—|———|———————
1  | Library | Default Organization
2  | devel   | Default Organization
—|———|———————
[root@satserver ~]#

id: 2 is my capsule server id.

3) Add life cycle environment to capsule

[root@satserver ~]# hammer capsule content add-lifecycle-environment –environment-id 2  –id 2

4) Added life cycle environment is listed here.

[root@satserver ~]# hammer capsule content lifecycle-environments –id 2

5) Synchronize content.

hammer  capsule content synchronize  –id 2

It takes a while to sync the content based on network.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s