--- title: "Managed Device Operations Via Nodegrid Device" slug: "managed-device-operations-via-nodegrid-device" updated: 2024-07-23T13:21:50Z published: 2024-07-23T13:21:50Z canonical: "docs.zpesystems.com/managed-device-operations-via-nodegrid-device" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zpesystems.com/llms.txt > Use this file to discover all available pages before exploring further. # Managed Device Operations Via Nodegrid Device After you obtain access to the managed device via the Nodegrid you can perform operations in the managed device. Some example operations include: 1. Integrating PDU and Mapping outlet 2. Managing File access to load firmware, IOS images, configuration 3. Automating using Ansible and Playbook to Upgrade Routers, Bulk Configurations, and Provisioning ## Integrating PDU and Mapping Outlet Integrating PDU and mapping specific outlets to each managed device enables users to perform the Reboot using **Power OFF/ON**, on the outlet. To configure the power cycling of the PDUs, follow this procedure: 1. Click on any device/port from the Nodegrid Access page. In this section, a Cisco switch is considered to demonstrate the above-mentioned features. 2. Select the device / switch and click on **Outlet Cycle** to reboot the switch. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-9piqrdmh.png) 3. Check the power status on the switch by clicking **Outlet Status**. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-58orfe72.png) 4. Integrate PDU Outlet on each Serial port: 1. Navigate to ***Managed Devices::Devices*** and select the port. 2. Click on **Commands**, click **ADD**, and then select **Outlet**. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-zbd1iucl.png)With the integration of PDU, during the reboot of the switch, the console session to the switch remains active and provides BIOS-level control on the Cisco switch with the Control menu. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-e7h1gbuy.png)Control Buttons on each session to Interrupt BIOS are shown in the following figure.![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-ol9foijd.png)5. Click on the required button to perform the power cycle operation on the target device. ## Managing File Access to Load Firmware and IOS images Nodegrid offers a file manager to store files such as Firmware or IOS images. Using SCP or FTP service on Nodegrid - File Transfer Protocol, the switch can get the latest IOS and perform the upgrade using CLI commands. You can also automate the tasks by using Shell Scripts as explained in the following section. 1. Log in Nodegrid Web UI. 2. From the Access page, click **File Manager**. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-urukzhaf.png) 3. Select the software and upload the files. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-6d6ramzh.png)Example of Manual Upgrade Cisco switch CLI Commands. ## ![A close-up of a computer screen Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-lduxasvv.png)Automating using Ansible and Playbook The Web UI Ansible Automation Platform on Nodegrid automates tasks such as upgrade, provisioning, change management, and configuration management of a target device on a Nodegrid device. Nodegrid runs a native Ansible automation tool, using which you can manage Playbook to upgrade switch, and schedule or run the task. Follow these steps to automate. 1. Navigate to ***System::Central Management***. 2. Select the Nodegrid device to which the switch is connected and click **Run**. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-xfk748bv.png) ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-hsr52fxf.png) 3. Select the playbook to upgrade. 4. Navigate to File Manager to upload the playbooks. 5. Click on the File Manager and go to Home/admin_group/ansible/playbooks. 6. Click **Upload** and manage the Playbooks. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-b1b2mrcq.png)![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-k98fv6oq.png)The Cisco Switch Upgrade Playbook gets uploaded. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-0kklweda.png)The example Playbook contains the standard configuration. By creating an inventory file you use the same playbook as a template for all the Cisco switches. ![A screenshot of a computer program Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-zslcm2ig.png)7. Select the script and select the **Option to Run Now** and **Scheduler** option to schedule the task. ![](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-gwp7y5he(1).png) The Job Status gets logged in the Logs section. 8. Navigate to ***System::Central management::Logs*** to view the logs. ![A screenshot of a computer Description automatically generated](https://cdn.document360.io/763c5fb1-b9af-4ccd-9ad6-cf28ae4cd5a3/Images/Documentation/managed-device-operations-via-nodegrid-device-image-56janx8h.png)