wiki:UserGuide/Omf/LoadImage

Site Navigation

  1. COSMOS Testbed Overview
    1. Concepts
    1. Testbed Workflow
    1. Availability and Resource Status
    1. Events and Conferences
  2. Getting Started
    1. Make an Account
    2. Create and Configure SSH Keys
    3. Make a Reservation
    4. Log in to your Reservation
    5. Control Resources with OMF
    6. Run a Hello World Experiment
    7. Get Help and Support
  3. COSMOS/ORBIT User Guide
    1. The COSMOS Portal
    2. Connecting to the Testbed
    3. Running Experiments
    4. Policies and Support
    5. Quick Links
    1. Policies
    1. Account Creation
    1. Camera Streaming
    1. Scheduling and Reservations
    1. Disk Images
    1. Frequently Asked Questions
    1. Resource Control with OMF
  4. COSMOS Portal
    1. Your First Visit
    2. Setting Up Your Account
    3. Reserving Testbed Time
    4. Monitoring Your Experiment
    5. Connecting via SSH
    6. Managing Disk Images
    7. Joining the Community
    8. Browsing Users and Groups
    9. Tips
  5. Account Management
    1. Edit Profile
    2. Change Password
    3. SSH Keys
  6. Portal Dashboard
    1. Profile Card
    2. Usage Statistics
    3. Community Forum
  7. Directory
    1. Users
    2. Groups
    3. Privacy Note
  8. Disk Images
    1. Browsing Images
    2. Image Details
    3. Searching and Sorting
    4. Managing Your Images
    5. Baseline Images
    6. Saving Custom Images
    7. Storage and Retention
  9. Community Forum
    1. Accessing the Forum
    2. Forum Categories
    3. How to Use the Forum
    4. Forum Etiquette
    5. Privacy and Access
  10. Getting Started with the COSMOS Portal
    1. Creating an Account
    2. Logging In
    3. What to Do After Logging In
  11. SSH Access to Testbed Nodes
    1. Access Model
    2. Console Servers
    3. Basic Connection
    4. SSH Config File
    5. SSH Tunneling
    6. File Transfer
    7. Troubleshooting
  12. Scheduler
    1. Calendar View
    2. Reservation Colors
    3. Creating a Reservation
    4. Competing for a Slot
    5. Modifying or Canceling Reservations
    6. My Reservations
    7. Resource Information
  13. Testbed Status
    1. Node Status Grid
    2. RF Matrix Control (SB4)
    3. Understanding Node States During Experiments
    1. Remote Access
    1. Chrome Remote Desktop Setup Page
  14. Installing Chrome Remote Desktop (CRD) on a Custom Image
    1. Measurement & Result Collection
    1. Storage
    1. Support
    1. Contributing to the Wiki
  15. Tutorials
    1. SDR and Wireless
    2. Wireless Digital Twins
    3. Optical Networking
    4. Wired Networking
    5. Edge Computing
    6. 4G/5G Systems
    7. Orchestration Platforms
  16. Architecture
    1. Data Flow
    1. Deployment Map
    1. Domains
    1. Naming Convention
    1. Networks
    1. Optical
  17. Resources, Services and APIs
    1. RF Control
    2. SDR Control
    3. Compute Control
    4. Network Control
    5. Optical Control
  18. Datasets
  19. Hardware Info
    1. Cameras
    1. Compute
    1. FR3 SDRs
    1. Network
    1. Nodes
    1. Optical
    1. RF Subsystems
    1. Antennas
    1. Full-Duplex Radio
    1. RF Front End
    1. Software Defined Radios (SDR)
  20. RF Policies & Compliance
    1. Outdoor Radio Frequency Allocation
    2. Program Experiment License
    3. Spectrum Monitoring
    4. Emergency Stop Procedures
    5. Network and Platform Security

Loading an image

Note: Several OMF commands are utilized through out the loading process. If you are not familiar with OMF and need a very quick start, please refer to the OMF Quick Start Page.

  1. Before we begin using the nodes, it's a good idea to check their status first. This is done with the omf stat command.
console> omf stat -t all

 INFO NodeHandler: OMF Experiment Controller 5.4 (git 861d645)
 INFO NodeHandler: Slice ID: default_slice (default)
 INFO NodeHandler: Experiment ID: default_slice-2019-05-16t11.30.21.088-04.00
 INFO NodeHandler: Message authentication is disabled
 INFO property.resetDelay: resetDelay = 200 (Fixnum)
 INFO property.resetTries: resetTries = 1 (Fixnum)
 INFO property.nodes: nodes = "system:topo:all" (String)
 INFO property.summary: summary = false (FalseClass)
 INFO Topology: Loaded topology 'system:topo:all'.

Talking to the CMC service, please wait
-----------------------------------------------
 Node: mob1.sb1.cosmos-lab.org           State: POWEROFF
 Node: mob2.sb1.cosmos-lab.org           State: POWEROFF
 Node: mob3.sb1.cosmos-lab.org           State: POWEROFF
 Node: sdr1-lg1.sb1.cosmos-lab.org       State: POWEROFF
 Node: sdr1-md1.sb1.cosmos-lab.org       State: POWEROFF
 Node: sdr2-lg1.sb1.cosmos-lab.org       State: POWEROFF
 Node: sdr2-md1.sb1.cosmos-lab.org       State: POWEROFF
 Node: srv1-lg1.sb1.cosmos-lab.org       State: POWEROFF
 Node: srv2-lg1.sb1.cosmos-lab.org       State: POWEROFF
-----------------------------------------------

 INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
 INFO NodeHandler:
 INFO NodeHandler: Shutting down experiment, please wait...
 INFO NodeHandler:
 INFO run: Experiment default_slice-2019-05-16t11.30.21.088-04.00 finished after 0:5

The node can be in 1 of 3 states

POWEROFF Node is available for use but turned off
POWERON Node is available and is on
NOT REGISTERED Node is not available for use
  1. It is recommended that the node be in the POWEROFF state prior to any experiment process. If the node is in the POWERON state you can use the omf tell command to get the node into the off state.
console> omf tell -a offh -t sdr2-lg1.sb1.cosmos-lab.org

 INFO NodeHandler: OMF Experiment Controller 5.4 (git 861d645)
 INFO NodeHandler: Slice ID: default_slice (default)
 INFO NodeHandler: Experiment ID: default_slice-2019-05-16t11.33.26.632-04.00
 INFO NodeHandler: Message authentication is disabled
 INFO property.resetDelay: resetDelay = 200 (Fixnum)
 INFO property.resetTries: resetTries = 1 (Fixnum)
 INFO property.nodes: nodes = "sdr2-lg1.sb1.cosmos-lab.org" (String)
 INFO property.command: command = "offh" (String)

Talking to the CMC service, please wait
-----------------------------------------------
 Node: sdr2-lg1.sb1.cosmos-lab.org       Reply: OK
-----------------------------------------------

 INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
 INFO NodeHandler:
 INFO NodeHandler: Shutting down experiment, please wait...
 INFO NodeHandler:
 INFO run: Experiment default_slice-2019-05-16t11.33.26.632-04.00 finished after 0:10
  1. Use the omf stat to verify the node is in the POWEROFF state. At this point load an image with omf load command.
console> omf load -i baseline-uhd1.ndz -t sdr2-lg1.sb1.cosmos-lab.org

 INFO NodeHandler: OMF Experiment Controller 5.4 (git 861d645)
 INFO NodeHandler: Slice ID: pxe_slice
 INFO NodeHandler: Experiment ID: pxe_slice-2019-05-16t11.04.08.897-04.00
 INFO NodeHandler: Message authentication is disabled
 INFO property.resetDelay: resetDelay = 200 (Fixnum)
 INFO property.resetTries: resetTries = 1 (Fixnum)
 INFO property.nodes: nodes = "sdr2-lg1.sb1.cosmos-lab.org" (String)
 INFO property.image: image = "baseline-uhd1.ndz" (String)
 INFO property.domain: domain = "sb1.cosmos-lab.org" (String)
 INFO property.outpath: outpath = "/tmp" (String)
 INFO property.outprefix: outprefix = "pxe_slice-2019-05-16t11.04.08.897-04.00" (String)
 INFO property.timeout: timeout = 800 (Fixnum)
 INFO property.resize: resize = nil (NilClass)
 INFO property.resetDelay: resetDelay = 80 (Fixnum)
 INFO Experiment: Resetting resources
 INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-lg1.sb1.cosmos-lab.org) [0 sec.]
 INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-lg1.sb1.cosmos-lab.org) [10 sec.]
 INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-lg1.sb1.cosmos-lab.org) [20 sec.]
 INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-lg1.sb1.cosmos-lab.org) [30 sec.]
 INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-lg1.sb1.cosmos-lab.org) [40 sec.]
 INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-lg1.sb1.cosmos-lab.org) [50 sec.]
 INFO stdlib: Waiting for nodes (Up/Down/Total): 0/1/1 - (still down: sdr2-lg1.sb1.cosmos-lab.org) [60 sec.]
 INFO ALL_UP: Event triggered. Starting the associated tasks.
 INFO exp: Progress(0/0/1): 0/0/0 min(sdr2-lg1.sb1.cosmos-lab.org)/avg/max (59) - Timeout: 790 sec.
 INFO BRING_UP: Event triggered. Starting the associated tasks.
 INFO Experiment: Bringing up resources
 INFO exp: Progress(0/0/1): 0/0/0 min(sdr2-lg1.sb1.cosmos-lab.org)/avg/max (59) - Timeout: 780 sec.
 INFO exp: Progress(0/0/1): 20/20/20 min(sdr2-lg1.sb1.cosmos-lab.org)/avg/max (59) - Timeout: 770 sec.
 INFO exp: Progress(0/0/1): 40/40/40 min(sdr2-lg1.sb1.cosmos-lab.org)/avg/max (59) - Timeout: 760 sec.
 INFO exp: Progress(0/0/1): 60/60/60 min(sdr2-lg1.sb1.cosmos-lab.org)/avg/max (59) - Timeout: 750 sec.
 INFO exp: Progress(0/0/1): 70/70/70 min(sdr2-lg1.sb1.cosmos-lab.org)/avg/max (59) - Timeout: 740 sec.
 INFO exp: Progress(0/0/1): 90/90/90 min(sdr2-lg1.sb1.cosmos-lab.org)/avg/max (59) - Timeout: 730 sec.
 INFO exp: Progress(1/0/1): 100/100/100 min()/avg/max (59) - Timeout: 720 sec.
 INFO exp:  -----------------------------
 INFO exp:  Imaging Process Done
 INFO exp:  1 node successfully imaged - Topology saved in '/tmp/pxe_slice-2019-05-16t11.04.08.897-04.00-topo-success.rb'
 INFO exp:  -----------------------------
 INFO EXPERIMENT_DONE: Event triggered. Starting the associated tasks.
 INFO NodeHandler:
 INFO NodeHandler: Shutting down experiment, please wait...
 INFO NodeHandler:
 INFO NodeHandler: Shutdown flag is set - Turning Off the resources
 INFO run: Experiment pxe_slice-2019-05-16t11.04.08.897-04.00 finished after 2:25

Once the node finishes the imaging process, the node is in the POWEROFF state. So use the omf tell command to turn it back on, give it some time to boot and then ssh into it.

console> omf tell -a on -t sdr2-lg1.sb1.cosmos-lab.org

Now you can access the node(s) and start your development.

Last modified 6 years ago Last modified on May 8, 2020, 11:09:49 PM
Note: See TracWiki for help on using the wiki.