Latest / CyberCode Academy / Course 32 - Checkpoint CCSA R80 | Episode 12: Managing Processes, Web Ports, and System Backups
Transcript
- 0:00Speaker 1: Picture this. It's a Tuesday afternoon. You know, you're managing
- 0:04Speaker 1: a secure network and out of nowhere, totally out of nowhere,
- 0:08Speaker 1: the communication between your machines is broken.
- 0:11Speaker 2: Oh yeah, the digital silent treatment.
- 0:13Speaker 1: Right, You're staring at your screen. The systems that are
- 0:16Speaker 1: supposed to be talking are just well ignoring each other.
- 0:19Speaker 1: What do you even do in that moment?
- 0:21Speaker 2: I mean it is the classic nightmare scenario for anyone
- 0:25Speaker 2: in it or cybersecurity, that exact moment of panic when
- 0:29Speaker 2: the shiny graphical interface just stops responding.
- 0:32Speaker 1: You realize you actually have to look under the hood exactly.
- 0:34Speaker 2: You can't just click a button to fix it.
- 0:36Speaker 1: So today's mission for this deep dive is really about
- 0:40Speaker 1: transforming you from you know, a panic troubleshooter into a
- 0:44Speaker 1: confident ice in your veins systems manager.
- 0:47Speaker 2: I love that ice in your veins.
- 0:49Speaker 1: Right. We're doing something a bit different today too. This
- 0:51Speaker 1: is a purely audio, step by step masterclass on navigating
- 0:55Speaker 1: the behind the scenes processes of a checkpoint security environment.
- 0:58Speaker 2: Yeah, we're going to bypass network road create full proof
- 1:01Speaker 2: safety nets, all of it exactly.
- 1:03Speaker 1: So, whether you're a young tech professional, maybe a self
- 1:06Speaker 1: taught cybersecurity enthusiast or honestly to someone curious about what
- 1:10Speaker 1: actually runs a secure network.
- 1:12Speaker 2: The goal here is to help you build a mental model.
- 1:14Speaker 2: We want you to be able to close your eyes
- 1:16Speaker 2: and picture the command line interface, you know, just visualize
- 1:19Speaker 2: it right, understanding not just what commands to type, but
- 1:23Speaker 2: the actual architectural logic behind why they work.
- 1:26Speaker 1: So before we start fixing a block network or I
- 1:29Speaker 1: don't know, saving a system from crashing, we really have
- 1:33Speaker 1: to understand the invisible workers keeping the lights on.
- 1:35Speaker 2: It, demons and processes.
- 1:37Speaker 1: Yeah, because when you look at a modern firewall or
- 1:39Speaker 1: a management server, it's not just one giant application running
- 1:42Speaker 1: everything right, It's a collection of well decoupled background services.
- 1:48Speaker 2: It is deeply, deeply modular. I mean, in a checkpoint
- 1:51Speaker 2: environment there are dozens of independent background services running simultaneously.
- 1:56Speaker 1: Dozens wow.
- 1:57Speaker 2: Yeah, And the whole architectural philosophy here is isolation. So
- 2:01Speaker 2: if a single process that's responsible for say generating a
- 2:04Speaker 2: PDF report crashes.
- 2:06Speaker 1: You absolutely do not want that crash to take down
- 2:10Speaker 1: the process that's routing your network traffic exactly.
- 2:12Speaker 2: Decoupling these services ensures stability, it keeps the whole system
- 2:16Speaker 2: from going down over one minor glitch.
- 2:19Speaker 1: That makes total sense. A monolithic application is just a
- 2:22Speaker 1: huge single point of failure. But that modularity also means
- 2:27Speaker 1: when the network is broken, the troubleshooting gets a lot
- 2:31Speaker 1: more complex, isn't it.
- 2:31Speaker 2: Oh? Absolutely, you have to ask, you know, which specific
- 2:35Speaker 2: service out of the dozens running is actually responsible for
- 2:38Speaker 2: the failure?
- 2:39Speaker 1: Right, and looking at the list of these services, I
- 2:41Speaker 1: mean it's an absolute alphabet soup, it really is.
- 2:44Speaker 2: The acronyms can be super intimidating initially, but we can
- 2:48Speaker 2: isolate the core heavy hitters. So at the very top
- 2:51Speaker 2: of the hierarchy you have CPM.
- 2:53Speaker 1: Okay, CPM.
- 2:54Speaker 2: This is the primary service that makes the entire management
- 2:56Speaker 2: server function. It's the engine reading and writing to the
- 2:59Speaker 2: core databases. Without CPM, the server is functionally offline.
- 3:04Speaker 1: So CPM is like the general manager making sure the business.
- 3:06Speaker 2: Operates perfect analogy. Yeah, and moving down, you have fwm
- 3:10Speaker 2: FW right. This damon handles the communications between the management
- 3:14Speaker 2: server and your administration PC, specifically the PC running your
- 3:18Speaker 2: graphical smart console application.
- 3:20Speaker 1: So it's the gateway for human administrators to interact with
- 3:24Speaker 1: the system exactly.
- 3:25Speaker 2: Then you have CPD, the checkpoint damon.
- 3:28Speaker 1: Damon being spelled daemom, the classic U and IX and
- 3:33Speaker 1: Linux term for a background process.
- 3:35Speaker 2: Yep, you got it. CPD is the warkhourse. It's this
- 3:38Speaker 2: generic underlying process utilized across multiple checkpoint services to execute
- 3:44Speaker 2: the actual heavy.
- 3:44Speaker 1: Lifting, like what kind of heavy lifting.
- 3:46Speaker 2: Things like pulling configurations or you know, executing commands on
- 3:50Speaker 2: remote dateways. We also have CPCA, which manages the certificate.
- 3:54Speaker 1: Authority handling internal trust and encryption keys exactly.
- 3:57Speaker 2: And if you're trying to automate tasks, say you want
- 3:59Speaker 2: to manager environment outside of the traditional smart console using
- 4:03Speaker 2: custom Python.
- 4:04Speaker 1: Scripts or API fy nice.
- 4:06Speaker 2: Yeah, there's a specialized executable called mgmt climbs.
- 4:09Speaker 1: Okay, mgmt climb right.
- 4:11Speaker 2: It's incredibly powerful, available for Linux and Windows, and it
- 4:15Speaker 2: allows you to send commands directly to your management server programmatically,
- 4:20Speaker 2: completely bypassing the graphical interface.
- 4:22Speaker 1: That's super useful.
- 4:23Speaker 2: It really is rounding out our core list. We have dbsync,
- 4:27Speaker 2: which synchronizes your logs across different servers in a high
- 4:30Speaker 2: availability setup.
- 4:31Speaker 1: Got it.
- 4:31Speaker 2: And for the logs themselves, you have FWD and RFL.
- 4:35Speaker 2: FWD collects the raw log data, while RFL indexes it
- 4:39Speaker 2: so you can actually search through millions of logs in seconds.
- 4:41Speaker 1: Okay, wait, let me try to ground this alphabet suit
- 4:44Speaker 1: because that was a lie for it. If the checkpoint
- 4:46Speaker 1: management server is a busy, high end.
- 4:48Speaker 2: Restaurant, okay, I like where this is going right.
- 4:50Speaker 1: So CPM is the general manager making sure the entire
- 4:53Speaker 1: business runs CPD. That demon is the kitchen staff in
- 4:58Speaker 1: the back doing the generic heavy lifting for all the
- 5:01Speaker 1: dishes spot on, and FWM the one that handles communication
- 5:04Speaker 1: with a smart console. That's the waiter. FWM takes the
- 5:08Speaker 1: order from the customer the admin PC and brings it
- 5:11Speaker 1: to the kitchen.
- 5:12Speaker 2: The analogy holds up perfectly, honestly, especially when you start troubleshooting.
- 5:16Speaker 2: Just think about what happens to the restaurant. If the
- 5:18Speaker 2: waiter suddenly goes missing, you can't order.
- 5:20Speaker 1: I mean, the kitchen might be fully staffed, the general
- 5:22Speaker 1: managers at their desk, the food is prepped, but if
- 5:25Speaker 1: the waiter isn't there.
- 5:26Speaker 2: You have zero ability to communicate with the restaurant exactly.
- 5:30Speaker 1: But instead of just memorizing all these acronyms with flash cards,
- 5:35Speaker 1: is there a way to just ask the server directly
- 5:37Speaker 1: to give us a roll call of who is currently working.
- 5:40Speaker 2: Yes, there is. In a normal Linux shell, you might
- 5:43Speaker 2: use a command like p soo right to see running processes. Well,
- 5:47Speaker 2: Checkpoint utilizes a custom watchdog process. So imagine you've opened
- 5:52Speaker 2: up your command line shell. You're logged in as an admin.
- 5:55Speaker 2: The command you type is CPW dadmin space and then
- 5:58Speaker 2: the word list CPW dadman.
- 6:01Speaker 1: Does that stand for Checkpoint watchdog presumably exactly?
- 6:04Speaker 2: Yes?
- 6:04Speaker 1: Is that case sensitive? Yeah, because Linux environments are you know,
- 6:08Speaker 1: notoriously strict about capitalization.
- 6:10Speaker 2: Oh, case sensitivity is vital here. The command itself, CPW
- 6:14Speaker 2: deadman list should be entirely lowercase.
- 6:16Speaker 1: Got it, entirely lowercase.
- 6:18Speaker 2: Yeah. And when you execute that, your terminal populates with
- 6:21Speaker 2: a formated table of all the services we just discussed.
- 6:25Speaker 2: It shows the process id, the state, whether it's executing
- 6:29Speaker 2: or terminated, and crucially, how many times the watchdog has
- 6:32Speaker 2: had to restart it.
- 6:33Speaker 1: Oh wow, So seeing a process with a restart account
- 6:35Speaker 1: of like five hundred would be a massive red flag.
- 6:39Speaker 2: Oh yeah, it would indicate a demon that is constantly
- 6:42Speaker 2: crashing and being revived. Now, to truly understand the relationship
- 6:46Speaker 2: between the command line and the graphical interface. Let's do
- 6:49Speaker 2: something fun. Okay, we are going to intentionally break the connection.
- 6:53Speaker 2: We are going to fire the waiter.
- 6:55Speaker 1: Oh boy, Okay, I'm visualizing sitting at the terminal, I
- 6:58Speaker 1: type cpw DA admin's space stop space name space FWM. Yeah,
- 7:03Speaker 1: and notice I'm using uppercase for the service name FWM.
- 7:06Speaker 2: Here right right, matching how it appears in the list.
- 7:08Speaker 1: Okay, I hit enter. What is the immediate consequence?
- 7:11Speaker 2: The connection between your PC and the gateway drops instantly.
- 7:14Speaker 2: If you're looking at your smart console interface, the screen
- 7:17Speaker 2: freezes for a moment before throwing a really severe error message. Yeah.
- 7:20Speaker 2: It informs you the connection with the server was lost
- 7:24Speaker 2: and the application has experienced a serious problem.
- 7:27Speaker 1: So the kitchen is still running, the routing is still happening.
- 7:30Speaker 1: But I am completely locked out of the management view completely,
- 7:35Speaker 1: And I assume I can't just close the desktop application,
- 7:38Speaker 1: double click the icon and magically log back in.
- 7:41Speaker 2: Nope, the graphical interface will completely refuse your connection. It'll
- 7:46Speaker 2: suggest checking that the server processes are running. But you're
- 7:49Speaker 2: stuck in a catch twenty two right, because.
- 7:51Speaker 1: You can't use the graphical interface to fix the graphical
- 7:54Speaker 1: interface exactly.
- 7:55Speaker 2: Your only recourse is the command line. You have to
- 7:58Speaker 2: go back to your SSAH terminal session and manually instruct
- 8:01Speaker 2: the watchdog to start the FWM service again.
- 8:03Speaker 1: So the command line really is the absolute source of truth.
- 8:07Speaker 1: The shiny graphical buttons are just a convenience layer sitting
- 8:12Speaker 1: on top of those demons.
- 8:13Speaker 2: That's the perfect way to phrase it. Understanding that internal
- 8:16Speaker 2: processes dictate external access fundamentally changes how you troubleshoot. You
- 8:21Speaker 2: no longer just stare at a spinning loading wheel.
- 8:24Speaker 1: You know, right, You interrogate the underlying demons. Yeah, okay,
- 8:27Speaker 1: So we type the start command, the FWM demon spins
- 8:30Speaker 1: back up, and the waiter is back on the floor.
- 8:33Speaker 1: Internal processes are healthy. But what if the internal processes
- 8:37Speaker 1: are running perfectly, our restaurant is fully open, but the
- 8:40Speaker 1: customer still cannot get in, Like say, there's a physical
- 8:43Speaker 1: router sitting between your PC and the checkpoint server and
- 8:47Speaker 1: it's blocking traffic.
- 8:48Speaker 2: So the roadblock is entirely external, right well, By default,
- 8:52Speaker 2: when you try to access the web user interface to
- 8:54Speaker 2: configure basic system settings, it relies on the httwops protocol.
- 8:59Speaker 1: Which communicates over or standard TCP port four to forty.
- 9:01Speaker 2: Three exactly standard hgtppis traffic is universally routed through port
- 9:06Speaker 2: four to forty three. Now, if that router sitting between
- 9:09Speaker 2: you and the server has strict segregation.
- 9:11Speaker 1: Rules, can figure like an overzealous security policy.
- 9:13Speaker 2: Yeah, maybe a policy that dictates absolutely no traffic is
- 9:16Speaker 2: allowed on port four to forty three across that specific
- 9:19Speaker 2: subnet boundary. Your connection simply times out. The packets never
- 9:23Speaker 2: even reached the server.
- 9:25Speaker 1: So if port four to forty three is the front
- 9:26Speaker 1: door of our restaurant, the router is a massive bouncer
- 9:29Speaker 1: standing in the street saying nobody gets through this intersection tonight.
- 9:32Speaker 2: That is exactly what's happening. And instead of standing there
- 9:35Speaker 2: arguing with the bouncer, we need to instruct our server
- 9:38Speaker 2: to open a side door.
- 9:39Speaker 1: Oh how do we do that?
- 9:41Speaker 2: We use the command line to train the web server
- 9:43Speaker 2: demon to listen on a completely non standard port. Let's
- 9:47Speaker 2: say you investigate the router's rules and discover it freely
- 9:50Speaker 2: allows traffic through TCP port six seven eighty three. We
- 9:53Speaker 2: can instruct our checkpoint server to stop listening on four
- 9:56Speaker 2: four three and start listening on sixty seven eight three.
- 9:59Speaker 1: Okay, so I'm at the terminal. But before I start
- 10:01Speaker 1: blindly changing configurations, I should probably verify the current state rate,
- 10:06Speaker 1: like make sure the web demons actually running in confirm
- 10:08Speaker 1: it's on four forty three.
- 10:09Speaker 2: Very smart. The verification command is show web demon enable.
- 10:13Speaker 2: The terminal should return on.
- 10:15Speaker 1: Got it.
- 10:16Speaker 2: Then to check the current listening port, you type show webspapport.
- 10:20Speaker 1: And the terminal spits back four forty three. Okay, diagnosis confirmed.
- 10:24Speaker 1: How do we execute the change to the side door.
- 10:26Speaker 2: You applied the new configuration by typing set web ssl
- 10:29Speaker 2: dashbickport six seven eight three.
- 10:31Speaker 1: Set web ssl dash port six seven eight three right.
- 10:35Speaker 2: The system will actually prompt you with a warning, ensuring
- 10:37Speaker 2: you really want to modify a core management setting. You
- 10:40Speaker 2: press why to confirm makes sense, and to verify the
- 10:43Speaker 2: change took effect, you can simply press the up arrow
- 10:45Speaker 2: to recall the show webs sl port command. It will
- 10:48Speaker 2: now return six seven eight three.
- 10:51Speaker 1: Brilliant. The server has successfully opened the side door. But wait,
- 10:56Speaker 1: my web browser is still hardwired to look for the
- 10:58Speaker 1: front door.
- 10:58Speaker 2: Yes, it is.
- 10:59Speaker 1: If I open Chrome and type the server's IP address
- 11:02Speaker 1: like one ninety two point one sixty eight point one
- 11:04Speaker 1: point one A, the browser automatically assumes I want port
- 11:07Speaker 1: four to forty three because that's the universal.
- 11:09Speaker 2: Standard exactly, So you must explicitly override the browser's default behavior.
- 11:13Speaker 2: In the address bar, you type hdtps followed by the
- 11:16Speaker 2: IP address. Then critically, you append a colon at the
- 11:19Speaker 2: very end of the IP followed by the new custom
- 11:22Speaker 2: port number.
- 11:23Speaker 1: So the final URL looks like HTTPS by one nine
- 11:26Speaker 1: two point one sixty eight point one one zero point
- 11:28Speaker 1: six seven eighty three.
- 11:29Speaker 2: That's it. You bypass the bouncer by explicitly navigating to
- 11:32Speaker 2: the new socket.
- 11:33Speaker 1: Okay, I hit entered. The log in page loads perfectly.
- 11:35Speaker 1: I put in my admin credentials. But this actually brings
- 11:39Speaker 1: up an interesting architectural conflict. Yeah, I'm now logged into
- 11:41Speaker 1: the WebUI via the side door, but I also still
- 11:45Speaker 1: actively logged into the command line via my SSH session
- 11:48Speaker 1: where I just changed the port.
- 11:50Speaker 2: Ah. Yes, this triggers a vital security mechanism within the
- 11:55Speaker 2: checkpoint environment. Well happens when you log into the web
- 11:58Speaker 2: user interface after making this change, You'll notice the interface
- 12:01Speaker 2: is entirely read only. At the top of the screen,
- 12:04Speaker 2: there's a small pencil and lock icon indicating the configuration
- 12:07Speaker 2: database is currently locked.
- 12:09Speaker 1: Wait, why does the system lock me out of making
- 12:11Speaker 1: changes when I'm locked in as an administrator?
- 12:13Speaker 2: Because the checkpoint operating system relies on a central configuration database.
- 12:18Speaker 2: When you open an administrative session in the command line,
- 12:21Speaker 2: the system places an exclusive right lock on that database.
- 12:25Speaker 1: To prevent a split brain scenario exactly.
- 12:28Speaker 2: Imagine Admin A is in the CLI typing a command
- 12:31Speaker 2: to change an IP address, while Admin B is in
- 12:34Speaker 2: the WebUI simultaneously clicking a button to change that same
- 12:37Speaker 2: IP to something else.
- 12:39Speaker 1: The database would corrupt instantly.
- 12:41Speaker 2: The lock ensures only one session has right privileges at
- 12:43Speaker 2: a time.
- 12:44Speaker 1: That is a brilliant anti corruption safeguard. So to do
- 12:48Speaker 1: anything in the WebUI, I have to physically click that
- 12:51Speaker 1: lock icon right.
- 12:52Speaker 2: The system will ask if you want to override the
- 12:55Speaker 2: lock from the CLI session and claim right privileges for
- 12:59Speaker 2: the web session. By claiming the lock, you inform the
- 13:02Speaker 2: database that the web session is now the authoritative source.
- 13:06Speaker 1: It's a seamless handoff, provided you understand why the system
- 13:08Speaker 1: paused you in the first place.
- 13:10Speaker 2: Exactly.
- 13:11Speaker 1: Now, this entire port workaround is incredibly clever, But I
- 13:14Speaker 1: got to say typing set web SSL tarch port six
- 13:19Speaker 1: seven eighty three makes me slightly nervous. Why is that
- 13:21Speaker 1: it feels like a temporary band aid. You know, we're
- 13:24Speaker 1: running an enterprise security appliance on a random, non standard
- 13:27Speaker 1: port just to dodge a misconfigured router.
- 13:30Speaker 2: Oh, it is absolutely a stopgap measure running management interfaces
- 13:33Speaker 2: on custom ports and definitely creates a huge documentation nightmare.
- 13:37Speaker 2: It confuses other administrators right. The side door just keeps
- 13:40Speaker 2: the business running today, allowing you to access the WebUI
- 13:43Speaker 2: and complete your immediate tasks. But you still must submit
- 13:46Speaker 2: a ticket to the network team managing that router, requesting
- 13:48Speaker 2: they fix the filtering rules.
- 13:50Speaker 1: And once they fix the router, you should revert the
- 13:53Speaker 1: web demon back to its default state.
- 13:55Speaker 2: One hundred percent. Furthermore, manually typing configuration changes in the
- 14:00Speaker 2: CLI carries inherent risks.
- 14:02Speaker 1: Oh yeah, if I mistype that port number, say I
- 14:05Speaker 1: accidentally type set web SSL port six seven eight eighty
- 14:09Speaker 1: three and hit enter, I might assign a port outside
- 14:13Speaker 1: the valid TCP range, or.
- 14:15Speaker 2: Assign a port that's completely blocked by every firewall in
- 14:18Speaker 2: the building. Wow, you could permanently lock yourself out of
- 14:21Speaker 2: both the front door and the side.
- 14:23Speaker 1: Door, which means before we start tinkering with core demons
- 14:26Speaker 1: and database locks, we need a safety net. We really
- 14:29Speaker 1: need to talk about backups.
- 14:30Speaker 2: We do tinkering at the command line level guarantees that
- 14:32Speaker 2: eventually you will make a critical error. Mastering the environment
- 14:36Speaker 2: means mastering how to recover from those errors gracefully.
- 14:39Speaker 1: And in this ecosystem, you have two distinct arenas for
- 14:42Speaker 1: generating a system backup, right, the Web user interface and
- 14:45Speaker 1: the command line interface.
- 14:46Speaker 2: Correct, the WebUI feels more approachable for a quick save.
- 14:49Speaker 1: It's essentially saving your game right before walking into a
- 14:52Speaker 1: boss fight.
- 14:52Speaker 2: I love that analogy, and the graphical process is highly intuitive.
- 14:57Speaker 2: You log into the web interface, navigate down the left
- 14:59Speaker 2: handed minute straight of menu to maintenance, and select system backup.
- 15:03Speaker 1: Nice and easy.
- 15:04Speaker 2: Very The system gathers all your configuration files, network settings,
- 15:08Speaker 2: database entries and compresses them into a single archive file.
- 15:12Speaker 1: The documentation mentions it generates a dot tgz file. For
- 15:16Speaker 1: those unfamiliar with Linux file extensions, that's a tarball that
- 15:19Speaker 1: has been compressed using TZ. Right.
- 15:21Speaker 2: Yes, it bundles thousands of small configuration files into one
- 15:26Speaker 2: neat package and shrinks the file size.
- 15:28Speaker 1: But where does that dot tgz file actually go.
- 15:31Speaker 2: If you select a local backup, it saves the archive
- 15:34Speaker 2: to a very specific directory on the appliance's hard drive.
- 15:37Speaker 2: Varlog CP backup.
- 15:38Speaker 1: Backups okay, VARLGCP backups.
- 15:40Speaker 2: A local backup is fast, typically completing in about fifty seconds. However,
- 15:44Speaker 2: keeping the backup on the exact same hard drive you
- 15:47Speaker 2: are trying to protect is risky.
- 15:48Speaker 1: Oh absolutely. If the physical appliance suffers a catastrophic hardware failure,
- 15:52Speaker 1: your local backup dies.
- 15:54Speaker 2: Right along with it, which is why the interface offers
- 15:56Speaker 2: options to send that archive to an external server using
- 15:59Speaker 2: protocols like sa FTP or TFTP. Exporting the archive ensures
- 16:04Speaker 2: you have a recovery point completely air gapped from the
- 16:06Speaker 2: appliance itself.
- 16:07Speaker 1: That's smart. But focusing strictly on the local backup for
- 16:10Speaker 1: a moment. Yeah, If generating a backup in the WebUI
- 16:13Speaker 1: is as simple as pointing, clicking, and waiting fifty seconds,
- 16:17Speaker 1: why would an administrator choose to memorize the manual CLI
- 16:20Speaker 1: commands to do the exact same thing.
- 16:23Speaker 2: That's a great question. The CLI offers three distinct advantages. First,
- 16:27Speaker 2: is sheer speed. If you're already deep in an ssh
- 16:30Speaker 2: terminal session troubleshooting a downed demon, opening a web browser,
- 16:34Speaker 2: navigating the login screen, and clicking through menus. It breaks
- 16:38Speaker 2: your workflow. Keeping your hands on the keyboard and typing
- 16:40Speaker 2: a single command is significantly faster speed.
- 16:43Speaker 1: And workflow preservation makes sense. What's the second advantage?
- 16:46Speaker 2: The ability to bypass a broken graphical environment. Consider the
- 16:49Speaker 2: scenario we just discussed. The router is blocking port four
- 16:53Speaker 2: four three. Your WebUI is completely inaccessible, and you are
- 16:57Speaker 2: about to attempt a risky port change via the command
- 16:59Speaker 2: line to fix it.
- 17:00Speaker 1: Oh, you can't use the WebUI to take a backup
- 17:03Speaker 1: because you can't reach the WebUI exactly.
- 17:05Speaker 2: The CLI allows you to secure the system state using
- 17:09Speaker 2: the back end terminal before you start performing surgery.
- 17:11Speaker 1: The terminal acts is the ultimate back door when the
- 17:14Speaker 1: front of the house is on fire. That's fantastic. And
- 17:17Speaker 1: I imagine the third advantage ties into automation.
- 17:20Speaker 2: You guessed it. The command line is scriptable. You can
- 17:22Speaker 2: write a basic show script or utilized Crown jobs to
- 17:26Speaker 2: automatically execute the backup commands every night at two point
- 17:29Speaker 2: zever am without any human intervention. The graphical interface, you know,
- 17:34Speaker 2: requires a human to click the button.
- 17:36Speaker 1: The ration now for CLI backups is rock solid, So
- 17:40Speaker 1: let's walk through the commands. I'm at the prompt before
- 17:43Speaker 1: I create a new backup, I want to see if
- 17:45Speaker 1: my colleagues have already made one recently.
- 17:46Speaker 2: You query the system by typing show backups. Just show
- 17:50Speaker 2: space backups show backups. The terminal will return a list
- 17:53Speaker 2: of all local backup archives currently sitting in that VARLOGCP
- 17:57Speaker 2: backup backups directory, including their file sizes timestamps.
- 18:01Speaker 1: So seeing a backup from three hours ago might save
- 18:04Speaker 1: me fifty seconds. But assuming I need a fresh one
- 18:06Speaker 1: right now, what is the trigger command?
- 18:08Speaker 2: You initiate the process with the command add.
- 18:10Speaker 1: Backup local add backup local. I hit enter now in
- 18:13Speaker 1: a graphical interface, this is where the shiny blue loading
- 18:16Speaker 1: bar appears. But the CLI is notoriously quiet. How do
- 18:21Speaker 1: I know it hasn't just frozen?
- 18:23Speaker 2: This system pushes the backup process to the background, returning
- 18:26Speaker 2: control of the terminal prompt to you immediately. To monitor
- 18:29Speaker 2: the progress, you use a third command, show backup status.
- 18:33Speaker 1: It essentially queries the background worker for an update exactly.
- 18:37Speaker 2: You type show backup status and the terminal might return
- 18:39Speaker 2: thirteen percent. You wait ten seconds, hit the up arrow
- 18:42Speaker 2: to run the command again, and it returns forty nine percent.
- 18:45Speaker 1: And you just continue polling the status until it finally
- 18:48Speaker 1: outputs local backups succeeded.
- 18:50Speaker 2: Right, it will comprehensively list the final file location, the
- 18:54Speaker 2: exact name of the dottgz file, and confirm the archive
- 18:57Speaker 2: is verified and ready.
- 18:59Speaker 1: I got to say, there is immense satisfaction in seeing
- 19:02Speaker 1: that succeeded message in plaintext. It means you have a
- 19:05Speaker 1: certified rollback point.
- 19:06Speaker 2: It's the best feeling.
- 19:08Speaker 1: Let's take a breath and recap the sheer amount of
- 19:10Speaker 1: control we've established over this environment today. We started by
- 19:14Speaker 1: diagnosing an unresponsive system, diving under the hood to manage
- 19:17Speaker 1: background processes.
- 19:19Speaker 2: Right, we learn the difference between the CPM manager and
- 19:21Speaker 2: the FWM waiter, and.
- 19:23Speaker 1: How to use cpw dadmin lists to interrogate the watchdog.
- 19:27Speaker 1: We established that deliberately stopping that FWM process completely severs
- 19:31Speaker 1: the connection to the graphical smart console, proving the interface
- 19:35Speaker 1: is entirely dependent on underlying Linux demons.
- 19:37Speaker 2: Then we encountered the bouncer that misconfigured network router, blocking
- 19:41Speaker 2: our default htttps port four four three.
- 19:44Speaker 1: We bypassed the roadblock by rerouting the web demon to
- 19:46Speaker 1: a custom port six seven eight three using set websls port,
- 19:50Speaker 1: we circumvented the browser's default behavior, and we navigated the
- 19:54Speaker 1: database lock mechanism to reclaim right privileges.
- 19:56Speaker 2: And finally, we secured our entire configuration by generating compress
- 20:00Speaker 2: dot tgz backups directly from the terminal with add backup
- 20:03Speaker 2: local proving the CLI is the ultimate tool for speed
- 20:07Speaker 2: recovery and future automation.
- 20:09Speaker 1: To solidify this architecture in your mind, let's establish a
- 20:12Speaker 1: short mental exercise. The next time you sit down at
- 20:15Speaker 1: your workstation, before your hand even touches the mouse, mentally
- 20:19Speaker 1: visualize a blank terminal screen. Can you recall the exact
- 20:23Speaker 1: command including the underscore to list every checkpoint process managed
- 20:28Speaker 1: by the watchdog?
- 20:29Speaker 2: It is CPW dadman list. Furthermore, I'd say grab a
- 20:33Speaker 2: physical piece of scratch paper later today, attempt to write
- 20:36Speaker 2: down the three distinct command line steps required to change
- 20:39Speaker 2: a webport entirely from memory.
- 20:41Speaker 1: Recall how to verify the demon is enabled, how to
- 20:44Speaker 1: check the current port assignment, and how to set the
- 20:46Speaker 1: new socket exactly.
- 20:48Speaker 2: Writing it down physically bridges the gap between passive listening
- 20:52Speaker 2: and active retention.
- 20:53Speaker 1: This level of manual control is incredibly empowering, but it
- 20:57Speaker 1: also highlights how much human intervention is currently required to
- 21:00Speaker 1: maintain these environments. You have to notice the waiter is missing,
- 21:04Speaker 1: manually interrogate the watchdog, and manually restart the demon, which.
- 21:08Speaker 2: Actually brings us to a fascinating frontier to consider. Today
- 21:11Speaker 2: we learn the manual mechanics of system recovery, but consider
- 21:15Speaker 2: the rapid integration of artificial intelligence into infrastructure management.
- 21:19Speaker 1: Oh wow, self healing networks.
- 21:21Speaker 2: Exactly, we are approaching an era of self healing networks.
- 21:24Speaker 2: Imagine an environment where an AI agent constantly monitors the
- 21:28Speaker 2: cpwdatman output. If it detects the FWN process has crashed,
- 21:33Speaker 2: it doesn't wait for a human administrator to ssh into
- 21:37Speaker 2: the box. The AI automatically injects the restart command.
- 21:40Speaker 1: That's wild to think about.
- 21:42Speaker 2: Or if it detects a router blocking port four forty three,
- 21:45Speaker 2: the system autonomously negotiates a new listening port and updates
- 21:48Speaker 2: the routing tables without a single human keystroke.
- 21:51Speaker 1: A network where the terminal acts of its own operator,
- 21:54Speaker 1: identifying roadblocks and rewriting its own configurations in real time.
- 21:58Speaker 1: That is a truly wild thought to end on Remember
- 22:00Speaker 1: the interface you see on your monitor is only half
- 22:02Speaker 1: the story. Keep exploring the architecture, keep visualizing that command line,
- 22:06Speaker 1: and keep questioning the unseen mechanics of your technology until
- 22:09Speaker 1: next time.