April 18, 2018

Got Certified!!!

Posted in Redhat Satellite at 2:25 pm by alessiodini


Yesterday I passed the EX403 exam, finally I got certified as “Red Hat Certified Specialist in Deployment and Systems Management”.
I’m still waiting the PDF because Redhat does not send the certification within the mail as in the past.
Now I have 3 more exams to pass for reach the “Redhat Cloud Architect” level. Actually I’m planning to take Openstack RHCSA ( the next one ), after I would like to take the Openshift exam. Later I will think about the lastone exam.

Let’s study more and more!!

Advertisements

April 4, 2018

Redhat Satellite 6.2: How to isolate contents for specific capsules

Posted in Redhat Satellite at 2:21 pm by alessiodini


Let’s think a Satellite infrastructure as follow:

1x satelite core
multiple capsules ( 4x, 6x, or more )

What if we need to host custom packages isolating them on a single or only two capsules?
Satellite 6.2.x does not have this feature natively. In my case I solved with these steps:

1) Creating a new organization
2) Creating a new capsules inside the new organization
3) Modifying the subscription manifest and assigning a new one on the new organization

With this I’m sure that contents on the new organization are isolated between those capsules. I tried everything playing with Lifecycles/Content Views, but I was unable to isolate the contents within the present organization.

March 20, 2018

Failed Redhat Satellite Exam

Posted in Redhat Satellite at 9:16 am by alessiodini


Last Week I faced EX403V6K exam in KOALA mode. I left the room sure to pass the exam, I did 16 of 18 tasks requested. Anyway I received 173 score and I was very surprised because I was sure to about the tasks I worked for. The only thing I’m thinking about is to forget Uppercase in some name, because I manually tested each component and it worked great.
I found KOALA very very restrictive but with a bit of patience it’s not that bad.
The only issue is that I founded a couple of tasks a bit subjectives, at this point I think I understood bad that tasks.
I don’t give up and I will repeat the exam studying more and more because I want to reach RHCA cloud level.
Let’s study more!!

March 14, 2018

Redhat Satellite: How to sync a specific lifecycle environment on a capsule

Posted in Redhat Satellite at 10:50 am by alessiodini


In these days I’m working several hours with Redhat Satellite 6.2.9
The architecture is composited by:

1x satellite orchestrator
6x capsules

I made a new lifecycle/content view/activation keys objects and I need on a capsule to sync it for a specific lifecycle, instead of syncing it for *all* lifecycles assigned.

I was very funny to explore hammer CLI options:

[root@lsatellite ~]# hammer capsule list
—|————————————|————————————————-|————————–
ID | NAME | URL | FEATURES
—|————————————|————————————————-|————————–
2 | lxrp-capsule-area3.pippo.net | https://lxrp-capsule-area3.pippo.net:9090 | Templates, Pulp Node, …
7 | lxrp-capsule-ca4p1.pippo.net | https://lxrp-capsule-ca4p1.pippo.net:9090 | Templates, Pulp Node, …
3 | lxrp-capsule-dcs.pippo.net | https://lxrp-capsule-dcs.pippo.net:9090 | Templates, Pulp Node, …
4 | lxrp-capsule-ibi.pippo.net | https://lxrp-capsule-ibi.pippo.net:9090 | Templates, Pulp Node, …
5 | lxrp-capsule-itzrm.pippo.net | https://lxrp-capsule-itzrm.pippo.net:9090 | Templates, Pulp Node, …
6 | lxrp-capsule-visby.pippo.net | https://lxrp-capsule-visby.pippo.net:9090 | Templates, Pulp Node, …
1 | lxrp-ltm-satellite.pippo.net | https://lxrp-ltm-satellite.pippo.net:9090 | Pulp, Puppet, Puppet C…
—|————————————|————————————————-|————————–

[root@satellite ~]# hammer lifecycle-environment list –organization XXX
—|———————|——————-
ID | NAME | PRIOR
—|———————|——————-
9 | VcloudIrector | Library
4 | Test | development
22 | reference-snapshot | Library
23 | reference-release | reference-snapshot
2 | Production | Library
7 | Library-2 | Library
1 | Library |
3 | development | Production
10 | Content_Jenkins | Library
8 | Base-release-upload | Library-2
—|———————|——————-

[root@satellite ~]# hammer capsule content synchronize –id 7 –environment-id 22 –organization GTK
[………………………………………………………………………………………………………………………………………… ] [80%]
[………………………………………………………………………………………………………………………………………… ] [80%]
[………………………………………………………………………………………………………………………………………… ] [80%]

Done!!! 🙂

October 3, 2017

Satellite and Vmware Sync

Posted in Redhat Satellite at 9:20 am by alessiodini


In these days I’m working a lot on Vmware 6x environment and Redhat Satellite 6.2.9

Both products must be in “sync”, otherwise customer could face subscription issues. What I’m speaking about?

For example:
[Time 0]
– A single farm with 4 esx host is added to Satellite.
– Sattelite side, all hosts are licensed with “Virtual Datacanter” subscription

[Time 1]
– ESX side one hypervisor is left out from the cluster and dismissed.
– Satellite still has 4 hosts licensed.
In this scenario the products are not in sync; for this purpose I wrote a perl script called vsync.pl.
This script will contact Satellite and Vmware obtaining both sides the ESX list and comparing them obtaining any difference. The check is double: Vmware->Satellite and Satellite->Vmware

I’m thinking about to open a GIT account uploading the script there.
This is an extract of the last run log:

(…)
Connection to host lxrp-capsule-pippo.it established
Capsule lxrp-capsule-pippo.it contains 1 farm.
ATTENTION: vcpodpippo.it is not IP address format, , the powercli query could face some error!!

Processing vcpodpippo.it
ESX podesx15.pippo.it is missing on Satellite
ESX podesx16.pippo.it is missing on Satellite
ESX podesx17.pippo.it is missing on Satellite

(…)

From the output is clear the current condition: Satellite knows three hosts less than Vmware actually has.
This is due because during the time, Vmware side the hosts number was increased and no one said anything about this task.

I was so funny to develop thi script! 😀

June 1, 2017

Redhat Satellite 6.2.9

Posted in Redhat Satellite at 8:10 am by alessiodini


From the last week I’m working for a new customer. Actually I mainly work on Redhat Satellite 6.2, Redhat Cluster and I hope to also work with more and more things!
I have the opportunity to work in an english speaking environment, I finally can improve my poor english!!!
Soon I will share some satellite note and procedure 😀