X-Ray
X-ray is the feature which helps OmniDeq to better understand the behaviour of a process by attaching a probe. Linux process must perform X-Ray before moving forward to transform.
You can perform X-Ray in three steps:
1. Start X-Ray (Attach)
- You can attach the x-ray probe to a process.
- It also possible to attach multiple processes in one go. There is a limit of 5 processes per host which can be attached simultaneously.
- X-ray probe will restart the process and the new PID will be updated on the UI.
2. Functional Testing
- While x-ray probes are attached, we recommended to test the application which is being attached.
- This way in the background, the x-ray probe captures the interaction of application with the underlying operating system.
- This in turn helps to generate the container image.
- It is recommended to a perform round of smoke tests.
- Not in all scenarios, but if the tests are not performed after the x-ray probe is attached, probe may not be able to detect the interaction of process with underlying operating system.
- Once the funtionality testing is complete user can stop the X-Ray.
Tip : Please clear the cache of the browser before starting the functional tests. It is very much possible that the browser caches the earlier CSS and HTML files and do not request it from the application code during application testing.
3. Stop X-Ray (Detach)
- You can detach the x-ray probe after feature testing the application.
- It also possible to detach multiple processes in one go. There is a limit of 5 processes per host which can be detached simultaneously.
- X-ray probe detach will stop the x-ray probe and process which is being probed.
- It will resume the process once the probe is stopped.
- In case of init system and systemd, process gets restarted and new PID will be updated in UI.
- In case of standalone process PID will not change. It will be same as the PID after attach and will be updated in UI.
- After successful detach, analysis phase gets automatically started (screenshot)
- After successful analysis, process network info gets populated in More Info tab.
- Once X-Ray stop is complete, you can move to transfom the hosts.
X-Ray Process in detail:
- Click here to know X-Ray steps